UI:澜品优选:1.行权问题修复;2.版本更新提示
| | |
| | | url: '/pages/login/login' |
| | | }) |
| | | return false |
| | | |
| | | |
| | | } |
| | | uni.setStorageSync('Config', JSON.stringify(res.data)) |
| | | |
| | | |
| | | // #ifdef APP-PLUS |
| | | //机型 |
| | | let platform = uni.getSystemInfoSync().platform.toLocaleLowerCase() |
| | |
| | | updateFlag = !updateFlag |
| | | updesc = res.data.android.desc |
| | | } |
| | | if (downUrl && updateFlag) { |
| | | // if (downUrl && updateFlag) { |
| | | if (updateFlag) { |
| | | // uni.showModal({ |
| | | // showCancel: false, |
| | | // confirmText: '立即更新', |
| | |
| | | // } |
| | | // } |
| | | // }) |
| | | uni.showModal({ |
| | | showCancel: false, |
| | | confirmText: '确定', |
| | | title: '版本更新提示!', |
| | | content: updesc, |
| | | success: res => { |
| | | if (res.confirm) { |
| | | |
| | | } |
| | | } |
| | | }) |
| | | } |
| | | }) |
| | | // #endif |
| | |
| | | // if(process.env.NODE_ENV === 'development') { |
| | | // Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com' |
| | | // } |
| | | // 用澜品优选的appid,去后台查对应商城的appid |
| | | Vue.prototype.$APPID = '05928c6e-4b07-41d5-a38d-6c1bfe186269' |
| | | Vue.prototype.$bank = [ |
| | | '中国工商银行', |
| | | '中国建设银行', |
| | |
| | | url: _this.$webHost+'/api/v2/customer/ryxIsBuyEquity?phone='+_this.$util.getUserInfo().phone, |
| | | data:{ |
| | | customerId: uni.getStorageSync('ygxLogin').customerId, |
| | | appId: uni.getStorageSync('ygxLogin').appId |
| | | appId: _this.$APPID |
| | | // appId: uni.getStorageSync('ygxLogin').appId |
| | | }, |
| | | success: function (res) { |
| | | if(res.data.code==200){ |
| | |
| | | const _this = this; |
| | | this.isAgree = uni.getStorageSync('boughtEquity') |
| | | uni.request({ |
| | | url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+uni.getStorageSync('ygxLogin').appId, |
| | | url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+_this.$APPID, |
| | | success: function (res) { |
| | | if(res.data.code==200){ |
| | | _this.lst = res.data.data; |