From 8363be8f8843146f1e15d30de125762778dbd8c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com> Date: Tue, 3 Sep 2024 17:11:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A2=E5=8D=95=E6=97=A0=E6=B3=95=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=8A=80=E5=B8=88BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my/address/address.vue | 9 ++-- my/order/payModifyDzhifu.vue | 91 +++++++++++++++++++-------------- my/order/payModifyTcMy.vue | 4 +- pages/my/hangyedana.vue | 32 ++++++------ pages/therapist/orderDetail.vue | 46 +++++++++-------- 5 files changed, 102 insertions(+), 80 deletions(-) diff --git a/my/address/address.vue b/my/address/address.vue index 8cb1f29..93c522b 100644 --- a/my/address/address.vue +++ b/my/address/address.vue @@ -62,7 +62,8 @@ address: '', isfa: '', noneData:'地址', - orderXm:[] + orderXm:[], + pageName:'', } }, onShow() { @@ -73,8 +74,9 @@ }, onLoad(e) { this.isfa = e.id + this.pageName = e.pageName + console.log(this.pageName); - let userId = this.$queue.getData('userId'); if (userId) { this.getAddressList(); @@ -90,7 +92,8 @@ this.updateaddress() }else if (this.isfa == 2) { uni.reLaunch({ - url:'/my/order/payModify' + // url:'/my/order/payModify', + url:'/my/order/'+this.pageName, }) }else if (this.isfa == '104') { uni.reLaunch({ diff --git a/my/order/payModifyDzhifu.vue b/my/order/payModifyDzhifu.vue index d62b9d0..f5602ff 100644 --- a/my/order/payModifyDzhifu.vue +++ b/my/order/payModifyDzhifu.vue @@ -31,7 +31,7 @@ - {{orderXm.duration}}分钟 + 时长:{{orderXm.duration}}分钟 @@ -39,11 +39,10 @@ 价格: - - {{technicianRate}} - + {{technicianRate}} + 价格: {{orderXm.priceMarkup}} @@ -56,7 +55,7 @@ - + 请选择地址 @@ -124,15 +123,15 @@ --> - - - 技师 + + {{jishiName.technicianTypeName}} + 技师 - - {{jishiName.artificerName?jishiName.artificerName:jishiName.artificer.artificerName}} - 选择不同技师价格可能不一样哦~ - + + {{jishiName.artificerName?jishiName.artificerName:jishiName.artificer.artificerName}} + 选择不同技师价格可能不一样哦~ + - - - 平台优惠劵 + + + 优惠券 @@ -157,26 +156,24 @@ - - + + 服务时间 - + {{startTime}} - 请选择预约时间 - - + 请选择预约时间 + - + 给技师捎句话 @@ -429,6 +426,15 @@ this.technicianRate=Math.ceil(this.orderXm.price+(this.orderXm.price*(this.orderXm.technicianRate/100))) } console.log("orderXm",this.orderXm) + + if(this.orderXm.ordersMassageList[0].userPackageDetail !=null){ + this.orderXm.classifyId = this.orderXm.ordersMassageList[0].userPackageDetail.classifyId + this.orderXm.city = this.orderXm.ordersMassageList[0].userPackageDetail.city + }else{ + this.orderXm.classifyId = this.orderXm.ordersMassageList[0].massageType.classifyId + this.orderXm.city = this.orderXm.ordersMassageList[0].massageType.city + } + // this.getOrder() }, @@ -754,7 +760,7 @@ // title:'请同意服务保障!' // }) // } - + if(this.jishiName==''||this.jishiName==undefined){ uni.showToast({ title:'请选择技师,不同等级技师价格不同!' @@ -813,14 +819,15 @@ let massageTypeId = this.orderXm.massageTypeId?this.orderXm.massageTypeId:this.orderXm.ordersMassageList[0].massageType.massageTypeId; let longitude = this.longitude; let latitude = this.latitude; - let classifyId= this.orderXm.classifyId?this.orderXm.classifyId:this.orderXm.ordersMassageList[0].massageType.classifyId; - let city=this.orderXm.city?this.orderXm.city:this.orderXm.ordersMassageList[0].massageType.city; + let classifyId= this.orderXm.classifyId; + let city=this.orderXm.city; + let technicianType=this.orderXm.technicianType uni.setStorage({ key: 'taocanDd', data: '修改', success: function () { uni.navigateTo({ - url: '/pages/therapist/therapistDingdan?massageTypeId='+massageTypeId+'&latitude='+latitude+'&longitude='+longitude+'&classifyId='+classifyId+'&city='+city + url: '/pages/therapist/therapistDingdan?massageTypeId='+massageTypeId+'&latitude='+latitude+'&longitude='+longitude+'&classifyId='+classifyId+'&city='+city+'&technicianType='+technicianType }) } }); @@ -891,7 +898,7 @@ }); } else { uni.navigateTo({ - url: '../address/address?id=' + 2 + url: '../address/address?id=' + 2 +'&pageName=payModifyDzhifu' }) } @@ -1475,7 +1482,7 @@ .header-margin{ margin:20rpx; } - + .kuaijie-btn{ width: 100%; height: 40px; @@ -1484,7 +1491,7 @@ font-weight: bold; font-size: 14px; margin-top: 10px; - + // color: #049F89; } .huiBtn { @@ -1516,7 +1523,11 @@ justify-content: space-between; } .title-font{ - font-size:30rpx; + font-size: 30rpx; + color: #666666; + } + .value-font{ + font-size: 30rpx; color: #333333; } .head-bottom{ @@ -1561,9 +1572,9 @@ } .pay-title{ font-weight: bold; - font-size: 31rpx; + font-size: 32rpx; color: #333333; - margin-bottom: 8px; + margin-bottom: 12px; } .view-more{ display:inline-block; @@ -1585,9 +1596,9 @@ } .header-bottom-money-zhen span{ - color: #F95900 !important; - font-weight: bold !important; - font-size: 26rpx !important; + color: #FF6000 !important; + font-size:32rpx !important; + font-weight: bold; } .header-bottom-money-zhen{ display: flex; @@ -1758,6 +1769,12 @@ align-items: center; justify-content: space-between; } + .jusitify-line{ + height: 78rpx; + padding: 20rpx 0; + display: flex; + justify-content: space-between; + } .adders-view image{ margin-top: 5px; } @@ -1868,8 +1885,6 @@ } .d-title{ font-weight: bold; - font-size: 32rpx; - color: #333333; display: flex; flex-direction: row; justify-content: space-between; diff --git a/my/order/payModifyTcMy.vue b/my/order/payModifyTcMy.vue index 25055ac..662e174 100644 --- a/my/order/payModifyTcMy.vue +++ b/my/order/payModifyTcMy.vue @@ -94,7 +94,7 @@ {{startTime}} 请选择预约时间 - + @@ -1410,7 +1410,7 @@ font-weight: bold; font-size: 14px; margin-top: 10px; - + // color: #049F89; } .huiBtn { diff --git a/pages/my/hangyedana.vue b/pages/my/hangyedana.vue index 0e864bf..5f7d22d 100644 --- a/pages/my/hangyedana.vue +++ b/pages/my/hangyedana.vue @@ -19,7 +19,7 @@ - +