diff --git a/components/common/popUpCommon.vue b/components/common/popUpCommon.vue index de4f27c..41db21b 100644 --- a/components/common/popUpCommon.vue +++ b/components/common/popUpCommon.vue @@ -28,7 +28,7 @@ data() { return { show:false, - cssUrl:this.cssUrl, + cssUrl:this.cssUrl1, }; }, methods:{ diff --git a/main.js b/main.js index 0e09e97..6179a9c 100644 --- a/main.js +++ b/main.js @@ -154,16 +154,18 @@ try{ const NODE_ENV = 'development'; // const NODE_ENV = 'production'; + +Vue.prototype.cssUrl1 = '/static/images/' + if(Vue.prototype.provider == Vue.prototype.provider_weixin){ if (NODE_ENV == "development") { Vue.prototype.request_domain = 'http://coin.checkcopy.com/'; - Vue.prototype.cssUrl = '/static/images/' // Vue.prototype.request_domain = 'http://jasonyizherenxin.checkcopy.com/'; } else { Vue.prototype.request_domain = 'https://api.yizherenxin.cn/'; } // 暂时注释 - // Vue.prototype.cssUrl = Vue.prototype.request_domain + '/images/frontend/user/'; + Vue.prototype.cssUrl = Vue.prototype.request_domain + '/images/frontend/user/'; }else{ if(NODE_ENV == 'development'){ Vue.prototype.request_domain = "http://jasonyizherenxin.checkcopy.com/"; @@ -282,7 +284,7 @@ function req(url, data={}, method = 'POST', header={}) { const currentPage = pages[pages.length - 1]; let pageUrl = '/'+currentPage.route; if(data.xcx_scource == Vue.prototype.USER_SOURCE_WX_H5){ - this.$nav.navToPath('/pages/index/index') + this.$nav.navToPath('/pages/home/index') }else{ } return; @@ -290,7 +292,7 @@ function req(url, data={}, method = 'POST', header={}) { if (rs.confirm && rdata.code!=CODE_LOGIN_EXIPRE && rdata.msg && rdata.msg.indexOf('用户信息不存在') > -1) { removeLogin(); - navToPath('/pages/index/index') + navToPath('/pages/home/index') return; } } @@ -336,7 +338,6 @@ function xcx_login(url, eqdata={}, method = 'POST') { pdata.code = res.code; var doctor_id = uni.getStorageSync('doctor_id'); pdata.state = 'user-'+doctor_id; - debugger req('/api/login', pdata).then(data=>{ var udata = data console.log(data,'===2222'); diff --git a/pages/coinsDetail/index.vue b/pages/coinsDetail/index.vue index 4cf4f44..9918e89 100644 --- a/pages/coinsDetail/index.vue +++ b/pages/coinsDetail/index.vue @@ -1,6 +1,6 @@