|
@@ -1,20 +1,21 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="exposure">
|
|
|
|
|
- <div class="first-menu">
|
|
|
|
|
- <a-menu class="a-menu_container"
|
|
|
|
|
- theme="dark"
|
|
|
|
|
- v-model:selectedKeys="selectedKey"
|
|
|
|
|
- @click="selectMenu"
|
|
|
|
|
- mode="horizontal">
|
|
|
|
|
- <a-menu-item :key="String(index)"
|
|
|
|
|
- v-for="(item, index) in list">{{ item.title}}</a-menu-item>
|
|
|
|
|
- </a-menu>
|
|
|
|
|
- <div class="menu_right">
|
|
|
|
|
- <!-- <slot></slot> -->
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div class="exposure">
|
|
|
|
|
+ <div class="first-menu">
|
|
|
|
|
+ <a-menu
|
|
|
|
|
+ class="a-menu_container"
|
|
|
|
|
+ theme="dark"
|
|
|
|
|
+ v-model:selectedKeys="selectedKey"
|
|
|
|
|
+ @click="selectMenu"
|
|
|
|
|
+ mode="horizontal"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-menu-item :key="String(index)" v-for="(item, index) in list">{{ item.title}}</a-menu-item>
|
|
|
|
|
+ </a-menu>
|
|
|
|
|
+ <div class="menu_right">
|
|
|
|
|
+ <!-- <slot></slot> -->
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <router-view />
|
|
|
</div>
|
|
</div>
|
|
|
- <router-view />
|
|
|
|
|
- </div>
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
@@ -54,23 +55,26 @@ export default defineComponent({
|
|
|
height: 40px;
|
|
height: 40px;
|
|
|
border-bottom: 1px solid @m-blue0 !important;
|
|
border-bottom: 1px solid @m-blue0 !important;
|
|
|
background-color: @m-black1;
|
|
background-color: @m-black1;
|
|
|
|
|
+ .flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
.a-menu_container {
|
|
.a-menu_container {
|
|
|
padding-top: 5px;
|
|
padding-top: 5px;
|
|
|
.flex();
|
|
.flex();
|
|
|
height: 34px;
|
|
height: 34px;
|
|
|
line-height: 34px;
|
|
line-height: 34px;
|
|
|
|
|
+ background: transparent;
|
|
|
.ant-menu-item {
|
|
.ant-menu-item {
|
|
|
min-width: 120px;
|
|
min-width: 120px;
|
|
|
height: 34px;
|
|
height: 34px;
|
|
|
line-height: 34px;
|
|
line-height: 34px;
|
|
|
- background: linear-gradient(0deg, #343d46 0%, #38444f 100%);
|
|
|
|
|
|
|
+ background: linear-gradient(0deg, @m-grey35 0%, @m-grey36 100%);
|
|
|
margin-left: 3px;
|
|
margin-left: 3px;
|
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
|
- columns: @m-grey2;
|
|
|
|
|
|
|
+ color: @m-grey38;
|
|
|
border-radius: 5px 5px 0px 0px;
|
|
border-radius: 5px 5px 0px 0px;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
font-family: Adobe Heiti Std;
|
|
font-family: Adobe Heiti Std;
|
|
|
- font-weight: normal;
|
|
|
|
|
|
|
+ border: 1px solid @m-grey37;
|
|
|
&:hover {
|
|
&:hover {
|
|
|
.noBorderBottom;
|
|
.noBorderBottom;
|
|
|
}
|
|
}
|
|
@@ -81,7 +85,7 @@ export default defineComponent({
|
|
|
.ant-menu-item-selected {
|
|
.ant-menu-item-selected {
|
|
|
.noBorderBottom;
|
|
.noBorderBottom;
|
|
|
color: @m-white0;
|
|
color: @m-white0;
|
|
|
- background: linear-gradient(0deg, #3270d2 0%, #3a87f7 100%);
|
|
|
|
|
|
|
+ background: linear-gradient(0deg, @m-blue2 0%, @m-blue0 100%);
|
|
|
&:hover {
|
|
&:hover {
|
|
|
color: @m-white0;
|
|
color: @m-white0;
|
|
|
}
|
|
}
|