From efc4fcf8e7e8d607d59e8f4967a720f787dbe249 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期二, 13 四月 2021 15:44:52 +0800
Subject: [PATCH] 修改table 表样式。
---
src/components/table/components/WasteWater.vue | 26 ++++----------------------
1 files changed, 4 insertions(+), 22 deletions(-)
diff --git a/src/components/table/components/WasteWater.vue b/src/components/table/components/WasteWater.vue
index af191ce..c8ad3dd 100644
--- a/src/components/table/components/WasteWater.vue
+++ b/src/components/table/components/WasteWater.vue
@@ -3,9 +3,6 @@
<el-table
class="tableBox"
:data="tableData"
- style="width: 100%"
- :header-cell-style="tableHeaderColor"
- :cell-style="rowClass"
@cell-click="handle"
>
<el-table-column
@@ -41,11 +38,7 @@
<div v-else >{{scope.row.UserName}}</div>
</template>
</el-table-column>
- <el-table-column
- prop="WasteWaters"
- label="澶栨帓搴熸按閲忥紙m鲁锛�"
- width="100px">
- </el-table-column>
+ <el-table-column prop="WasteWaters" label="澶栨帓搴熸按閲忥紙m鲁锛�"></el-table-column>
<el-table-column label="COD (t)">
<el-table-column
prop="AddOutPut"
@@ -201,11 +194,11 @@
},
methods: {
tableHeaderColor ({ row, column, owIndex, columnIndex }) {
- return 'background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;font-wight:500;font-size:12px;text-align:center;height:0px'
+ // return 'background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;font-wight:500;font-size:12px;text-align:center;height:0px'
},
// 琛ㄥご鏍峰紡璁剧疆
rowClass () {
- return 'text-align: center;background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;width:64px'
+ // return 'text-align: center;background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;width:64px'
},
// 鑾峰彇鐐瑰嚮鐨勮〃鏍�
handle (row, column, event, cell) {
@@ -228,17 +221,6 @@
}
</script>
-<style scoped>
-.popovers{
- width: auto !important;
- background-color: gray !important;
-}
-.popovers.el-popover{
-padding:0;
-}
-.active {
- /*color: red;*/
- transform:rotate(90deg);
-}
+<style>
</style>
--
Gitblit v1.8.0