|
@@ -18,7 +18,7 @@
|
|
|
</aside>
|
|
</aside>
|
|
|
|
|
|
|
|
<div class="layout-main">
|
|
<div class="layout-main">
|
|
|
- <header class="layout-header">
|
|
|
|
|
|
|
+ <div class="layout-header">
|
|
|
<div class="header-right">
|
|
<div class="header-right">
|
|
|
<el-dropdown trigger="click">
|
|
<el-dropdown trigger="click">
|
|
|
<div class="user-entry">
|
|
<div class="user-entry">
|
|
@@ -40,7 +40,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
</el-dropdown>
|
|
</el-dropdown>
|
|
|
</div>
|
|
</div>
|
|
|
- </header>
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
<main class="layout-content">
|
|
<main class="layout-content">
|
|
|
<router-view v-slot="{ Component }">
|
|
<router-view v-slot="{ Component }">
|
|
@@ -86,19 +86,20 @@ const go = (path) => {
|
|
|
.layout-aside {
|
|
.layout-aside {
|
|
|
width: 280px;
|
|
width: 280px;
|
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
|
- background: #1a1a1a;
|
|
|
|
|
|
|
+ background: #000;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
- color: #cfcfcf;
|
|
|
|
|
|
|
+ color: rgba(255, 255, 255, 0.6);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.brand {
|
|
.brand {
|
|
|
- height: 64px;
|
|
|
|
|
|
|
+ height: 76px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 10px;
|
|
gap: 10px;
|
|
|
padding: 0 16px;
|
|
padding: 0 16px;
|
|
|
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
|
|
|
|
|
+ background: url('@/assets/layout/title-bg.png') no-repeat center center;
|
|
|
|
|
+ background-size: 100% 100%;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.brand-logo {
|
|
.brand-logo {
|
|
@@ -111,49 +112,62 @@ const go = (path) => {
|
|
|
font-size: 24px;
|
|
font-size: 24px;
|
|
|
letter-spacing: 2px;
|
|
letter-spacing: 2px;
|
|
|
font-family: "PangMenZhengDao";
|
|
font-family: "PangMenZhengDao";
|
|
|
- background: linear-gradient(to bottom, #F3C11D, #ffffff);
|
|
|
|
|
|
|
+ background: linear-gradient(180deg, #FFD489 0%, #FFFFFF 100%);
|
|
|
|
|
+ // background: linear-gradient(to bottom, #F3C11D, #ffffff);
|
|
|
background-clip: text;
|
|
background-clip: text;
|
|
|
color: transparent;
|
|
color: transparent;
|
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.side-menu {
|
|
.side-menu {
|
|
|
- padding: 16px 12px;
|
|
|
|
|
|
|
+ padding: 13px 0 12px 20px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
- gap: 8px;
|
|
|
|
|
|
|
+ gap: 4px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.side-menu__item {
|
|
.side-menu__item {
|
|
|
- height: 48px;
|
|
|
|
|
|
|
+ height: 60px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 12px;
|
|
gap: 12px;
|
|
|
padding: 0 16px;
|
|
padding: 0 16px;
|
|
|
- border-radius: 8px;
|
|
|
|
|
|
|
+ border-radius: 4px 0 0 4px;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
color: #9a9a9a;
|
|
color: #9a9a9a;
|
|
|
transition: background 0.2s, color 0.2s;
|
|
transition: background 0.2s, color 0.2s;
|
|
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
|
- color: #e8d48b;
|
|
|
|
|
- background: rgba(212, 175, 55, 0.08);
|
|
|
|
|
|
|
+ color: #FFD489;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
|
&.is-active {
|
|
|
- color: #d4af37;
|
|
|
|
|
- background: linear-gradient(90deg, rgba(212, 175, 55, 0.28), rgba(212, 175, 55, 0.08));
|
|
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ color: #FFD489;
|
|
|
|
|
+ background: linear-gradient(90deg, rgba(255, 212, 137, 0.18) 0%, rgba(25, 25, 25, 0) 100%);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.side-menu__icon {
|
|
.side-menu__icon {
|
|
|
display: inline-flex;
|
|
display: inline-flex;
|
|
|
- width: 22px;
|
|
|
|
|
- height: 22px;
|
|
|
|
|
|
|
+
|
|
|
|
|
+ :deep(.menu-icon) {
|
|
|
|
|
+ filter: grayscale(1);
|
|
|
|
|
+ transition: filter 0.2s;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.side-menu__item.is-active .side-menu__icon,
|
|
|
|
|
+.side-menu__item:hover .side-menu__icon {
|
|
|
|
|
+ :deep(.menu-icon) {
|
|
|
|
|
+ filter: none;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.side-menu__text {
|
|
.side-menu__text {
|
|
|
- font-size: 15px;
|
|
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ line-height: 30px;
|
|
|
|
|
+ letter-spacing: 2px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.layout-main {
|
|
.layout-main {
|
|
@@ -164,14 +178,15 @@ const go = (path) => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.layout-header {
|
|
.layout-header {
|
|
|
- height: 64px;
|
|
|
|
|
|
|
+ height: 76px;
|
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
|
|
+ // box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
|
|
|
|
|
+ box-shadow: 0px -2px 2px 0px rgba(0, 0, 0, 0.1) inset;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: flex-end;
|
|
justify-content: flex-end;
|
|
|
padding: 0 24px;
|
|
padding: 0 24px;
|
|
|
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.header-right {
|
|
.header-right {
|
|
@@ -206,6 +221,6 @@ const go = (path) => {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
min-height: 0;
|
|
min-height: 0;
|
|
|
overflow: auto;
|
|
overflow: auto;
|
|
|
- background: #f5f5f5;
|
|
|
|
|
|
|
+ background: #F5F5F5;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|