diff --git a/apis/interfaces/service.js b/apis/interfaces/service.js new file mode 100644 index 0000000..2d4fc28 --- /dev/null +++ b/apis/interfaces/service.js @@ -0,0 +1,28 @@ +/** + * Web唐明明 + * 匆匆数载恍如梦,岁月迢迢华发增。 + * 碌碌无为枉半生,一朝惊醒万事空。 + * moduleName: 服务 + */ + +import { request } from '../index' + +// 首页 +const index = (data) =>{ + return request({ + url: 'health/halls', + data:data + }) +} + +// 详情 +const hallsDet = (hall) =>{ + return request({ + url: 'health/halls/' + hall + }) +} + +export { + index, + hallsDet +} diff --git a/pages.json b/pages.json index 99e31e9..faf4fcf 100644 --- a/pages.json +++ b/pages.json @@ -324,6 +324,22 @@ } } } + },{ + "path": "pages/service/index", + "name": "serviceIndex", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + },{ + "path": "pages/service/details", + "name": "serviceDetails", + "style": { + "navigationBarTitleText": "", + "navigationBarBackgroundColor":"#FFFFFF", + "enablePullDownRefresh": false + } }], "tabBar": { "borderStyle": "white", @@ -337,7 +353,7 @@ { "iconPath": "static/tabBar/tabBar_01.png", "selectedIconPath": "static/tabBar/tabBar_show_01.png", - "pagePath": "pages/record/index", + "pagePath": "pages/service/index", "text": "服务" }, { @@ -347,8 +363,8 @@ "text": "生活" }, { - "iconPath": "static/tabBar/tabBar_01.png", - "selectedIconPath": "static/tabBar/tabBar_show_01.png", + "iconPath": "static/tabBar/tabBar_04.png", + "selectedIconPath": "static/tabBar/tabBar_show_04.png", "pagePath": "pages/im/index", "text": "聊聊" }, diff --git a/pages/service/details.vue b/pages/service/details.vue new file mode 100644 index 0000000..20a83b3 --- /dev/null +++ b/pages/service/details.vue @@ -0,0 +1,273 @@ + + + + + diff --git a/pages/service/index.vue b/pages/service/index.vue new file mode 100644 index 0000000..de8ee20 --- /dev/null +++ b/pages/service/index.vue @@ -0,0 +1,185 @@ + + + + + diff --git a/pages/user/index.vue b/pages/user/index.vue index fec7a91..3aeeeee 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -85,34 +85,34 @@ - + ZH钱包(首次) - + ZH钱包(钱包) - + 健康档案 - + 地址管理 - + 设置 - + 退出登录 @@ -352,8 +352,8 @@ right: $margin; } .icon{ - width: 36rpx; - height: 36rpx; + width: 44rpx; + height: 44rpx; vertical-align: middle; margin-right: $margin/2; margin-bottom: 8rpx; diff --git a/static/tabBar/tabBar_04.png b/static/tabBar/tabBar_04.png new file mode 100644 index 0000000..16ec697 Binary files /dev/null and b/static/tabBar/tabBar_04.png differ diff --git a/static/tabBar/tabBar_show_04.png b/static/tabBar/tabBar_show_04.png new file mode 100644 index 0000000..baf5cbe Binary files /dev/null and b/static/tabBar/tabBar_show_04.png differ diff --git a/static/user/userIcon_00.png b/static/user/userIcon_00.png new file mode 100644 index 0000000..5d6d385 Binary files /dev/null and b/static/user/userIcon_00.png differ diff --git a/static/user/userIcon_01.png b/static/user/userIcon_01.png new file mode 100644 index 0000000..ee9e2b2 Binary files /dev/null and b/static/user/userIcon_01.png differ diff --git a/static/user/userIcon_02.png b/static/user/userIcon_02.png new file mode 100644 index 0000000..af25576 Binary files /dev/null and b/static/user/userIcon_02.png differ diff --git a/static/user/userIcon_03.png b/static/user/userIcon_03.png new file mode 100644 index 0000000..bc1af24 Binary files /dev/null and b/static/user/userIcon_03.png differ diff --git a/static/user/userIcon_04.png b/static/user/userIcon_04.png new file mode 100644 index 0000000..dd3af8b Binary files /dev/null and b/static/user/userIcon_04.png differ diff --git a/static/user/userIcon_05.png b/static/user/userIcon_05.png new file mode 100644 index 0000000..5ff91b1 Binary files /dev/null and b/static/user/userIcon_05.png differ