From de1be498b7a09df4f4fcc95ea730a5c36cfdccd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com>
Date: Mon, 22 Jul 2024 16:51:13 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2=E8=B0=83?=
=?UTF-8?q?=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
my/order/payding.vue | 19 ++--
my/order/paydingTCX.vue | 196 +++++++++++++++++++++-------------------
2 files changed, 109 insertions(+), 106 deletions(-)
diff --git a/my/order/payding.vue b/my/order/payding.vue
index c14b36c..f7c43de 100644
--- a/my/order/payding.vue
+++ b/my/order/payding.vue
@@ -83,7 +83,7 @@
服务地址
- {{order.address}}
+ {{order.address}}
@@ -120,7 +120,7 @@
- 订单编号
+ 订单编号
{{order.ordersNo}}
@@ -196,9 +196,9 @@
-¥{{order.couponMoney}}
-
-
- 备注内容
+
+ 备注
{{order.remark}}
@@ -1766,7 +1766,7 @@
font-weight: bold;
font-size: 32rpx;
color: #333333;
- margin-bottom: 8px;
+ margin-bottom: 12px;
}
page {
background: #f7f7f7;
@@ -1950,9 +1950,6 @@
.head-text{
font-size:30rpx;
}
- .zhuangtai{
- color: #029D88;
- }
.level_button{
padding: 3rpx 13rpx;
background: linear-gradient(to right, #fe9131, #ff9869);
@@ -2002,9 +1999,9 @@
color: #333;
}
.jusitify-line-end{
- height: 1px;
- border-bottom: 1px #f4f4f4 solid;
- margin: 15px 0;
+ height:1px;
+ border-bottom: 1px #e5e5e5 solid;
+ margin: 30rpx 0;
}
.head-title{
font-weight: bold;
diff --git a/my/order/paydingTCX.vue b/my/order/paydingTCX.vue
index 8bfda4f..87db8c6 100644
--- a/my/order/paydingTCX.vue
+++ b/my/order/paydingTCX.vue
@@ -1,8 +1,8 @@
-
+
@@ -15,11 +15,11 @@
-
+
{{order.entryName}}
- 待付款...
+ 待支付
待服务
已完成
服务中
@@ -33,14 +33,15 @@
-
+
- {{order.duration}}分钟
+ 服务时长:{{order.duration}}分钟
+ 项目价格:
¥
{{order.massagePrice}}
@@ -62,21 +63,21 @@
-
- 下单人
-
+
+ 客户姓名
+
{{order.userName}}
-
- 联系方式
-
+
+ 联系方式
+
{{order.phone ? order.phone.substring(0,3) + '****' + order.phone.substring(7,11) : ''}}
-
- 服务地址
- {{order.address}}
+
+ 服务地址
+ {{order.address}}
@@ -94,8 +95,7 @@
- {{order.technicianType=='3'?'新手':order.technicianType=='4'?'专家':order.technicianType=='5'?'资深':''}}
-
+ {{order.technicianTypeName}}
@@ -104,21 +104,21 @@
- 订单编号
-
- {{order.ordersNo}}
-
+ 订单编号
+
+ {{order.ordersNo}}
+
+
- 预约时间
- {{order.serveTime}}
+ 预约时间
+ {{order.serveTime}}
- 下单时间
- {{order.createTime}}
+ 下单时间
+ {{order.createTime}}
@@ -126,38 +126,35 @@
- {{order.packageType=='105'?'项目次卡':order.packageType=='106'?'服务疗程':'套餐名称'}}
-
+ {{order.packageType=='105'?'项目次卡':order.packageType=='106'?'服务疗程':'套餐名称'}}
+
{{order.ordersMassageList[0].userPackageDetail.mainTitle}}
- 项目名称
- {{order.entryName}}
+ 项目名称
+ {{order.entryName}}
- 服务时长
- {{order.duration}}分钟
+ 服务时长
+ {{order.duration}}分钟
- 项目价格
- ¥{{order.massagePrice}}
+ 项目价格
+ ¥{{order.massagePrice}}
+
- 会员减免
- -¥{{order.vipReductionMoney}}
+ 应付金额
+ ¥{{order.massagePrice}}
-
-
- 应付金额
- ¥{{order.massagePrice}}
-
-
- 实付金额:
-
-
- ¥0
-
+
+ 实付金额:
+
+ ¥0
@@ -166,41 +163,43 @@
- 出行方式
- 公交
- 出租
- 免费
+ 出行方式
+ 公交
+ 出租
+ 免费
- 全程距离
- {{order.km}}km
+ 全程距离
+ {{order.km}}km
- 出行交通费用
- ¥{{order.taxiMoney}}
- -
+ 出行费用
+ ¥{{order.taxiMoney}}
- 备注内容
- {{order.remark}}
+
+ 备注
+ {{order.remark}}
- 费用明细
+
+ 费用明细
+
+
- 订单费用:
- ¥0
+ 订单费用
+ ¥0
- 出行费用:
- ¥{{order.taxiMoney}}
- -
+ 出行费用
+ ¥{{order.taxiMoney}}
-
- 总金额
- ¥{{order.taxiMoney}}
+
+ 合计:
+ ¥{{order.taxiMoney}}
@@ -562,6 +561,15 @@
this.loading = false
uni.hideLoading()
this.order = res.data;
+ if(res.data["technicianType"] == 3){
+ this.order["technicianTypeName"] = "新手"
+ }
+ if(res.data["technicianType"] == 4){
+ this.order["technicianTypeName"] = "专家"
+ }
+ if(res.data["technicianType"] == 5){
+ this.order["technicianTypeName"] = "资深"
+ }
var date = new Date(); // 当前日期和时间
var timestamp = this.getTimeStampWithoutSeconds(date); // 不含秒的时间戳
const twoHoursInMilliseconds = 2 * 60 * 60 * 1000; // 两个小时的毫秒数
@@ -1721,7 +1729,6 @@
justify-content: space-between;
}
-
.dingshi{
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
@@ -1729,6 +1736,7 @@
.zhuangtai{
color: #029D88;
font-weight: bold;
+ font-size: 32rpx;
}
.head-title-right{
display: flex;
@@ -1736,22 +1744,12 @@
align-items: center;
justify-content: space-between;
}
- .head-title{
- margin-top: -2px;display: inline-block;
- width: 300rpx;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
.fei-view-list span,.fei-view-list-z span{
- font-weight: bold;
- font-size: 25rpx;
+ font-size: 30rpx;
}
.fei-view-list-z{
height: 65rpx;
- background-color: rgba(247, 247, 247, 0.8);
- border-radius: 33rpx;
- padding: 0px 10px;
+ padding-top: 20rpx;
}
.fei-view-list span:nth-child(1),.fei-view-list-z span:nth-child(1){
color: #666666;
@@ -1836,8 +1834,8 @@
font-weight: bold;
}
.d-touxiang{
- width: 46rpx;
- height: 46rpx;
+ width: 60rpx;
+ height: 60rpx;
border-radius: 50%;
}
.money-pay-jia{
@@ -1849,12 +1847,7 @@
}
.money-pay-zhen span{
color: #FF6000;
- }
- .money-pay-zhen span:nth-child(1){
- font-size: 25rpx;
- }
- .money-pay-zhen span:nth-child(2){
- font-size: 31.25rpx;
+ font-size: 32rpx;
font-weight: bold;
}
.money-pay-zhen{
@@ -1871,7 +1864,7 @@
.head-top{
background-color: #ffffff;
border-radius: 24rpx;
- padding: 29rpx;
+ padding: 30rpx;
}
.content{
padding-bottom: 140rpx;
@@ -1883,7 +1876,7 @@
font-weight: bold;
font-size: 32rpx;
color: #333333;
- margin-bottom: 8px;
+ margin-bottom: 12px;
}
page {
background: #f7f7f7;
@@ -2067,8 +2060,8 @@
font-size:30rpx;
}
.add-lin{
- height: 80rpx;
- line-height: 80rpx;
+ height: 74rpx;
+ line-height: 74rpx;
}
.add-con-title{
color: #999;
@@ -2108,8 +2101,21 @@
color: #333;
}
.jusitify-line-end{
- height: 1px;
- border-bottom: 1px #f4f4f4 solid;
- margin: 15px 0;
+ height:1px;
+ border-bottom: 1px #e5e5e5 solid;
+ margin: 30rpx 0;
+ }
+ .head-title{
+ font-weight: bold;
+ font-size: 32rpx;
+ color: #333333;
+ }
+ .title-font{
+ font-size: 30rpx;
+ color: #666666;
+ }
+ .value-font{
+ font-size: 30rpx;
+ color: #333333;
}
\ No newline at end of file