diff --git a/api/Healthknowledge/index.js b/api/Healthknowledge/index.js
new file mode 100644
index 0000000..54ebd8b
--- /dev/null
+++ b/api/Healthknowledge/index.js
@@ -0,0 +1,8 @@
+import request from "../request.js"
+
+export function getHeathHousingList(pageNum, pageSize) {
+ return request({
+ url: `/nurseApplet/nearbyNursingStation/getHeathHousingList?pageNum=${pageNum}&pageSize=${pageSize}&informationCategoryType=HEALTH_NOUS`,
+ method: 'get',
+ })
+}
diff --git a/api/Personal/Personal.js b/api/Personal/Personal.js
new file mode 100644
index 0000000..8a37c6e
--- /dev/null
+++ b/api/Personal/Personal.js
@@ -0,0 +1,16 @@
+import request from "../request.js"
+export function appPersonal(patientId) {
+ return request({
+ url: `/nurseApp/login/appPersonal?patientId=${patientId}`,
+ method: 'GET'
+ })
+}
+
+
+//邀请
+export function inviteFriends(patientId) {
+ return request({
+ url: `/nurseApplet/patientInfo/inviteFriends?inviteId=${patientId}`,
+ method: 'post'
+ })
+}
diff --git a/api/ProductList/ProductList.js b/api/ProductList/ProductList.js
index 7be9748..13c6ea1 100644
--- a/api/ProductList/ProductList.js
+++ b/api/ProductList/ProductList.js
@@ -1,13 +1,12 @@
import request from "../request.js"
-export function goodsList(pageSize,pageNum,goodsCategoryId,goodsName) {
+export function goodsList(pageSize, pageNum, goodsCategoryId, goodsName) {
return request({
url: `/nurseApplet/nursingStationGoods/goodsList?pageSize=${pageSize}&pageNum=${pageNum}&goodsCategoryId=${goodsCategoryId}&goodsName=${goodsName}`,
method: 'GET'
})
}
-
//查询商品分类二级分类上边列表 小程序
export function getGoodsCategoryNameList(goodsCategoryId) {
return request({
diff --git a/api/ProjectDetails/index.js b/api/ProjectDetails/index.js
index bf08060..2d54396 100644
--- a/api/ProjectDetails/index.js
+++ b/api/ProjectDetails/index.js
@@ -2,7 +2,7 @@ import request from "../request.js"
export function getAppStationItemInfo(stationId, stationItemId, stationItemPriceId) {
return request({
- url: `/nurseApp/login/getAppStationItemInfo?stationId=${stationId}&stationItemId=${stationItemId}&stationItemPriceId=${stationItemPriceId}`,
+ url: `/nurseApplet/login/getStationItemInfo?stationId=${stationId}&stationItemId=${stationItemId}&stationItemPriceId=${stationItemPriceId}`,
method: 'GET'
})
}
diff --git a/api/appointmenttime/appointmenttime.js b/api/appointmenttime/appointmenttime.js
index d4c6887..005b422 100644
--- a/api/appointmenttime/appointmenttime.js
+++ b/api/appointmenttime/appointmenttime.js
@@ -22,4 +22,14 @@ export function submitAppointment(data) {
data
})
}
+// 小程序预约服务支付接口
+
+export function appletAppointmentOrderPay(data) {
+ return request({
+ url: `/nurseApp/weChatPayment/appletAppointmentOrderPay`,
+ method: 'post',
+ data
+ })
+}
+
diff --git a/api/baseurl.js b/api/baseurl.js
index dcfa9cc..9ab310f 100644
--- a/api/baseurl.js
+++ b/api/baseurl.js
@@ -1,4 +1,4 @@
// var baseurl = "http://192.168.16.30:8080";
-var baseurl = "http://192.168.16.49:8081";
+var baseurl = "http://192.168.16.30:8088";
// var baseurl = "http://192.168.16.76:8080";
export default baseurl
diff --git a/api/homepage/index.js b/api/homepage/index.js
new file mode 100644
index 0000000..d692231
--- /dev/null
+++ b/api/homepage/index.js
@@ -0,0 +1,9 @@
+import request from "../request.js"
+
+export function getPoserInfoListByType() {
+ return request({
+ url: `/nurseApplet/nearbyNursingStation/getPoserInfoListByType?moduleType=HOME_PAGE_MODULE`,
+ method: 'GET'
+ })
+}
+
diff --git a/api/nursestation/nursestation.js b/api/nursestation/nursestation.js
index b8a3368..6e59c0d 100644
--- a/api/nursestation/nursestation.js
+++ b/api/nursestation/nursestation.js
@@ -9,9 +9,9 @@ export function introductionList(id) {
}
-export function itemList(id,pageSize,pageNum) {
+export function itemList(id,pageSize,pageNum,nurseClassifyInfoId) {
return request({
- url: `/nurseApplet/nearbyNursingStation/itemList?pageSize=${pageSize}&pageNum=${pageNum}&nurseStationId=${id}`,
+ url: `/nurseApplet/nearbyNursingStation/itemList?pageSize=${pageSize}&pageNum=${pageNum}&nurseStationId=${id}&nurseClassifyInfoId=${nurseClassifyInfoId}`,
method: 'GET'
})
}
diff --git a/api/shopping/shopping.js b/api/shopping/shopping.js
index 23712e8..4f273ad 100644
--- a/api/shopping/shopping.js
+++ b/api/shopping/shopping.js
@@ -1,6 +1,6 @@
import request from "../request.js"
-export function goodsCategoryList(pageSize,pageNum) {
+export function goodsCategoryList(pageSize, pageNum) {
return request({
url: `/nurseApplet/nursingStationGoods/goodsCategoryList?pageSize=${pageSize}&pageNum=${pageNum}&categoryLevel=${1}`,
method: 'GET'
diff --git a/api/site/site.js b/api/site/site.js
index 98c3130..53f0fb3 100644
--- a/api/site/site.js
+++ b/api/site/site.js
@@ -1,14 +1,12 @@
import request from "../request.js"
-
-
-
-export function nearbyList(pageSize,pageNum,longitude, latitude) {
+export function nearbyList(pageSize, pageNum, longitude, latitude,ClassifyInfoId,itemClassId,searchName) {
return request({
- url: `/nurseApplet/nearbyNursingStation/nearbyList?pageSize=${pageSize}&pageNum=${pageNum}&homeLongitude=${longitude}&homeLatitude=${latitude}`,
+ url: `/nurseApplet/nearbyNursingStation/nearbyList?pageSize=${pageSize}&pageNum=${pageNum}&homeLongitude=${longitude}&homeLatitude=${latitude}&nurseClassifyInfoId=${ClassifyInfoId}&nurseItemClassifyInfoId=${itemClassId}&searchName=${searchName}`,
method: 'GET'
})
}
+
//被护理人信息 经纬度
export function getPatientInfo(id) {
return request({
@@ -16,3 +14,11 @@ export function getPatientInfo(id) {
method: 'GET'
})
}
+
+//护理站和护理项目分类
+export function getNurseClassifyList() {
+ return request({
+ url: `/nurseApplet/nearbyNursingStation/getNurseClassifyList?moduleType=NURSE_AGENCY_INTRODUCE_MODULE`,
+ method: 'GET'
+ })
+}
diff --git a/pages.json b/pages.json
index 9363870..0dbee9f 100644
--- a/pages.json
+++ b/pages.json
@@ -9,15 +9,7 @@
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
- }, {
- "path": "pages/information/information",
- "style": {
- "navigationBarTitleText": "完善个人信息",
- "navigationBarBackgroundColor": "#ffffff", //背景颜色
- "enablePullDownRefresh": false
- }
- },
- {
+ },{
"path": "pages/forgotPassword/forgotPassword",
"style": {
"navigationBarTitleText": "忘记密码",
@@ -30,6 +22,27 @@
"navigationBarTitleText": "注册账号",
"navigationBarBackgroundColor": "#ffffff"
}
+ }, {
+ "path": "pages/ProjectDetails/ProjectDetails",
+ "style": {
+ "navigationBarTitleText": "护理项目详情",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff" //背景颜色
+ }
+ }, {
+ "path": "pages/modifyAddress/modifyAddress",
+ "style": {
+ "navigationBarTitleText": "修改地址",
+ "navigationBarBackgroundColor": "#ffffff", //背景颜色
+ "enablePullDownRefresh": true //设置参数为true
+ }
+ }, {
+ "path": "pages/information/information",
+ "style": {
+ "navigationBarTitleText": "完善个人信息",
+ "navigationBarBackgroundColor": "#ffffff", //背景颜色
+ "enablePullDownRefresh": false
+ }
},
{
"path": "pages/lookrate/lookrate",
@@ -38,23 +51,13 @@
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff"
}
-
}, {
"path": "pages/ServiceDetails/ServiceDetails",
"style": {
"navigationBarTitleText": "服务详情",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" //背景颜色
-
}
- }, {
- "path": "pages/ProjectDetails/ProjectDetails",
- "style": {
- "navigationBarTitleText": "护理项目详情",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
- }
-
}, {
"path": "pages/goodsorderRate/goodsorderRate",
"style": {
@@ -62,13 +65,6 @@
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" //背景颜色
}
- }, {
- "path": "pages/Bodysatelliteintegration/Bodysatelliteintegration",
- "style": {
- "navigationBarTitleText": "体卫融合",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
- }
},
{
"path": "pages/modify/modify",
@@ -105,6 +101,7 @@
"navigationBarTitleText": "医路优品",
"navigationBarBackgroundColor": "#ffffff",
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
+ "navigationStyle": "custom",
"enablePullDownRefresh": true //设置参数为true
}
}, {
@@ -116,7 +113,6 @@
"enablePullDownRefresh": true //设置参数为true
}
},
-
{
"path": "pages/user/user",
"style": {
@@ -146,16 +142,17 @@
"style": {
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff"
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationStyle": "custom"
}
},
-
{
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录",
"navigationStyle": "custom",
- "enablePullDownRefresh": false
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff" //背景颜色
}
},
{
@@ -166,11 +163,10 @@
"navigationBarBackgroundColor": "#ffffff" //背景颜色
}
},
-
{
"path": "pages/Nursingstationserviceorder/Nursingstationserviceorder",
"style": {
- "navigationBarTitleText": "护理站服务订单",
+ "navigationBarTitleText": "护理机构服务订单",
"navigationBarBackgroundColor": "#ffffff", //背景颜色
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
"enablePullDownRefresh": true //设置参数为true
@@ -209,7 +205,6 @@
"enablePullDownRefresh": false
}
},
-
{
"path": "pages/order/order",
"style": {
@@ -224,17 +219,16 @@
"navigationBarTitleText": "预约详情",
"enablePullDownRefresh": false
}
-
},
{
"path": "pages/homepage/homepage",
"style": {
"navigationBarTitleText": "泉医到家",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff"
+ "navigationStyle": "custom",
+ "navigationBarBackgroundColor": "#ffffff",
+ "enablePullDownRefresh": false
}
},
-
{
"path": "pages/confirmOrder/confirmOrder",
"style": {
@@ -265,7 +259,6 @@
"path": "pages/ProductList/ProductList", //商品列表
"style": {
"navigationBarTitleText": "医路优品",
- "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff",
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
"enablePullDownRefresh": true //设置参数为true
@@ -282,76 +275,86 @@
{
"path": "pages/nursestation/nursestation",
"style": {
- "navigationBarTitleText": "护理站详情",
+ "navigationBarTitleText": "护理机构详情",
"navigationBarBackgroundColor": "#ffffff",
"onReachBottomDistance": 100, //距离底部多远时触发 单位为px
"enablePullDownRefresh": true //设置参数为true
}
-
},
{
"path": "pages/site/site",
"style": {
- "navigationBarTitleText": "附近护理站",
+ "navigationBarTitleText": "护理机构",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff", //背景颜色
- "onReachBottomDistance": 40, //距离底部多远时触发 单位为px
+ "onReachBottomDistance": 100, //距离底部多远时触发 单位为px
"enablePullDownRefresh": true //设置参数为true
}
},
- {
- "path": "pages/detail/detail",
- "style": {
- "navigationBarTitleText": "护理站简介",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
- }
- },
{
"path": "pages/medicine/medicine",
"style": {
- "navigationBarTitleText": "就医",
+ "navigationBarTitleText": "健康咨询",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff"
}
},
{
- "path": "pages/modifyAddress/modifyAddress",
- "style": {
- "navigationBarTitleText": "修改地址",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff" //背景颜色
- }
-
- },
- {
- "path": "pages/Doctordetails/Doctordetails",
- "style": {
- "navigationBarTitleText": "医生信息",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff"
- }
- }, {
- "path": "pages/Geriatricdisease/Geriatricdisease",
- "style": {
- "navigationBarTitleText": "老年病中心",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#ffffff"
- }
-
- }, {
"path": "pages/diseasemanagement/diseasemanagement",
"style": {
"navigationBarTitleText": "专病管理",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff"
}
- }, {
+ },
+ {
+ "path": "pages/utabs/u-tabs",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff"
+ }
+ },
+ {
"path": "pages/classification/classification",
"style": {
"navigationBarTitleText": "分类",
- "enablePullDownRefresh": false
- // "disableScroll": true
+ "enablePullDownRefresh": false,
+ "disableScroll": true
+ // "navigationBarBackgroundColor": "#ffffff",
+ // "onReachBottomDistance": 50 //距离底部多远时触发 单位为px
+ // "enablePullDownRefresh": true //设置参数为true
+ }
+
+ }, {
+ "path": "pages/Healthknowledge/Healthknowledge",
+ "style": {
+ "navigationBarTitleText": "健康常识",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff"
+ }
+
+ }, {
+ "path": "pages/Healthitem/Healthitem",
+ "style": {
+ "navigationBarTitleText": "健康常识",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff"
+ }
+ },
+ {
+ "path": "pages/customerservice/customerservice",
+ "style": {
+ "navigationBarTitleText": "在线客服",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff"
+ }
+ }, {
+ "path": "pages/materialbenefits/materialbenefits",
+ "style": {
+ "navigationBarTitleText": "新人福利",
+ "enablePullDownRefresh": false,
+ "navigationBarBackgroundColor": "#ffffff"
}
}
@@ -374,6 +377,12 @@
"selectedIconPath": "static/homepagews.png",
"text": "首页"
},
+ {
+ "pagePath": "pages/shopping/shopping",
+ "iconPath": "static/shoping.png",
+ "selectedIconPath": "static/shopingw.png",
+ "text": "商城"
+ },
{
"pagePath": "pages/Personal/Personal",
"iconPath": "static/userw.png",
diff --git a/pages/Applforrefund/Applforrefund.vue b/pages/Applforrefund/Applforrefund.vue
index 48dff57..fe8b799 100644
--- a/pages/Applforrefund/Applforrefund.vue
+++ b/pages/Applforrefund/Applforrefund.vue
@@ -7,7 +7,7 @@
退款原因
请选择
{{dictname}}
-
+
退款金额
¥{{order.totalPrice}}
diff --git a/pages/CommodityDetails/CommodityDetails.vue b/pages/CommodityDetails/CommodityDetails.vue
index a32b179..6e1723c 100644
--- a/pages/CommodityDetails/CommodityDetails.vue
+++ b/pages/CommodityDetails/CommodityDetails.vue
@@ -19,7 +19,7 @@
{{updata.goodsAttributeName}}
-
+
@@ -28,7 +28,7 @@
+ -->
@@ -40,7 +40,7 @@
· 仅工作日发货
-
+
diff --git a/pages/CommodityOrder/CommodityOrder.vue b/pages/CommodityOrder/CommodityOrder.vue
index bae2c64..f54948e 100644
--- a/pages/CommodityOrder/CommodityOrder.vue
+++ b/pages/CommodityOrder/CommodityOrder.vue
@@ -7,7 +7,7 @@
店铺名称
-
+
待付款
退款中
已取消
diff --git a/pages/Doctordetails/Doctordetails.vue b/pages/Doctordetails/Doctordetails.vue
deleted file mode 100644
index 4c8c15f..0000000
--- a/pages/Doctordetails/Doctordetails.vue
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
-
- 某某某
-
-
- 主任医师
-
-
-
-
-
- 熟悉呼吸系统疾病的诊治,尤其擅 长肺栓塞、肺动脉高压和慢性气道疾 病的研究。
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/Healthitem/Healthitem.vue b/pages/Healthitem/Healthitem.vue
new file mode 100644
index 0000000..1a4da59
--- /dev/null
+++ b/pages/Healthitem/Healthitem.vue
@@ -0,0 +1,50 @@
+
+
+
+ {{item.informationTitle}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/Healthknowledge/Healthknowledge.vue b/pages/Healthknowledge/Healthknowledge.vue
new file mode 100644
index 0000000..69ad69b
--- /dev/null
+++ b/pages/Healthknowledge/Healthknowledge.vue
@@ -0,0 +1,174 @@
+
+
+
+
+
+
+
+
+ {{item.informationTitle}}
+
+
+
+
+
+
+
+
+
+ 暂无内容
+
+
+
+
+
+
+
+
+
diff --git a/pages/InformationFilling/InformationFilling.vue b/pages/InformationFilling/InformationFilling.vue
index b111bb9..53d7e73 100644
--- a/pages/InformationFilling/InformationFilling.vue
+++ b/pages/InformationFilling/InformationFilling.vue
@@ -36,13 +36,13 @@
病例上传
-
-
+
+
化验单上传
-
-
+
+
确认
diff --git a/pages/Personal/Personal.vue b/pages/Personal/Personal.vue
index 244eb38..f938fb4 100644
--- a/pages/Personal/Personal.vue
+++ b/pages/Personal/Personal.vue
@@ -1,149 +1,560 @@
-
-
-
+
+
+
+
+
+ {{appPersonallist.patientName}}
+
+
+
+ {{appPersonallist.age}}
+
+
+ 岁
+
+ {{appPersonallist.sex=='MALE'?'男':''}}
+ {{appPersonallist.sex=='FEMALE'?'女':''}}
+
+
+
+ {{appPersonallist.phone}}
+
+
+ 修改信息
+
+
+
+
+
+
+
+ 登录
+
+
+
+
+
+
+ 健康档案
+
+
+
+
+
+ 积分
+
+ {{appPersonallist.integral}}
+
+ 0
+
+
+
+
+
+ 优惠券
+
+ {{appPersonallist.patientCouponCount}}
+
+ 0张
+
+
+
+
+
- 个人信息
+ 商品订单
+
+
+ 查看全部
+
-
-
-
- 我的订单
+
+
+
+ 待付款
+
+ {{appPersonallist.waitPayCount}}
+
+
+ 99+
+
+
+
+
+ 待收货
+
+ {{appPersonallist.waitReceivedGoodsCount}}
+
+
+ 99+
+
+
+
+
+ 待评价
+
+ {{appPersonallist.receivedGoodsCount}}
+
+
+ 99+
+
+
+
+
+ 已完成
+
-
-
-
-
-
-
-
+
+
+ 护理站服务订单
+
+
+
+ 退出账号
+
-
-
diff --git a/pages/detail/detail.scss b/pages/detail/detail.scss
deleted file mode 100644
index 5107765..0000000
--- a/pages/detail/detail.scss
+++ /dev/null
@@ -1,115 +0,0 @@
-.app {
- // font-size: 36rpx;
- padding-top: 10rpx;
-
- .concent {
- width: 701rpx;
- height: 811rpx;
- background: #4C7BC9;
- box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
- border-radius: 20rpx;
- margin-top: 5%;
- // left: 50%;
- // transform: translateX(-50%);
- margin: 0 auto;
- margin-bottom: 20px;
-
- .background {
- position: relative;
- // display: flex;
- width: 657rpx;
- height: 727rpx;
- background: #FFFFFF;
- border-radius: 25rpx;
- background-color: white;
- margin: 0 auto;
- top: 50%;
- transform: translateY(-50%);
-
- image {
- width: 178rpx;
- height: 84rpx;
- background: #FFFFFF;
- border-radius: 25px;
- // float: right;
- margin-left: 68%;
- margin-top: 5%;
- }
-
-
- // text-align:center;
-
-
-
- }
- }
- }
-
- .life {
- // margin: 0 auto;
- width: 162rpx;
- height: 40rpx;
- font-size: 42rpx;
- margin-left: 35%;
- color: #ffffff;
-
-
-
- }
-
-
-
- .lifeserve image {
- width: 639rpx;
- height: 739rpx;
- margin-left: 5%;
-
- padding-bottom: 20rpx;
- // height: rpx;
- // background: #E1AE3C;
- // box-shadow: 0px 9px 31px 9px rgba(0,0,0,0.03);
- // border-radius: 20px;
- }
-
- .concenta {
-
- margin: 0 auto;
- margin-bottom: 20px;
- // position: absolute;
- width: 701rpx;
- height: 811rpx;
- background: #E1AE3C;
- // margin-top: 118%;
- // margin-left: 2.55%;
- border-radius: 25rpx;
- // margin-bottom: 30rpx;
- }
-
- .concentb {
- margin: 0 auto;
- margin-bottom: 20px;
- // position: absolute;
- width: 701rpx;
- height: 811rpx;
- background: #00C176;
- // margin-top: 118%;
- // margin-left: 2.55%;
- border-radius: 25rpx;
- // margin-bottom: 30rpx;
- }
-
-
-
-
- .detailed {
- // font-size: 29rpx;
- width: 657rpx;
- height: 727rpx;
- padding: 0 42rpx;
- line-height: 56rpx;
- }
-
- .detailed view {
- // height: 100%;
- text-indent: 2em;
- }
diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue
deleted file mode 100644
index a7c67c7..0000000
--- a/pages/detail/detail.vue
+++ /dev/null
@@ -1,168 +0,0 @@
-
-
-
-
-
-
-
-
- 护理站是以维护社区人群健康、满足社区 人群基本医疗护理需求为宗旨,以护士为核心 的各类护理人员组成的团队,在一定社区范围 内,为长期卧床老人、患者、残疾人、临终患
- 者和其他需要护理服务者提供基础护理、专科 护理、临终护理、消毒隔离技术指导、营养指导、社区康复指导、健康宣教和其他护理服务 的医疗机构。
- 护理站以遵医嘱的上门护理服务为主,包括生活护理和医疗护理,详情如下:
-
-
-
-
-
-
- 生活护理
-
-
-
-
-
-
- 医疗护理
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/diseasemanagement/diseasemanagement.vue b/pages/diseasemanagement/diseasemanagement.vue
index 4998e22..250b0ba 100644
--- a/pages/diseasemanagement/diseasemanagement.vue
+++ b/pages/diseasemanagement/diseasemanagement.vue
@@ -31,7 +31,7 @@
.concent {
width: 701rpx;
- height: 850rpx;
+ height: 950rpx;
background: #4C7BC9;
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 20rpx;
@@ -40,7 +40,7 @@
.background {
position: relative;
width: 657rpx;
- height: 800rpx;
+ height: 900rpx;
background: #FFFFFF;
border-radius: 25rpx;
background-color: white;
@@ -50,11 +50,10 @@
image {
width: 178rpx;
- height: 84rpx;
+ height: 200rpx;
background: #FFFFFF;
border-radius: 25px;
margin-left: 68%;
- margin-top: 5%;
}
}
}
diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue
index e513662..c90255d 100644
--- a/pages/homepage/homepage.vue
+++ b/pages/homepage/homepage.vue
@@ -1,40 +1,77 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- 护理站
+ 护理机构
-
-
+
+
- 就医
+ 健康咨询
-
-
-
- 国家老年病中心
-
-
-
-
-
- 体卫融合
-
-
-
-
+
+
专病管理
-
-
+
+
+
+
+
+
+
+ 健康常识
+
+
- 商城
+ 查看更多
+
+
+
+
+
+
+ {{item.informationTitle}}
+
+
+
@@ -43,78 +80,356 @@
-
diff --git a/pages/medicine/medicine.vue b/pages/medicine/medicine.vue
index 479ac41..f9e6a0b 100644
--- a/pages/medicine/medicine.vue
+++ b/pages/medicine/medicine.vue
@@ -1,23 +1,5 @@
-
-
-
-
-
@@ -47,6 +29,24 @@
// })
},
},
+ //1.分享给朋友
+ onShareAppMessage(res) {
+ let pages = getCurrentPages();
+ let url = pages[pages.length - 1].$page.fullPath
+ return {
+ title: '泉医到家',
+ path: url,
+ }
+ },
+ //2.分享到朋友圈
+ onShareTimeline(res) {
+ let pages = getCurrentPages();
+ let url = pages[pages.length - 1].$page.fullPath
+ return {
+ title: '泉医到家',
+ path: url,
+ }
+ },
}
@@ -84,11 +84,10 @@
image {
width: 178rpx;
- height: 84rpx;
+ height: 160rpx;
background: #FFFFFF;
border-radius: 25px;
margin-left: 68%;
- margin-top: 5%;
}
}
}
diff --git a/pages/modify/modify.vue b/pages/modify/modify.vue
index 22358c3..5289f06 100644
--- a/pages/modify/modify.vue
+++ b/pages/modify/modify.vue
@@ -4,7 +4,7 @@
头像:
-
+
姓名:
@@ -36,7 +36,7 @@
疾病类型:
-
+
{{item.diseaseName}}
diff --git a/pages/modifyAddress/modifyAddress.vue b/pages/modifyAddress/modifyAddress.vue
index 5061b90..dc4b7f1 100644
--- a/pages/modifyAddress/modifyAddress.vue
+++ b/pages/modifyAddress/modifyAddress.vue
@@ -53,7 +53,7 @@
-
+
diff --git a/pages/nursestation/nursestation.scss b/pages/nursestation/nursestation.scss
index f91a9ac..29451ad 100644
--- a/pages/nursestation/nursestation.scss
+++ b/pages/nursestation/nursestation.scss
@@ -1,6 +1,25 @@
.app{
padding:10rpx 0 0 0;
+ -webkit-overflow-scrolling: touch;
}
+ .swiper-box {
+ width: 100%;
+ height: 500rpx;
+ }
+ .swiper-item {
+ height: 500rpx;
+ text-align: center;
+ image{
+ width: 100%;
+ height: 500rpx !important;
+ }
+ }
+
+ video{
+ height: 100%;
+ width: 100%;
+ }
+
.mask {
.information {
width: 70%;
@@ -48,11 +67,16 @@
}
.content {
- font-size: 36rpx;
+ font-size: 34rpx;
padding-bottom: 10rpx;
+ // margin-top: -80rpx;
+ z-index: 999;
+ ::v-deep .u-tabs{
+ padding-bottom: 10rpx;
+ border-radius: 20rpx;
+ }
.tive {
width: 94%;
- background-color: #ffffff;
margin: 20rpx auto;
border-radius: 11rpx;
padding-bottom: 60rpx;
@@ -74,74 +98,92 @@
width: 100%;
height: 100%;
position: relative;
- padding: 30rpx 30rpx;
+ background-color: #fff;
+ padding: 30rpx 0;
+ margin: 10rpx auto;
+ border-radius: 20rpx;
+ color: #000000;
image {
width: 170rpx;
height: 170rpx;
margin-left: 3%;
}
- .servicetime {
- color: #999999;
- line-height: 37rpx;
- font-size: 30rpx;
- position: absolute;
- top:35%;
- left:35%;
- }
+ // .servicetime {
+ // color: #999999;
+ // line-height: 37rpx;
+ // font-size: 30rpx;
+ // position: absolute;
+ // top:35%;
+ // left:35%;
+ // }
.appointment {
+ font-size: 30rpx;
width: 120rpx;
- height: 70rpx;
- background: #4C7BC9;
+ height: 52rpx;
border-radius: 26rpx;
color: #ffffff;
+ background: #F44B2F;
text-align: center;
- line-height: 70rpx;
+ line-height: 52rpx;
position: absolute;
- top:40%;
+ top:70%;
right:5%;
}
- .buy{
- position: absolute;
- top: 55%;
- }
.price {
- color: red;
- font-size: 32rpx;
+ height: 52rpx;
+ color: #F44B2F;
+ line-height: 52rpx;
+ font-size: 36rpx;
position: absolute;
- top:65%;
+ top:70%;
left:35%;
}
.product {
- color: #000000;
- width: 60%;
position: absolute;
- top:14%;
- left:32%;
- font-size: 28rpx;
- overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
- }
- .huanyao {
- color: #000000;
- position: absolute;
- top:10%;
+ top:15%;
left:35%;
- width: 60%;
+ width: 65%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
+ .day{
+ font-size: 24rpx;
+ position: absolute;
+ top:53%;
+ left:35%;
+ width: 65%;
+ }
+ .huanyao {
+ position: absolute;
+ top:10%;
+ left:35%;
+ width: 45%;
+ line-height: 50rpx;
+ height: 100rpx;
+ text-overflow: -o-ellipsis-lastline;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ line-clamp: 2;
+ -webkit-box-orient: vertical;
+ white-space:normal;
+ word-break:break-all;
+ }
.pingfen {
float: right;
}
}
.tab-box {
display: flex;
+ font-weight: 600;
.tab-item {
flex-shrink: 0;
padding: 3%;
position: relative;
transition: all 0.2s linear;
- font-size: 31rpx;
+ font-size: 36rpx;
&::after {
transition: all 0.2s linear;
transform: translateX(-50%) scaleX(0);
@@ -150,10 +192,10 @@
position: absolute;
left: 50%;
bottom: 10rpx;
- border-bottom: 6rpx solid #D43953;
border-radius: 4rpx;
}
&.active {
+ color: #2979ff;
&::after {
content: '';
width: 50%;
@@ -161,36 +203,25 @@
left: 50%;
transform: translateX(-50%) scaleX(1);
bottom: 10rpx;
- border-bottom: 6rpx solid red;
}
}
}
}
}
- .Nursestationconfiguration {
- width: 94%;
- height: 100%;
- background: #FFFFFF;
- border-radius: 20rpx;
- padding-bottom: 30rpx;
- margin: 20rpx auto;
.configuration {
- font-size: 31rpx;
- color: #333333;
- padding: 3%;
+ margin:20rpx 30rpx 0;
+ padding-bottom: 30rpx;
+ border-bottom: 1rpx solid #CDC9C9;
.text {
- margin-top: 10rpx;
+ background: #F8D7D1;
+ border-radius: 15rpx;
display: inline-block;
padding: 10rpx 20rpx;
- margin-right: 18rpx;
- line-height: 40rpx;
- background-color: #f6f6f6;
- border-radius: 34rpx;
+ margin-right: 10rpx;
font-size: 24rpx;
- color: #666666;
+ color: #F44B2F;
}
}
- }
.detail {
position: relative;
width: 94%;
@@ -228,76 +259,65 @@
background-color: #ffffff;
border-radius: 20rpx;
margin: 10px auto;
- padding-bottom: 20rpx;
- .picture {
- position: absolute;
- width: 170rpx;
- height: 170rpx;
- margin-left: 5%;
- margin-top: 5%;
+ padding-bottom: 30rpx;
+ .time{
+ font-size: 30rpx;
+ margin: 10rpx 0;
+ color: #666666;
+ .timeday{
+ display: inline-block;
+ }
+ .text{
+ margin:0 10rpx 0 30rpx;
+ display: inline-block;
+ }
+ .texttime{
+ margin:0 20rpx 0 30rpx;
+ view{
+ display: inline-block;
+ margin-right: 20rpx;
+ }
+ }
}
.title {
- margin-left: 35%;
- line-height: 49px;
- font-size: 33rpx;
+ padding-top: 40rpx;
+ margin:0 0 0 30rpx;
+ font-size: 40rpx;
+ line-height: 59rpx;
+ font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
- .call {
- // display: flex;
- .Navigation {
- width: 103rpx;
- height: 48rpx;
- background: #00C176;
- border-radius: 24px;
- font-size: 21rpx;
- color: #ffffff;
- line-height: 48rpx;
- margin-left: 5%;
- text-align: center;
- margin-top: 3%;
-
- image {
- width: 24rpx;
- height: 24rpx;
- }
- }
- .callme {
- width: 150rpx;
- height: 48rpx;
- background: #D43953;
- border-radius: 24px;
- font-size: 21rpx;
- color: #ffffff;
- line-height: 48rpx;
- margin-left: 35%;
- margin-top: 3%;
- text-align: center;
- position: relative;
- .icon{
- position: absolute;
- left:10%;
- top:50%;
- transform: translateY(-50%);
- }
- .text{
- position: absolute;
- top:50%;
- right:10%;
- transform: translateY(-50%);
- }
- }
- }
.address {
- font-size: 25rpx;
- margin-left: 35%;
- color: #999999;
- line-height: 37rpx;
+ font-size: 30rpx;
+ color: #666666;
+ margin:40rpx 0 20rpx 30rpx;
word-break:break-all;
+ line-height: 50rpx;
// overflow: hidden;
// text-overflow: ellipsis;
// white-space: nowrap;
+ position: relative;
+ .distance{
+ // position: absolute;
+ // right:30rpx;
+ // top:50%;
+ float: right;
+ display: inline-block;
+ padding-right: 10rpx;
+ }
+ .text{
+ padding-left: 40rpx;
+ display: inline-block;
+ }
+ image{
+ position: absolute;
+ top:50%;
+ transform: translateY(-50%);
+ width: 28rpx;
+ height: 35rpx;
+ }
}
}
}
diff --git a/pages/nursestation/nursestation.vue b/pages/nursestation/nursestation.vue
index f38e571..82b439f 100644
--- a/pages/nursestation/nursestation.vue
+++ b/pages/nursestation/nursestation.vue
@@ -1,55 +1,122 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
{{list.nurseStationName}}
- {{list.address}}
-
-
-
- 联系我们
+
+ 暂无
+
+
+
+ {{list.businessStatus}}
-
-
-
-
- 机构简介
-
-
-
-
-
- 护理站配置
-
-
- {{item.labelDescription}}
+
+ {{list.openingHoursDescribe}}
+
+
+
+ 上午:{{list.morningOpenStartTime}}-{{list.morningOpenEndTime}}
+
+ 下午:{{list.afternoonOpenStartTime}}-{{list.afternoonOpenEndTime}}
+
+
+
+
+
+ {{item.labelDescription}}
+
+
+
+
+
+ {{list.address}}
+
+
+ {{distance}}KM
+
+
+
+
+
+ 暂无
+
+
+ {{distance}}KM
+
+
+
+
+
+ {{list.dutyPhone}}
+
+
+
+
+
+ 暂无
-
{{item.name}}
-
+
+
+
{{item.nurseItemName}}
+
+ {{item.advanceAppointDuration=='HALF_DAY'?'提前预约时长:半天':''}}
+ {{item.advanceAppointDuration=='ONE_DAY'?'提前预约时长:一天':''}}
+
- 服务时长:{{item.serveDurationUnit?item.serveDurationUnit:'0'}}
- 预约
+
+ 预约
¥{{item.nurseItemPrice==null?'0':item.nurseItemPrice}}
@@ -63,11 +130,11 @@
{{item.goodsName}}
-
+
+ 购买
+ ¥{{item.goodsPrice==null?'0':item.goodsPrice}}
@@ -92,6 +159,8 @@
+
+
@@ -108,7 +177,10 @@
export default {
data() {
return {
- patientId: '', //
+ Banners: [], //轮播图
+ autoplay: true, //自动切换轮播图
+ videoContext: '',
+ baseurl: '',
usershow: false, //完善信息开关
choicetab: false, //切换
list: [], //护理站list
@@ -122,59 +194,190 @@
nurseStationId: '',
pageNum: 1,
pageSize: 10,
- tabIndex: 0,
+ timer: null,
tabList: [{
- name: "服务项目"
- }, {
- name: "产品"
- }, ]
+ name: '全部',
+ id: ''
+ }], //分类标题
+ tabIndex: 0,
+ tabLists: [{
+ name: '服务项目',
+ id: 0,
+ },
+ {
+ name: '产品',
+ id: 1,
+ }
+ ],
+ classifycurrent: 0, //分类下标
+ distance: null, //距离
+ nurseClassifyInfoId: '', //分类id
+ scrollTop: 0,
}
},
onShow() {
+ this.baseurl = baseurl
this.usershow = false
this.getInfo()
- this.serveinfo()
- this.productinfo()
},
onLoad(options) {
+ let that = this
+ this.GetBanner()
this.nurseStationId = options.nurseStationId
+ this.distance = options.distance
},
methods: {
+ //跳转地图
+ goMap() {
+ uni.openLocation({
+ latitude: Number(this.list.latitude),
+ longitude: Number(this.list.longitude),
+ })
+ },
+ swiperChange(e) {
+ let {
+ current,
+ source
+ } = e.detail
+ this.videoContext = uni.createVideoContext('myVideo' + (current - 1));
+ //只有手动切换时开始轮播,并且上一页视频暂停
+ if (source === 'touch') {
+ this.videoContext.pause(); //暂停
+ this.autoplay = true
+ }
+ },
+ // 获取数据
+ GetBanner() {},
+ // 处理banner返回的是是视频还是图片
+ splits(url) {
+ if (url.indexOf('.') != -1) {
+ var ext = url.substring(url.lastIndexOf('.') + 1);
+ return ['mp4', 'webm', 'mpeg4', 'ogg'].indexOf(ext) != -1
+ }
+ },
+ // 点击开始/继续播放
+ play() {
+ this.autoplay = false
+ // this.videoContext.requestFullScreen()
+ },
+ // 视频暂停
+ pause() {
+ this.autoplay = true
+ },
+ // 视频结束
+ ended() {
+ this.autoplay = true
+ },
+ testTabClick(item) {
+ this.tabIndex = item.id
+ if (item.id == 0) {
+ this.choicetab = false
+ } else {
+ this.choicetab = true
+ }
+ },
+ //点击分类标题
+ change(index) {
+ this.classifycurrent = index;
+ this.nurseClassifyInfoId = this.tabList[index].id
+ this.serveinfo()
+ },
+ //预约
goappointments(item) {
let that = this
try {
- const value = uni.getStorageSync('patientId');
- if (value) {
- that.patientId = value
- AppIdentification(this.patientId).then(res => {
- if (res.data.loginFlag) {
- uni.navigateTo({
- url: `/pages/appointmenttime/appointmenttime?stationId=${item.stationId}&stationItemId=${item.stationItemId}&stationItemPriceId=${item.stationItemPriceId}`,
+ const value2 = uni.getStorageSync('patientId');
+ if (value2) {
+ AppIdentification(value2).then(res => {
+ if (res.code == 200) {
+ if (res.data.loginFlag) {
+ that.usershow = false
+ uni.navigateTo({
+ url: `/pages/appointmenttime/appointmenttime?stationId=${item.stationId}&stationItemId=${item.stationItemId}&stationItemPriceId=${item.stationItemPriceId}`,
+ })
+ } else {
+ that.usershow = true
+ }
+ } else if (res.code == 9999) {} else {
+ that.$refs.uToast.show({
+ title: res.msg,
+ type: 'error'
})
- this.usershow = false
- } else {
- this.usershow = true
+ if (that.timer) {
+ clearTimeout(that.timer)
+ }
+ that.timer = setTimeout(e => {
+ uni.navigateTo({
+ url: '/pages/login/login'
+ })
+ }, 1500)
}
})
+ } else {
+ that.$refs.uToast.show({
+ title: '未登录,请先登录',
+ type: 'error'
+ })
+ if (that.timer) {
+ clearTimeout(that.timer)
+ }
+ that.timer = setTimeout(e => {
+ uni.navigateTo({
+ url: '/pages/login/login'
+ })
+ }, 1500)
}
- } catch (e) {}
+ } catch (e) {
+ uni.navigateTo({
+ url: '/pages/login/login'
+ })
+ }
},
getInfo() {
introductionList(this.nurseStationId).then(res => {
- res.data.stationIntroducePcitureUrl = baseurl + res.data.stationIntroducePcitureUrl
- if (res.data.agencyIntroduce) {
- res.data.agencyIntroduce = res.data.agencyIntroduce.replace(/\![]()
![]()
{
+ e.name = e.classifyName
+ this.tabList.push(e)
+ })
+ this.list = res.data
+ if (res.data.poserInfoList.length >= 1) {
+ res.data.poserInfoList.forEach(e => {
+ e.image = baseurl + e.posterPictureUrl
+ this.Banners.push(e.image)
+ })
+ if (res.data.poserInfoList[0].video) {
+ res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0]
+ .posterVideoUrl
+ this.Banners.push(res.data.poserInfoList[0].video)
+ }
+ } else {
+ this.Banners.push(res.data.stationPictureUrl)
+ this.Banners.push(res.data.stationIntroducePcitureUrl)
+ }
+ if (res.data.nurseStationLabelList) {
+ this.nurseStationLabelList = res.data.nurseStationLabelList
+ }
}
})
},
serveinfo() {
this.pageNum = 1
- itemList(this.nurseStationId, this.pageSize, this.pageNum).then(res => {
+ itemList(this.nurseStationId, this.pageSize, this.pageNum, this.nurseClassifyInfoId).then(res => {
+ uni.removeStorageSync('Refresh');
res.rows.forEach(e => {
e.itemPictureUrl = baseurl + e.itemPictureUrl
})
@@ -185,6 +388,7 @@
productinfo() {
this.pageNum = 1
productInformation(this.nurseStationId, this.pageNum, this.pageSize).then(res => {
+ uni.removeStorageSync('Refresh');
res.rows.forEach(e => {
e.goodsPictureUrl = baseurl + e.goodsPictureUrl
})
@@ -192,10 +396,6 @@
this.producttotal = res.total
})
},
- testTabClick(index) {
- this.tabIndex = index
- this.choicetab = this.tabIndex
- },
//跳转商品详情页
goCommodityDetails(item) {
uni.navigateTo({
@@ -204,6 +404,7 @@
},
//跳转完善页面
goinformation() {
+ this.usershow = false
uni.navigateTo({
url: '/pages/information/information'
})
@@ -236,13 +437,13 @@
}
}
});
- },
+ }
},
- onReachBottom() { //下滑加载
- if (this.choicetab == 0) {
+ onReachBottom() { //上滑加载
+ if (!this.choicetab) {
if (this.servelist.length >= this.servetotal) {} else {
this.pageNum++
- itemList(this.nurseStationId, this.pageSize, this.pageNum).then(res => {
+ itemList(this.nurseStationId, this.pageSize, this.pageNum, this.nurseClassifyInfoId).then(res => {
res.rows.forEach(e => {
e.itemPictureUrl = baseurl + e.itemPictureUrl
this.servelist.push(e)
@@ -263,7 +464,7 @@
},
onPullDownRefresh() { //下拉刷新
this.pageNum = 1;
- if (this.choicetab == 0) {
+ if (!this.choicetab) {
itemList(this.nurseStationId, this.pageSize, this.pageNum).then(res => {
res.rows.forEach(e => {
e.itemPictureUrl = baseurl + e.itemPictureUrl
@@ -282,9 +483,30 @@
uni.stopPullDownRefresh();
}, 1000);
},
+ //1.分享给朋友
+ onShareAppMessage(res) {
+ let pages = getCurrentPages();
+ let url = pages[pages.length - 1].$page.fullPath
+ return {
+ title: '泉医到家',
+ path: url,
+ }
+ },
+ //2.分享到朋友圈
+ onShareTimeline(res) {
+ let pages = getCurrentPages();
+ let url = pages[pages.length - 1].$page.fullPath
+ return {
+ title: '泉医到家',
+ path: url,
+ }
+ },
+ onPageScroll(e) {
+ this.scrollTop = e.scrollTop;
+ },
}
diff --git a/pages/order/order.vue b/pages/order/order.vue
index 6a4beda..4eb8264 100644
--- a/pages/order/order.vue
+++ b/pages/order/order.vue
@@ -2,7 +2,7 @@
商品订单
-
+
@@ -50,7 +50,7 @@
护理站服务订单
-
+
diff --git a/pages/orderDetails/orderDetails.vue b/pages/orderDetails/orderDetails.vue
index f73780b..6c96d78 100644
--- a/pages/orderDetails/orderDetails.vue
+++ b/pages/orderDetails/orderDetails.vue
@@ -11,7 +11,7 @@
店铺名称
-
+
diff --git a/pages/payorderDetails/payorderDetails.vue b/pages/payorderDetails/payorderDetails.vue
index 4c92e2e..a242901 100644
--- a/pages/payorderDetails/payorderDetails.vue
+++ b/pages/payorderDetails/payorderDetails.vue
@@ -11,7 +11,7 @@
店铺名称
-
+
diff --git a/pages/refundType/refundType.vue b/pages/refundType/refundType.vue
index b1e86ad..3cf82dc 100644
--- a/pages/refundType/refundType.vue
+++ b/pages/refundType/refundType.vue
@@ -31,7 +31,7 @@
我要退款(无需退货)
没收到货
-
+
@@ -40,7 +40,7 @@
我要退货退款
已收到货,需要退还收到的货物
-
+
diff --git a/pages/shopping/shopping.vue b/pages/shopping/shopping.vue
index 23d4303..4520790 100644
--- a/pages/shopping/shopping.vue
+++ b/pages/shopping/shopping.vue
@@ -1,10 +1,10 @@
-
-
+
-
+
{{item.goodsCategoryName}}
@@ -25,26 +25,40 @@
pageSize: 10, //列
total: 0, //list总长度
goodsCategoryList: [], //商品列表list
- listimg: [{
- img: '../../static/sp.png',
- },
- {
- img: '../../static/yyss.png',
- },
- {
- img: '../../static/znsb.png',
- },
- {
- img: '../../static/cp.png',
- },
- ],
- listcolor: ['#00C176', '#D43953', '#E1AE3C', '#4C7BC9', '#9e4dd0'], //颜色随动
+ listcolor: ['#E69874', '#09C87E', '#E4B958', '#6592DC', '#EF6A80'] //颜色随动
};
},
- onLoad(options) { //初始化加载
+ //1.分享给朋友
+ onShareAppMessage(res) {
+ let pages = getCurrentPages();
+ let url = pages[pages.length - 1].$page.fullPath
+ return {
+ title: '泉医到家',
+ path: url,
+ }
+ },
+ //2.分享到朋友圈
+ onShareTimeline(res) {
+ let pages = getCurrentPages();
+ let url = pages[pages.length - 1].$page.fullPath
+ return {
+ title: '泉医到家',
+ path: url,
+ }
+ },
+ //初始化加载
+ onLoad(options) {
this.pageNum = 1
this.goodsCategory()
},
+ onShow() {
+ let that = this
+ this.pageNum = 1
+ const value = uni.getStorageSync('Refresh');
+ if (value) {
+ that.goodsCategory();
+ }
+ },
methods: {
//跳转到商品列表页面
goProductList(item) {
@@ -55,18 +69,27 @@
//获取商城信息
goodsCategory() {
goodsCategoryList(this.pageSize, this.pageNum).then(res => {
- res.rows.forEach(e => {
- e.goodsCategoryPicture = baseurl + e.goodsCategoryPicture
- this.goodsCategoryList.push(e)
- })
- this.total = res.total
+ uni.removeStorageSync('Refresh');
+ if (res.code == 200) {
+ res.rows.forEach(e => {
+ e.goodsCategoryPicture = baseurl + e.goodsCategoryPicture
+ })
+ this.goodsCategoryList = res.rows
+ this.total = res.total
+ }
})
}
},
onReachBottom() { //下滑加载
if (this.goodsCategoryList.length >= this.total) {} else {
this.pageNum++;
- this.goodsCategory()
+ goodsCategoryList(this.pageSize, this.pageNum).then(res => {
+ res.rows.forEach(e => {
+ e.goodsCategoryPicture = baseurl + e.goodsCategoryPicture
+ this.goodsCategoryList.push(e)
+ })
+ this.total = res.total
+ })
}
},
onPullDownRefresh() { //下拉刷新
@@ -86,4 +109,41 @@
diff --git a/pages/site/site.scss b/pages/site/site.scss
index 468727f..b3cfd7e 100644
--- a/pages/site/site.scss
+++ b/pages/site/site.scss
@@ -1,54 +1,173 @@
//护理站列表
.app{
- padding: 0 0 5rpx 0;
- .map{
- padding-top: 100rpx;
- z-index: 1;
- .map{
- z-index: 1;
+ padding: 0;
+ background-color: #fff;
+ }
+ ::v-deep .u-swiper-item{
+ }
+ ::v-deep .u-swiper-image {
+ }
+ ::v-deep .u-tabs{
+ background-color: #F4F5F7 !important;
+ padding-bottom: 20rpx;
+ }
+ .Classificationlist{
+ margin: 30rpx 0 0;
+ width: 100%;
+ display: flex;
+ justify-content: flex-start;
+ flex-wrap: wrap;
+ text-align: center;
+ .itemclass{
+ color: #4C7BC9;
+ width: 25%;
+ height: 190rpx;
+ image{
+ display: block;
+ margin: 0 auto;
+ width: 100rpx;
+ height: 100rpx;
+ }
+ .title{
+ padding: 0 10rpx;
+ width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ font-size: 30rpx;
+ font-weight: 600;
+ line-height: 70rpx;
+ }
+ }
+ .item{
+ width: 25%;
+ height: 190rpx;
+ image{
+ display: block;
+ margin: 0 auto;
+ width: 100rpx;
+ height: 100rpx;
+ }
+ .title{
+ padding: 0 10rpx;
+ width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ font-size: 30rpx;
+ font-weight: 500;
+ line-height: 70rpx;
}
}
-
+ }
+ .inputs {
+ border: 1px solid #f0f0f0;
+ width: 90%;
+ height: 65rpx;
+ margin: 0 0 10rpx 50%;
+ transform: translateX(-50%);
+ border-radius: 20rpx;
+ background-color: #F4F5F7;
+ z-index: 999;
+
+ .input {
+ margin: 0 auto;
+ position: absolute;
+ height: 65rpx;
+ // top: 8%;
+ left: 10%;
+ width: 90%;
+ font-size: 26rpx;
+ color: #000000;
+ }
+
+ .icon {
+ background: url(@/static/sousuo.png) no-repeat;
+ width: 30rpx;
+ height: 28rpx;
+ background-size: cover;
+ position: absolute;
+ top: 30%;
+ left: 3%;
+ }
}
.conNew {
- width: 96%;
- // z-index: 999;
- // position: fixed;
- // top: 450rpx;
+ background-color: #F4F5F7;
+ width: 100%;
+ padding: 30rpx 0 50rpx;
margin: 0 auto;
- // left: 2%;
height: 100%;
+ .noorder{
+ margin-top: 90rpx;
+ image{
+ display: block;
+ margin: 0 auto;
+ width: 100rpx;
+ height: 120rpx;
+ }
+ view{
+ text-align: center;
+ font-size: 36rpx;
+ color: #BFBFBF;
+ }
+ }
+ .title{
+ font-size: 32rpx;
+ font-weight: bold;
+ padding-left: 2%;
+ }
.addressContent {
- width: 100%;
+ width: 96%;
+ background-color: #ffffff;
+ margin: 0 auto;
}
.lists {
- background-color: #ffffff;
width: 100%;
- height: 240rpx;
+ height: 300rpx;
margin-bottom: 14rpx;
border-radius: 20rpx;
position: relative;
-
- .nurse {
- font-size: 28rpx;
+ background-color: #ffffff;
+ .tags{
+ display: flex;
position: absolute;
- top: 15%;
+ top: 55%;
left: 35%;
- text-overflow: -o-ellipsis-lastline;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- line-clamp: 2;
- -webkit-box-orient: vertical;
+ width: 65%;
+ flex-wrap: wrap;
+ .tag{
+ background: #F8D7D1;
+ opacity: 0.8;
+ margin: 0 10rpx 10rpx 0;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ padding: 0 10rpx;
+ height: 50rpx;
+ line-height: 50rpx;
+ text-align: center;
+ border-radius: 10rpx;
+ font-size: 22rpx;
+ color: #F44B2F;
+ }
+ }
+ .nurse {
+ font-size: 32rpx;
+ position: absolute;
+ top: 12%;
+ left: 35%;
+ width: 63%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.distance {
position: absolute;
- bottom: 20%;
- font-size: 24rpx;
- left: 35%;
+ top: 32%;
+ left:35%;
+ font-size: 27rpx;
color: #666666;
}
@@ -82,20 +201,6 @@
display: block;
margin: 10% auto;
}
-
- .understand {
- font-size: 28rpx;
- color: #ffffff;
- width: 160rpx;
- height: 60rpx;
- line-height: 60rpx;
- text-align: center;
- background-color: #4C7BC9;
- position: absolute;
- bottom: 10%;
- right: 1%;
- border-radius: 35rpx;
- }
}
}
diff --git a/pages/site/site.vue b/pages/site/site.vue
index aa56e23..4e555d1 100644
--- a/pages/site/site.vue
+++ b/pages/site/site.vue
@@ -1,24 +1,58 @@
-
- 什么是护理站?
-
+
+
+
-
-
+
+
+
+
+ {{item.classifyName}}
+
+
+
+
+
+ 更多
+
+
+
+
+
+ 收起
+
+
+
-
-
- {{item.nurseStationName}}
- 距离您{{item.distance}}KM
-
-
- 点击了解
+
+ 周边医养机构
+
+
+
+
+
+ {{item.nurseStationName}}
+
+ 距离您{{item.distance}}KM
+
+
+
+ {{uitem.classifyName}}
+
+
+
+
+
+ 暂无护理站
+
+
@@ -34,99 +68,130 @@
+
diff --git a/static/1024.png b/static/1024.png
deleted file mode 100644
index f8d8525..0000000
Binary files a/static/1024.png and /dev/null differ
diff --git a/static/Tobepaid.png b/static/Tobepaid.png
index 49c967e..6ba4f01 100644
Binary files a/static/Tobepaid.png and b/static/Tobepaid.png differ
diff --git a/static/chaxun.png b/static/chaxun.png
deleted file mode 100644
index 0629232..0000000
Binary files a/static/chaxun.png and /dev/null differ
diff --git a/static/cp.png b/static/cp.png
deleted file mode 100644
index 800a686..0000000
Binary files a/static/cp.png and /dev/null differ
diff --git a/static/dingdan.png b/static/dingdan.png
index df60c20..0f2b51b 100644
Binary files a/static/dingdan.png and b/static/dingdan.png differ
diff --git a/static/evaluated.png b/static/evaluated.png
index 8cd65fa..4960d9a 100644
Binary files a/static/evaluated.png and b/static/evaluated.png differ
diff --git a/static/finished.png b/static/finished.png
index 0b35f09..2ef3914 100644
Binary files a/static/finished.png and b/static/finished.png differ
diff --git a/static/fuli.png b/static/fuli.png
new file mode 100644
index 0000000..6827c11
Binary files /dev/null and b/static/fuli.png differ
diff --git a/static/gd.png b/static/gd.png
new file mode 100644
index 0000000..4fdf680
Binary files /dev/null and b/static/gd.png differ
diff --git a/static/hlz.png b/static/hlz.png
new file mode 100644
index 0000000..725073b
Binary files /dev/null and b/static/hlz.png differ
diff --git a/static/home.png b/static/home.png
deleted file mode 100644
index 8eb8e55..0000000
Binary files a/static/home.png and /dev/null differ
diff --git a/static/huijiantou.png b/static/huijiantou.png
new file mode 100644
index 0000000..b8beb97
Binary files /dev/null and b/static/huijiantou.png differ
diff --git a/static/jfgz.png b/static/jfgz.png
new file mode 100644
index 0000000..ec3a141
Binary files /dev/null and b/static/jfgz.png differ
diff --git a/static/jiantou.png b/static/jiantou.png
deleted file mode 100644
index 80157cd..0000000
Binary files a/static/jiantou.png and /dev/null differ
diff --git a/static/jifen.png b/static/jifen.png
new file mode 100644
index 0000000..be885a6
Binary files /dev/null and b/static/jifen.png differ
diff --git a/static/jifenbeij.png b/static/jifenbeij.png
new file mode 100644
index 0000000..2884b46
Binary files /dev/null and b/static/jifenbeij.png differ
diff --git a/static/jjhl.png b/static/jjhl.png
deleted file mode 100644
index 9dc8732..0000000
Binary files a/static/jjhl.png and /dev/null differ
diff --git a/static/jkda.png b/static/jkda.png
new file mode 100644
index 0000000..a57abd7
Binary files /dev/null and b/static/jkda.png differ
diff --git a/static/jkzx.png b/static/jkzx.png
new file mode 100644
index 0000000..cc7ca69
Binary files /dev/null and b/static/jkzx.png differ
diff --git a/static/kefu.png b/static/kefu.png
new file mode 100644
index 0000000..ca45095
Binary files /dev/null and b/static/kefu.png differ
diff --git a/static/lifeserve.png b/static/lifeserve.png
deleted file mode 100644
index 8e0fc21..0000000
Binary files a/static/lifeserve.png and /dev/null differ
diff --git a/static/lnb.png b/static/lnb.png
new file mode 100644
index 0000000..7481043
Binary files /dev/null and b/static/lnb.png differ
diff --git a/static/locatinsmall.png b/static/locatinsmall.png
index 14620d1..ab6fc14 100644
Binary files a/static/locatinsmall.png and b/static/locatinsmall.png differ
diff --git a/static/logo.png b/static/logo.png
index 2f386b6..cfeb33c 100644
Binary files a/static/logo.png and b/static/logo.png differ
diff --git a/static/order.png b/static/order.png
deleted file mode 100644
index 98ecbc2..0000000
Binary files a/static/order.png and /dev/null differ
diff --git a/static/pb.png b/static/pb.png
deleted file mode 100644
index cab5f98..0000000
Binary files a/static/pb.png and /dev/null differ
diff --git a/static/phone.png b/static/phone.png
new file mode 100644
index 0000000..73ebe36
Binary files /dev/null and b/static/phone.png differ
diff --git a/static/pic.png b/static/pic.png
deleted file mode 100644
index bf2e92e..0000000
Binary files a/static/pic.png and /dev/null differ
diff --git a/static/qiandao.png b/static/qiandao.png
new file mode 100644
index 0000000..48544c1
Binary files /dev/null and b/static/qiandao.png differ
diff --git a/static/received.png b/static/received.png
index fd196a9..3c684ae 100644
Binary files a/static/received.png and b/static/received.png differ
diff --git a/static/rowsright.png b/static/rowsright.png
deleted file mode 100644
index dbf914f..0000000
Binary files a/static/rowsright.png and /dev/null differ
diff --git a/static/shoping.png b/static/shoping.png
new file mode 100644
index 0000000..93f8eaa
Binary files /dev/null and b/static/shoping.png differ
diff --git a/static/shopingw.png b/static/shopingw.png
new file mode 100644
index 0000000..1ea4896
Binary files /dev/null and b/static/shopingw.png differ
diff --git a/static/shopping.png b/static/shopping.png
deleted file mode 100644
index 936f8f9..0000000
Binary files a/static/shopping.png and /dev/null differ
diff --git a/static/sp.png b/static/sp.png
deleted file mode 100644
index 6fa2833..0000000
Binary files a/static/sp.png and /dev/null differ
diff --git a/static/user.png b/static/user.png
index 4cdb845..dac4233 100644
Binary files a/static/user.png and b/static/user.png differ
diff --git a/static/userl.png b/static/userl.png
new file mode 100644
index 0000000..f7224f5
Binary files /dev/null and b/static/userl.png differ
diff --git a/static/xg.png b/static/xg.png
new file mode 100644
index 0000000..4ba6bf1
Binary files /dev/null and b/static/xg.png differ
diff --git a/static/yaoqing.png b/static/yaoqing.png
new file mode 100644
index 0000000..e8870b1
Binary files /dev/null and b/static/yaoqing.png differ
diff --git a/static/yhj.png b/static/yhj.png
new file mode 100644
index 0000000..903860e
Binary files /dev/null and b/static/yhj.png differ
diff --git a/static/yiliaohuli.png b/static/yiliaohuli.png
deleted file mode 100644
index b0f7990..0000000
Binary files a/static/yiliaohuli.png and /dev/null differ
diff --git a/static/ylfw.png b/static/ylfw.png
deleted file mode 100644
index c1d322b..0000000
Binary files a/static/ylfw.png and /dev/null differ
diff --git a/static/yuyue.png b/static/yuyue.png
deleted file mode 100644
index a7ed0e7..0000000
Binary files a/static/yuyue.png and /dev/null differ
diff --git a/static/yyss.png b/static/yyss.png
deleted file mode 100644
index 65c8b53..0000000
Binary files a/static/yyss.png and /dev/null differ
diff --git a/static/zbgl.png b/static/zbgl.png
new file mode 100644
index 0000000..f181e76
Binary files /dev/null and b/static/zbgl.png differ
diff --git a/static/zbglzbgl.png b/static/zbglzbgl.png
new file mode 100644
index 0000000..9a76358
Binary files /dev/null and b/static/zbglzbgl.png differ
diff --git a/static/zhuanjia.png b/static/zhuanjia.png
deleted file mode 100644
index f0e4354..0000000
Binary files a/static/zhuanjia.png and /dev/null differ
diff --git a/static/znsb.png b/static/znsb.png
deleted file mode 100644
index 0917e1f..0000000
Binary files a/static/znsb.png and /dev/null differ
diff --git a/static/zs.png b/static/zs.png
deleted file mode 100644
index 4ef06d4..0000000
Binary files a/static/zs.png and /dev/null differ