cshenfu
2023-06-01 2a68448ad6dbd3a5393e5aad73d7cda8043afd3b
pages/vip/vip.vue
@@ -63,18 +63,7 @@
      
      
      </view>
      <!-- <text class="tip">专属AI 1秒响应</text>
      <view class="main-title">
         <text>会员特权</text>
      </view>
      <view class="privilege">
         <view class="privilege-item" v-for="(item, index) in privilegeList" :key="index" hover-class="hover" @click="privilegeClick(index)">
            <image class="privilege-item-pic" :src="item.pic" mode=""></image>
            <text class="privilege-item-text">{{ item.text }}</text>
         </view>
      </view> -->
   </view>
</template>
@@ -118,7 +107,9 @@
         ...mapState(['userInfo','num'])
      },
      onLoad() {
         // 判断当前页面路径,在#前加?避免支付时的路径错误,会报当前页面URL未注册
         let url = window.location.href; if(!url.match(/\?/)) { location.replace(window.location.href.split('#')[0] + '?' + window.location.hash); }
         // 加载套餐列表数据
         this.$request('/api/Comb/index').then(res => {
            console.log(res)
            this.rechargeOptions = res.data.data
@@ -196,7 +187,6 @@
                  })
               }
               // #endif
               console.log('pay end')
            })
         },
         privilegeClick(index) {