From 883e737725135903c17fbf1ee950231c71b61c41 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期一, 07 四月 2025 18:05:52 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/wyyDatabase --- src/layout/index.vue | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/layout/index.vue b/src/layout/index.vue index 490107c..231eede 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -7,13 +7,8 @@ <p>澶氱淮搴︽暟鎹簱</p> </div> <div class="leftMenuList"> - <div - class="menuItem" - :class="{ active: $route.path == item.path }" - v-for="(item, index) in menuList" - :key="index" - @click="$router.push(item.path)" - > + <div class="menuItem" :class="{ active: $route.path == item.path }" v-for="(item, index) in menuList" + :key="index" @click="$router.push(item.path)"> <div> <i :class="item.icon"></i> </div> @@ -74,25 +69,29 @@ <style lang="less" scoped> .homeLayoutBox { - width: 100%; height: 100%; display: flex; // background-image: url("@/assets/images/homeBg.png"); // background-repeat: no-repeat; // background-size: 100% 95%; .pageContentBox { + width: 100%; min-height: calc(100% - 525px); } - .active{ + + .active { background: #6F5A3A; color: #fff; } + .leftMenu { width: 200px; height: 100%; background: #937950; display: flex; flex-direction: column; + font-family: Alimama DongFangDaKai; + .leftMenuTitle { width: 100%; height: 50px; @@ -101,6 +100,7 @@ color: #fff; font-size: 24px; } + .leftMenuContent { font-size: 20px; line-height: 30px; @@ -111,9 +111,11 @@ border-top: 1px solid #fff; border-bottom: 1px solid #fff; } - .leftMenuList > menuItem:first-child { + + .leftMenuList>menuItem:first-child { border-top: 1px solid #fff; } + .leftMenuList { display: flex; flex-direction: column; @@ -132,9 +134,11 @@ font-size: 24px; border-bottom: 1px solid #b9a587; height: 180px; + .menuText { line-height: 50px; } + i { font-size: 34px; } -- Gitblit v1.9.1