| | |
| | | </view> |
| | | |
| | | <text class="tip">专属AI 1秒响应</text> |
| | | <text >{{ data_content }}</text> |
| | | <text >{{ data_content2 }}</text> |
| | | <text >{{ data_content3 }}</text> |
| | | |
| | | <view class="main-title"> |
| | | <text>会员特权</text> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | data_content:'123', |
| | | data_content2:'123', |
| | | data_content3:'123', |
| | | statusBarHeight, |
| | | current: 0, |
| | | rechargeOptions: [], |
| | |
| | | comb_id: this.rechargeOptions[this.current].comb_id, |
| | | chanel: chanel |
| | | }).then(async (res) => { |
| | | alert(res.data) |
| | | this.data_content = res |
| | | // #ifdef H5 |
| | | if (/MicroMessenger/i.test(navigator.userAgent)) { |
| | | wxJsapiPay(res.data, (r) => { |
| | | alert(r) |
| | | this.data_content2 = r |
| | | var msg = r.err_msg ? r.err_msg : r.errMsg; |
| | | console.log(msg) |
| | | if (msg == 'get_brand_wcpay_request:ok') { |
| | |
| | | content: "权益已开通成功!" |
| | | }) |
| | | this.$request('/api/Member/checkNum', 'POST').then(re => { |
| | | this.data_content3 = re |
| | | // 更新数量 |
| | | this.$store.commit('syncUserNum',re.data.num) |
| | | }) |