mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-18 03:16:40 +08:00
【功能优化】:新增标签页样式Naive
This commit is contained in:
parent
a3a7cf63a8
commit
83d970095b
@ -17,7 +17,7 @@
|
|||||||
<template #tab>
|
<template #tab>
|
||||||
<span class="smart-tag-content">
|
<span class="smart-tag-content">
|
||||||
<home-outlined style="font-size: 12px" v-if="item.menuName === HOME_PAGE_NAME" class="smart-page-tag-close" />
|
<home-outlined style="font-size: 12px" v-if="item.menuName === HOME_PAGE_NAME" class="smart-page-tag-close" />
|
||||||
<component v-else :is="$antIcons[item.menuIcon]" />
|
<component class="smart-tag-icon" v-else :is="$antIcons[item.menuIcon]" />
|
||||||
{{ item.menuTitle }}
|
{{ item.menuTitle }}
|
||||||
<close-outlined @click.stop="closeTag(item, false)" v-if="item.menuName !== HOME_PAGE_NAME" class="smart-page-tag-close" />
|
<close-outlined @click.stop="closeTag(item, false)" v-if="item.menuName !== HOME_PAGE_NAME" class="smart-page-tag-close" />
|
||||||
</span>
|
</span>
|
||||||
@ -229,6 +229,9 @@ const borderRadius = 8 + 'px';
|
|||||||
top: 10px;
|
top: 10px;
|
||||||
background: #666;
|
background: #666;
|
||||||
}
|
}
|
||||||
|
.smart-tag-icon{
|
||||||
|
margin-right:5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
:deep(.ant-tabs-tab-active) {
|
:deep(.ant-tabs-tab-active) {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -331,7 +334,6 @@ const borderRadius = 8 + 'px';
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// background-color: #eeeeee;
|
|
||||||
.smart-page-tag-close {
|
.smart-page-tag-close {
|
||||||
color: @color-primary;
|
color: @color-primary;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user