diff --git a/my/order/pay.vue b/my/order/pay.vue index bade975..6b22b7e 100644 --- a/my/order/pay.vue +++ b/my/order/pay.vue @@ -44,7 +44,7 @@ - {{order.massagePrice}} + {{order.priceMarkup}} ¥{{order.price}} @@ -142,16 +142,13 @@ 项目价格 - ¥{{order.massagePrice}} + ¥{{order.priceMarkup}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} + 小计: @@ -200,7 +197,8 @@ 订单费用: - {{order.massageMoney}} + {{order.priceMarkup}} + 出行费用: @@ -272,14 +270,7 @@ 项目价格 ¥{{order.massagePrice}} - - + 小计: @@ -859,7 +850,10 @@ title: '支付成功' }) that.getOrder() - that.showpayL = false + that.showpayL = false; + uni.switchTab({ + url:'/pages/order/index' + }) } else { uni.showToast({ title: res.msg, @@ -892,6 +886,9 @@ title: '支付成功', icon: 'none' }) + uni.switchTab({ + url:'/pages/order/index' + }) that.getOrder() // this.$queue.showToast('支付成功'); @@ -927,7 +924,10 @@ title: '支付成功' }) that.getOrder() - that.showpayL = false + that.showpayL = false; + uni.switchTab({ + url:'/pages/order/index' + }) that.callPay(rea.data); } else { @@ -957,6 +957,9 @@ title: '支付成功' }) that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.showpayL = false uni.hideLoading(); const urlArr = window.location.href; @@ -991,6 +994,9 @@ title: '支付成功' }) that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.showpayL = false that.isCheckPay(rea.code, 'wxpay', JSON.stringify(rea.data)); @@ -1014,6 +1020,9 @@ title: '支付成功' }) that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.showpayL = false const div = document.createElement('div') div.innerHTML = rea.data //此处form就是后台返回接收到的数据 @@ -1036,6 +1045,9 @@ title: '支付成功' }) that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.showpayL = false that.setPayment('alipay', rea.data); @@ -1082,6 +1094,9 @@ }) that.showpayL = false that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) // that.showorderS=false; } else { @@ -1116,7 +1131,9 @@ icon: 'none' }) that.getOrder() - + uni.switchTab({ + url:'/pages/order/index' + }) that.showpayL = false // this.$queue.showToast('支付成功'); @@ -1152,6 +1169,9 @@ }) that.showpayL = false that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.callPay(rea.data); } else { @@ -1180,6 +1200,9 @@ }) that.showpayL = false that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) const urlArr = window.location.href; const hostUrl = urlArr.split("/"); const callBack = hostUrl[0] + "//" + hostUrl[2] + "/"; @@ -1211,6 +1234,9 @@ }) that.showpayL = false that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.isCheckPay(rea.code, 'wxpay', JSON.stringify(rea.data)); } @@ -1230,6 +1256,9 @@ }) that.showpayL = false that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) const div = document.createElement('div') div.innerHTML = rea.data //此处form就是后台返回接收到的数据 document.body.appendChild(div) @@ -1250,6 +1279,9 @@ }) that.showpayL = false that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.setPayment('alipay', rea.data); }); @@ -1383,7 +1415,6 @@ }); }, goOrderS(item,text) {//升级 生成订单 - let that = this that.shengji=text let data = { @@ -1433,9 +1464,12 @@ uni.showToast({ title: '支付成功' }) - uni.navigateTo({ - url:'/my/order/payShengji?ordersId='+that.tordersId + uni.switchTab({ + url:'/pages/order/index' }) + // uni.navigateTo({ + // url:'/my/order/payShengji?ordersId='+that.tordersId + // }) // that.getOrder() // that.showorderS=false; @@ -1469,8 +1503,8 @@ uni.showToast({ title: '支付成功' }) - uni.navigateTo({ - url:'/my/order/payShengji?ordersId='+that.tordersId + uni.switchTab({ + url:'/pages/order/index' }) // this.$queue.showToast('支付成功'); @@ -1505,8 +1539,8 @@ uni.showToast({ title: '支付成功' }) - uni.navigateTo({ - url:'/my/order/payShengji?ordersId='+that.tordersId + uni.switchTab({ + url:'/pages/order/index' }) that.callPay(rea.data); @@ -1534,8 +1568,8 @@ uni.showToast({ title: '支付成功' }) - uni.navigateTo({ - url:'/my/order/payShengji?ordersId='+that.tordersId + uni.switchTab({ + url:'/pages/order/index' }) const urlArr = window.location.href; const hostUrl = urlArr.split("/"); @@ -1565,8 +1599,8 @@ uni.showToast({ title: '支付成功' }) - uni.navigateTo({ - url:'/my/order/payShengji?ordersId='+that.tordersId + uni.switchTab({ + url:'/pages/order/index' }) that.isCheckPay(rea.code, 'wxpay', JSON.stringify(rea.data)); } @@ -1584,8 +1618,8 @@ uni.showToast({ title: '支付成功' }) - uni.navigateTo({ - url:'/my/order/payShengji?ordersId='+that.tordersId + uni.switchTab({ + url:'/pages/order/index' }) const div = document.createElement('div') div.innerHTML = rea.data //此处form就是后台返回接收到的数据 @@ -1604,8 +1638,8 @@ uni.showToast({ title: '支付成功' }) - uni.navigateTo({ - url:'/my/order/payShengji?ordersId='+that.tordersId + uni.switchTab({ + url:'/pages/order/index' }) that.setPayment('alipay', rea.data); }); diff --git a/my/order/payCLDetail.vue b/my/order/payCLDetail.vue index c65e838..eddd949 100644 --- a/my/order/payCLDetail.vue +++ b/my/order/payCLDetail.vue @@ -157,8 +157,8 @@ ¥{{order.oldMassagePrice}} - 会员折扣 - {{order.vipRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} @@ -291,8 +291,8 @@ ¥{{order.ordersMassageList[0].userPackageDetail.packagePrice}} - 会员折扣 - {{order.vipRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} diff --git a/my/order/payJaZ.vue b/my/order/payJaZ.vue index 4df6a9d..a6df5e4 100644 --- a/my/order/payJaZ.vue +++ b/my/order/payJaZ.vue @@ -43,7 +43,7 @@ - {{order.massagePrice}} + {{order.priceMarkup}} @@ -142,16 +142,12 @@ 项目价格 - ¥{{order.massagePrice}} - ¥{{order.oldMassagePrice}} + ¥{{order.priceMarkup}} + ¥{{order.oldPriceMarkup}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} @@ -210,7 +206,7 @@ 加钟价格 - ¥{{order.addPrice}} + ¥{{order.addPriceMarkup}} 加钟时长 @@ -221,13 +217,10 @@ {{order.addNum}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.addVipReductionMoney}} + 小计: ¥{{order.massagePrice}} ¥{{order.oldMassagePrice}} - + + 小计: @@ -393,7 +380,7 @@ 加钟价格 - ¥{{order.addPrice}} + ¥{{order.addPriceMarkup}} 加钟时长 @@ -404,13 +391,10 @@ {{order.addNum}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.addVipReductionMoney}} + 小计: - {{orderXm.price}} + + {{technicianRate}} + + {{orderXm.price}} @@ -121,26 +124,6 @@ - @@ -300,7 +283,8 @@ couponDataList:'', orderXm:[], number:1, - qyMinNum:'' + qyMinNum:'', + technicianRate:'' } }, onLoad(e) { @@ -319,15 +303,14 @@ this.yearsDate = Time; this.jishiName=this.$queue.getData('getJishi'); - if(this.jishiName){ - this.getMsTime(Time); - } + this.couponId=this.$queue.getData('youhui'); if(this.couponId){ this.youhuiF(this.couponId) } this.orderXm=this.$queue.getData('xiangmu');//上一个页面带过来的全部数据 console.log("this.orderXm",this.orderXm) + this.ordersId = this.$queue.getData('ordersId'); this.userPackageDetailId = this.$queue.getData('userPackageDetailId'); this.youhui() @@ -335,6 +318,10 @@ this.qyMinNum=this.orderXm.qyMinNum; this.number=this.orderXm.qyMinNum; } + if(this.jishiName){ + this.getMsTime(Time); + this.technicianRate=Math.ceil((this.orderXm.price*this.number)+(this.orderXm.price*this.number*(this.jishiName.technicianTypeRate/100))) + } }, onShow() { diff --git a/my/order/payModifyDd.vue b/my/order/payModifyDd.vue index bfa8270..4d6c730 100644 --- a/my/order/payModifyDd.vue +++ b/my/order/payModifyDd.vue @@ -26,10 +26,16 @@ - + - {{orderXm.price}} - + + {{technicianRate}} + + {{orderXm.priceMarkup}} + + + + {{orderXm.priceMarkup}} @@ -302,6 +308,7 @@ couponDataList:'', orderXm:[], number:1, + technicianRate:'' } }, onLoad(e) { @@ -319,9 +326,7 @@ let Time = year + '-' + fullDate this.yearsDate = Time; this.jishiName=this.$queue.getData('getJishi'); - if(this.jishiName){ - this.getMsTime(Time); - } + this.couponId=this.$queue.getData('youhui'); if(this.couponId){ this.youhuiF(this.couponId) @@ -332,7 +337,11 @@ console.log('this.orderXm',this.orderXm) this.youhui() // this.getOrder() - // couponMoney + if(this.jishiName){ + this.getMsTime(Time); + this.technicianRate=Math.ceil(this.orderXm.price+(this.orderXm.price*(this.jishiName.technicianTypeRate/100))) + console.log("jishiName",this.jishiName) + } }, onShow() { diff --git a/my/order/payModifyDzhifu.vue b/my/order/payModifyDzhifu.vue index c6defdf..d9ef14d 100644 --- a/my/order/payModifyDzhifu.vue +++ b/my/order/payModifyDzhifu.vue @@ -36,9 +36,15 @@ - + - {{orderXm.massagePrice}} + + {{technicianRate}} + + + + + {{orderXm.priceMarkup}} @@ -324,6 +330,7 @@ couponDataList:'', orderXm:[], number:1, + technicianRate:'' } }, onLoad(e) { @@ -345,17 +352,18 @@ this.userPackageDetailId = this.$queue.getData('userPackageDetailId'); this.youhui() this.jishiName=this.$queue.getData('getJishi'); - if(this.jishiName){ - this.getMsTime(Time); - }else{ - this.jishiName=this.orderXm; - } - console.log("this.jishiName===>",this.orderXm) this.couponId=this.$queue.getData('youhui'); if(this.couponId){ this.youhuiF(this.couponId) } - + if(this.jishiName){ + this.getMsTime(Time); + this.technicianRate=Math.ceil(this.orderXm.price+(this.orderXm.price*(this.jishiName.technicianTypeRate/100))) + }else{ + this.jishiName=this.orderXm; + this.technicianRate=Math.ceil(this.orderXm.price+(this.orderXm.price*(this.orderXm.technicianRate/100))) + } + console.log("jishiName",this.jishiName) // this.getOrder() }, diff --git a/my/order/payModifyTcMyDaiB.vue b/my/order/payModifyTcMyDaiB.vue index 1f00583..fe8f2ea 100644 --- a/my/order/payModifyTcMyDaiB.vue +++ b/my/order/payModifyTcMyDaiB.vue @@ -44,7 +44,7 @@ - {{order.massagePrice}} + {{order.priceMarkup}} @@ -144,16 +144,13 @@ 项目价格 - ¥{{order.massagePrice}} + ¥{{order.priceMarkup}} - 会员折扣 - {{order.vipRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} - - 技师加成 - {{order.technicianRate}}% - + 小计: 订单费用: {{order.massageMoney}} + style="font-size: 26rpx;font-weight: bold;">{{order.priceMarkup}} 出行费用: diff --git a/my/order/payShengji.vue b/my/order/payShengji.vue index 5366285..93e9a0c 100644 --- a/my/order/payShengji.vue +++ b/my/order/payShengji.vue @@ -37,7 +37,7 @@ - {{order.massagePrice}} + {{order.priceMarkup}} @@ -135,21 +135,18 @@ 项目价格 - ¥{{order.massagePrice}} - ¥{{order.oldMassagePrice}} + ¥{{order.priceMarkup}} + ¥{{order.oldPriceMarkup}} 下单数量 {{order.massageNum}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} + 小计: @@ -205,7 +202,7 @@ 加钟价格 - ¥{{order.addPrice}} + ¥{{order.addPriceMarkup}} 加钟时长 @@ -216,13 +213,10 @@ {{order.addNum}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.addVipReductionMoney}} + 小计: 项目价格 - ¥{{order.massagePrice}} + ¥{{order.priceMarkup}} 服务时长 @@ -250,16 +244,13 @@ 升级差额 - ¥{{(order.massagePrice - order.oldMassagePrice).toFixed(2)}} + ¥{{(order.priceMarkup - order.oldPriceMarkup).toFixed(2)}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} + 小计: @@ -276,10 +267,11 @@ 订单费用: - {{order.massageMoney}} + {{order.priceMarkup}} {{order.oldMassageMoney}} + style="font-size: 26rpx;font-weight: bold;">{{order.oldPriceMarkup}} + @@ -374,11 +366,6 @@ 下单数量 {{order.massageNum}} - - 小计: @@ -434,7 +421,7 @@ 加钟价格 - ¥{{order.addPrice}} + ¥{{order.addPriceMarkup}} 加钟时长 @@ -445,13 +432,10 @@ {{order.addNum}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.addVipReductionMoney}} + 小计: 项目价格 - ¥{{order.massagePrice}} + ¥{{order.priceMarkup}} 服务时长 @@ -479,16 +463,13 @@ 升级差额 - ¥{{(order.massagePrice-order.oldMassagePrice).toFixed(2)}} + ¥{{(order.priceMarkup-order.oldPriceMarkup).toFixed(2)}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} + 小计: - {{order.massagePrice}} + {{order.priceMarkup}} @@ -142,16 +142,13 @@ 项目价格 - ¥{{order.massagePrice}} + ¥{{order.priceMarkup}} - 会员折扣 - {{order.vipRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} - - 技师加成 - {{order.technicianRate}}% - + 小计: 订单费用: {{order.massageMoney}} + style="font-size: 26rpx;font-weight: bold;">{{order.priceMarkup}} 出行费用: diff --git a/my/order/paydingCi.vue b/my/order/paydingCi.vue index 86d92fb..ba5e7ca 100644 --- a/my/order/paydingCi.vue +++ b/my/order/paydingCi.vue @@ -70,9 +70,9 @@ 优惠券 -¥{{order.couponMoney}} - - 会员折扣 - {{order.vipRate}}% + + 会员减免 + -¥{{order.vipReductionMoney}} 总金额 diff --git a/my/order/paydingDd.vue b/my/order/paydingDd.vue index 83f1929..30542bf 100644 --- a/my/order/paydingDd.vue +++ b/my/order/paydingDd.vue @@ -184,9 +184,7 @@ {{order.sumMoney}} - - 会员折扣{{order.vipRate}}%,技师浮动比例{{order.techniciaRate}}% - --> + --> @@ -202,8 +200,9 @@ -¥{{order.couponMoney}} - 会员折扣 - {{order.vipRate}}% + + 会员减免 + -¥{{order.vipReductionMoney}} 技师等级 diff --git a/my/order/paydingLiao.vue b/my/order/paydingLiao.vue index 993cccd..0e9b86d 100644 --- a/my/order/paydingLiao.vue +++ b/my/order/paydingLiao.vue @@ -70,9 +70,10 @@ 优惠券 -¥{{order.couponMoney}} - - 会员折扣 - {{order.vipRate}}% + + + 会员减免 + -¥{{order.vipReductionMoney}} 总金额 diff --git a/my/order/paydingTCX.vue b/my/order/paydingTCX.vue index fcef045..8bfda4f 100644 --- a/my/order/paydingTCX.vue +++ b/my/order/paydingTCX.vue @@ -144,13 +144,10 @@ ¥{{order.massagePrice}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} + 应付金额 ¥{{order.massagePrice}} diff --git a/my/order/paydingTc.vue b/my/order/paydingTc.vue index 12771b7..d3c1e30 100644 --- a/my/order/paydingTc.vue +++ b/my/order/paydingTc.vue @@ -63,9 +63,10 @@ 优惠券 -¥{{order.couponMoney}} - - 会员折扣 - {{order.vipRate}}% + + + 会员减免 + -¥{{order.vipReductionMoney}} 总金额 diff --git a/my/order/paydingXiuGai.vue b/my/order/paydingXiuGai.vue index 325cd74..f0e0314 100644 --- a/my/order/paydingXiuGai.vue +++ b/my/order/paydingXiuGai.vue @@ -156,8 +156,8 @@ ¥{{order.massagePrice}} - 会员折扣 - {{order.vipRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} 小计: @@ -222,9 +222,7 @@ {{order.sumMoney}} - - 会员折扣{{order.vipRate}}%,技师浮动比例{{order.techniciaRate}}% - --> + --> @@ -256,10 +254,7 @@ 优惠券 -¥{{order.couponMoney}} - - 会员折扣 - {{order.vipRate}}% - + 服务费用 diff --git a/pages/order/index.vue b/pages/order/index.vue index 84911f9..6fa68db 100644 --- a/pages/order/index.vue +++ b/pages/order/index.vue @@ -470,6 +470,7 @@ }, goNav(url,item,text) { this.$queue.setData('xiangmu',item); + this.$queue.setData('getJishi','') if(item.isSupplement=='2'){//如果有订单有升级 那就去升级订单详情 if(item.addNum||item.isSupplement=='2'){ uni.navigateTo({ diff --git a/pages/therapist/orderDetail.vue b/pages/therapist/orderDetail.vue index fb37422..a7dc267 100644 --- a/pages/therapist/orderDetail.vue +++ b/pages/therapist/orderDetail.vue @@ -42,8 +42,8 @@ 专家 --> - - 资深 + + {{order.technicianTypeName}} diff --git a/pages/videoCircle/index.vue b/pages/videoCircle/index.vue index db02960..f61f957 100644 --- a/pages/videoCircle/index.vue +++ b/pages/videoCircle/index.vue @@ -4,6 +4,7 @@ 系统建设中,敬请期待! + @@ -11,7 +12,7 @@ @timeupdate="long($event,item,index)" :id="'Video'+index" class="video" :show-center-play-btn='false' :controls="false" object-fit="cover" :autoplay='false' loop src="https://media.w3.org/2010/05/sintel/trailer.mp4"> - + @@ -300,7 +301,7 @@ .video { flex: 1; width: 100%; - height: 97%; + height: 90%; } .back {