diff --git a/App.vue b/App.vue index 12ad699..dffde2d 100644 --- a/App.vue +++ b/App.vue @@ -15,12 +15,11 @@ } .app { - background-color: #F4F5F7; width: 100%; height: 100%; - position: relative; + // position: relative; color: #000000; - padding: 30rpx 0 200rpx 0; + padding: 30rpx 0 150rpx 0; .cards { width: 94%; 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/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/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/site/site.js b/api/site/site.js index b09dba8..53f0fb3 100644 --- a/api/site/site.js +++ b/api/site/site.js @@ -1,11 +1,8 @@ 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' }) } @@ -16,4 +13,12 @@ export function getPatientInfo(id) { url: `/nurseApplet/login/getPatientInfo?patientId=${id}`, method: 'GET' }) -} \ No newline at end of file +} + +//护理站和护理项目分类 +export function getNurseClassifyList() { + return request({ + url: `/nurseApplet/nearbyNursingStation/getNurseClassifyList?moduleType=NURSE_AGENCY_INTRODUCE_MODULE`, + method: 'GET' + }) +} diff --git a/manifest.json b/manifest.json index a7dd506..d8115d2 100644 --- a/manifest.json +++ b/manifest.json @@ -43,13 +43,19 @@ ] }, /* ios打包配置 */ - "ios" : {}, + "ios" : { + "dSYMs" : false + }, /* SDK配置 */ "sdkConfigs" : { "geolocation" : { "system" : { "__platform__" : [ "ios", "android" ] } + }, + "ad" : {}, + "push" : { + "unipush" : null } }, "splashscreen" : { @@ -84,7 +90,10 @@ "uniStatistics" : { "enable" : true }, - "lazyCodeLoading" : "requiredComponents" + "lazyCodeLoading" : "requiredComponents", + "unipush" : { + "enable" : false + } }, "mp-alipay" : { "usingComponents" : true diff --git a/pages.json b/pages.json index 3845169..b8f4d6a 100644 --- a/pages.json +++ b/pages.json @@ -9,6 +9,13 @@ "navigationBarTitleText": "", "navigationStyle": "custom" } + }, { + "path": "pages/ProjectDetails/ProjectDetails", + "style": { + "navigationBarTitleText": "护理项目详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + } }, { "path": "pages/modifyAddress/modifyAddress", "style": { @@ -31,23 +38,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": { @@ -55,13 +52,6 @@ "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" //背景颜色 } - }, { - "path": "pages/Bodysatelliteintegration/Bodysatelliteintegration", - "style": { - "navigationBarTitleText": "体卫融合", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } }, { "path": "pages/modify/modify", @@ -98,7 +88,8 @@ "navigationBarTitleText": "医路优品", "navigationBarBackgroundColor": "#ffffff", "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true + "enablePullDownRefresh": true ,//设置参数为true + "navigationStyle": "custom" } }, { "path": "pages/CommodityOrder/CommodityOrder", @@ -109,7 +100,6 @@ "enablePullDownRefresh": true //设置参数为true } }, - { "path": "pages/user/user", "style": { @@ -142,13 +132,12 @@ "navigationBarBackgroundColor": "#ffffff" } }, - { "path": "pages/login/login", "style": { "navigationBarTitleText": "登录", - // "navigationStyle": "custom" - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 } }, { @@ -159,11 +148,10 @@ "navigationBarBackgroundColor": "#ffffff" //背景颜色 } }, - { "path": "pages/Nursingstationserviceorder/Nursingstationserviceorder", "style": { - "navigationBarTitleText": "护理站服务订单", + "navigationBarTitleText": "护理机构服务订单", "navigationBarBackgroundColor": "#ffffff", //背景颜色 "onReachBottomDistance": 40, //距离底部多远时触发 单位为px "enablePullDownRefresh": true //设置参数为true @@ -202,7 +190,6 @@ "enablePullDownRefresh": false } }, - { "path": "pages/order/order", "style": { @@ -217,17 +204,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": { @@ -258,7 +244,6 @@ "path": "pages/ProductList/ProductList", //商品列表 "style": { "navigationBarTitleText": "医路优品", - "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff", "onReachBottomDistance": 40, //距离底部多远时触发 单位为px "enablePullDownRefresh": true //设置参数为true @@ -275,75 +260,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/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/toptabbar/toptabbar", + }, + { + "path": "pages/utabs/u-tabs", "style": { "navigationBarTitleText": "", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" } - }, { "path": "pages/classification/classification", "style": { "navigationBarTitleText": "分类", - "enablePullDownRefresh": false + "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" } } @@ -366,11 +362,17 @@ "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", "selectedIconPath": "static/users.png", - "text": "个人中心" + "text": "我的" } ] } diff --git a/pages/CommodityDetails/CommodityDetails.vue b/pages/CommodityDetails/CommodityDetails.vue index ce6db32..44a11cc 100644 --- a/pages/CommodityDetails/CommodityDetails.vue +++ b/pages/CommodityDetails/CommodityDetails.vue @@ -410,6 +410,7 @@ // 查询商品详细信息 goodsDetailsinfo(goodsInfoId) { let that = this + this.info = [] goodsDetails(goodsInfoId).then(res => { uni.removeStorageSync('Refresh'); if (res.data.goodsRemark) { diff --git a/pages/Doctordetails/Doctordetails.vue b/pages/Doctordetails/Doctordetails.vue deleted file mode 100644 index 1a98460..0000000 --- a/pages/Doctordetails/Doctordetails.vue +++ /dev/null @@ -1,120 +0,0 @@ - - - - - diff --git a/pages/Geriatricdisease/Geriatricdisease.vue b/pages/Geriatricdisease/Geriatricdisease.vue deleted file mode 100644 index 2fd7ef5..0000000 --- a/pages/Geriatricdisease/Geriatricdisease.vue +++ /dev/null @@ -1,95 +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 @@ + + + + + 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 @@ + + + + + diff --git a/pages/Personal/Personal.vue b/pages/Personal/Personal.vue index 90ab0fc..09890ed 100644 --- a/pages/Personal/Personal.vue +++ b/pages/Personal/Personal.vue @@ -1,37 +1,19 @@ - diff --git a/pages/customerservice/customerservice.vue b/pages/customerservice/customerservice.vue new file mode 100644 index 0000000..69ec122 --- /dev/null +++ b/pages/customerservice/customerservice.vue @@ -0,0 +1,67 @@ + + + + + diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue deleted file mode 100644 index 27d6a5b..0000000 --- a/pages/detail/detail.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - - - diff --git a/pages/diseasemanagement/diseasemanagement.vue b/pages/diseasemanagement/diseasemanagement.vue index f11b3de..cfd9cf2 100644 --- a/pages/diseasemanagement/diseasemanagement.vue +++ b/pages/diseasemanagement/diseasemanagement.vue @@ -49,7 +49,7 @@ .concent { width: 701rpx; - height: 850rpx; + height: 900rpx; background: #4C7BC9; box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); border-radius: 20rpx; @@ -58,7 +58,7 @@ .background { position: relative; width: 657rpx; - height: 800rpx; + height: 850rpx; background: #FFFFFF; border-radius: 25rpx; background-color: white; @@ -68,11 +68,11 @@ image { width: 178rpx; - height: 84rpx; + height: 160rpx; background: #FFFFFF; border-radius: 25px; margin-left: 68%; - margin-top: 5%; + margin-top: 0; } } } @@ -80,7 +80,7 @@ .detailed { width: 657rpx; - padding: 0 42rpx; + padding: 0 20rpx; line-height: 56rpx; } diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index 5770158..e929b59 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -1,40 +1,81 @@ - diff --git a/pages/medicine/medicine.vue b/pages/medicine/medicine.vue index 388c063..f9e6a0b 100644 --- a/pages/medicine/medicine.vue +++ b/pages/medicine/medicine.vue @@ -1,23 +1,5 @@