lin
2026-05-25 9e8dc1c9e3ac624bd3b71d991f7b3a7d7ccb2ec9
pages/my/my.vue
@@ -6,7 +6,8 @@
      <view class="startBar"></view>
      <view class="myContent">
         <view class="myHeader">
            <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="setImg"></image>
            <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode=""></image>
            <!-- <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="setImg"></image> -->
            <view class="myNick">
               <template>
                  <view v-if="userInfo == null" @tap="$util.goPages('/pages/login/login')">未登录</view>
@@ -69,15 +70,15 @@
                     <image src="/static/imgs/right.png" mode=""></image>
                  </view>
               </template>
               <!-- <view class="mySerCon-v" @tap="toHuishou" >
               <view class="mySerCon-v" @tap="toHuishou"  v-if="isShop">
                  <view class="mySerCon-l">
                    <template v-if="isShop">
                    <template>
                     <image src="/static/imgs/quanshou.png" mode="widthFix"></image>
                     <text>会员权收</text>
                    </template>
                  </view>
                  <image src="/static/imgs/right.png" mode=""></image>
               </view> -->
               </view>
            </view>
         </view>
         
@@ -148,7 +149,7 @@
           const _this = this;
           if(_this.$util.getUserInfo()?.phone){
            uni.request({
              url: _this.$webHost+'/api/v2/auth/qxgIosUnionLogin?phone='+_this.$util.getUserInfo().phone,
              url: _this.$webHost+'/api/v2/auth/iosShopUnionLogin?phone='+_this.$util.getUserInfo().phone + '&configureToDomain=11',
              data:{
               customerId: uni.getStorageSync('ygxLogin').customerId,
               appId: uni.getStorageSync('ygxLogin').appId
@@ -160,6 +161,8 @@
               console.log('res',res)
              }
            })
           } else {
              _this.isShop = false
           }
      },
      methods: {
@@ -220,7 +223,7 @@
               sizeType: ['original', 'compressed'],
               success: (chooseImageRes) => {
                  let tempFilePaths = chooseImageRes.tempFilePaths
                  let token = uni.getStorageSync('lzsc-token')
                  let token = uni.getStorageSync('pig-token')
                  let header = {
                     'Accept': 'application/json',
                     'authorization': token,