Merge remote-tracking branch 'origin/3-30'

# Conflicts:
#	pages.json
#	pages/ConsultationDetails/ConsultationDetails.vue
#	pages/Nursingstationserviceorder/Nursingstationserviceorder.vue
#	pages/appointmenttime/appointmenttime.vue
#	pages/homepage/homepage.vue
#	pages/medicine/medicine.scss
#	static/yis.png
#	store/index.js
This commit is contained in:
曹辉 2023-04-13 15:55:24 +08:00
commit c5e16bfdc0
25 changed files with 476 additions and 368 deletions

View File

@ -13,7 +13,6 @@ const app = new Vue({
}) })
app.$mount() app.$mount()
// #endif // #endif
// #ifdef VUE3 // #ifdef VUE3
import { import {
createSSRApp createSSRApp

View File

@ -4,61 +4,62 @@
}, },
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages "pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{ {
"path": "pages/Personal/Personal",
"style": {
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff",
"navigationStyle": "custom"
}
},{
"path": "pages/startup/startup", "path": "pages/startup/startup",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, { }, {
"path": "pages/medicine/medicine", "path": "pages/information/information",
"style": { "style": {
"navigationBarTitleText": "齐鲁名医", "navigationBarTitleText": "完善个人信息",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff",
"disableScroll": true
} }
}, { }, {
"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", "path": "pages/integral/integral",
"style": { "style": {
"navigationBarTitleText": "积分", "navigationBarTitleText": "积分",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, { },{
"path": "pages/confirmation/confirmation", "path" : "pages/Informationconfirmation/Informationconfirmation",
"style": { "style" :
{
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarTitleText": "预约时间" "navigationBarTitleText": "预约时间"
} }
}, {
"path": "pages/information/information",
"style": {
"navigationBarTitleText": "完善个人信息",
"navigationBarBackgroundColor": "#ffffff", //
"enablePullDownRefresh": false
}
}, { }, {
"path": "pages/CommodityDetails/CommodityDetails", "path": "pages/CommodityDetails/CommodityDetails",
"style": { "style": {
"navigationBarTitleText": "商品详情", "navigationBarTitleText": "商品详情",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, { }, {
"path": "pages/coupon/coupon", "path": "pages/coupon/coupon",
"style": { "style": {
"navigationBarTitleText": "优惠券", "navigationBarTitleText": "优惠券",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff",
"onReachBottomDistance": 40, // px "onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
@ -67,28 +68,24 @@
"style": { "style": {
"navigationBarTitleText": "个人中心", "navigationBarTitleText": "个人中心",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, { }, {
"path": "pages/modify/modify", "path": "pages/modify/modify",
"style": { "style": {
"navigationBarTitleText": "修改信息", "navigationBarTitleText": "修改信息",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff" //
} }
}, { }, {
"path": "pages/ProjectDetails/ProjectDetails", "path": "pages/ProjectDetails/ProjectDetails",
"style": { "style": {
"navigationBarTitleText": "护理项目详情", "navigationBarTitleText": "护理项目详情",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff" //
} }
}, { }, {
"path": "pages/modifyAddress/modifyAddress", "path": "pages/modifyAddress/modifyAddress",
"style": { "style": {
"navigationBarTitleText": "修改地址", "navigationBarTitleText": "修改地址",
"navigationBarBackgroundColor": "#ffffff", //
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
}, },
@ -96,30 +93,19 @@
"path": "pages/lookrate/lookrate", "path": "pages/lookrate/lookrate",
"style": { "style": {
"navigationBarTitleText": "查看评价", "navigationBarTitleText": "查看评价",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, { }, {
"path": "pages/ServiceDetails/ServiceDetails", "path": "pages/ServiceDetails/ServiceDetails",
"style": { "style": {
"navigationBarTitleText": "服务详情", "navigationBarTitleText": "服务详情",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff" //
} }
}, { }, {
"path": "pages/goodsorderRate/goodsorderRate", "path": "pages/goodsorderRate/goodsorderRate",
"style": { "style": {
"navigationBarTitleText": "发表评价", "navigationBarTitleText": "发表评价",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff" //
}
},
{
"path": "pages/appointmenttime/appointmenttime",
"style": {
"navigationBarTitleText": "预约时间",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" //
} }
}, { }, {
"path": "pages/paysuccess/paysuccess", "path": "pages/paysuccess/paysuccess",
@ -128,8 +114,7 @@
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, }, {
{
"path": "pages/ratesuccess/ratesuccess", "path": "pages/ratesuccess/ratesuccess",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
@ -140,7 +125,6 @@
"path": "pages/shopping/shopping", // "path": "pages/shopping/shopping", //
"style": { "style": {
"navigationBarTitleText": "医路优品", "navigationBarTitleText": "医路优品",
"navigationBarBackgroundColor": "#ffffff",
"onReachBottomDistance": 40, // px "onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
@ -148,101 +132,71 @@
"path": "pages/CommodityOrder/CommodityOrder", "path": "pages/CommodityOrder/CommodityOrder",
"style": { "style": {
"navigationBarTitleText": "商品订单", "navigationBarTitleText": "商品订单",
"navigationBarBackgroundColor": "#ffffff",
"onReachBottomDistance": 40, // px "onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
}, }, {
{
"path": "pages/orderDetails/orderDetails", "path": "pages/orderDetails/orderDetails",
"style": { "style": {
"navigationBarTitleText": "订单详情", "navigationBarTitleText": "订单详情",
"navigationBarBackgroundColor": "#ffffff",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "pages/payorderDetails/payorderDetails", "path": "pages/payorderDetails/payorderDetails",
"style": { "style": {
"navigationBarTitleText": "订单详情", "navigationBarTitleText": "订单详情",
"navigationBarBackgroundColor": "#ffffff",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "pages/login/login", "path": "pages/login/login",
"style": { "style": {
"navigationBarTitleText": "登录", "navigationBarTitleText": "登录",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff" //
} }
}, }, {
{
"path": "pages/cancelorder/cancelorder", "path": "pages/cancelorder/cancelorder",
"style": { "style": {
"navigationBarTitleText": "取消订单", "navigationBarTitleText": "取消订单",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff" //
} }
}, }, {
{
"path": "pages/Nursingstationserviceorder/Nursingstationserviceorder",
"style": {
"navigationBarTitleText": "护理机构服务订单",
"navigationBarBackgroundColor": "#ffffff", //
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
},
{
"path": "pages/logistics/logistics", "path": "pages/logistics/logistics",
"style": { "style": {
"navigationBarTitleText": "查看物流", "navigationBarTitleText": "查看物流",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, }, {
{
"path": "pages/Aftersalesdetails/Aftersalesdetails", "path": "pages/Aftersalesdetails/Aftersalesdetails",
"style": { "style": {
"navigationBarTitleText": "售后详情", "navigationBarTitleText": "售后详情",
"navigationBarBackgroundColor": "#ffffff",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "pages/Applforrefund/Applforrefund", "path": "pages/Applforrefund/Applforrefund",
"style": { "style": {
"navigationBarTitleText": "申请退款", "navigationBarTitleText": "申请退款",
"navigationBarBackgroundColor": "#ffffff",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "pages/refundType/refundType", "path": "pages/refundType/refundType",
"style": { "style": {
"navigationBarTitleText": "选择退款类型", "navigationBarTitleText": "选择退款类型",
"navigationBarBackgroundColor": "#ffffff",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "pages/menttimeorder/menttimeorder", "path": "pages/menttimeorder/menttimeorder",
"style": { "style": {
"navigationBarTitleText": "预约详情", "navigationBarTitleText": "预约详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "pages/homepage/homepage", "path": "pages/homepage/homepage",
"style": { "style": {
"navigationBarTitleText": "泉医到家", "navigationBarTitleText": "泉医到家",
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarBackgroundColor": "#ffffff",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "pages/confirmOrder/confirmOrder", "path": "pages/confirmOrder/confirmOrder",
"style": { "style": {
"navigationBarTitleText": "确认订单", "navigationBarTitleText": "确认订单",
@ -250,74 +204,58 @@
"navigationBarBackgroundColor": "#4C7BC9", // "navigationBarBackgroundColor": "#4C7BC9", //
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
}, }, {
{
"path": "pages/disease/disease", "path": "pages/disease/disease",
"style": { "style": {
"navigationBarTitleText": "疾病类型选择", "navigationBarTitleText": "疾病类型选择",
"navigationBarBackgroundColor": "#ffffff", //
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "pages/doctorslist/doctorslist", "path": "pages/doctorslist/doctorslist",
"style": { "style": {
"navigationBarTitleText": "预约医生", "navigationBarTitleText": "预约医生",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, }, {
{
"path": "pages/ProductList/ProductList", // "path": "pages/ProductList/ProductList", //
"style": { "style": {
"navigationBarTitleText": "医路优品", "navigationBarTitleText": "医路优品",
"navigationBarBackgroundColor": "#ffffff",
"onReachBottomDistance": 40, // px "onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
}, }, {
{
"path": "pages/nursestation/nursestation", "path": "pages/nursestation/nursestation",
"style": { "style": {
"navigationBarTitleText": "护理机构详情", "navigationBarTitleText": "护理机构详情",
"navigationBarBackgroundColor": "#ffffff",
"onReachBottomDistance": 100, // px "onReachBottomDistance": 100, // px
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
}, }, {
{
"path": "pages/site/site", "path": "pages/site/site",
"style": { "style": {
"navigationBarTitleText": "护理机构", "navigationBarTitleText": "护理机构",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff", //
"onReachBottomDistance": 100, // px "onReachBottomDistance": 100, // px
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
}, }, {
{
"path": "pages/diseasemanagement/diseasemanagement", "path": "pages/diseasemanagement/diseasemanagement",
"style": { "style": {
"navigationBarTitleText": "专病管理", "navigationBarTitleText": "专病管理",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, }, {
{
"path": "pages/utabs/u-tabs", "path": "pages/utabs/u-tabs",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, }, {
{
"path": "pages/classification/classification", "path": "pages/classification/classification",
"style": { "style": {
"navigationBarTitleText": "分类", "navigationBarTitleText": "分类",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"disableScroll": true "disableScroll": true
// "navigationBarBackgroundColor": "#ffffff",
// "onReachBottomDistance": 50 // px // "onReachBottomDistance": 50 // px
// "enablePullDownRefresh": true //true // "enablePullDownRefresh": true //true
} }
@ -325,50 +263,42 @@
"path": "pages/Healthknowledge/Healthknowledge", "path": "pages/Healthknowledge/Healthknowledge",
"style": { "style": {
"navigationBarTitleText": "健康常识", "navigationBarTitleText": "健康常识",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, { }, {
"path": "pages/Healthitem/Healthitem", "path": "pages/Healthitem/Healthitem",
"style": { "style": {
"navigationBarTitleText": "健康常识", "navigationBarTitleText": "健康常识",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, }, {
{
"path": "pages/customerservice/customerservice", "path": "pages/customerservice/customerservice",
"style": { "style": {
"navigationBarTitleText": "在线客服", "navigationBarTitleText": "在线客服",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, { }, {
"path": "pages/materialbenefits/materialbenefits", "path": "pages/materialbenefits/materialbenefits",
"style": { "style": {
"navigationBarTitleText": "新人福利", "navigationBarTitleText": "新人福利",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, { }, {
"path": "pages/geriatricdisease/geriatricdisease", "path": "pages/geriatricdisease/geriatricdisease",
"style": { "style": {
"navigationBarTitleText": "国家老年病中心", "navigationBarTitleText": "国家老年病中心",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationBarBackgroundColor": "#ffffff"
} }
}, { }, {
"path": "pages/Healthrecords/Healthrecords", "path": "pages/Healthrecords/Healthrecords",
"style": { "style": {
"navigationBarTitleText": "健康档案", "navigationBarTitleText": "健康档案",
"navigationBarBackgroundColor": "#ffffff",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, { }, {
"path": "pages/ConsultationDetails/ConsultationDetails", "path": "pages/ConsultationDetails/ConsultationDetails",
"style": { "style": {
"navigationBarTitleText": "齐鲁名医", "navigationBarTitleText": "齐鲁名医",
"navigationBarBackgroundColor": "#ffffff",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} }
@ -376,7 +306,7 @@
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationBarBackgroundColor": "#F8F8F8", "navigationBarBackgroundColor": "#ffffff",
"backgroundColor": "#F8F8F8" "backgroundColor": "#F8F8F8"
}, },
"uniIdRouter": {}, "uniIdRouter": {},

View File

@ -12,17 +12,27 @@
return { return {
imageurl: null, imageurl: null,
imageurls: null, imageurls: null,
goto: '',
}; };
}, },
onShow() { onShow() {
this.imageurl = baseurl + '/profile/appletPicture/healthyOne.png' this.imageurl = baseurl + '/profile/appletPicture/healthyOne.png'
this.imageurls = baseurl + '/profile/appletPicture/healthyDetails.png' this.imageurls = baseurl + '/profile/appletPicture/healthyDetails.png'
}, },
onLoad(options) {
this.goto = options.goto
},
methods: { methods: {
godetal() { godetal() {
uni.navigateBack({ if (this.goto == 'homepage') {
delta: 1 uni.navigateTo({
}) url: '/pages/medicine/medicine'
})
} else {
uni.navigateBack({
delta: 1
})
}
} }
} }
} }

View File

@ -69,12 +69,13 @@
} }
.title { .title {
padding-left: 3%; padding: 0 3%;
font-size: 38rpx; font-size: 38rpx;
font-weight: bold; font-weight: bold;
white-space: normal; white-space: normal;
word-break: break-all; word-break: break-all;
margin-bottom: 20rpx; margin-bottom: 20rpx;
text-align: justify;
} }
.text { .text {

View File

@ -168,6 +168,7 @@
-webkit-line-clamp: 5; // -webkit-line-clamp: 5; //
line-clamp: 5; line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
text-align: justify;
} }
} }
} }

View File

@ -3,7 +3,7 @@
.masks{ .masks{
image{ image{
position: absolute; position: absolute;
bottom:380rpx; top:50rpx;
left:50%; left:50%;
transform: translateX(-50%); transform: translateX(-50%);
z-index: 999; z-index: 999;
@ -14,43 +14,43 @@
.ratetitle{ .ratetitle{
font-size: 34rpx; font-size: 34rpx;
position: absolute; position: absolute;
bottom:320rpx; top:320rpx;
left:50%; left:50%;
transform: translateX(-50%); transform: translateX(-50%);
z-index: 999; 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{ .mask{
position: absolute; position: absolute;
bottom:0; top:200rpx;
width: 750rpx; left: 70rpx;
height: 703rpx; }
background: #FFFFFF; .btn{
border-radius: 30rpx 30rpx 0px 0px; width: 70%;
display: flex; height: 71rpx;
justify-content: space-around; background: #4C7BC9;
.rateitem{ border-radius: 26rpx;
margin-top:200rpx; position: absolute;
width: 217rpx; top:530rpx;
height: 222rpx; left: 15%;
line-height: 222rpx; text-align: center;
text-align: center; line-height: 71rpx;
color: #ffffff; color: #fff;
background: #BFBFBF; }
font-size: 40rpx; .rateitem{
border-radius: 25rpx; position: absolute;
} top:350rpx;
left: 80rpx;
.lookrateitem{ font-size: 42rpx;
font-size: 32rpx;
margin-top:440rpx;
width: 200rpx;
height: 200rpx;
line-height: 200rpx;
text-align: center;
color: #ffffff;
background: #BFBFBF;
border-radius: 25rpx;
}
} }
} }

View File

@ -41,37 +41,40 @@
<u-empty mode="list" icon-size='220' text='暂无服务订单'></u-empty> <u-empty mode="list" icon-size='220' text='暂无服务订单'></u-empty>
</view> </view>
<u-toast ref="uToast" /> <u-toast ref="uToast" />
<u-mask :show="rateshow" @tap="rateshow = false" class='masks'> <u-popup v-model="rateshow" mode="bottom" length="50%" border-radius="20" :closeable='true' class='masks'>
<view class="mask"> <view class="title">
<view class="rateitem" @tap="taprate('SATISFIED')"> 综合评价
满意
</view>
<view class="rateitem" @tap="taprate('COMMONLY')">
一般
</view>
<view class="rateitem" @tap="taprate('DISSATISFIED')">
不满意
</view>
</view> </view>
</u-mask> <view class="mask">
<u-mask :show="lookrateshow" @tap="lookrateshow = false" class='masks'> <u-rate :count="5" v-model="rateval" :size='70' active-color='#F4EA2A'></u-rate>
</view>
<view class="rateitem">
{{rateval==5?'非常满意':''}}
{{rateval==4?'满意':''}}
{{rateval==3?'一般':''}}
{{rateval==2?'差':''}}
{{rateval==1?'非常差':''}}
</view>
<view class="btn" @tap='taprate'>
确认
</view>
</u-popup>
<u-popup v-model="lookrateshow" mode="bottom" length="60%" border-radius="20" :closeable='true' class='masks'>
<image :src="baseurl+rateimgtitle.img" mode=""></image> <image :src="baseurl+rateimgtitle.img" mode=""></image>
<view class="ratetitle"> <view class="ratetitle">
{{rateimgtitle.title}} {{rateimgtitle.title}}
</view> </view>
<view class="mask"> <view class="mask" style="top: 450rpx;">
<view class="lookrateitem" :style="ratelist.evaluateSatisfaction=='SATISFIED'?'background: #4C7BC9':''"> <u-rate :count="5" v-model="rateval" :size='70' active-color='#F4EA2A' disabled></u-rate>
满意
</view>
<view class="lookrateitem" :style="ratelist.evaluateSatisfaction=='COMMONLY'?'background: #4C7BC9':''">
一般
</view>
<view class="lookrateitem"
:style="ratelist.evaluateSatisfaction=='DISSATISFIED'?'background: #4C7BC9':''">
不满意
</view>
</view> </view>
</u-mask> <view class="rateitem" style="top: 580rpx;">
{{rateval==5?'非常满意':''}}
{{rateval==4?'满意':''}}
{{rateval==3?'一般':''}}
{{rateval==2?'差':''}}
{{rateval==1?'非常差':''}}
</view>
</u-popup>
</view> </view>
</template> </template>
<script> <script>
@ -91,21 +94,24 @@
export default { export default {
data() { data() {
return { return {
rateimgtitle: { timer: null, //time
baseurl: null,
rateimgtitle: { //mask
img: null, img: null,
title: null, title: null,
}, },
ratelist: null, //list ratelist: null, //list
rateshow: false, // rateshow: false, //
lookrateshow: false, // lookrateshow: false, //
baseurl: '', openid: null, //opedn
openid: null, patientId: null, //patientId
patientId: null, rateval: 0, //
evaluateSatisfaction: null, //////
pageNum: 1, pageNum: 1,
total: 0, total: 0,
pageSize: 15, pageSize: 15,
list: [], list: [], //list
orderNo: null, orderNo: null, //
} }
}, },
onShow() { onShow() {
@ -133,40 +139,70 @@
}) })
} }
}, },
watch: { //
rateval() {
if (this.rateval == 5) {
this.evaluateSatisfaction = 'VERYSATISFIED'
} else if (this.rateval == 4) {
this.evaluateSatisfaction = 'SATISFIED'
} else if (this.rateval == 3) {
this.evaluateSatisfaction = 'COMMONLY'
} else if (this.rateval == 2) {
this.evaluateSatisfaction = 'DISSATISFIED'
} else if (this.rateval == 1) {
this.evaluateSatisfaction = 'VERYDISSATISFIED'
}
},
},
methods: { methods: {
// //
lookrate(item) { lookrate(item) {
this.rateval = 0
this.evaluateSatisfaction = null
this.rateimgtitle.img = item.itemPictureUrl this.rateimgtitle.img = item.itemPictureUrl
this.rateimgtitle.title = item.nurseItemName this.rateimgtitle.title = item.nurseItemName
this.lookrateshow = true
lookrate(item.orderNo).then(res => { lookrate(item.orderNo).then(res => {
this.ratelist = res.data this.ratelist = res.data
this.rateval = res.data.compositeScore
this.lookrateshow = true
}) })
}, },
// //
gorate(item) { gorate(item) {
this.rateval = 0
this.evaluateSatisfaction = null
this.orderNo = item.orderNo this.orderNo = item.orderNo
this.rateshow = true this.rateshow = true
}, },
// //
taprate(item) { taprate() {
var obj = { var obj = {
"patientId": this.patientId, "patientId": this.patientId,
"openid": this.openid, "openid": this.openid,
"orderNo": this.orderNo, "orderNo": this.orderNo,
"evaluateChannel": "WE_CHAT_APPLET", "evaluateChannel": "WE_CHAT_APPLET",
"evaluateSatisfaction": item, "evaluateSatisfaction": this.evaluateSatisfaction,
"compositeScore": this.rateval
} }
addAppointmentEvaluate(obj).then(res => { addAppointmentEvaluate(obj).then(res => {
uni.setStorageSync("Refresh", 'Refresh')
if (res.code == 200) { if (res.code == 200) {
uni.setStorageSync("Refresh", 'Refresh') this.getinfo();
this.orderNo = null this.orderNo = null
this.rateshow = false
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '评价成功', title: '评价成功',
type: 'success', type: 'success',
duration: '1500', duration: '1500'
url: '/pages/ratesuccess/ratesuccess'
}) })
if (this.timer) {
clearTimeout(this.timer)
}
this.timer = setTimeout(e => {
uni.navigateTo({
url: `/pages/ratesuccess/ratesuccess?delta=${1}`
})
}, 1500)
} }
}) })
}, },

View File

@ -123,14 +123,14 @@
.item { .item {
margin: 0 auto; margin: 0 auto;
width: 100%; width: 100%;
height: 200rpx; height: 100rpx;
background: #FFFFFF; background: #FFFFFF;
.text{ .text{
padding: 40rpx 20% 0 40rpx; padding: 0 40rpx 0 40rpx;
width: 100%; width: 100%;
height: 81rpx;
font-size: 38rpx; font-size: 38rpx;
font-weight: 500; font-weight: 500;
line-height: 100rpx;
} }
} }

View File

@ -21,8 +21,6 @@
</view> </view>
<view class="text" v-else>暂无 <view class="text" v-else>暂无
</view> </view>
<view class="classtype">
</view>
<!-- <view class="pingfen"> <!-- <view class="pingfen">
<u-rate :count="5" value="2"></u-rate> <u-rate :count="5" value="2"></u-rate>
</view> --> </view> -->

View File

@ -4,59 +4,59 @@
font-size: 36rpx; font-size: 36rpx;
padding-top: 10rpx; padding-top: 10rpx;
font-size: 34rpx; font-size: 34rpx;
.masks{ .masks{
image{ image{
position: absolute; position: absolute;
bottom:380rpx; top:50rpx;
left:50%; left:50%;
transform: translateX(-50%); transform: translateX(-50%);
z-index: 999; z-index: 999;
width: 250rpx; width: 250rpx;
border-radius: 25rpx; border-radius: 25rpx;
height: 250rpx; height: 250rpx;
}
.ratetitle{
font-size: 34rpx;
position: absolute;
bottom:320rpx;
left:50%;
transform: translateX(-50%);
z-index: 999;
}
.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;
}
}
} }
.ratetitle{
font-size: 34rpx;
position: absolute;
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;
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;
}
}
.time{ .time{
height: 80rpx; height: 80rpx;
width: 95%; width: 95%;
@ -66,26 +66,6 @@
margin: 20rpx auto 0rpx; margin: 20rpx auto 0rpx;
border-radius: 20rpx; border-radius: 20rpx;
} }
.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;
border-radius: 25rpx;
}
}
.OrderStatus{ .OrderStatus{
text-align: center; text-align: center;
width: 300rpx; width: 300rpx;
@ -279,6 +259,7 @@
} }
.bottom { .bottom {
height: 60rpx;
view { view {
font-size: 25rpx; font-size: 25rpx;
color: #969394; color: #969394;

View File

@ -69,7 +69,7 @@
<view class="cancelorder" @tap="cancelorderment()" <view class="cancelorder" @tap="cancelorderment()"
v-if="list.orderStatus=='PAY'||list.orderStatus=='WAIT_DISPATCH'||list.orderStatus=='NOT_FINISH'">取消订单 v-if="list.orderStatus=='PAY'||list.orderStatus=='WAIT_DISPATCH'||list.orderStatus=='NOT_FINISH'">取消订单
</view> </view>
<view class="cancelorder" style="background: #60c5f1;" @tap='rateshow= true' <view class="cancelorder" style="background: #60c5f1;" @tap='rateshowtrue'
v-if="list.orderStatus=='COMPLETE'">立即评价 v-if="list.orderStatus=='COMPLETE'">立即评价
</view> </view>
<view class="cancelorder" @tap='buy' style="background-color: darkorange;" <view class="cancelorder" @tap='buy' style="background-color: darkorange;"
@ -79,8 +79,24 @@
<view class="cancelorder" style="background: #4C7BC9;" v-if="list.orderStatus=='EVALUATED'" <view class="cancelorder" style="background: #4C7BC9;" v-if="list.orderStatus=='EVALUATED'"
@tap='lookrate(list)'>查看评价</view> @tap='lookrate(list)'>查看评价</view>
</view> </view>
<u-mask :show="rateshow" @tap="rateshow = false"> <u-popup v-model="rateshow" mode="bottom" length="50%" border-radius="20" :closeable='true' class='masks'>
<view class="title">
综合评价
</view>
<view class="mask"> <view class="mask">
<u-rate :count="5" v-model="rateval" :size='70' active-color='#F4EA2A'></u-rate>
</view>
<view class="rateitem">
{{rateval==5?'非常满意':''}}
{{rateval==4?'满意':''}}
{{rateval==3?'一般':''}}
{{rateval==2?'差':''}}
{{rateval==1?'非常差':''}}
</view>
<view class="btn" @tap='taprate'>
确认
</view>
<!-- <view class="mask">
<view class="rateitem" @tap="taprate('SATISFIED')"> <view class="rateitem" @tap="taprate('SATISFIED')">
满意 满意
</view> </view>
@ -90,26 +106,24 @@
<view class="rateitem" @tap="taprate('DISSATISFIED')"> <view class="rateitem" @tap="taprate('DISSATISFIED')">
不满意 不满意
</view> </view>
</view> </view> -->
</u-mask> </u-popup>
<u-mask :show="lookrateshow" @tap="lookrateshow = false" class='masks'> <u-popup v-model="lookrateshow" mode="bottom" length="60%" border-radius="20" :closeable='true' class='masks'>
<image :src="baseurl+rateimgtitle.img" mode=""></image> <image :src="baseurl+rateimgtitle.img" mode=""></image>
<view class="ratetitle"> <view class="ratetitle">
{{rateimgtitle.title}} {{rateimgtitle.title}}
</view> </view>
<view class="mask"> <view class="mask" style="top: 450rpx;">
<view class="lookrateitem" :style="ratelist.evaluateSatisfaction=='SATISFIED'?'background: #4C7BC9':''"> <u-rate :count="5" v-model="rateval" :size='70' active-color='#F4EA2A' disabled></u-rate>
满意
</view>
<view class="lookrateitem" :style="ratelist.evaluateSatisfaction=='COMMONLY'?'background: #4C7BC9':''">
一般
</view>
<view class="lookrateitem"
:style="ratelist.evaluateSatisfaction=='DISSATISFIED'?'background: #4C7BC9':''">
不满意
</view>
</view> </view>
</u-mask> <view class="rateitem" style="top: 580rpx;">
{{rateval==5?'非常满意':''}}
{{rateval==4?'满意':''}}
{{rateval==3?'一般':''}}
{{rateval==2?'差':''}}
{{rateval==1?'非常差':''}}
</view>
</u-popup>
<u-toast ref="uToast" /> <u-toast ref="uToast" />
</view> </view>
</template> </template>
@ -129,6 +143,8 @@
data() { data() {
return { return {
rateshow: false, // rateshow: false, //
rateval: 0, //
evaluateSatisfaction: null, //////
baseurl: '', baseurl: '',
patientId: '', //id patientId: '', //id
openid: '', //id openid: '', //id
@ -159,13 +175,37 @@
} }
this.getlist() this.getlist()
}, },
watch: { //
rateval() {
if (this.rateval == 5) {
this.evaluateSatisfaction = 'VERYSATISFIED'
} else if (this.rateval == 4) {
this.evaluateSatisfaction = 'SATISFIED'
} else if (this.rateval == 3) {
this.evaluateSatisfaction = 'COMMONLY'
} else if (this.rateval == 2) {
this.evaluateSatisfaction = 'DISSATISFIED'
} else if (this.rateval == 1) {
this.evaluateSatisfaction = 'VERYDISSATISFIED'
}
},
},
methods: { methods: {
//
rateshowtrue() {
this.rateval = 0
this.evaluateSatisfaction = null
this.rateshow = true
},
// //
lookrate(item) { lookrate(item) {
this.rateval = 0
this.evaluateSatisfaction = null
this.rateimgtitle.img = item.itemPictureUrl this.rateimgtitle.img = item.itemPictureUrl
this.rateimgtitle.title = item.nurseItemName this.rateimgtitle.title = item.nurseItemName
lookrate(item.orderNo).then(res => { lookrate(item.orderNo).then(res => {
this.ratelist = res.data this.ratelist = res.data
this.rateval = res.data.compositeScore
this.lookrateshow = true this.lookrateshow = true
}) })
}, },
@ -217,29 +257,31 @@
}) })
}, },
// //
taprate(item) { taprate() {
var obj = { var obj = {
"patientId": this.patientId, "patientId": this.patientId,
"openid": this.openid, "openid": this.openid,
"orderNo": this.orderNo, "orderNo": this.orderNo,
"evaluateChannel": "WE_CHAT_APPLET", "evaluateChannel": "WE_CHAT_APPLET",
"evaluateSatisfaction": item, "evaluateSatisfaction": this.evaluateSatisfaction,
"compositeScore": this.rateval
} }
addAppointmentEvaluate(obj).then(res => { addAppointmentEvaluate(obj).then(res => {
if (res.code == 200) { if (res.code == 200) {
this.getlist();
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '评价成功', title: '评价成功',
type: 'success', type: 'success',
duration: '1500' duration: '1500'
}) })
this.rateshow = false
uni.setStorageSync("Refresh", 'Refresh') uni.setStorageSync("Refresh", 'Refresh')
this.getlist();
if (this.timer) { if (this.timer) {
clearTimeout(this.timer) clearTimeout(this.timer)
} }
this.timer = setTimeout(e => { this.timer = setTimeout(e => {
uni.navigateTo({ uni.navigateTo({
url: `/pages/ratesuccess/ratesuccess?delta=${3}` url: `/pages/ratesuccess/ratesuccess?delta=${1}`
}) })
}, 1500) }, 1500)
} else { } else {

View File

@ -6,7 +6,7 @@
.mask { .mask {
.Agreement { .Agreement {
width: 100%; width: 100%;
background-color: #F4F5F7; background-color: #fff;
text-align: center; text-align: center;
height: 1000rpx; height: 1000rpx;
position: absolute; position: absolute;
@ -183,17 +183,20 @@
margin-top: 20rpx; margin-top: 20rpx;
position: relative; position: relative;
span { .span {
display: inline-block; display: inline-block;
width: 60%; width: 20%;
overflow: hidden; // overflow: hidden;
text-overflow: ellipsis; // text-overflow: ellipsis;
white-space: nowrap; // white-space: nowrap;
position: absolute; position: absolute;
top:50%; top:50%;
transform: translateY(-50%); transform: translateY(-50%);
} }
.input-placeholder{
color: #C5C3C3;
font-size: 30rpx;
}
input { input {
position: absolute; position: absolute;
top: 50%; top: 50%;
@ -350,7 +353,12 @@
border-radius: 20rpx; border-radius: 20rpx;
margin-top: 20rpx; margin-top: 20rpx;
position: relative; position: relative;
.checkboxs{
margin-top: 30rpx;
::v-deep .u-checkbox{
padding-right: 40rpx;
}
}
.detail { .detail {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;

View File

@ -73,8 +73,24 @@
</u-checkbox-group> </u-checkbox-group>
</view> </view>
</view> </view>
<view class="Package" style="height: 170rpx;">
是否失能
<span style='color:#F44B2F;padding-left: 10rpx;'>*</span>
<span style='color:#C5C3C3;padding-left: 10rpx;font-size: 30rpx;'>(请选择)</span>
<view class="checkboxs">
<u-checkbox-group @change="checkboxGroupChangetwo">
<u-checkbox @change="checkboxChangetwo(item)" v-model="item.checked" size='40' shape="circle"
v-for="(item, index) in checkboxlist" :key="index" :name="item.name">{{item.name}}</u-checkbox>
</u-checkbox-group>
</view>
</view>
<view class="remarks" v-if="disablingCondition == 'DISABLED'">
<span class='span' style='width: 25%;'>失能情况
<span style='color:#F44B2F;padding-left: 10rpx;'>*</span></span>
<input style="left:27%;width: 73%;" placeholder="请输入" v-model="personInfo.disablingReason">
</view>
<view class="remarks"> <view class="remarks">
<span>备注</span> <span class='span'>备注</span>
<input placeholder="请输入" v-model="orderlist.remark"> <input placeholder="请输入" v-model="orderlist.remark">
</view> </view>
<view class="radio-content"> <view class="radio-content">
@ -137,7 +153,9 @@
patientId: null, patientId: null,
useritem: null, //optionsuser useritem: null, //optionsuser
consumableTotalPrice: 0, // consumableTotalPrice: 0, //
disablingCondition: null, //
orderlist: { orderlist: {
disablingCondition: null,
orderCount: 1, orderCount: 1,
patientId: '', patientId: '',
stationId: '', stationId: '',
@ -153,10 +171,20 @@
consumableTotalPrice: '', consumableTotalPrice: '',
totalPrice: '', totalPrice: '',
remark: "", remark: "",
disablingReason: '',
orderConsumableList: [], orderConsumableList: [],
orderChannel: '', orderChannel: '',
}, },
timeindex: 0, timeindex: 0,
checkboxlist: [{
name: '是',
checked: false,
},
{
name: '否',
checked: false,
}
]
} }
}, },
onShow() { onShow() {
@ -175,14 +203,15 @@
}) })
}, },
onLoad(options) { onLoad(options) {
this.disablingCondition = null
var that = this var that = this
const value = uni.getStorageSync('openid'); const value = uni.getStorageSync('openid');
if (value) { if (value) {
that.openid = value that.openid = value
} }
this.userinfo();
// //
this.getPatientInfo(options.stationId, options.stationItemId, options.stationItemPriceId) this.getPatientInfo(options.stationId, options.stationItemId, options.stationItemPriceId)
this.userinfo();
}, },
methods: { methods: {
// //
@ -208,6 +237,12 @@
that.patientId = value that.patientId = value
// //
getAppPatientList(that.patientId).then(response => { getAppPatientList(that.patientId).then(response => {
if (response.data.disablingCondition == 'NOT_DISABLED') {
that.checkboxlist[1].checked = true
} else if (response.data.disablingCondition == 'DISABLED') {
that.checkboxlist[0].checked = true
that.disablingCondition = 'DISABLED'
}
that.personInfo = response.data that.personInfo = response.data
that.personInfo.address = response.data.areaName + response.data.address that.personInfo.address = response.data.areaName + response.data.address
}) })
@ -235,14 +270,14 @@
this.orderlist.serviceStartTime = res.data.appointmentTimeList[0].morningList[0] this.orderlist.serviceStartTime = res.data.appointmentTimeList[0].morningList[0]
this.orderlist.serviceDate = res.data.appointmentTimeList[0].date this.orderlist.serviceDate = res.data.appointmentTimeList[0].date
this.consumableTotalPrice = res.data.consumableTotalPrice this.consumableTotalPrice = res.data.consumableTotalPrice
this.orderlist.orderCommissionAmount = res.data.commissionAmount
this.orderlist.disablingCondition = this.personInfo.disablingCondition
} }
}) })
}, },
// //
updata() { updata() {
var that = this var that = this
this.orderlist.consumableTotalPrice = null
this.orderlist.orderChannel = 'WECHAT_APPLET'
if (this.radio == 1) { if (this.radio == 1) {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '请阅读用户协议并同意', title: '请阅读用户协议并同意',
@ -259,12 +294,18 @@
} }
}) })
} }
this.orderlist.consumableTotalPrice = null
this.orderlist.orderChannel = 'WECHAT_APPLET'
this.orderlist.disablingReason = this.personInfo.disablingReason
this.orderlist.afternoonOpenEndTime = this.orderlist.afternoonOpenEndTime.slice(0, 5) this.orderlist.afternoonOpenEndTime = this.orderlist.afternoonOpenEndTime.slice(0, 5)
this.orderlist.afternoonOpenStartTime = this.orderlist.afternoonOpenStartTime.slice(0, 5) this.orderlist.afternoonOpenStartTime = this.orderlist.afternoonOpenStartTime.slice(0, 5)
this.orderlist.morningOpenEndTime = this.orderlist.morningOpenEndTime.slice(0, 5) this.orderlist.morningOpenEndTime = this.orderlist.morningOpenEndTime.slice(0, 5)
this.orderlist.morningOpenStartTime = this.orderlist.morningOpenStartTime.slice(0, 5) this.orderlist.morningOpenStartTime = this.orderlist.morningOpenStartTime.slice(0, 5)
this.orderlist.patientId = this.patientId this.orderlist.patientId = this.patientId
this.orderlist.serviceAddress = this.personInfo.areaName + this.personInfo.address this.orderlist.serviceAddress = this.personInfo.address
if (this.orderlist.disablingCondition == 'NOT_DISABLED') {
this.orderlist.disablingReason = null
}
submitAppointment(this.orderlist).then(res => { submitAppointment(this.orderlist).then(res => {
if (res.code == 500) { if (res.code == 500) {
that.$refs.uToast.show({ that.$refs.uToast.show({
@ -329,6 +370,7 @@
this.radio = 2; this.radio = 2;
this.maskshow = false this.maskshow = false
}, },
// checkbox
checkboxChange(e) { checkboxChange(e) {
if (e.radio) { if (e.radio) {
this.orderlist.totalPrice = this.argSubtr(this.orderlist.totalPrice, e.consumablePrice) this.orderlist.totalPrice = this.argSubtr(this.orderlist.totalPrice, e.consumablePrice)
@ -336,6 +378,24 @@
this.orderlist.totalPrice = this.argAdd(this.orderlist.totalPrice, e.consumablePrice) this.orderlist.totalPrice = this.argAdd(this.orderlist.totalPrice, e.consumablePrice)
} }
}, },
// checkbox
checkboxChangetwo(e) {
this.checkboxlist.forEach(e => {
e.checked = false
})
e.checked = true
},
// checkboxcheckbox-group
checkboxGroupChangetwo(e) {
if (e[0] == '否') {
this.disablingCondition = 'NOT_DISABLED'
} else if (e[0] == '是') {
this.disablingCondition = 'DISABLED'
} else {
this.disablingCondition = null
}
this.orderlist.disablingCondition = this.disablingCondition
},
argAdd(arg1, arg2) { argAdd(arg1, arg2) {
// //
var _this = this, var _this = this,

View File

@ -1,5 +1,5 @@
<template> <template>
<view class=""> <view class="" style="text-align: justify;padding: 0 2%;">
<view class=""> <view class="">
为确保护理安全及双方权益请认真阅读此知情同意书并签字若因违反此协议而造成的后果由双方各自承担相应的责任 为确保护理安全及双方权益请认真阅读此知情同意书并签字若因违反此协议而造成的后果由双方各自承担相应的责任
</view> </view>

View File

@ -87,6 +87,7 @@
width: 657rpx; width: 657rpx;
padding: 0 20rpx; padding: 0 20rpx;
line-height: 56rpx; line-height: 56rpx;
text-align: justify;
} }
.detailed view { .detailed view {

View File

@ -133,14 +133,44 @@
this.swiperImglink.forEach(e => { this.swiperImglink.forEach(e => {
e.image = baseurl + e.posterPictureUrl e.image = baseurl + e.posterPictureUrl
if (e.image == item) { if (e.image == item) {
if (e.jumpLink == '/pages/homepage/homepage' || e.jumpLink == '/pages/Personal/Personal') { if (e.dictLabel == '专病管理') {
uni.switchTab({ const phone = uni.getStorageSync('phone');
url: e.jumpLink if (phone) {
}) uni.navigateToMiniProgram({
appId: 'wxa690d053c34ceebd',
path: '/pages/index/index',
extraData: {
'from': 'qy',
'phone': phone
},
success(res) {}
})
} else {
this.$refs.uToast.show({
title: '您未登录,请先登录',
type: 'error',
duration: '1000',
url: '/pages/login/login'
})
}
} else if (e.dictLabel == '新医象') {
this.goycjc();
} else { } else {
uni.navigateTo({ if (e.jumpLink == '/pages/ConsultationDetails/ConsultationDetails') {
url: e.jumpLink const url = `/pages/ConsultationDetails/ConsultationDetails?goto=${'homepage'}`
}) uni.navigateTo({
url: url
})
} else if (e.jumpLink == '/pages/homepage/homepage' || e.jumpLink ==
'/pages/Personal/Personal') {
uni.switchTab({
url: e.jumpLink
})
} else {
uni.navigateTo({
url: e.jumpLink
})
}
} }
} }
}) })
@ -445,6 +475,7 @@
-webkit-line-clamp: 5; // -webkit-line-clamp: 5; //
line-clamp: 5; line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
text-align: justify;
} }
} }
} }

View File

@ -6,7 +6,7 @@
} }
.Agreement{ .Agreement{
width: 100%; width: 100%;
background-color: #F4F5F7; background-color: #fff;
text-align: center; text-align: center;
height: 1000rpx; height: 1000rpx;
position: absolute; position: absolute;

View File

@ -1,5 +1,5 @@
<template> <template>
<view class=""> <view style="text-align: justify;padding: 0 2%;">
泉医到家简称我们深知个人信息对您的重要性也感谢您对我们的信任 泉医到家简称我们深知个人信息对您的重要性也感谢您对我们的信任
我们将通过本政策向您说明我们如何收集存储保护使用及对外提供您的信息并说明您享有的权利其中要点如下 我们将通过本政策向您说明我们如何收集存储保护使用及对外提供您的信息并说明您享有的权利其中要点如下
<view class=""> <view class="">

View File

@ -177,6 +177,17 @@
children: data.data, children: data.data,
}; };
this.tabbars.push(current); this.tabbars.push(current);
if (this.tabCurrentIndex == 2) {
this.tabbars[3].children.unshift({
areaCode: "",
areaLevel: 4,
areaName: "暂不选择",
children: null,
id: 999999,
parentId: 999999999,
sort: null,
})
}
this.tabCurrentIndex++; this.tabCurrentIndex++;
// //
this.$set(this, 'scrollTop', 0) this.$set(this, 'scrollTop', 0)

View File

@ -11,7 +11,7 @@
text-align: center; text-align: center;
color: #FFFFFF; color: #FFFFFF;
position: relative; position: relative;
.determine, .determine,
.cancel { .cancel {
width: 200rpx; width: 200rpx;
@ -22,23 +22,23 @@
position: absolute; position: absolute;
top: 74%; top: 74%;
} }
.determine { .determine {
background: #4C7BC9; background: #4C7BC9;
right: 36rpx; right: 36rpx;
} }
.cancel { .cancel {
background: #C5BFBF; background: #C5BFBF;
left: 36rpx; left: 36rpx;
} }
.title { .title {
font-size: 42rpx; font-size: 42rpx;
margin-top: 40rpx; margin-top: 40rpx;
color: #000000; color: #000000;
} }
image { image {
width: 100rpx; width: 100rpx;
height: 100rpx; height: 100rpx;
@ -53,35 +53,35 @@
width: 96%; width: 96%;
height: 380rpx; height: 380rpx;
z-index: 999; z-index: 999;
.swiper-box { .swiper-box {
width: 100%; width: 100%;
height: 380rpx; height: 380rpx;
} }
.swiper-item { .swiper-item {
height: 380rpx; height: 380rpx;
text-align: center; text-align: center;
image { image {
width: 100%; width: 100%;
height: 380rpx !important; height: 380rpx !important;
z-index: 999; z-index: 999;
} }
} }
video { video {
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
} }
.hospital { .hospital {
width: 96%; width: 96%;
margin: 0 auto; margin: 0 auto;
height: 100%; height: 100%;
background-color: #fff; background-color: #fff;
.appointmenthospital { .appointmenthospital {
height: 90rpx; height: 90rpx;
font-size: 35rpx; font-size: 35rpx;
@ -91,24 +91,24 @@
margin: 0 auto; margin: 0 auto;
font-weight: 600; font-weight: 600;
} }
.tabbar { .tabbar {
display: flex; display: flex;
height: calc(100vh - 470rpx); height: calc(100vh - 470rpx);
width: 100%; width: 100%;
.lefttabbar { .lefttabbar {
width: 30%; width: 30%;
// display: inline-block; // display: inline-block;
height: 100%; height: 100%;
padding-top: 20rpx; padding-top: 20rpx;
.lefttabbarlist { .lefttabbarlist {
overflow: scroll; overflow: scroll;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
height: 100%; height: 100%;
.actives { .actives {
width: 80%; width: 80%;
color: red; color: red;
@ -123,7 +123,7 @@
font-size: 30rpx; font-size: 30rpx;
// border-radius: 25rpx 0 0 25rpx; // border-radius: 25rpx 0 0 25rpx;
} }
.active { .active {
text-align: center; text-align: center;
overflow: hidden; overflow: hidden;
@ -137,11 +137,11 @@
} }
} }
} }
.righttabbar { .righttabbar {
width: 70%; width: 70%;
height: 100%; height: 100%;
.productlist { .productlist {
padding-bottom: 40rpx; padding-bottom: 40rpx;
overflow: scroll; overflow: scroll;
@ -154,13 +154,13 @@
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-evenly; justify-content: space-evenly;
background-color: #ffffff; background-color: #ffffff;
.content { .content {
height: 500rpx; height: 500rpx;
position: relative; position: relative;
width: 100%; width: 100%;
border-bottom: 1rpx solid #D8D4D4; border-bottom: 1rpx solid #D8D4D4;
.hospitalimage { .hospitalimage {
position: absolute; position: absolute;
width: 120rpx; width: 120rpx;
@ -168,23 +168,23 @@
top: 30rpx; top: 30rpx;
left: 30rpx; left: 30rpx;
} }
.hospitalteacher { .hospitalteacher {
font-size: 36rpx; font-size: 36rpx;
position: absolute; position: absolute;
top: 60rpx; top: 60rpx;
left: 180rpx; left: 180rpx;
} }
.physician { .physician {
font-size: 24rpx; font-size: 24rpx;
color: #666666; color: #666666;
position: absolute; position: absolute;
top: 120rpx; top: 120rpx;
left: 183rpx; left: 183rpx;
} }
.words { .words {
white-space: normal; white-space: normal;
word-break: break-all; word-break: break-all;
@ -199,8 +199,9 @@
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 4; -webkit-line-clamp: 4;
text-align: justify;
} }
.appointment { .appointment {
position: absolute; position: absolute;
bottom: 25rpx; bottom: 25rpx;
@ -218,4 +219,4 @@
} }
} }
} }
} }

View File

@ -10,7 +10,7 @@
.Agreement { .Agreement {
width: 100%; width: 100%;
background-color: #F4F5F7; background-color: #fff;
text-align: center; text-align: center;
height: 1000rpx; height: 1000rpx;
position: absolute; position: absolute;

View File

@ -166,6 +166,7 @@
}, },
// //
getpickerParentValue(e) { getpickerParentValue(e) {
e = e.filter(ele => ele.localName != '暂不选择')
this.addresslength = e this.addresslength = e
this.infolist.address = '' this.infolist.address = ''
this.infolist.areaCode = '' this.infolist.areaCode = ''

View File

@ -39,7 +39,11 @@
uni.navigateBack({ uni.navigateBack({
delta: 2 delta: 2
}); });
}else{ } else if (this.delta == 1) {
uni.navigateBack({
delta: 1
});
} else {
uni.navigateBack({ uni.navigateBack({
delta: 2 delta: 2
}); });

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -1,9 +1,6 @@
import Vue from 'vue' import Vue from 'vue'
import Vuex from 'vuex' import Vuex from 'vuex'
Vue.use(Vuex) Vue.use(Vuex)
import {
insertSubscribeMessageRecord
} from '@/api/store/index.js'
const store = new Vuex.Store({ const store = new Vuex.Store({
state: { state: {
//公共的变量这里的变量不能随便修改只能通过触发mutations的方法才能改变 //公共的变量这里的变量不能随便修改只能通过触发mutations的方法才能改变
@ -12,8 +9,6 @@ const store = new Vuex.Store({
//相当于同步的操作 //相当于同步的操作
//点击确认 //点击确认
subscribesuccess(state) { subscribesuccess(state) {
const openids = uni.getStorageSync('openid');
const patientIds = uni.getStorageSync('patientId');
wx.requestSubscribeMessage({ wx.requestSubscribeMessage({
tmplIds: [ tmplIds: [
'-IxZeEkkXFhoSwGtBHbipKQ6kjEmkdTkswKeOypSsNQ', '-IxZeEkkXFhoSwGtBHbipKQ6kjEmkdTkswKeOypSsNQ',
@ -26,8 +21,6 @@ const store = new Vuex.Store({
}) })
}, },
integralsubscribesuccess(state) { integralsubscribesuccess(state) {
const openids = uni.getStorageSync('openid');
const patientIds = uni.getStorageSync('patientId');
wx.requestSubscribeMessage({ wx.requestSubscribeMessage({
tmplIds: [ tmplIds: [
'S_c9bR4znSWpXg-6ACIMn7AkaR11dzo113XM8w4CKz0' 'S_c9bR4znSWpXg-6ACIMn7AkaR11dzo113XM8w4CKz0'