fix: complex search style
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
wangdan-fit2cloud 2024-12-31 11:07:22 +08:00
parent 06f591d404
commit d8b3fd74b0
2 changed files with 17 additions and 2 deletions

View File

@ -754,3 +754,18 @@ h5 {
.wwLogin_qrcode_head {
padding: 20px 0 !important;
}
// 复合搜索框
.complex-search {
border: 1px solid var(--el-border-color);
border-radius: var(--el-border-radius-base);
.el-select__wrapper {
box-shadow: none !important;
}
.el-input__wrapper {
box-shadow: none !important;
}
&__left {
border-right: 1px solid var(--el-border-color);
}
}

View File

@ -80,8 +80,8 @@
<h4>{{ active_provider?.name }}</h4>
<div class="flex-between mt-16 mb-16">
<el-button type="primary" @click="openCreateModel(active_provider)">添加模型</el-button>
<div class="flex-between">
<el-select v-model="search_type" style="width: 120px" @change="search_type_change">
<div class="flex-between complex-search">
<el-select class="complex-search__left" v-model="search_type" style="width: 120px" @change="search_type_change">
<el-option label="创建者" value="create_user" />
<el-option label="权限" value="permission_type" />
<el-option label="模型类型" value="model_type" />