From df4a299c4baf934464eaa36c91fef9e113f45f54 Mon Sep 17 00:00:00 2001 From: kuaileWu <1432334894@qq.com> Date: Tue, 2 Apr 2024 14:32:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=88=E7=81=B8=E6=8C=82=E5=8F=B7=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=20=E9=A2=84=E7=BA=A6=E5=B0=B1=E8=AF=8A=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/bookBox.vue | 6 ++++-- components/sliderBox.vue | 10 +++++++--- pages/prebook/prebook.vue | 50 ++++++++++++++--------------------------------- 3 files changed, 26 insertions(+), 40 deletions(-) diff --git a/components/bookBox.vue b/components/bookBox.vue index 1587146..ab5ecac 100644 --- a/components/bookBox.vue +++ b/components/bookBox.vue @@ -16,7 +16,7 @@ 上午预约 - 07:30-08:30 + 07:30-08:30 08:30-09:30 (2) 07:30-08:30 08:30-09:30(满) @@ -71,7 +71,9 @@ export default { } }, methods: { - + confirmSubmit(e){ + this.$emit('confirmSubmitEvent') + } } }; diff --git a/components/sliderBox.vue b/components/sliderBox.vue index 3a68d5e..0432d2d 100644 --- a/components/sliderBox.vue +++ b/components/sliderBox.vue @@ -2,7 +2,7 @@ - + @@ -13,13 +13,16 @@ name:"sliderBox", data() { return { - show:true, + show:false, cssUrl:this.cssUrl, }; }, methods:{ - close() { + closeConfirm() { this.show = false + }, + showConfirm() { + this.show = true } } } @@ -44,6 +47,7 @@ bottom: 0; left: 0; z-index: 899; + max-height: 80vh; padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); .slider-box-close{ diff --git a/pages/prebook/prebook.vue b/pages/prebook/prebook.vue index 918ea28..3e466c1 100644 --- a/pages/prebook/prebook.vue +++ b/pages/prebook/prebook.vue @@ -4,7 +4,7 @@ 广安门中医医院西单门诊部 针灸科 - + 预约信息确认 @@ -34,7 +34,7 @@ 就诊人: - ①王鹏 ②张富贵 ③张杨明 + ①王鹏 ②张富贵 ③张杨明 医生姓名: @@ -42,7 +42,7 @@ 就诊医院: - 广安门中医医院西单门诊部 中医科 + 广安门中医医院西单门诊部 中医科 看诊时间: @@ -50,7 +50,7 @@ - 我再想想 + 我再想想 确认预约 @@ -77,8 +77,11 @@ SliderBox }, methods: { - close() { - this.$refs.sliderbox.close() + closeConfirm() { + this.$refs.sliderbox.closeConfirm() + }, + showConfirm() { + this.$refs.sliderbox.showConfirm() } } } @@ -122,7 +125,7 @@ display: flex; box-sizing: border-box; padding: 0 53rpx; - height: 42rpx; + min-height: 42rpx; line-height: 42rpx; font-size: 30rpx; margin-bottom: 24rpx; @@ -169,6 +172,8 @@ .members{ width: 630rpx; min-height: 200rpx; + max-height: 230rpx; + overflow-y: auto; background: #F7F7F7; display: flex; justify-content: space-between; @@ -179,13 +184,14 @@ color: #000000; line-height: 40rpx; margin-bottom: 52rpx; - + row-gap: 50rpx; .memmbers-item{ width: 50%; + overflow-y: auto; display: flex; flex-shrink: 0; - flex-wrap: wrap; align-items: center; + word-break: break-all; img{ width: 36rpx; height: 36rpx; @@ -208,31 +214,5 @@ } } } - - // - // 当前时段余号不足,只能预约2人 - // - // - // - // - // 上官子涵 - // - // - // - // - // 帅哥 - // - // - // - // - // 发财哥 - // - // - // - // - // 王富贵 - // - // - // }