|
@@ -9,9 +9,10 @@
|
|
:cell-style="{border:0,color:'rgba(255,255,255,1)'}"
|
|
:cell-style="{border:0,color:'rgba(255,255,255,1)'}"
|
|
:data="tableData"
|
|
:data="tableData"
|
|
:header-cell-style="{color:'#fff'}"
|
|
:header-cell-style="{color:'#fff'}"
|
|
|
|
+ :row-class-name="tableRowClassName"
|
|
:row-style="{backgroundColor:'rgb(4,66,115,0.3)'}"
|
|
:row-style="{backgroundColor:'rgb(4,66,115,0.3)'}"
|
|
:show-header="false"
|
|
:show-header="false"
|
|
- style="background: none;margin-top: -1%;"
|
|
|
|
|
|
+ style="background: none;margin-top: -1%;font-size: 15px"
|
|
@row-click="handleRowClick"
|
|
@row-click="handleRowClick"
|
|
>
|
|
>
|
|
<el-table-column align="center" label="信息" prop="info">
|
|
<el-table-column align="center" label="信息" prop="info">
|
|
@@ -24,7 +25,7 @@
|
|
style="position:absolute;top: 10px;opacity: 0.5">
|
|
style="position:absolute;top: 10px;opacity: 0.5">
|
|
{{ scope.row.info }}
|
|
{{ scope.row.info }}
|
|
</div>
|
|
</div>
|
|
- <div v-if="scope.row.state === 2" style="height: 25px">
|
|
|
|
|
|
+ <div v-if="scope.row.state === 2" style="height: 25px;">
|
|
<img :height="20"
|
|
<img :height="20"
|
|
:width="20"
|
|
:width="20"
|
|
alt=""
|
|
alt=""
|
|
@@ -67,7 +68,7 @@
|
|
:row-style="{backgroundColor:'transparent'}"
|
|
:row-style="{backgroundColor:'transparent'}"
|
|
:show-header="false"
|
|
:show-header="false"
|
|
size="mini"
|
|
size="mini"
|
|
- style="background: none;margin-top: -1%;"
|
|
|
|
|
|
+ style="background: none;margin-top: -1%;font-size: 15px"
|
|
@row-click="handleDialogClose"
|
|
@row-click="handleDialogClose"
|
|
>
|
|
>
|
|
<el-table-column label="信息" prop="info">
|
|
<el-table-column label="信息" prop="info">
|
|
@@ -107,6 +108,13 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ tableRowClassName({row}) {
|
|
|
|
+ if (row.state == "1") {
|
|
|
|
+ return "tablerow1";
|
|
|
|
+ } else {
|
|
|
|
+ return "tablerow2"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
handleRowClick(row, event, column) {
|
|
handleRowClick(row, event, column) {
|
|
this.dialogShow = true
|
|
this.dialogShow = true
|
|
},
|
|
},
|
|
@@ -156,6 +164,13 @@ export default {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
|
|
+/deep/ .el-table .tablerow1 {
|
|
|
|
+ background: url('../../rqdd/img/矩形866.4.png') no-repeat;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/deep/ .el-table .tablerow2 {
|
|
|
|
+ background: url('../../rqdd/img/矩形866.png') no-repeat;
|
|
|
|
+}
|
|
|
|
|
|
@font-face {
|
|
@font-face {
|
|
font-family: AliMaMa;//自定义字体名称
|
|
font-family: AliMaMa;//自定义字体名称
|
|
@@ -271,9 +286,6 @@ export default {
|
|
text-align: left;
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
|
|
- /deep/ .el-table .el-table__row {
|
|
|
|
- background: url("../../rqdd/img/矩形866.4.png") no-repeat;
|
|
|
|
- }
|
|
|
|
|
|
|
|
/deep/ .el-table, .el-table__expanded-cell {
|
|
/deep/ .el-table, .el-table__expanded-cell {
|
|
background-color: rgb(1, 40, 81);
|
|
background-color: rgb(1, 40, 81);
|