diff --git a/my/order/pay.vue b/my/order/pay.vue index b18398e..638a540 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,7 @@ 订单费用: - {{order.massageMoney}} + {{order.priceMarkup}} 出行费用: @@ -272,14 +269,7 @@ 项目价格 ¥{{order.massagePrice}} - - + 小计: @@ -858,7 +848,10 @@ title: '支付成功' }) that.getOrder() - that.showpayL = false + that.showpayL = false; + uni.switchTab({ + url:'/pages/order/index' + }) } else { uni.showToast({ title: res.msg, @@ -891,6 +884,9 @@ title: '支付成功', icon: 'none' }) + uni.switchTab({ + url:'/pages/order/index' + }) that.getOrder() // this.$queue.showToast('支付成功'); @@ -926,7 +922,10 @@ title: '支付成功' }) that.getOrder() - that.showpayL = false + that.showpayL = false; + uni.switchTab({ + url:'/pages/order/index' + }) that.callPay(rea.data); } else { @@ -956,6 +955,9 @@ title: '支付成功' }) that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.showpayL = false uni.hideLoading(); const urlArr = window.location.href; @@ -990,6 +992,9 @@ title: '支付成功' }) that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.showpayL = false that.isCheckPay(rea.code, 'wxpay', JSON.stringify(rea.data)); @@ -1013,6 +1018,9 @@ title: '支付成功' }) that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.showpayL = false const div = document.createElement('div') div.innerHTML = rea.data //此处form就是后台返回接收到的数据 @@ -1035,6 +1043,9 @@ title: '支付成功' }) that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.showpayL = false that.setPayment('alipay', rea.data); @@ -1081,6 +1092,9 @@ }) that.showpayL = false that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) // that.showorderS=false; } else { @@ -1115,7 +1129,9 @@ icon: 'none' }) that.getOrder() - + uni.switchTab({ + url:'/pages/order/index' + }) that.showpayL = false // this.$queue.showToast('支付成功'); @@ -1151,6 +1167,9 @@ }) that.showpayL = false that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.callPay(rea.data); } else { @@ -1179,6 +1198,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] + "/"; @@ -1210,6 +1232,9 @@ }) that.showpayL = false that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.isCheckPay(rea.code, 'wxpay', JSON.stringify(rea.data)); } @@ -1229,6 +1254,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) @@ -1249,6 +1277,9 @@ }) that.showpayL = false that.getOrder() + uni.switchTab({ + url:'/pages/order/index' + }) that.setPayment('alipay', rea.data); }); @@ -1382,7 +1413,6 @@ }); }, goOrderS(item,text) {//升级 生成订单 - let that = this that.shengji=text let data = { @@ -1432,9 +1462,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; @@ -1468,8 +1501,8 @@ uni.showToast({ title: '支付成功' }) - uni.navigateTo({ - url:'/my/order/payShengji?ordersId='+that.tordersId + uni.switchTab({ + url:'/pages/order/index' }) // this.$queue.showToast('支付成功'); @@ -1504,8 +1537,8 @@ uni.showToast({ title: '支付成功' }) - uni.navigateTo({ - url:'/my/order/payShengji?ordersId='+that.tordersId + uni.switchTab({ + url:'/pages/order/index' }) that.callPay(rea.data); @@ -1533,8 +1566,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("/"); @@ -1564,8 +1597,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)); } @@ -1583,8 +1616,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就是后台返回接收到的数据 @@ -1603,8 +1636,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 ce6ef93..385b6a1 100644 --- a/my/order/payJaZ.vue +++ b/my/order/payJaZ.vue @@ -43,7 +43,7 @@ - {{order.massagePrice}} + {{order.priceMarkup}} @@ -142,17 +142,14 @@ 项目价格 - ¥{{order.massagePrice}} - ¥{{order.oldMassagePrice}} + ¥{{order.priceMarkup}} + ¥{{order.oldPriceMarkup}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.vipReductionMoney}} + 小计: @@ -210,7 +207,7 @@ 加钟价格 - ¥{{order.addPrice}} + ¥{{order.addPriceMarkup}} 加钟时长 @@ -221,13 +218,10 @@ {{order.addNum}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.addVipReductionMoney}} + 小计: ¥{{order.massagePrice}} ¥{{order.oldMassagePrice}} - + + 小计: @@ -395,7 +383,7 @@ 加钟价格 - ¥{{order.addPrice}} + ¥{{order.addPriceMarkup}} 加钟时长 @@ -406,13 +394,10 @@ {{order.addNum}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.addVipReductionMoney}} + 小计: - {{orderXm.price}} + + {{technicianRate}} + + {{orderXm.price}} @@ -122,26 +125,6 @@ - @@ -299,7 +282,8 @@ couponDataList:'', orderXm:[], number:1, - qyMinNum:'' + qyMinNum:'', + technicianRate:'' } }, onLoad(e) { @@ -318,15 +302,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() @@ -334,6 +317,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 5b0c544..ca57b06 100644 --- a/my/order/payModifyDd.vue +++ b/my/order/payModifyDd.vue @@ -26,10 +26,16 @@ - + - {{orderXm.price}} - + + {{technicianRate}} + + {{orderXm.priceMarkup}} + + + + {{orderXm.priceMarkup}} @@ -301,6 +307,7 @@ couponDataList:'', orderXm:[], number:1, + technicianRate:'' } }, onLoad(e) { @@ -318,9 +325,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) @@ -331,7 +336,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 89a4d6a..56a6b42 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,10 @@ 订单费用: - {{order.massageMoney}} + {{order.priceMarkup}} {{order.oldMassageMoney}} + style="font-size: 26rpx;font-weight: bold;">{{order.oldPriceMarkup}} @@ -374,11 +365,6 @@ 下单数量 {{order.massageNum}} - - 小计: @@ -434,7 +420,7 @@ 加钟价格 - ¥{{order.addPrice}} + ¥{{order.addPriceMarkup}} 加钟时长 @@ -445,13 +431,10 @@ {{order.addNum}} - 会员折扣 - {{order.vipRate}}% - - - 技师加成 - {{order.technicianRate}}% + 会员减免 + -¥{{order.addVipReductionMoney}} + 小计: 项目价格 - ¥{{order.massagePrice}} + ¥{{order.priceMarkup}} 服务时长 @@ -479,16 +462,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 {