update:优化了“模型配置”页面和“用户管理”页面的样式,完善了搜索功能

This commit is contained in:
CGD
2025-04-09 14:23:23 +08:00
parent 0e81a165e4
commit 137f29e9e5
2 changed files with 19 additions and 12 deletions
+11 -11
View File
@@ -4,16 +4,16 @@
<div class="operation-bar"> <div class="operation-bar">
<h2 class="page-title">模型配置</h2> <h2 class="page-title">模型配置</h2>
<div class="right-operations"> <!-- <div class="right-operations">-->
<el-button plain size="small" @click="handleImport" style="background: #7b9de5; color: white;"> <!-- <el-button plain size="small" @click="handleImport" style="background: #7b9de5; color: white;">-->
<img loading="lazy" alt="" src="@/assets/model/inner_conf.png"> <!-- <img loading="lazy" alt="" src="@/assets/model/inner_conf.png">-->
导入配置 <!-- 导入配置-->
</el-button> <!-- </el-button>-->
<el-button plain size="small" @click="handleExport" style="background: #71c9d1; color: white;"> <!-- <el-button plain size="small" @click="handleExport" style="background: #71c9d1; color: white;">-->
<img loading="lazy" alt="" src="@/assets/model/output_conf.png"> <!-- <img loading="lazy" alt="" src="@/assets/model/output_conf.png">-->
导出配置 <!-- 导出配置-->
</el-button> <!-- </el-button>-->
</div> <!-- </div>-->
</div> </div>
<!-- 主体内容 --> <!-- 主体内容 -->
@@ -53,7 +53,7 @@
</div> </div>
<div class="action-group"> <div class="action-group">
<div class="search-group"> <div class="search-group">
<el-input placeholder="请输入模型名称查询" v-model="search" size="small" class="search-input" clearable @keyup.enter="handleSearch" /> <el-input placeholder="请输入模型名称查询" v-model="search" size="small" class="search-input" clearable @keyup.enter.native="handleSearch" />
<el-button type="primary" size="small" class="search-btn" @click="handleSearch"> <el-button type="primary" size="small" class="search-btn" @click="handleSearch">
查询 查询
</el-button> </el-button>
@@ -5,7 +5,7 @@
<div class="operation-bar"> <div class="operation-bar">
<h2 class="page-title">用户管理</h2> <h2 class="page-title">用户管理</h2>
<div class="right-operations"> <div class="right-operations">
<el-input placeholder="请输入手机号码查询" v-model="searchPhone" class="search-input" <el-input placeholder="请输入手机号码查询" v-model="searchPhone" class="search-input" clearable
@keyup.enter.native="handleSearch" /> @keyup.enter.native="handleSearch" />
<el-button class="btn-search" @click="handleSearch">搜索</el-button> <el-button class="btn-search" @click="handleSearch">搜索</el-button>
</div> </div>
@@ -556,6 +556,13 @@ export default {
} }
} }
} }
:deep(.el-table .el-button--text) {
color: #7079aa !important;
}
:deep(.el-table .el-button--text:hover) {
color: #5a64b5 !important;
}
:deep(.custom-selection-header) { :deep(.custom-selection-header) {
.el-checkbox { .el-checkbox {