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 @@ + + + + + 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/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 @@ - - 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 @@ - 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 @@