diff --git a/components/doctorImport.vue b/components/doctorImport.vue new file mode 100644 index 0000000..d609d50 --- /dev/null +++ b/components/doctorImport.vue @@ -0,0 +1,93 @@ + + + + + diff --git a/main.js b/main.js index d52acd3..82495b0 100644 --- a/main.js +++ b/main.js @@ -157,19 +157,17 @@ const NODE_ENV = 'development'; if(Vue.prototype.provider == Vue.prototype.provider_weixin){ if (NODE_ENV == "development") { Vue.prototype.request_domain = 'http://jasonyizherenxin.checkcopy.com/'; - Vue.prototype.cssUrl = "/static/images/frontend/"; } else { Vue.prototype.request_domain = 'https://api.yizherenxin.cn/'; - Vue.prototype.cssUrl = "/static/images/frontend/"; } + Vue.prototype.cssUrl = Vue.prototype.request_domain + '/images/frontend/user/'; }else{ if(NODE_ENV == 'development'){ Vue.prototype.request_domain = "http://jasonyizherenxin.checkcopy.com/"; - Vue.prototype.cssUrl = '/static/images/frontend/'; }else{ - Vue.prototype.request_domain = "http://api.yizherenxin.cn/"; - Vue.prototype.cssUrl = '/static/images/frontend/'; + Vue.prototype.request_domain = "https://api.yizherenxin.cn/"; } + Vue.prototype.cssUrl = Vue.prototype.request_domain + '/images/frontend/user/'; } Vue.prototype.appid = ''; diff --git a/pages/index/index.vue b/pages/index/index.vue index 8d2d7ea..49ffbf1 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -93,12 +93,19 @@ + + + +