【功能优化】:新增标签页样式Naive

This commit is contained in:
1024Lab-佩弦 2024-12-01 19:33:25 +08:00
parent a3a7cf63a8
commit 83d970095b

View File

@ -17,7 +17,7 @@
<template #tab>
<span class="smart-tag-content">
<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 }}
<close-outlined @click.stop="closeTag(item, false)" v-if="item.menuName !== HOME_PAGE_NAME" class="smart-page-tag-close" />
</span>
@ -229,6 +229,9 @@ const borderRadius = 8 + 'px';
top: 10px;
background: #666;
}
.smart-tag-icon{
margin-right:5px;
}
}
:deep(.ant-tabs-tab-active) {
position: relative;
@ -331,7 +334,6 @@ const borderRadius = 8 + 'px';
}
}
// background-color: #eeeeee;
.smart-page-tag-close {
color: @color-primary;
}