From 23b11c4bff5d4057dd8ee2bf6a328b02f7d9e97c Mon Sep 17 00:00:00 2001
From: wangxiaowei <1121133807@qq.com>
Date: Fri, 24 Oct 2025 14:22:31 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=A2=84=E7=BA=A6popup?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
bundle/reserve/reserve.vue | 114 +++++++++++++++++++++++++++++++++++--
components/uni-popup.vue | 1 +
static/icon/up.png | Bin 0 -> 535 bytes
3 files changed, 111 insertions(+), 4 deletions(-)
create mode 100644 static/icon/up.png
diff --git a/bundle/reserve/reserve.vue b/bundle/reserve/reserve.vue
index 23f7dec..3c4f3cc 100644
--- a/bundle/reserve/reserve.vue
+++ b/bundle/reserve/reserve.vue
@@ -16,7 +16,7 @@
立即预约
-
+
+
+
+
+
@@ -116,13 +178,13 @@
],
selectedTime: [],
- countSelectedTime: 0
+ countSelectedTime: 0,
+ billPopup: false,
};
},
onLoad(args) {
this.getData();
-
},
methods: {
@@ -171,6 +233,7 @@
this.currentTime = index;
},
+ // 计算时长
handleSelectTime(time) {
const idx = this.selectedTime.indexOf(time)
if (idx > -1) {
@@ -181,6 +244,18 @@
// 计算时长
this.countSelectedTime = this.selectedTime.length * 1
+ },
+
+ // 显示费用明细
+ handleShowBill() {
+ this.billPopup = true;
+ this.timePopup = false;
+ },
+
+ // 显示选择时间
+ handleShowTime() {
+ this.billPopup = false;
+ this.timePopup = true;
}
}
};
@@ -367,4 +442,35 @@
}
}
}
+
+ .bill-info {
+ border-radius: 16rpx;
+ margin: 32rpx 30rpx 22rpx;
+ padding: 48rpx 30rpx 30rpx;
+
+ .title1 {
+ font-size: 30rpx;
+ color: #303133;
+ line-height: 42rpx;
+ }
+
+ .title2 {
+ margin-top: 12rpx;
+ font-weight: 400;
+ font-size: 24rpx;
+ color: #909399;
+ line-height: 34rpx;
+ }
+
+ .line {
+ border: 2rpx solid #F6F7F9;
+ margin: 34rpx 0 30rpx;
+ }
+
+ .title3 {
+ font-size: 30rpx;
+ color: #303133;
+ line-height: 42rpx;
+ }
+ }
diff --git a/components/uni-popup.vue b/components/uni-popup.vue
index 7fc7b05..d4d4e22 100644
--- a/components/uni-popup.vue
+++ b/components/uni-popup.vue
@@ -1,5 +1,6 @@
+ backgroundColor__{{ backgroundColor }}
diff --git a/static/icon/up.png b/static/icon/up.png
new file mode 100644
index 0000000000000000000000000000000000000000..ba4e5f915e384e09d100f33952dc9e4996ba30ac
GIT binary patch
literal 535
zcmV+y0_gpTP)kpdmi_m`+dLr?zsk0F<7>J>0&mOF0QAB
zC(9>pOm;*`qaaKLOIOwOP}71uZ~pMUf@0Vs_JS}uG&LaLV*&>Nsi`lf^D$e;2y(ey
zo?V6HV4;tcX%gKESQN*sK)xubLx=~duZPd*T$%da7~3ExhYCkbV2i3aD!{T6Oe`&j
zv*O%M)mI62iy)u8TsWrd_Gm-;ho^d)v_(DbIEV&C9(5+-GvD528VkRw?;SX<^}1%S
zF?QPPHz_Sh|CLgg&^;yOGz4o9nThQW3iB_ohb`fJZvA&WD2wn}YoACuNZ$MWzBzU6
z#Xcu1_W)i3HGnyUYZD)ykJhmzzAMmh^@;ZDwJ(#n;PCfu@40-!tTdWu325^W2vG?e
z;rPclw-&u{XI5TiYLwMGUZ;N)Ksa`=D=}aknmt}j!Dpcz`81dL>DN(NnY~^0I(@kx
zdbp+KA@eV&mGpjD8kb%ujrymI^0(_=*L1k3&CYhlV{iWh00960$>LkL00006Nkl