lin
2026-05-26 f67e33dd60d08237e9c36ceec092c50792387d4a
feat:星享购 绑卡+权收
2 files modified
15 ■■■■ changed files
pages/my/my.vue 12 ●●●● patch | view | raw | blame | history
pages/quanyi/add.vue 3 ●●●● patch | view | raw | blame | history
pages/my/my.vue
@@ -142,7 +142,8 @@
                    {index: 6, text: '联系客服'},
                ],
                isShop:false,
                errState: ''
                errState: '',
                boughtEquity: 0,
            }
        },
        onLoad() {
@@ -160,8 +161,10 @@
                  },
                  success: function (res) {
                    _this.isShop = res?.data?.data?.isShop;
                    _this.boughtEquity = res?.data?.data?.boughtEquity;
                    uni.setStorageSync('ygxLogin', res.data.data)
                    console.log('isShop',_this.isShop)
                    console.log('boughtEquity',_this.boughtEquity)
                    console.log('res',res)
                  }
                })
@@ -175,6 +178,7 @@
                if(!_this.isShop){
                  return
                }
                if(_this.boughtEquity) {
                uni.request({
                  url: _this.$webHost+'/api/v2/customer/ryxIsBuyEquity?phone='+_this.$util.getUserInfo().phone,
                  data:{
@@ -194,7 +198,11 @@
                    }
                  }
                })
                } else {
                    uni.navigateTo({
                        url: '/pages/quanyi/index'
                    })
                }
              },
            goKefu() {
                if(this.Config && this.Config.kefu_open == 1) {
pages/quanyi/add.vue
@@ -1018,7 +1018,7 @@
          url: '/pages/index/index'
        });
      },
      // 收件人所在地:弹窗选择城市
        openProvincesCity() {
            let defaultData = []
            if(this.addressDetail.provinceCode && this.addressDetail.cityCode) {
@@ -1027,6 +1027,7 @@
            this.$refs.provincesCity.open(defaultData)
        },
        // 弹窗选择城市回调
        provincesCityChange(e) {
            if(e.value.length > 0) {
                this.addressDetail.provinceCode = e.value[0].code