lin
2026-07-15 ca1b3e6e1e626d1ff54258b9f4e785057bbe5ab6
pages/my/my.vue
@@ -26,7 +26,7 @@
               </template>
            </view>
         </view>
      </view>
      </view>
      <view class="myNavs">
         <view class="myNavs-tips" @tap="$util.checkLogin('/pages/order/order')">
@@ -59,7 +59,7 @@
            </view>
         </view>
      </view>
      <view class="myServe">
         <view class="myNavs-tips">
            <text class="myNavs-tips-text">我的服务</text>
@@ -104,9 +104,17 @@
            <text>|</text>
            <text @tap="agreeDialog2">《隐私政策》</text>
         </view>
         <view @tap="goWebUrl('http://beian.miit.gov.cn')">APP备案号: {{Config.icp}}</view>
         <view @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © 2025 {{Config.url}} All Rights Reserved.</view>
      <view >客服电话:400-636-0330(8:00-20:00)</view>
      <view @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © 2025 智葆汇科技 All Rights Reserved.</view>
      <view style="display: flex;justify-content: center;gap: 5px;">
        <view style="display: flex;align-items: center;justify-content: start;gap: 2px;" @tap="goWebUrl('https://beian.mps.gov.cn/#/query/webSearch')">
          <image src="/static/imgs/wangan.png" style="width: 30rpx;height: 30rpx;"></image>
          <span>新公网安备65010202001358号</span>
        </view>
        <view @click="goWebUrl('https://beian.miit.gov.cn/')">{{Config.icp}}</view>
      </view>
<!--         <view @tap="goWebUrl('http://beian.miit.gov.cn')">APP备案号: {{Config.icp}}</view>-->
      </view>
      <agreePup ref="agreePup1" :gp="1" title="注册协议"></agreePup>
      <agreePup ref="agreePup2" :gp="2" title="隐私政策"></agreePup>
@@ -138,7 +146,8 @@
            userInfo: this.$util.getUserInfo(),
            Config: {put_open: 1},
        isShop:false,
        errState:''
        errState:'',
        boughtEquity: 0,
         }
      },
    onLoad() {
@@ -150,8 +159,15 @@
      if(_this.$util.getUserInfo()?.phone){
        await 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=4',
          data:{
            customerId: uni.getStorageSync('qxgLogin').customerId,
            appId: uni.getStorageSync('qxgLogin').appId
          },
          success: function (res) {
            _this.isShop = res.data.data.isShop;
            _this.isShop = res?.data?.data?.isShop;
            _this.boughtEquity = res?.data?.data?.boughtEquity;
            uni.setStorageSync('qxgLogin', res.data.data)
          }
        })
      }
@@ -162,21 +178,32 @@
        if(!_this.isShop){
          return
        }
        uni.request({
          url: _this.$webHost+'/api/v2/customer/ryxIsBuyEquity?phone='+_this.$util.getUserInfo().phone,
          success: function (res) {
            if(res.data.code==200){
              uni.navigateTo( {
                url: '/pages/quanshou/index'
              })
        if(_this.boughtEquity) {
          uni.request({
            url: _this.$webHost + '/api/v2/customer/ryxIsBuyEquity?phone=' + _this.$util.getUserInfo().phone,
            data: {
              customerId: uni.getStorageSync('qxgLogin').customerId,
              // appId: uni.getStorageSync('qxgLogin').appId,
              appId: _this.$APPID
            },
            success: function (res) {
              if (res.data.code == 200) {
                uni.navigateTo({
                  url: '/pages/quanshou/index'
                })
            } else {
              _this.errState = res.data.data;
              _this.$refs.comment.open()
              } else {
                _this.errState = res.data.data;
                _this.$refs.comment.open()
              }
            }
          }
        })
          })
        } else {
          uni.navigateTo({
            url: '/pages/quanyi/index'
          })
        }
      },
@@ -189,7 +216,7 @@
         },
         setImg(){
            if(uni.getSystemInfoSync().platform != 'ios'){
               this.$refs['authpup'].open()
               this.$refs['authpup'].open()
            }else{
               this.chooseImg()
            }//调起自定义权限目的弹框,具体可看示例里面很详细
@@ -197,7 +224,7 @@
         changeAuth () {
            //这里是权限通过后执行自己的代码逻辑
            if(uni.getSystemInfoSync().platform !='ios'){
               this.$refs['camears'].open()
               this.$refs['camears'].open()
            }
            this.chooseImg()
         },
@@ -259,7 +286,7 @@
            })
         },
         wechatWork () {
            let t = this
            let t = this
            if(t.Config){
               if(t.Config.put_open == 1){
                  uni.showModal({
@@ -282,11 +309,11 @@
                        console.log("success:" + JSON.stringify(res))
                     },
                     fail: (err) => {
                        console.log("fail:" + JSON.stringify(err))
                        console.log("fail:" + JSON.stringify(err))
                     }
                  })
               }
            }
            }
         }
      }
   }