diff --git a/config/baseUrl.js b/config/baseUrl.js index e460a939..17028d24 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -3,8 +3,8 @@ let baseUrl = ""; let socketUrl = ""; if (process.env.NODE_ENV === 'development') { // 开发环境 - baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 - // baseUrl = "https://api.nuttyreading.com/"; //线上正式 + // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 + baseUrl = "https://api.nuttyreading.com/"; //线上正式 } else if (process.env.NODE_ENV === 'production') { // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 baseUrl = "https://api.nuttyreading.com/"; //线上正式 diff --git a/pages.json b/pages.json index c3bdb1a9..ac79c9fb 100644 --- a/pages.json +++ b/pages.json @@ -1,16 +1,16 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - // { - // "path": "pages/home/index", - // "style": { - // "navigationBarTitleText": "首页", - // "app-plus": { - // "bounce": "none", - // "titleNView": false, - // "popGesture": "none" - // } - // } - // }, + { + "path": "pages/home/index", + "style": { + "navigationBarTitleText": "首页", + "app-plus": { + "bounce": "none", + "titleNView": false, + "popGesture": "none" + } + } + }, { "path": "pages/doctors/index", "style": { diff --git a/pages/home/index.vue b/pages/home/index.vue index cfdb9f0c..ff0aa9d3 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -24,57 +24,30 @@ - -