下拉选圆角 tab字体

This commit is contained in:
Zhx
2022-11-16 20:23:08 +08:00
parent d0f99f872e
commit b957bcf4a9
2 changed files with 9 additions and 3 deletions

View File

@@ -12,12 +12,13 @@
</div> </div>
<div class="tab-container"> <div class="tab-container">
<div class="tab-item" <div class="tab-item"
style="font-size:18px"
v-for="(tab, index) in tabs" v-for="(tab, index) in tabs"
:key="index" :key="index"
:class="[tab.link === currentPath ? 'active' : '']" :class="[tab.link === currentPath ? 'active' : '']"
@click="toPage(tab.link, tab.title)"> @click="toPage(tab.link, tab.title)">
<span :class="tab.link === currentPath ? 'click' : 'click2'">{{ index+1 }}</span> <span :class="tab.link === currentPath ? 'click' : 'click2'">{{ index+1 }}</span>
<span>{{ tab.title }}</span> <span style="font-size:18px">{{ tab.title }}</span>
<span v-if="index!=3" <span v-if="index!=3"
style="width:27px;margin:0 10px;border-top: 1px dashed #C4C0C0;"></span> style="width:27px;margin:0 10px;border-top: 1px dashed #C4C0C0;"></span>
</div> </div>
@@ -405,7 +406,7 @@ onMounted(() => {
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 16px; font-size: 18px;
color: #434343; color: #434343;
white-space: nowrap; white-space: nowrap;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;

View File

@@ -7,7 +7,12 @@
.ant-select-item-option-selected{ .ant-select-item-option-selected{
font-weight: normal!important; font-weight: normal!important;
} }
.ant-select-selector{
border-radius:4px;
}
.ant-select-dropdown.ant-select-dropdown-placement-bottomLeft{
border-radius:0 0 4px 4px;
}
.ant-table-column-sorter { .ant-table-column-sorter {
position: relative; position: relative;
top: -2px; top: -2px;