From 8ab7ed12281198630c2099409d099b6789d6eb47 Mon Sep 17 00:00:00 2001 From: yanzai Date: Thu, 10 Oct 2024 23:38:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=94=B9=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h5/common/WeeklyCalendar.vue | 20 ++- h5/pages/main/ctime/ctime.vue | 314 ++++++++++++++++++++++++++++++++-- 2 files changed, 318 insertions(+), 16 deletions(-) diff --git a/h5/common/WeeklyCalendar.vue b/h5/common/WeeklyCalendar.vue index 618aa7a..485a6ce 100644 --- a/h5/common/WeeklyCalendar.vue +++ b/h5/common/WeeklyCalendar.vue @@ -12,14 +12,14 @@ - + 更多 - {{item.time.substring(0, 5)}} + {{item.time.substring(0, 5)}} @@ -34,16 +34,25 @@ }, selectedTime: { type: String, - required: true - } + // required: true + }, + }); const selectDate = (date) => { emit('selectDate', date); }; const timeClick=(timeInfo)=>{ + if(timeInfo.status==2){ + uni.$lu.toast("该号源已经被占用"); + return false; + } emit('selectTime', timeInfo); } + const ClickMore=()=>{ + emit('openMonth'); + + } \ No newline at end of file diff --git a/h5/pages/main/ctime/ctime.vue b/h5/pages/main/ctime/ctime.vue index ddfdca0..c80bfca 100644 --- a/h5/pages/main/ctime/ctime.vue +++ b/h5/pages/main/ctime/ctime.vue @@ -1,36 +1,53 @@ - \ No newline at end of file