lin
2026-05-11 2f1721412d757f76eca3acb26267b0a9dedf1862
pages/quanshou/index.vue
@@ -66,7 +66,7 @@
    const _this = this;
    this.isAgree = uni.getStorageSync('boughtEquity')
    uni.request({
      url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+'47be9559-6b1b-42dd-84ed-25d028065013',
      url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+uni.getStorageSync('ygxLogin').appId,
      success: function (res) {
        if(res.data.code==200){
          _this.lst = res.data.data;
@@ -110,13 +110,17 @@
      const _this = this;
      uni.request({
        url: _this.$webHost+'/api/v2/memberEquity/getUrlByShop/'+_this.$util.getUserInfo().phone,
      data:{
        customerId: uni.getStorageSync('ygxLogin').customerId,
        appId: uni.getStorageSync('ygxLogin').appId
      },
        success: function (res) {
          if(res.data.code==200){
            uni.request( {
              url: _this.$webHost+'/api/v2/memberEquity/clickUrlByShop/'+_this.$util.getUserInfo().phone,
            })
            uni.navigateTo( {
              url: '/pages/users/web_page/index?webUel=' + encodeURIComponent(res.data.data.url)
              url: '/pages/web/index?webUel=' + encodeURIComponent(res.data.data.url)
            })
          } else {
            _this.tips = res.data.data || res.data.msg;
@@ -194,10 +198,11 @@
    <!--  新版  -->
    <view style="padding-bottom: 200rpx;">
      <!--   返回   -->
     <view style="height: 20rpx;"></view>
      <view class="head" style="position: relative;height: 90rpx;padding:0 30rpx;">
        <view style="display: flex;justify-content: flex-start;position: absolute;left: 0;top: 15rpx;padding-left: 30rpx;z-index: 9;color: #FFFFFF;">
          <view  @tap="goHome" id="home" class="home acea-row row-center-wrapper iconfont icon-fanhui2 h5_back arrow-left" style="margin-top: 80rpx;">
         <uv-icon name="arrow-left" color="#ffffff" size="22"></uv-icon>
         <uv-icon name="arrow-left" color="#ffffff" size="28"></uv-icon>
  <!--          <view  @tap="goHome" id="home" class="home acea-row row-center-wrapper iconfont icon-fanhui2 h5_back icon-shouye4" :style="{ height:  '80rpx',lineHeight:  '80rpx'}" >-->
          </view>
        </view>
@@ -209,7 +214,7 @@
<!--          <view style="font-size: 28rpx;font-weight: 400;background: -webkit-linear-gradient(#FFEEE7, #F4936F);-webkit-background-clip: text;-webkit-text-fill-color: transparent;">会员预计最高节省1359.27元</view>-->
          <view style="display: flex;margin-top: 30rpx;align-items: self-end;">
            <view v-if="lst.length" style="font-size: 24rpx;width: 70%;">
              <p style="font-size: 36rpx;color: #253567;font-weight: bold;">¥{{lst[0].amount.toFixed(2)}} 99<span style="font-size: 28rpx;margin-left: 20rpx;">{{lst[0].isBuy?'已扣款' : '待扣款'}}</span></p>
              <p style="font-size: 36rpx;color: #253567;font-weight: bold;">¥{{lst[0].amount.toFixed(2)}} <span style="font-size: 28rpx;margin-left: 20rpx;">{{lst[0].isBuy?'已扣款' : '待扣款'}}</span></p>
<!--              <p style="font-size: 48rpx;color: #253567;font-weight: bold;">¥99.00<span style="font-size: 28rpx;margin-left: 20rpx;">已扣款</span></p>-->
<!--              <p style="background: -webkit-linear-gradient(#FFEEE7, #F4936F);-webkit-background-clip: text;-webkit-text-fill-color: transparent;">{{lst[0].buyDate}}</p>-->
            </view>
@@ -245,7 +250,7 @@
          <view style="font-size: 36rpx;color: #333333;margin: 0 20rpx;">
            <span class="content-title-item">实物权益</span>
          </view>
          <view style="color: #666666;font-size: 24rpx;">专享权益以实际兑换页面为准</view>
          <view style="color: #666666;font-size: 24rpx;">专享权益以商城实际发出商品为准</view>
<!--          <image style="width: 111rpx;height: 8rpx;" src="/static/img/qsRight.png"></image>-->
        </view>
        <view class="physical" style="background: url('/static/img/qsPhysical.png') no-repeat top center; background-size: 100%;width: 100%;height: 982rpx;">
@@ -257,8 +262,8 @@
<!--        </view>-->
      </view>
      <view style="width: 690rpx;display: flex;gap: 20rpx;position: fixed;bottom: 40rpx;left: 30rpx;z-index: 5;">
        <button @click="toHuiyuan" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #CD8319">虚拟权益</button>
        <button @click="getTips" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #4766FE">实物权益</button>
        <button @click="toHuiyuan" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #CD8319">领取虚拟权益</button>
        <button @click="getTips" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #4766FE">查询实物权益</button>
      </view>
    </view>