Ver código fonte

feat: update

HuCheng 2 anos atrás
pai
commit
2aa3c6b2a4
2 arquivos alterados com 8 adições e 5 exclusões
  1. 4 4
      src/layout/index.vue
  2. 4 1
      src/views/equipment/index.vue

+ 4 - 4
src/layout/index.vue

@@ -13,20 +13,20 @@
         content-style="height: 100%"
         class="h-full"
       >
-        <h2 class="text-center leading-[60px]">冷链验证报告生成系统</h2>
+        <h2 class="text-center leading-[64px]">冷链验证报告生成系统</h2>
         <MenuComponent />
       </n-layout-sider>
     </n-config-provider>
     <n-layout>
-      <n-layout-header class="h-16 px-6">
+      <n-layout-header class="h-16 px-6 shadow">
         <n-space justify="end" align="center" class="h-full">
           <n-dropdown trigger="hover" :options="options">
-            <span class="cursor-pointer"> 用户名 </span>
+            <n-avatar round class="cursor-pointer"> 用户名 </n-avatar>
           </n-dropdown>
         </n-space>
       </n-layout-header>
       <n-layout-content
-        style="height: calc(100vh - 60px)"
+        style="height: calc(100vh - 64px)"
         content-style="padding: 24px; height: 100%; background-color: #f5f7f9"
         :native-scrollbar="false"
       >

+ 4 - 1
src/views/equipment/index.vue

@@ -5,7 +5,10 @@
         <n-input style="width: 300px" placeholder="请输入项目名称" />
         <n-button type="primary"> 搜索 </n-button>
       </n-input-group>
-      <n-button type="primary" @click="handleAdd">新增</n-button>
+      <n-space>
+        <n-button type="primary">批量导入</n-button>
+        <n-button type="primary" @click="handleAdd">新增</n-button>
+      </n-space>
     </n-space>
     <n-data-table
       :columns="columns"