From bf9a412b20afe9f22e99448eb002ff9e92fd30cb Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期四, 09 二月 2023 10:17:04 +0800 Subject: [PATCH] 统一table操作按钮样式 --- src/views/systemSetting/baseSetting/user/components/main/index.vue | 31 +++++++++---------------------- 1 files changed, 9 insertions(+), 22 deletions(-) diff --git a/src/views/systemSetting/baseSetting/user/components/main/index.vue b/src/views/systemSetting/baseSetting/user/components/main/index.vue index 6774927..26e0685 100644 --- a/src/views/systemSetting/baseSetting/user/components/main/index.vue +++ b/src/views/systemSetting/baseSetting/user/components/main/index.vue @@ -3,11 +3,11 @@ <div class="mainContent"> <!-- 鏁版嵁灞曠ず --> <el-table - border - stripe + border + stripe ref="multipleTable" :header-cell-style="{ - 'background':'#F5F5F5', + background: '#F5F5F5', 'font-size': '14px', 'font-weight': '650', 'line-height': '45px', @@ -134,7 +134,7 @@ @change="selectChange" > <el-option - popper-class="funs-select" + popper-class="funs-select" v-for="item in options" :key="item.value" :label="item.label" @@ -487,25 +487,21 @@ margin-top: 20px; padding-bottom: 50px; //border: 1px solid #fff; - .mainTitle { line-height: 60px; } - .tools { display: flex; justify-content: space-between; align-items: center; padding: 0; - .funs { - display: flex; .funs-sp { - border: 1px solid #DCDFE6; + border: 1px solid #dcdfe6; + background-color: #fff; } .funsItem { - background-color: transparent; line-height: 28px; display: flex; align-items: center; @@ -518,24 +514,18 @@ } .el-select { width: 120px; - &::v-deep.el-input{ - .el-input__inner{ - background-color: transparent!important; - } - } - .funs-select{ + + .funs-select { background-color: transparent; } } } } - .pagination { margin-top: 50px; display: flex; line-height: 50px; justify-content: center; - .el-pagination { &::v-deep li, &::v-deep .btn-prev, @@ -543,7 +533,6 @@ // background-color: #071f39; // color: #4b9bb7; } - &::v-deep .active { background-color: #409eff; color: #fff; @@ -551,17 +540,15 @@ } } } - .el-table { // color: #4b9bb7; // font-size: 10px; .operation { + color: var(--operation-color); display: flex; - font-size: 10px; .line { padding: 0 1px; } - span:hover { cursor: pointer; } -- Gitblit v1.8.0