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 0000000..ba4e5f9
Binary files /dev/null and b/static/icon/up.png differ