ZaiZai 2 年之前
父节点
当前提交
d41aff2c0f
共有 3 个文件被更改,包括 31 次插入1 次删除
  1. 18 1
      src/layout/index.vue
  2. 9 0
      src/layout/layout.scss
  3. 4 0
      src/styles/index.scss

+ 18 - 1
src/layout/index.vue

@@ -1,5 +1,22 @@
 <template>
-    <router-view />
+    <el-container class="layout-tmp  h-full">
+        <el-header>
+            <div class="layout_header">
+                <div class="header_left">
+                    <div class="header_info">111</div>
+                </div>
+                <div class="header_center">
+                    <span>数据可视化展示平台</span>
+                </div>
+                <div class="header_right">
+                    <div class="header_actions">222</div>
+                </div>
+            </div>
+        </el-header>
+        <el-main>
+            <router-view />
+        </el-main>
+    </el-container>
 </template>
 
 <script setup>

文件差异内容过多而无法显示
+ 9 - 0
src/layout/layout.scss


+ 4 - 0
src/styles/index.scss

@@ -8,6 +8,10 @@
 }
 html, body, #app {
     height: 100%;
+    font-size: 14px;
+    color: rgba(0,0,0,.85);
+    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
+    font-variant: tabular-nums;
 }
 html.dark {
     #app {

部分文件因为文件数量过多而无法显示