优化文字和界面

This commit is contained in:
刘祥超
2023-05-26 10:52:45 +08:00
parent 9cbbf37add
commit 2b7905d31c
5 changed files with 23 additions and 6 deletions

View File

@@ -625,6 +625,13 @@ body.expanded .main {
right: 0;
bottom: 1px;
}
.main .tab-menu .item.active:not(.title).icon .bottom-indicator {
border-bottom: 1px #2185d0 solid;
position: absolute;
left: 0;
right: 0.6em;
bottom: 1px;
}
.main .tab-menu .item.active.blue {
font-weight: bold !important;
}

File diff suppressed because one or more lines are too long

View File

@@ -107,7 +107,7 @@
<div class="main" :class="{'without-menu':teaSubMenus.menus == null || teaSubMenus.menus.length == 0 || (teaSubMenus.menus.length == 1 && teaSubMenus.menus[0].alwaysActive), 'without-secondary-menu':teaSubMenus.alwaysMenu == null || teaSubMenus.alwaysMenu.items.length <= 1, 'without-footer':!teaShowOpenSourceInfo}" v-cloak="">
<!-- 操作菜单 -->
<div class="ui top menu tabular tab-menu small" v-if="teaTabbar.length > 0">
<a class="item" v-for="item in teaTabbar" :class="{'active':item.active, right:item.right, title: item.isTitle}" :href="item.url">
<a class="item" v-for="item in teaTabbar" :class="{'active':item.active, right:item.right, title: item.isTitle, icon: item.icon != null && item.icon.length > 0}" :href="item.url">
<var>{{item.name}}<span v-if="item.subName.length > 0">({{item.subName}})</span><i class="icon small" :class="item.icon" v-if="item.icon != null && item.icon.length > 0"></i> </var>
<div class="bottom-indicator" v-if="item.active && !item.isTitle"></div>
</a>

View File

@@ -621,6 +621,16 @@ body.expanded .main {
}
}
.item.active:not(.title).icon {
.bottom-indicator {
border-bottom: 1px #2185d0 solid;
position: absolute;
left: 0;
right: 0.6em;
bottom: 1px;
}
}
.item.active.blue {
font-weight: bold !important;
}