lin
2026-06-25 a9e9233ff88495e022738179fefaea739e145abb
UI:澜品优选 我的页面会员权益跳转逻辑调整
1 files modified
11 ■■■■ changed files
pages/my/my.vue 11 ●●●● patch | view | raw | blame | history
pages/my/my.vue
@@ -162,6 +162,7 @@
                ],
                errState: '',
                isShop: false,
        boughtEquity: 0,
            }
        },
        onLoad() {
@@ -179,6 +180,7 @@
                  },
                  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('res',res)
@@ -199,6 +201,7 @@
                if(!_this.isShop){
                  return
                }
        if(_this.boughtEquity) {
                uni.request({
                  url: _this.$webHost+'/api/v2/customer/ryxIsBuyEquity?phone='+_this.$util.getUserInfo().phone,
                  data:{
@@ -210,15 +213,17 @@
                      uni.navigateTo( {
                        url: '/pages/quanshou/index'
                      })
                    } else {
                      _this.errState = res.data.data;
                      _this.$refs.comment.open()
                    }
                  }
                })
        } else {
          uni.navigateTo({
            url: '/pages/quanyi/index'
          })
        }
              },
            // 收藏+浏览记录
            goMenuPage(url) {