| | |
| | | |
| | | |
| | | </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> |
| | | |
| | |
| | | ...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 |
| | |
| | | }) |
| | | } |
| | | // #endif |
| | | console.log('pay end') |
| | | }) |
| | | }, |
| | | privilegeClick(index) { |