diff --git a/config/baseUrl.js b/config/baseUrl.js index 7c5c2bbf..41f30f00 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -2,11 +2,11 @@ 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/"; //线上正式 + baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 + // baseUrl = "https://api.nuttyreading.com/"; //线上正式 } const courtConfig = { //微信公众号APPID diff --git a/pages.json b/pages.json index 6a86db34..c97cb8fd 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": { @@ -23,6 +23,30 @@ } } }, + { + "path": "pages/medicalRecords/index", + "style": { + "navigationBarTitleText": "我的医案", + "enablePullDownRefresh": true, // 禁止下拉刷新 + "app-plus": { + "bounce": "none", + "titleNView": false, + "popGesture": "none" + } + } + }, + { + "path": "pages/medicalRecords/add", + "style": { + "navigationBarTitleText": "创建医案", + "enablePullDownRefresh": true, // 禁止下拉刷新 + "app-plus": { + "bounce": "none", + "titleNView": false, + "popGesture": "none" + } + } + }, { "path": "pages/user/login", "style": { diff --git a/pages/medicalRecords/add copy 2.vue b/pages/medicalRecords/add copy 2.vue new file mode 100644 index 00000000..c7966e1f --- /dev/null +++ b/pages/medicalRecords/add copy 2.vue @@ -0,0 +1,1434 @@ +