diff --git a/App.vue b/App.vue
index ea9eff2..dc7413f 100644
--- a/App.vue
+++ b/App.vue
@@ -1,16 +1,10 @@
-
-
+
@@ -18,4 +12,54 @@
diff --git a/api/baseurl.js b/api/baseurl.js
index 7f01d55..ff0cce3 100644
--- a/api/baseurl.js
+++ b/api/baseurl.js
@@ -1,2 +1,2 @@
-var baseurl = "http://192.168.16.94:8080";
+var baseurl = "http://192.168.16.94:8081";
export default baseurl
diff --git a/api/disease/index.js b/api/disease/index.js
new file mode 100644
index 0000000..ed3c3ac
--- /dev/null
+++ b/api/disease/index.js
@@ -0,0 +1,8 @@
+import request from "../request.js"
+
+export function getDiseaseInfo() {
+ return request({
+ url: `/nurseApplet/login/getDiseaseInfo`,
+ method: 'GET'
+ })
+}
diff --git a/api/information/index.js b/api/information/index.js
new file mode 100644
index 0000000..4c16425
--- /dev/null
+++ b/api/information/index.js
@@ -0,0 +1,29 @@
+import request from "../request.js"
+
+//区街道list
+export function getRegionAndStreetInfo() {
+ return request({
+ url: `/nurseApplet/login/getRegionAndStreetInfo`,
+ method: 'GET'
+ })
+}
+
+
+
+//完善信息登录
+export function information(data) {
+ return request({
+ url: `/nurseApp/login/information`,
+ method: 'POST',
+ data
+ })
+}
+
+
+//查询护理类型信息
+export function getNurseType() {
+ return request({
+ url: `/nurseApplet/login/getNurseTypeInfo`,
+ method: 'GET'
+ })
+}
diff --git a/api/request.js b/api/request.js
index 4742cda..50765d6 100644
--- a/api/request.js
+++ b/api/request.js
@@ -2,6 +2,9 @@ import baseurl from './baseurl.js'
var request = function(config) {
return new Promise((resolve, rejected) => {
+ uni.showLoading({
+ title: ''
+ });
uni.request({
url: baseurl + config.url,
data: config.data,
@@ -25,6 +28,7 @@ var request = function(config) {
// })
// } else {
// if (res.data.success) {
+ uni.hideLoading();
resolve(res.data)
// } else {
// uni.showToast({
@@ -35,6 +39,7 @@ var request = function(config) {
// }
},
fail(err) {
+ uni.hideLoading();
rejected(err)
}
})
diff --git a/manifest.json b/manifest.json
index 6d00163..5b8053d 100644
--- a/manifest.json
+++ b/manifest.json
@@ -17,9 +17,7 @@
"delay" : 0
},
/* 模块配置 */
- "modules" : {
- "Geolocation" : {}
- },
+ "modules" : {},
/* 应用发布信息 */
"distribute" : {
/* android打包配置 */
@@ -42,14 +40,21 @@
"maps" : {
"amap" : {
"appkey_ios" : "",
- "appkey_android" : ""
+ "appkey_android" : "b38c6aa0cb9a6323f48b05ea6462aed5"
}
},
"geolocation" : {
+ "amap" : {
+ "__platform__" : [ "android" ],
+ "appkey_ios" : "",
+ "appkey_android" : "b38c6aa0cb9a6323f48b05ea6462aed5"
+ },
"system" : {
- "__platform__" : [ "ios", "android" ]
+ "__platform__" : [ "android" ]
}
- }
+ },
+ "push" : {},
+ "payment" : {}
},
"splashscreen" : {
"androidStyle" : "default",
@@ -84,5 +89,16 @@
"uniStatistics" : {
"enable" : false
},
- "vueVersion" : "2"
+ "vueVersion" : "2",
+ "h5" : {
+ "sdkConfigs" : {
+ "maps" : {
+ "amap" : {
+ "key" : "08e138f3f5e8595453526cbbeed38124",
+ "securityJsCode" : "e50d5cf4e75c0a2b3f5cbfcc96cc4d8f",
+ "serviceHost" : ""
+ }
+ }
+ }
+ }
}
diff --git a/pages.json b/pages.json
index 607e65f..e71e35a 100644
--- a/pages.json
+++ b/pages.json
@@ -3,73 +3,54 @@
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path" : "pages/diagnosis/diagnosis",
- "style" :
- {
- "navigationBarTitleText": "诊疗结果",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
- }
-
- },
- {
- "path": "pages/InformationFilling/InformationFilling",
- "style": {
- "navigationBarTitleText": "信息填写与确认",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
- }
- },
-
- {
- "path" : "pages/AppointmentRecord/AppointmentRecord",
- "style" :
- {
- "navigationBarTitleText": "预约记录及结果",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
- }
-
- },
-
- {
- "path": "pages/detail/detail",
- "style": {
- "navigationBarTitleText": "护理站简介",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
- }
- },
{
- "path" : "pages/nursestation/nursestation",
- "style" :
- {
- "navigationBarTitleText": "济南护万家护理有限公司",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff"
- }
-
+ "path": "pages/diagnosis/diagnosis",
+ "style": {
+ "navigationBarTitleText": "诊疗结果",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff" //背景颜色
+ }
},
{
- "path": "pages/site/site",
+ "path": "pages/InformationFilling/InformationFilling",
"style": {
- "navigationBarTitleText": "附近护理站",
+ "navigationBarTitleText": "信息填写与确认",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" //背景颜色
}
},
{
- "path" : "pages/appointmenttime/appointmenttime",
- "style" :
- {
- "navigationBarTitleText": "预约时间",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
- }
-
- },{
+ "path": "pages/AppointmentRecord/AppointmentRecord",
+ "style": {
+ "navigationBarTitleText": "预约记录及结果",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff" //背景颜色
+ }
+ },
+ {
+ "path": "pages/detail/detail",
+ "style": {
+ "navigationBarTitleText": "护理站简介",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff" //背景颜色
+ }
+ },
+ {
+ "path": "pages/information/information",
+ "style": {
+ "navigationBarTitleText": "请完善个人信息",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff"
+ }
+ }, {
+ "path": "pages/Doctordetails/Doctordetails",
+ "style": {
+ "navigationBarTitleText": "医生信息",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff"
+ }
+ }, {
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "",
@@ -89,29 +70,34 @@
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" //背景颜色
}
- },{
- "path" : "pages/appointment/appointment",
- "style" :
- {
- "navigationBarTitleText": "选择时间",
- "enablePullDownRefresh": false
- }
-
- },
- {
- "path": "pages/detail/detail",
+ }, {
+ "path": "pages/doctorslist/doctorslist",
"style": {
- "navigationBarTitleText": "护理站简介",
+ "navigationBarTitleText": "预约医生",
"enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
+ "navigationBarBackgroundColor": "#ffffff"
}
}, {
+ "path": "pages/appointment/appointment",
+ "style": {
+ "navigationBarTitleText": "选择时间",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
"path": "pages/homepage/homepage",
"style": {
"navigationBarTitleText": "泉医到家",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff"
}
+ }, {
+ "path": "pages/disease/disease",
+ "style": {
+ "navigationBarTitleText": "疾病信息选择",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff"
+ }
}, {
"path": "pages/CommodityDetails/CommodityDetails",
"style": {
@@ -121,28 +107,13 @@
}
},
{
- "path" : "pages/appointmenttime/appointmenttime",
- "style" :
- {
- "navigationBarTitleText": "预约时间",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
- }
-
- },
- {
- "path": "pages/homepage/homepage",
+ "path": "pages/appointmenttime/appointmenttime",
"style": {
- "navigationBarTitleText": "商品详情",
+ "navigationBarTitleText": "预约时间",
"enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff"
- }
- }, {
- "path": "pages/startup/startup",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
+ "navigationBarBackgroundColor": "#ffffff" //背景颜色
}
+
}, {
"path": "pages/Personal/Personal",
"style": {
@@ -171,17 +142,16 @@
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff"
}
+ },
+ {
+ "path": "pages/medicine/medicine",
+ "style": {
+ "navigationBarTitleText": "就医",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff"
+ }
}
- ,{
- "path" : "pages/diagnosis/diagnosis",
- "style" :
- {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
-
- }
- ],
+ ],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "",
diff --git a/pages/CommodityDetails/CommodityDetails.vue b/pages/CommodityDetails/CommodityDetails.vue
index 63064d0..b89d76c 100644
--- a/pages/CommodityDetails/CommodityDetails.vue
+++ b/pages/CommodityDetails/CommodityDetails.vue
@@ -8,12 +8,6 @@
-
-
-
-
-
-
@@ -115,10 +109,6 @@
//轮播内容
info: [{
content: '内容 A'
- }, {
- content: '内容 B'
- }, {
- content: '内容 C'
}],
current: 0, //轮播初始下标
mode: 'dot', //轮播点样式
@@ -141,19 +131,7 @@
diff --git a/pages/Personal/Personal.vue b/pages/Personal/Personal.vue
index 1c7d31a..2ffce85 100644
--- a/pages/Personal/Personal.vue
+++ b/pages/Personal/Personal.vue
@@ -36,49 +36,12 @@
diff --git a/pages/doctorslist/doctorslist.vue b/pages/doctorslist/doctorslist.vue
new file mode 100644
index 0000000..e3a5133
--- /dev/null
+++ b/pages/doctorslist/doctorslist.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+ 某某某
+
+
+
+
+
+
+ 某某某
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue
index a4352f6..7548e43 100644
--- a/pages/homepage/homepage.vue
+++ b/pages/homepage/homepage.vue
@@ -7,7 +7,7 @@
护理站
-
+
就医
@@ -34,38 +34,35 @@
+
+
diff --git a/pages/login/login.vue b/pages/login/login.vue
index a9ef3b2..6ffa40e 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -258,10 +258,6 @@
diff --git a/pages/register/register.vue b/pages/register/register.vue
index efe1255..f89c1b3 100644
--- a/pages/register/register.vue
+++ b/pages/register/register.vue
@@ -62,10 +62,6 @@
diff --git a/static/chaxun.png b/static/chaxun.png
new file mode 100644
index 0000000..0629232
Binary files /dev/null and b/static/chaxun.png differ
diff --git a/static/information.png b/static/information.png
new file mode 100644
index 0000000..44addf7
Binary files /dev/null and b/static/information.png differ
diff --git a/static/yuyue.png b/static/yuyue.png
new file mode 100644
index 0000000..a7ed0e7
Binary files /dev/null and b/static/yuyue.png differ