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); }