全局主按钮 颜色样式统一

This commit is contained in:
2026-08-25 14:53:34 +08:00
parent 6f61e87303
commit d58d044c6a
16 changed files with 50 additions and 122 deletions
@@ -33,7 +33,13 @@
<div class="list-title">教学大纲列表</div>
<div class="list-actions">
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>
<el-button type="danger" icon="el-icon-delete" :disabled="!selection.length" @click="handleBatchDelete">删除所选</el-button>
<el-button
type="danger"
plain
icon="el-icon-delete"
:disabled="!selection.length"
@click="handleBatchDelete"
>删除所选</el-button>
<el-button icon="el-icon-download" @click="handleDownload">下载</el-button>
</div>
</div>
@@ -48,7 +48,7 @@
</el-col>
</el-row>
<div class="search-actions">
<el-button class="gray-btn" @click="handleQuery">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="handleQuery">查询</el-button>
</div>
</el-form>
</el-card>
@@ -113,7 +113,7 @@
</el-descriptions>
<div v-else v-loading="detailLoading" class="detail-empty">加载中...</div>
<div slot="footer">
<el-button type="primary" @click="detailVisible = false">关闭</el-button>
<el-button @click="detailVisible = false">关闭</el-button>
</div>
</el-dialog>
</div>
@@ -293,20 +293,4 @@ export default {
}
}
.gray-btn {
height: 28px;
padding: 2px 16px;
font-size: 12px;
background: #f5f5f5;
border: 1px solid #c0c4cc;
color: #333;
border-radius: 2px;
&:hover,
&:focus {
background: #ebebeb;
border-color: #c0c4cc;
color: #333;
}
}
</style>