cshenfu
2023-05-11 0c3f970af87eeb3e81782f48b7adcfe1a413bba0
pages/vip/vip.vue
@@ -67,6 +67,9 @@
      </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>
@@ -91,6 +94,9 @@
   export default {
      data() {
         return {
            data_content:'123',
            data_content2:'123',
            data_content3:'123',
            statusBarHeight,
            current: 0,
            rechargeOptions: [],
@@ -139,11 +145,11 @@
               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') {
@@ -152,6 +158,7 @@
                           content: "权益已开通成功!"
                        })
                        this.$request('/api/Member/checkNum', 'POST').then(re => {
                           this.data_content3 = re
                            // 更新数量
                           this.$store.commit('syncUserNum',re.data.num)
                        })