Skip to content

Commit d8b3fd7

Browse files
fix: complex search style
1 parent 06f591d commit d8b3fd7

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

ui/src/styles/app.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,3 +754,18 @@ h5 {
754754
.wwLogin_qrcode_head {
755755
padding: 20px 0 !important;
756756
}
757+
758+
// 复合搜索框
759+
.complex-search {
760+
border: 1px solid var(--el-border-color);
761+
border-radius: var(--el-border-radius-base);
762+
.el-select__wrapper {
763+
box-shadow: none !important;
764+
}
765+
.el-input__wrapper {
766+
box-shadow: none !important;
767+
}
768+
&__left {
769+
border-right: 1px solid var(--el-border-color);
770+
}
771+
}

ui/src/views/template/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
<h4>{{ active_provider?.name }}</h4>
8181
<div class="flex-between mt-16 mb-16">
8282
<el-button type="primary" @click="openCreateModel(active_provider)">添加模型</el-button>
83-
<div class="flex-between">
84-
<el-select v-model="search_type" style="width: 120px" @change="search_type_change">
83+
<div class="flex-between complex-search">
84+
<el-select class="complex-search__left" v-model="search_type" style="width: 120px" @change="search_type_change">
8585
<el-option label="创建者" value="create_user" />
8686
<el-option label="权限" value="permission_type" />
8787
<el-option label="模型类型" value="model_type" />

0 commit comments

Comments
 (0)