123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <template>
- <view class="ezy-my-page">
- <img :src="userImg" alt="">
- <view @click="openXiangce">相册</view>
- <view @click="handleBack">取消</view>
- </view>
- </template>
- <script setup>
- import agreeContentDialog from '@/pages/login/agreeContentDialog.vue';
- import {
- toast,
- getUserIdentity
- } from "@/utils/common";
- import cacheManager from '@/utils/cacheManager.js';
- import {
- myInfo,
- } from '@/api/my.js'
- import {
- onLoad
- } from '@dcloudio/uni-app';
- import {
- reactive,
- ref
- } from "vue";
- import {
- onShow
- } from '@dcloudio/uni-app';
- let userImg = ref(null);
- function handleBack() {
- uni.redirectTo({
- url: '/pages/my/yingyongshezhi'
- })
- }
- function openXiangce() {
- }
- function isIOSorAndroid() {
- const systemInfo = uni.getSystemInfoSync();
- console.log('systemInfo', systemInfo);
- if (systemInfo.platform == 'ios') {
- return currentPlatform.value = 'ios'
- } else {
- return currentPlatform.value = 'android'
- }
- }
- onLoad((options) => {
- isIOSorAndroid()
- })
- </script>
|