| | |
| | | updesc = res.data.android.desc |
| | | } |
| | | if (downUrl && updateFlag) { |
| | | uni.showModal({ |
| | | showCancel: false, |
| | | confirmText: '立即更新', |
| | | title: '温馨提示!', |
| | | content: updesc || '有最新版本,请更新APP!', |
| | | success: res => { |
| | | if (res.confirm) { |
| | | plus.runtime.openURL(downUrl) |
| | | } |
| | | } |
| | | }) |
| | | // uni.showModal({ |
| | | // showCancel: false, |
| | | // confirmText: '立即更新', |
| | | // title: '温馨提示!', |
| | | // content: updesc || '有最新版本,请更新APP!', |
| | | // success: res => { |
| | | // if (res.confirm) { |
| | | // plus.runtime.openURL(downUrl) |
| | | // } |
| | | // } |
| | | // }) |
| | | } |
| | | }) |
| | | // #endif |
| | |
| | | "minSdkVersion" : 29, |
| | | "schemes" : "xxg-app", |
| | | "targetSdkVersion" : 30, |
| | | "abiFilters" : [ "arm64-v8a" ] |
| | | "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ] |
| | | }, |
| | | /* ios打包配置 */ |
| | | "ios" : { |
| | |
| | | "com.apple.developer.associated-domains" : [ "applinks:www.ncmiruo.com" ] |
| | | } |
| | | }, |
| | | "urltypes" : "xxg-app" |
| | | "urltypes" : "xxg-app", |
| | | "idfa" : true |
| | | }, |
| | | /* SDK配置 */ |
| | | "sdkConfigs" : { |
| | |
| | | <text v-if="userInfo">余额支付(可用余额:{{userInfo.const}})</text> |
| | | <image class="rgt" :src="payment == 1 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode=""></image> |
| | | </view> --> |
| | | <!-- <view class="pay-item" @tap="choosePayment(2)"> |
| | | <view class="pay-item" @tap="choosePayment(2)"> |
| | | <image class="pay-icon" src="/static/imgs/wxpay.png" mode=""></image> |
| | | <text>微信支付</text> |
| | | <image class="rgt" :src="payment == 2 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode=""></image> |
| | | </view> --> |
| | | <view class="pay-item"> |
| | | </view> |
| | | <!-- <view class="pay-item"> |
| | | <image class="pay-icon" src="/static/imgs/bankpay.png" mode=""></image> |
| | | <view @tap="chooseBank"> |
| | | <text>银行卡支付</text> |
| | |
| | | <text v-else>(请选择银行卡 》》)</text> |
| | | </view> |
| | | <image class="rgt" :src="payment == 3 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode="" @tap="choosePayment(3)"></image> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </view> |
| | | <view class="authBtn-desc" v-if="userInfo && payment == 1 && userInfo.edu_auth == 1"> |
| | |
| | | const _this = this; |
| | | this.isAgree = uni.getStorageSync('boughtEquity') |
| | | uni.request({ |
| | | url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+uni.getStorageSync('phone')+'&appId='+'47be9559-6b1b-42dd-84ed-25d028065013', |
| | | url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+uni.getStorageSync('phone')+'&appId='+uni.getStorageSync('ygxLogin').appId, |
| | | success: function (res) { |
| | | if(res.data.code==200){ |
| | | _this.lst = res.data.data; |
| | |
| | | title: e.data.data, |
| | | icon: 'none' |
| | | }); |
| | | return; |
| | | } |
| | | uni.request({ |
| | | url:_this.$webHost+`/api/v2/pay/getPayBindCardInfo/${uni.getStorageSync('ygxLogin').customerId}`, |
| | |
| | | }); |
| | | |
| | | |
| | | that.isCounting = true; |
| | | // that.isCounting = true; |
| | | |
| | | |
| | | |
| | |
| | | }) |
| | | return; |
| | | } |
| | | |
| | | that.isCounting = true; |
| | | if(res.data.code === 200){ |
| | | that.bindCardId = res.data.data; |
| | | } else { |
| | |
| | | <text style="color: #20110E;">我已阅读并同意</text> |
| | | <!-- <text style="display: inline;font-size: 24rpx;color: #4766FE" @click="link('/pages/protocol/protocol?code=shop_ai_service&title=会员服务协议-YXKJ')">《会员服务协议-YXKJ》</text> |
| | | <text style="display: inline;font-size: 24rpx;color: #4766FE" @click="link('/pages/protocol/protocol?code=shop_auto_service&title=委托扣款确认书-YXKJ')">《委托扣款确认书-YXKJ》</text>--> |
| | | <text style="display: inline;font-size: 24rpx;color: #4766FE" @click="link(`/pages/web/xieyi?code=${memberPeriodConfigInfo.protocolCode}&title=${memberPeriodConfigInfo.protocolName}`)">《会员权益服务协议-星享购》</text> |
| | | <text style="display: inline;font-size: 24rpx;color: #4766FE" @click="link(`/pages/web/xieyi?code=${memberPeriodConfigInfo.protocolCode}&title=${memberPeriodConfigInfo.protocolName}`)">{{memberPeriodConfigInfo.protocolName}}</text> |
| | | </view> |
| | | |
| | | <!-- <view class="tips" style="color: #666666;margin-top: 24rpx;margin-bottom: 20rpx;font-size: 26rpx">*会员服务一经开通不支持取消、退款,会员服务到期前,用户可以选择续订或取消续费。</view>--> |
| | |
| | | }) |
| | | return false |
| | | } else { |
| | | return true |
| | | // return true |
| | | // 隐藏掉实名认证 |
| | | // let userInfo = getUserInfo() |
| | | // let goUrl = '' |
| | | // if(userInfo.idcard_auth == 0){ |
| | | // goUrl = '/pages/idcard/idcard' |
| | | // } else if(userInfo.face_auth == 0){ |
| | | // goUrl = '/pages/face/face' |
| | | // } else if(userInfo.job_auth == 0){ |
| | | // goUrl = '/pages/job/job' |
| | | // } else if(userInfo.bank_auth == 0){ |
| | | // goUrl = '/pages/addBank/addBank?backUrl=/pages/face/face' |
| | | // } |
| | | // console.log('goUrl', goUrl) |
| | | // if(goUrl != ''){ |
| | | // uni.showModal({ |
| | | // title: '温馨提示', |
| | | // content: '根据国家法律法规规定,使用本服务需要完成实名认证,是否前往认证?', |
| | | // success: function (res) { |
| | | // if (res.confirm) { |
| | | // uni.navigateTo({ |
| | | // url: goUrl |
| | | // }) |
| | | // } |
| | | // } |
| | | // }) |
| | | // return false |
| | | // } |
| | | // if(url != '' && isgo == 1){ |
| | | // uni.navigateTo({ |
| | | // url: url |
| | | // }) |
| | | // } else { |
| | | // return true |
| | | // } |
| | | let userInfo = getUserInfo() |
| | | let goUrl = '' |
| | | if(userInfo.idcard_auth == 0){ |
| | | goUrl = '/pages/idcard/idcard' |
| | | } else if(userInfo.face_auth == 0){ |
| | | goUrl = '/pages/face/face' |
| | | } else if(userInfo.job_auth == 0){ |
| | | goUrl = '/pages/job/job' |
| | | } else if(userInfo.bank_auth == 0){ |
| | | goUrl = '/pages/addBank/addBank?backUrl=/pages/face/face' |
| | | } |
| | | console.log('goUrl', goUrl) |
| | | if(goUrl != ''){ |
| | | uni.showModal({ |
| | | title: '温馨提示', |
| | | content: '根据国家法律法规规定,使用本服务需要完成实名认证,是否前往认证?', |
| | | success: function (res) { |
| | | if (res.confirm) { |
| | | uni.navigateTo({ |
| | | url: goUrl |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | return false |
| | | } |
| | | if(url != '' && isgo == 1){ |
| | | uni.navigateTo({ |
| | | url: url |
| | | }) |
| | | } else { |
| | | return true |
| | | } |
| | | } |
| | | } |
| | | |