fix : 选择框为远程搜索解决卡顿问题

This commit is contained in:
2024-08-07 23:04:46 +08:00
parent 0250e3008b
commit 3289e799be
7 changed files with 34 additions and 27 deletions

View File

@@ -118,4 +118,30 @@ onMounted(() => {
justify-content: space-evenly;
align-items: center;
}
</style>
<style lang="scss">
.search-form{
//绘制下拉选择框远程搜索时右侧的箭头
.el-select {
.el-select__wrapper {
.el-select__suffix::before {
content: "";
width: 6px;
height: 6px;
border: solid #a8abb2;
border-width: 0 0 1px 1px;
transform: translate(-50%, -50%) rotate(-45deg);
}
}
.is-focused {
.el-select__suffix::before {
margin-top: 10px;
transform: translate(-50%, -50%) rotate(-225deg) !important;
}
}
}
}
</style>