|
@@ -5,10 +5,18 @@
|
|
|
<el-col :span="24" class="main">
|
|
|
<el-col :span="24" class="first">
|
|
|
<img src="/logo.png" class="logo-image" />
|
|
|
- <span class="logo-title">{{ $t('login.title') }}</span>
|
|
|
+ <div class="logo-title">{{ $t('login.title') }}</div>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="second">
|
|
|
- <el-menu class="sidebar-el-menu" :default-active="onRoutes" unique-opened router background-color="#304156" text-color="#bfcbd9" active-text-color="#409eff">
|
|
|
+ <el-menu
|
|
|
+ class="sidebar-el-menu"
|
|
|
+ :default-active="onRoutes"
|
|
|
+ unique-opened
|
|
|
+ router
|
|
|
+ background-color="#304156"
|
|
|
+ text-color="#bfcbd9"
|
|
|
+ active-text-color="#409eff"
|
|
|
+ >
|
|
|
<menu-item :items="items"></menu-item>
|
|
|
</el-menu>
|
|
|
</el-col>
|
|
@@ -68,21 +76,22 @@ watch(
|
|
|
.main {
|
|
|
.first {
|
|
|
display: flex;
|
|
|
+ flex-direction: column;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- height: 50px;
|
|
|
- background-color: #242f42;
|
|
|
+ background-color: #29a2e6;
|
|
|
+ padding: 5px 0;
|
|
|
|
|
|
.logo-image {
|
|
|
- width: 20px;
|
|
|
- height: 20px;
|
|
|
+ width: 135px;
|
|
|
+ height: 40px;
|
|
|
}
|
|
|
|
|
|
.logo-title {
|
|
|
margin-left: 10px;
|
|
|
font-size: 14px;
|
|
|
font-weight: bold;
|
|
|
- color: white;
|
|
|
+ color: #000;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -97,6 +106,17 @@ watch(
|
|
|
font-size: 18px;
|
|
|
margin: 0 5px 0 0;
|
|
|
}
|
|
|
+ :deep(.el-menu-item.is-active) {
|
|
|
+ color: #ffff !important;
|
|
|
+ }
|
|
|
+ :deep(.el-menu-item) {
|
|
|
+ background-color: #59b2e4 !important;
|
|
|
+ color: #000 !important;
|
|
|
+ }
|
|
|
+ :deep(.el-sub-menu__title) {
|
|
|
+ background-color: #59b2e4 !important;
|
|
|
+ color: #000 !important;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|