From ad1dcacd0822634ad93033836089e13ad64e87c7 Mon Sep 17 00:00:00 2001 From: Childish-Ghost Date: Fri, 18 Jul 2025 23:26:29 +0800 Subject: [PATCH] =?UTF-8?q?V0.1.2.20250718=20=E2=80=94=E2=80=94=E2=80=94?= =?UTF-8?q?=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94?= =?UTF-8?q?=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=201.=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E9=87=8D=E5=AE=9A=E5=90=91=202.Home=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=A4=B4=E9=83=A8=E5=AE=8C=E6=88=90=20=E2=80=94=E2=80=94?= =?UTF-8?q?=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94?= =?UTF-8?q?=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/ordinary/Home.css | 20 +++++++++++++++----- src/views/ordinary/Home.vue | 12 +++++++++--- src/views/ordinary/PersonalCenter.vue | 11 +++++++++++ 3 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 src/views/ordinary/PersonalCenter.vue diff --git a/src/assets/ordinary/Home.css b/src/assets/ordinary/Home.css index e59679f..1cb5b06 100644 --- a/src/assets/ordinary/Home.css +++ b/src/assets/ordinary/Home.css @@ -15,10 +15,12 @@ body{ } -/*菜单*/ +/*菜单*//*重定高度*/ .el-menu--horizontal { display: flex; flex-wrap: nowrap; + max-height: 70px; + --el-menu-horizontal-height: 65%; } /* 使用 Flex 布局控制菜单 */ .el-menu-demo { @@ -33,8 +35,16 @@ body{ width: 10vw; white-space: nowrap; } -/*重定高度*/ -.el-menu--horizontal { - --el-menu-horizontal-height: 65%; - max-height: 70px; + +/*头像*/ +.demo-type { + display: flex; +} +.demo-type > div { + flex: 1; + text-align: center; +} + +.demo-type > div:not(:last-child) { + border-right: 1px solid var(--el-border-color); } \ No newline at end of file diff --git a/src/views/ordinary/Home.vue b/src/views/ordinary/Home.vue index e90bec7..0d34e70 100644 --- a/src/views/ordinary/Home.vue +++ b/src/views/ordinary/Home.vue @@ -1,6 +1,6 @@ + + + + \ No newline at end of file