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/operate/disposal/casepool/pool/index.vue | 83 ++++++++++++++++++++++-------------------
1 files changed, 44 insertions(+), 39 deletions(-)
diff --git a/src/views/operate/disposal/casepool/pool/index.vue b/src/views/operate/disposal/casepool/pool/index.vue
index 2c952e4..7e34227 100644
--- a/src/views/operate/disposal/casepool/pool/index.vue
+++ b/src/views/operate/disposal/casepool/pool/index.vue
@@ -46,8 +46,11 @@
:class="[item.checked ? 'is-active':'','type-item']">{{item.name}}</div>
</div>
<!-- 鏁版嵁灞曠ず -->
- <el-table ref="multipleTable"
- :header-cell-style="{background:'#06122c','font-size':'12px',color:'#4b9bb7','font-weight':'650','line-height':'45px'}"
+ <el-table
+ border
+ stripe
+ ref="multipleTable"
+ :header-cell-style="{ 'background':'#F5F5F5','font-weight':'650','line-height':'45px'}"
:data="tableData" style="width: 100%" :row-class-name="tableRowClassName"
@selection-change="tableChange">
<el-table-column type="selection" min-width="5">
@@ -465,14 +468,14 @@
<style lang="scss" scoped>
.userList {
text-align: left;
- margin: 10px 20px;
+ padding: 10px 20px;
color: #4b9bb7;
-
+ border: 1px solid #ccc;
header {
- background-color: #09152f;
+ // background-color: #09152f;
.headerContent {
- padding: 0 40px;
+ padding: 0;
display: flex;
line-height: 100px;
justify-content: space-between;
@@ -517,28 +520,28 @@
.el-button {
padding: 12px 25px;
- border-radius: 20px;
+ //border-radius: 20px;
}
}
.addBtn {
- background-color: #eb5d01;
+ //background-color: #eb5d01;
border: none;
- border-radius: 20px;
+ //border-radius: 20px;
padding: 12px 30px;
}
}
}
main {
- background-color: #09152f;
+ // background-color: #09152f;
margin-top: 20px;
.mainTitle {
line-height: 60px;
}
- padding: 10px;
+ //padding: 10px;
.nav {
display: flex;
@@ -554,8 +557,9 @@
}
.is-active {
- background-color: #070f22;
- color: #fff;
+ // background-color: #070f22;
+ color: #333;
+ font-size: 500;
}
}
@@ -575,17 +579,18 @@
}
.is-active {
- background-color: #070f22;
+ // background-color: #070f22;
border-radius: 4px;
- color: #fff;
+ color: #333;
+ font-size: 500;
}
}
.tools {
display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 20px;
+ justify-content: right;
+ //align-items: ri;
+ //padding: 0 20px;
.funs {
display: flex;
@@ -611,13 +616,13 @@
width: 120px;
}
- &:hover {
- border: 1px solid #4b9bb7;
- }
+ // &:hover {
+ // border: 1px solid #4b9bb7;
+ // }
- &:hover .el-checkbox {
- color: #4b9bb7;
- }
+ // &:hover .el-checkbox {
+ // color: #4b9bb7;
+ // }
}
}
@@ -630,25 +635,25 @@
.el-pagination {
- &::v-deep li,
- &::v-deep .btn-prev,
- &::v-deep .btn-next {
- background-color: #071f39;
- color: #4b9bb7;
- }
+ // &::v-deep li,
+ // &::v-deep .btn-prev,
+ // &::v-deep .btn-next {
+ // // background-color: #071f39;
+ // color: #4b9bb7;
+ // }
- &::v-deep .active {
- background-color: #409eff;
- color: #fff;
- }
+ // &::v-deep .active {
+ // background-color: #409eff;
+ // color: #fff;
+ // }
}
}
}
.el-table {
- color: #4b9bb7;
- font-size: 10px;
- margin-top: 10px;
+ // color: #4b9bb7;
+ // font-size: 10px;
+ // margin-top: 10px;
&::v-deep .cell {
text-overflow: ellipsis;
@@ -659,7 +664,7 @@
display:none
}
}
-
+
.operation {
display: flex;
@@ -676,4 +681,4 @@
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.8.0