diff --git a/App.vue b/App.vue
index 00fa609..f67d2bc 100644
--- a/App.vue
+++ b/App.vue
@@ -1,35 +1,38 @@
-
-
-
+
+
+
\ No newline at end of file
diff --git a/common/http.api.js b/common/http.api.js
index 0439391..75cf369 100644
--- a/common/http.api.js
+++ b/common/http.api.js
@@ -50,7 +50,12 @@ let apiApp = {
cartDestroy: '/api/mobile/cart/destroy',
hospital: '/api/mobile/hospital/hospital',
- banner: '/api/mobile/other/banner',
+ banner: '/api/mobile/other/banner',
+ // 就医服务
+ serveHospital:'/api/mobile/serve-hospital/hospital',
+ serveHospitalDetail:'/api/mobile/serve-hospital/hospital-detail',
+ serveHospitalForm:'/api/mobile/serve-hospital/forms'
+
}
// 此处第二个参数vm,就是我们在页面使用的this,你可以通过vm获取vuex等操作
@@ -107,8 +112,11 @@ const install = (Vue, vm) => {
const cartList = (params = {}) => vm.$u.get(apiApp.cartIndex, params)
const cartShow = (params = {}) => vm.$u.get(apiApp.cartShow, params)
const cartSave = (params = {}) => vm.$u.post(apiApp.cartSave, params)
- const cartDestroy = (params = {}) => vm.$u.get(apiApp.cartDestroy, params)
-
+ const cartDestroy = (params = {}) => vm.$u.get(apiApp.cartDestroy, params)
+ // 就医服务
+ const serveHospital = (params = {}) => vm.$u.get(apiApp.serveHospital, params)
+ const serveHospitalDetail = (params = {}) => vm.$u.get(apiApp.serveHospitalDetail, params)
+ const serveHospitalForm = (params = {}) => vm.$u.get(apiApp.serveHospitalForm, params)
// end
vm.$u.api = {
@@ -134,7 +142,9 @@ const install = (Vue, vm) => {
// 用户商城订单
userOrders,userOrdersDetail,productOrderRefund,
// 购物车
- cartList, cartSave, cartShow, cartDestroy
+ cartList, cartSave, cartShow, cartDestroy,
+ //就医服务
+ serveHospital,serveHospitalDetail,serveHospitalForm
};
}
diff --git a/package_sub/pages/ServeDetail/ServeDetail.vue b/package_sub/pages/ServeDetail/ServeDetail.vue
new file mode 100644
index 0000000..6c7fb9c
--- /dev/null
+++ b/package_sub/pages/ServeDetail/ServeDetail.vue
@@ -0,0 +1,233 @@
+
+
+
+
+
+ {{ info.name }}
+
+ {{ info.level }}
+ {{ info.type }}
+
+ 对接科室{{info.serve_hospital_department_count}}个
+ 累计咨询量:{{info.serve_hospital_forms_count}}
+
+
+ 选择科室
+
+
+
+ {{item.name}}
+
+
+ 累计咨询数量:{{item.serve_hospital_forms_count}}
+
+
+
+
+ 下一步
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/package_sub/pages/ServeForm/ServeForm.vue b/package_sub/pages/ServeForm/ServeForm.vue
new file mode 100644
index 0000000..6ec7034
--- /dev/null
+++ b/package_sub/pages/ServeForm/ServeForm.vue
@@ -0,0 +1,322 @@
+
+
+
+
+
+ 咨询科室:{{ info.name?info.name:'' }} - {{department_name?department_name:''}}
+ 患者信息
+
+
+
+
+
+
+
+
+
+ {{item}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交咨询
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/package_sub/pages/ServeHospital/ServeHospital.vue b/package_sub/pages/ServeHospital/ServeHospital.vue
new file mode 100644
index 0000000..12c33df
--- /dev/null
+++ b/package_sub/pages/ServeHospital/ServeHospital.vue
@@ -0,0 +1,265 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+ {{ item.level }}
+ {{ item.type }}
+
+ 对接科室{{item.serve_hospital_department_count}}个 累计咨询量:{{item.serve_hospital_forms_count}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/package_sub/static/ServeHospital/active.png b/package_sub/static/ServeHospital/active.png
new file mode 100644
index 0000000..e0b8687
Binary files /dev/null and b/package_sub/static/ServeHospital/active.png differ
diff --git a/package_sub/static/ServeHospital/bkg.png b/package_sub/static/ServeHospital/bkg.png
new file mode 100644
index 0000000..48f61a6
Binary files /dev/null and b/package_sub/static/ServeHospital/bkg.png differ
diff --git a/pages.json b/pages.json
index 8dae743..a4256e0 100644
--- a/pages.json
+++ b/pages.json
@@ -137,7 +137,28 @@
"style": {
"navigationStyle": "custom"
}
- }
+ },
+ // 就医服务
+ {
+ "path": "pages/ServeHospital/ServeHospital",
+ "style": {
+ "navigationBarTitleText": "就医服务",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/ServeDetail/ServeDetail",
+ "style": {
+ "navigationBarTitleText": "选择科室"
+ }
+ },
+ {
+ "path": "pages/ServeForm/ServeForm",
+ "style": {
+ "navigationBarTitleText": "提交咨询"
+ }
+ }
+
]
}
],
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 79c45e0..73f3323 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -68,7 +68,7 @@
-
+
@@ -272,6 +272,7 @@ export default {
{
text: "就医服务",
icon: "/static/index/jiuyifuwu.png",
+ to: "/package_sub/pages/ServeHospital/ServeHospital",
},
{
text: "居家照护",