From 53585241460b67354f7398d1253ad38b42489f6c Mon Sep 17 00:00:00 2001 From: ctw <> Date: Tue, 14 Jan 2025 13:36:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=BE=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/canteen/canteenDailyMenu/form.vue | 2 +- src/views/canteen/canteenDailyMenu/index.vue | 24 ++++++++++++++------ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/views/canteen/canteenDailyMenu/form.vue b/src/views/canteen/canteenDailyMenu/form.vue index 43787f4..089a636 100644 --- a/src/views/canteen/canteenDailyMenu/form.vue +++ b/src/views/canteen/canteenDailyMenu/form.vue @@ -47,7 +47,7 @@ -
+
{{ item.name }} | diff --git a/src/views/canteen/canteenDailyMenu/index.vue b/src/views/canteen/canteenDailyMenu/index.vue index cf92e67..f54c261 100644 --- a/src/views/canteen/canteenDailyMenu/index.vue +++ b/src/views/canteen/canteenDailyMenu/index.vue @@ -3,11 +3,11 @@ -

今日菜谱

+

今日菜谱

- +
<
- +
>
< {{ item }} >
- +
- +
- +
早餐早餐 @@ -38,7 +38,7 @@
中餐中餐 @@ -52,7 +52,7 @@
晚餐晚餐 @@ -222,7 +222,7 @@ onMounted(async () => { .food { display: flex; align-items: center; - margin-top: 50px; + margin-top: 30px; & > td { width: 60px; @@ -261,6 +261,16 @@ onMounted(async () => { } .selectedSpan { border: 2px solid rgb(255, 187, 0); + border-left: 2px solid transparent; color: rgb(255, 187, 0); + position: relative; +} +.selectedSpan::before { + content: ""; + position: absolute; + left: -1.5px; + top: -1.5px; + bottom: -1.5px; + border-left: 2px solid rgb(255, 187, 0); }