bzkf3 2 年之前
父節點
當前提交
1ed3f26a31
共有 2 個文件被更改,包括 11 次插入6 次删除
  1. 6 2
      src/layout/app/components/AppHeader/index.vue
  2. 5 4
      src/pages/xdjx/tdkgl/wdtdk.vue

+ 6 - 2
src/layout/app/components/AppHeader/index.vue

@@ -1,10 +1,14 @@
 <script setup lang="ts">
-import {ref} from 'vue';
+import { ref } from 'vue';
+import { user } from '~/store/user';
 const APP_TITLE = ref(document.title)
 </script>
 
 <template>
-  <div class="header w-full h-50px leading-50px line px-8 text-xl text-white tracking-wider">{{ APP_TITLE }}</div>
+  <div class="header w-full h-50px leading-50px line px-8 text-xl text-white tracking-wider flex justify-between items-center">
+    <div>{{ APP_TITLE }}</div>
+    <!-- <div class="text-sm">{{ user.user_realname }}</div> -->
+  </div>
 </template>
 
 

+ 5 - 4
src/pages/xdjx/tdkgl/wdtdk.vue

@@ -389,11 +389,11 @@ const handleTargetChange = (item: any) => {
         </el-form-item>
       </el-form>
       <div class="divider"></div>
-      <!-- <div>{{ tableData2 }}</div> -->
+      <!-- <div>星期{{ WeekMap[0] }}</div> -->
       <div class="my_table">
         <div class="thead divide-x">
-          <div v-for="i in 8" :key="i" class="flex_center">
-            {{ i === 1 ? '' : `星期${WeekMap.at(i - 2)}` }}
+          <div v-for="i in [1, 2, 3, 4, 5, 6, 7, 8]" class="flex_center">
+            {{ i === 1 ? '' : `星期${WeekMap[(i - 2)]}` }}
           </div>
         </div>
 
@@ -758,12 +758,13 @@ lesson_name].join(' / ')">
     border-bottom: 1px solid var(--el-border-color-lighter);
     flex: none;
     width: 100%;
-    height: 3.25rem;
+    height: 4.25rem;
     // background: rgba(102, 255, 255, 0.20);
     // color: #66FFFF;
     display: flex;
     justify-content: space-around;
     align-items: center;
+    font-weight: bold;
 
     &>div {
       width: 12.5%;