| | |
| | | Vue.config.productionTip = false |
| | | App.mpType = 'app' |
| | | |
| | | // Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com' |
| | | Vue.prototype.$webHost = 'https://rbb98765.zrgy-bbg.com' |
| | | Vue.prototype.$util = util |
| | | Vue.prototype.$baseUrl = 'https://qxg1996.lllykj.com' |
| | | if(process.env.NODE_ENV === 'development') { |
| | | Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com' |
| | | } |
| | | // if(process.env.NODE_ENV === 'development') { |
| | | // Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com' |
| | | // } |
| | | Vue.prototype.$bank = [ |
| | | '中国工商银行', |
| | | '中国建设银行', |
| | |
| | | // configureToDomain: 小猪优选是 融6,则configureToDomain = 6,看商城属于融几,购有趣(融7)等等 |
| | | const ygxRes = await new Promise((resolve, reject) => { |
| | | uni.request({ |
| | | // url: t.$webHost + '/api/v2/auth/iosShopUnionLogin?phone=' + t.$util.getUserInfo().phone+'&configureToDomain=6', |
| | | url: t.$webHost + '/api/v2/auth/iosShopUnionLogin?phone=' + t.$util.getUserInfo().phone+'&configureToDomain=6', |
| | | success: resolve, |
| | | fail: reject |
| | |
| | | const _this = this; |
| | | if(_this.$util.getUserInfo()?.phone){ |
| | | uni.request({ |
| | | // url: _this.$webHost+'/api/v2/auth/iosShopUnionLogin?phone=' + _this.$util.getUserInfo().phone+'&configureToDomain=6', |
| | | url: _this.$webHost+'/api/v2/auth/iosShopUnionLogin?phone=' + _this.$util.getUserInfo().phone+'&configureToDomain=6', |
| | | data:{ |
| | | customerId: uni.getStorageSync('ygxLogin').customerId, |
| | |
| | | }, |
| | | mounted(){ |
| | | this.windowHeight = uni.getSystemInfoSync().windowHeight; |
| | | this.interval = setInterval(() => { |
| | | let newHeight = window.innerHeight; |
| | | if (this.windowHeight !== newHeight) { |
| | | this.windowHeight = newHeight; |
| | | this.handleResize(); |
| | | } |
| | | }, 200); |
| | | // this.interval = setInterval(() => { |
| | | // let newHeight = window.innerHeight; |
| | | // if (this.windowHeight !== newHeight) { |
| | | // this.windowHeight = newHeight; |
| | | // this.handleResize(); |
| | | // } |
| | | // }, 200); |
| | | }, |
| | | methods: { |
| | | kk(){ |
| | |
| | | |
| | | |
| | | </view> |
| | | <agreement ref="agreement"></agreement> |
| | | <!-- <agreement ref="agreement"></agreement> --> |
| | | </view> |
| | | </template> |
| | | |