diff --git a/main.js b/main.js index bc56f3e..a43ada7 100644 --- a/main.js +++ b/main.js @@ -13,7 +13,6 @@ const app = new Vue({ }) app.$mount() // #endif - // #ifdef VUE3 import { createSSRApp diff --git a/pages.json b/pages.json index b9affb0..76e9cb8 100644 --- a/pages.json +++ b/pages.json @@ -4,61 +4,62 @@ }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path": "pages/Personal/Personal", - "style": { - "navigationBarTitleText": "个人中心", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff", - "navigationStyle": "custom" - } - },{ "path": "pages/startup/startup", "style": { "navigationBarTitleText": "", "navigationStyle": "custom" } }, { - "path": "pages/medicine/medicine", + "path": "pages/information/information", "style": { - "navigationBarTitleText": "齐鲁名医", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff", - "disableScroll": true + "navigationBarTitleText": "完善个人信息", + "enablePullDownRefresh": false } }, { + "path": "pages/Nursingstationserviceorder/Nursingstationserviceorder", + "style": { + "navigationBarTitleText": "护理机构服务订单", + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "pages/appointmenttime/appointmenttime", + "style": { + "navigationBarTitleText": "预约时间", + "enablePullDownRefresh": false + } + }, { + "path": "pages/medicine/medicine", + "style": { + "navigationBarTitleText": "健康咨询", + "enablePullDownRefresh": false, + "disableScroll": true + } + },{ "path": "pages/integral/integral", "style": { "navigationBarTitleText": "积分", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } - }, { - "path": "pages/confirmation/confirmation", - "style": { + },{ + "path" : "pages/Informationconfirmation/Informationconfirmation", + "style" : + { "navigationBarTitleText": "", "enablePullDownRefresh": false, "navigationBarTitleText": "预约时间" } - }, { - "path": "pages/information/information", - "style": { - "navigationBarTitleText": "完善个人信息", - "navigationBarBackgroundColor": "#ffffff", //背景颜色 - "enablePullDownRefresh": false - } }, { "path": "pages/CommodityDetails/CommodityDetails", "style": { "navigationBarTitleText": "商品详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } }, { "path": "pages/coupon/coupon", "style": { "navigationBarTitleText": "优惠券", "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff", "onReachBottomDistance": 40, //距离底部多远时触发 单位为px "enablePullDownRefresh": true //设置参数为true } @@ -67,28 +68,24 @@ "style": { "navigationBarTitleText": "个人中心", "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff", "navigationStyle": "custom" } }, { "path": "pages/modify/modify", "style": { "navigationBarTitleText": "修改信息", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 + "enablePullDownRefresh": false } }, { "path": "pages/ProjectDetails/ProjectDetails", "style": { "navigationBarTitleText": "护理项目详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 + "enablePullDownRefresh": false } }, { "path": "pages/modifyAddress/modifyAddress", "style": { "navigationBarTitleText": "修改地址", - "navigationBarBackgroundColor": "#ffffff", //背景颜色 "enablePullDownRefresh": true //设置参数为true } }, @@ -96,30 +93,19 @@ "path": "pages/lookrate/lookrate", "style": { "navigationBarTitleText": "查看评价", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } }, { "path": "pages/ServiceDetails/ServiceDetails", "style": { "navigationBarTitleText": "服务详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 + "enablePullDownRefresh": false } }, { "path": "pages/goodsorderRate/goodsorderRate", "style": { "navigationBarTitleText": "发表评价", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - }, - { - "path": "pages/appointmenttime/appointmenttime", - "style": { - "navigationBarTitleText": "预约时间", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 + "enablePullDownRefresh": false } }, { "path": "pages/paysuccess/paysuccess", @@ -128,8 +114,7 @@ "enablePullDownRefresh": false, "navigationStyle": "custom" } - }, - { + }, { "path": "pages/ratesuccess/ratesuccess", "style": { "navigationBarTitleText": "", @@ -140,7 +125,6 @@ "path": "pages/shopping/shopping", //商城 "style": { "navigationBarTitleText": "医路优品", - "navigationBarBackgroundColor": "#ffffff", "onReachBottomDistance": 40, //距离底部多远时触发 单位为px "enablePullDownRefresh": true //设置参数为true } @@ -148,101 +132,71 @@ "path": "pages/CommodityOrder/CommodityOrder", "style": { "navigationBarTitleText": "商品订单", - "navigationBarBackgroundColor": "#ffffff", "onReachBottomDistance": 40, //距离底部多远时触发 单位为px "enablePullDownRefresh": true //设置参数为true } - }, - { + }, { "path": "pages/orderDetails/orderDetails", "style": { "navigationBarTitleText": "订单详情", - "navigationBarBackgroundColor": "#ffffff", "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/payorderDetails/payorderDetails", "style": { "navigationBarTitleText": "订单详情", - "navigationBarBackgroundColor": "#ffffff", "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/login/login", "style": { "navigationBarTitleText": "登录", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 + "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/cancelorder/cancelorder", "style": { "navigationBarTitleText": "取消订单", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 + "enablePullDownRefresh": false } - }, - { - "path": "pages/Nursingstationserviceorder/Nursingstationserviceorder", - "style": { - "navigationBarTitleText": "护理机构服务订单", - "navigationBarBackgroundColor": "#ffffff", //背景颜色 - "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, - { + }, { "path": "pages/logistics/logistics", "style": { "navigationBarTitleText": "查看物流", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/Aftersalesdetails/Aftersalesdetails", "style": { "navigationBarTitleText": "售后详情", - "navigationBarBackgroundColor": "#ffffff", "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/Applforrefund/Applforrefund", "style": { "navigationBarTitleText": "申请退款", - "navigationBarBackgroundColor": "#ffffff", "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/refundType/refundType", "style": { "navigationBarTitleText": "选择退款类型", - "navigationBarBackgroundColor": "#ffffff", "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/menttimeorder/menttimeorder", "style": { "navigationBarTitleText": "预约详情", "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/homepage/homepage", "style": { "navigationBarTitleText": "泉医到家", "navigationStyle": "custom", - "navigationBarBackgroundColor": "#ffffff", "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/confirmOrder/confirmOrder", "style": { "navigationBarTitleText": "确认订单", @@ -250,74 +204,58 @@ "navigationBarBackgroundColor": "#4C7BC9", //背景颜色 "navigationBarTextStyle": "white" } - }, - { + }, { "path": "pages/disease/disease", "style": { "navigationBarTitleText": "疾病类型选择", - "navigationBarBackgroundColor": "#ffffff", //背景颜色 "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/doctorslist/doctorslist", "style": { "navigationBarTitleText": "预约医生", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/ProductList/ProductList", //商品列表 "style": { "navigationBarTitleText": "医路优品", - "navigationBarBackgroundColor": "#ffffff", "onReachBottomDistance": 40, //距离底部多远时触发 单位为px "enablePullDownRefresh": true //设置参数为true } - }, - { + }, { "path": "pages/nursestation/nursestation", "style": { "navigationBarTitleText": "护理机构详情", - "navigationBarBackgroundColor": "#ffffff", "onReachBottomDistance": 100, //距离底部多远时触发 单位为px "enablePullDownRefresh": true //设置参数为true } - }, - { + }, { "path": "pages/site/site", "style": { "navigationBarTitleText": "护理机构", "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff", //背景颜色 "onReachBottomDistance": 100, //距离底部多远时触发 单位为px "enablePullDownRefresh": true //设置参数为true } - }, - { + }, { "path": "pages/diseasemanagement/diseasemanagement", "style": { "navigationBarTitleText": "专病管理", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/utabs/u-tabs", "style": { "navigationBarTitleText": "", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/classification/classification", "style": { "navigationBarTitleText": "分类", "enablePullDownRefresh": false, "disableScroll": true - // "navigationBarBackgroundColor": "#ffffff", // "onReachBottomDistance": 50 //距离底部多远时触发 单位为px // "enablePullDownRefresh": true //设置参数为true } @@ -325,50 +263,42 @@ "path": "pages/Healthknowledge/Healthknowledge", "style": { "navigationBarTitleText": "健康常识", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } }, { "path": "pages/Healthitem/Healthitem", "style": { "navigationBarTitleText": "健康常识", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } - }, - { + }, { "path": "pages/customerservice/customerservice", "style": { "navigationBarTitleText": "在线客服", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } }, { "path": "pages/materialbenefits/materialbenefits", "style": { "navigationBarTitleText": "新人福利", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } }, { "path": "pages/geriatricdisease/geriatricdisease", "style": { "navigationBarTitleText": "国家老年病中心", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "enablePullDownRefresh": false } }, { "path": "pages/Healthrecords/Healthrecords", "style": { "navigationBarTitleText": "健康档案", - "navigationBarBackgroundColor": "#ffffff", "enablePullDownRefresh": false } }, { "path": "pages/ConsultationDetails/ConsultationDetails", "style": { "navigationBarTitleText": "齐鲁名医", - "navigationBarBackgroundColor": "#ffffff", "enablePullDownRefresh": false } } @@ -376,7 +306,7 @@ "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "", - "navigationBarBackgroundColor": "#F8F8F8", + "navigationBarBackgroundColor": "#ffffff", "backgroundColor": "#F8F8F8" }, "uniIdRouter": {}, diff --git a/pages/ConsultationDetails/ConsultationDetails.vue b/pages/ConsultationDetails/ConsultationDetails.vue index 8202649..3c2d31e 100644 --- a/pages/ConsultationDetails/ConsultationDetails.vue +++ b/pages/ConsultationDetails/ConsultationDetails.vue @@ -12,17 +12,27 @@ return { imageurl: null, imageurls: null, + goto: '', }; }, onShow() { this.imageurl = baseurl + '/profile/appletPicture/healthyOne.png' this.imageurls = baseurl + '/profile/appletPicture/healthyDetails.png' }, + onLoad(options) { + this.goto = options.goto + }, methods: { godetal() { - uni.navigateBack({ - delta: 1 - }) + if (this.goto == 'homepage') { + uni.navigateTo({ + url: '/pages/medicine/medicine' + }) + } else { + uni.navigateBack({ + delta: 1 + }) + } } } } diff --git a/pages/Healthitem/Healthitem.vue b/pages/Healthitem/Healthitem.vue index 9de5f08..6513ee8 100644 --- a/pages/Healthitem/Healthitem.vue +++ b/pages/Healthitem/Healthitem.vue @@ -69,12 +69,13 @@ } .title { - padding-left: 3%; + padding: 0 3%; font-size: 38rpx; font-weight: bold; white-space: normal; word-break: break-all; margin-bottom: 20rpx; + text-align: justify; } .text { diff --git a/pages/Healthknowledge/Healthknowledge.vue b/pages/Healthknowledge/Healthknowledge.vue index 9a9174e..1b14476 100644 --- a/pages/Healthknowledge/Healthknowledge.vue +++ b/pages/Healthknowledge/Healthknowledge.vue @@ -168,6 +168,7 @@ -webkit-line-clamp: 5; //行数需设置 line-clamp: 5; -webkit-box-orient: vertical; + text-align: justify; } } } diff --git a/pages/Nursingstationserviceorder/Nursingstationserviceorder.scss b/pages/Nursingstationserviceorder/Nursingstationserviceorder.scss index 591225a..c3959c3 100644 --- a/pages/Nursingstationserviceorder/Nursingstationserviceorder.scss +++ b/pages/Nursingstationserviceorder/Nursingstationserviceorder.scss @@ -3,7 +3,7 @@ .masks{ image{ position: absolute; - bottom:380rpx; + top:50rpx; left:50%; transform: translateX(-50%); z-index: 999; @@ -14,43 +14,43 @@ .ratetitle{ font-size: 34rpx; position: absolute; - bottom:320rpx; + top:320rpx; left:50%; transform: translateX(-50%); z-index: 999; } + .title{ + position: absolute; + top:40rpx; + left:50%; + transform: translateX(-50%); + font-size: 42rpx; + } + ::v-deep .u-star-wrap{ + padding-right:10rpx; + } .mask{ position: absolute; - bottom:0; - width: 750rpx; - height: 703rpx; - background: #FFFFFF; - border-radius: 30rpx 30rpx 0px 0px; - display: flex; - justify-content: space-around; - .rateitem{ - margin-top:200rpx; - width: 217rpx; - height: 222rpx; - line-height: 222rpx; - text-align: center; - color: #ffffff; - background: #BFBFBF; - font-size: 40rpx; - border-radius: 25rpx; - } - - .lookrateitem{ - font-size: 32rpx; - margin-top:440rpx; - width: 200rpx; - height: 200rpx; - line-height: 200rpx; - text-align: center; - color: #ffffff; - background: #BFBFBF; - border-radius: 25rpx; - } + top:200rpx; + left: 70rpx; + } + .btn{ + width: 70%; + height: 71rpx; + background: #4C7BC9; + border-radius: 26rpx; + position: absolute; + top:530rpx; + left: 15%; + text-align: center; + line-height: 71rpx; + color: #fff; + } + .rateitem{ + position: absolute; + top:350rpx; + left: 80rpx; + font-size: 42rpx; } } diff --git a/pages/Nursingstationserviceorder/Nursingstationserviceorder.vue b/pages/Nursingstationserviceorder/Nursingstationserviceorder.vue index 6d2777e..daad5b0 100644 --- a/pages/Nursingstationserviceorder/Nursingstationserviceorder.vue +++ b/pages/Nursingstationserviceorder/Nursingstationserviceorder.vue @@ -41,37 +41,40 @@ - - - - 满意 - - - 一般 - - - 不满意 - + + + 综合评价 - - + + + + + {{rateval==5?'非常满意':''}} + {{rateval==4?'满意':''}} + {{rateval==3?'一般':''}} + {{rateval==2?'差':''}} + {{rateval==1?'非常差':''}} + + + 确认 + + + {{rateimgtitle.title}} - - - 满意 - - - 一般 - - - 不满意 - + + - + + {{rateval==5?'非常满意':''}} + {{rateval==4?'满意':''}} + {{rateval==3?'一般':''}} + {{rateval==2?'差':''}} + {{rateval==1?'非常差':''}} + +