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, 14 insertions(+), 17 deletions(-) diff --git a/src/views/systemSetting/baseSetting/user/components/main/index.vue b/src/views/systemSetting/baseSetting/user/components/main/index.vue index 1629e32..26e0685 100644 --- a/src/views/systemSetting/baseSetting/user/components/main/index.vue +++ b/src/views/systemSetting/baseSetting/user/components/main/index.vue @@ -3,8 +3,11 @@ <div class="mainContent"> <!-- 鏁版嵁灞曠ず --> <el-table + border + stripe ref="multipleTable" :header-cell-style="{ + background: '#F5F5F5', 'font-size': '14px', 'font-weight': '650', 'line-height': '45px', @@ -131,6 +134,7 @@ @change="selectChange" > <el-option + popper-class="funs-select" v-for="item in options" :key="item.value" :label="item.label" @@ -482,22 +486,20 @@ // background-color: #09152f; margin-top: 20px; padding-bottom: 50px; - border: 1pox solid #fff; - + //border: 1px solid #fff; .mainTitle { line-height: 60px; } - .tools { display: flex; justify-content: space-between; align-items: center; - padding: 0 20px; - + padding: 0; .funs { display: flex; .funs-sp { - // border: 1px solid #17324c; + border: 1px solid #dcdfe6; + background-color: #fff; } .funsItem { line-height: 28px; @@ -506,26 +508,24 @@ border-radius: 4px; font-size: 12px; margin-left: 10px; - .el-checkbox { width: 80px; padding: 0 10px; } - .el-select { width: 120px; - } - + .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, @@ -533,7 +533,6 @@ // background-color: #071f39; // color: #4b9bb7; } - &::v-deep .active { background-color: #409eff; color: #fff; @@ -541,21 +540,19 @@ } } } - .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; } } } } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0