From 28972c351ea79b4721750f6970e88263b64c64aa Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 13 三月 2025 16:03:36 +0800 Subject: [PATCH] 表格样式整体修改 --- src/views/standard/standardLibrary/index.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/standard/standardLibrary/index.vue b/src/views/standard/standardLibrary/index.vue index 36e74a2..d6c8435 100644 --- a/src/views/standard/standardLibrary/index.vue +++ b/src/views/standard/standardLibrary/index.vue @@ -255,6 +255,7 @@ </el-row> <el-row v-loading="tableLoad" class="standard_table"> <el-table ref="standard" :data="standardList" class="el-table" header-row-class-name="header-class" height="220" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border highlight-current-row style="width: 100%; height: 220px !important" tooltip-effect="dark" @row-click="rowClick"> <el-table-column label="鏍囧噯缂栧彿" prop="code" show-overflow-tooltip width="200"> @@ -270,7 +271,8 @@ </el-row> <el-row v-loading="tableLoad2" class="product_table"> <el-table id="templateParamTable" ref="productTable" v-loading="productTableLoading" :data="productList" - :fit="true" :row-class-name="tableRowClassName" border class="productTable" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border + :fit="true" :row-class-name="tableRowClassName" class="productTable" header-row-class-name="header-class" height="100%" row-key="id" stripe style="width: 100%" tooltip-effect="dark" @select="upProductSelect" @selection-change="handleSelectionChange" @select-all="handleAll"> @@ -411,7 +413,8 @@ </el-dialog> <el-dialog :close-on-click-modal="false" :visible.sync="sectionUpDia" title="鍖洪棿璁剧疆" width="80%"> <div class="body" style="padding: 5px 0"> - <el-table :data="sectionList" border height="350px" style="width: 100%"> + <el-table :data="sectionList" border height="350px" style="width: 100%" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }"> <el-table-column align="center" label="搴忓彿" type="index" width="70"> </el-table-column> <el-table-column align="center" label="鍖洪棿"> -- Gitblit v1.9.3