From 13c92e9c8b32d02b5fa13c60b55041981ca71a6d Mon Sep 17 00:00:00 2001 From: snsd0805 Date: Thu, 17 Sep 2020 15:50:38 +0800 Subject: [PATCH] feat: show course which is on the weekend(#1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 功能做到了,但是排版不佳 --- js/components/table.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/components/table.vue b/js/components/table.vue index 56d71b1..8f0b04b 100644 --- a/js/components/table.vue +++ b/js/components/table.vue @@ -64,6 +64,10 @@ var courseTable = { 三 四 五 + @@ -74,7 +78,7 @@ var courseTable = { + v-for="week in (existWeekend)?7:5"> {{ String.fromCharCode(97+((hour<5)?(hour-1):(hour-2))) }} - +