+
@@ -181,9 +181,6 @@
address: '上海市普陀区金沙江路 1518 弄'
}],
multipleSelection: [],
- main:{
- height:'',
- }
}
},
methods:{
@@ -237,15 +234,16 @@
return '';
},
},
- mounted() {
+ created() {
this.checkListTwo = this.checkList;
- this.$nextTick(()=>{
- let dom = document.getElementsByClassName('tables');
- let height = dom[0].getBoundingClientRect();
- let windowHeight = window.innerHeight;
- let relativeHeight = windowHeight - height.top
- this.main.height = relativeHeight - 80 + 'px'
- })
+ // this.$nextTick(()=>{
+ // let dom = document.getElementsByClassName('tables');
+ // let height = dom[0].getBoundingClientRect();
+ // let windowHeight = window.innerHeight;
+ // let relativeHeight = windowHeight - height.top
+ // this.main.height = relativeHeight - 80
+ // console.log(this.main.height)
+ // })
},
}
@@ -339,40 +337,13 @@
.plan-bottomBox {
margin-top: 10px;
.tables {
- background-color: #EAF2FD;
- .tabs-btns {
- display: flex;
- align-items: center;
- justify-content: center;
- .look,.change,.delete {
- display: flex;
- align-items: center;
- margin-right: 30px;
- cursor: pointer;
- img {
- width: 20px;
- margin-right: 5px;
- }
- span {
- font-size: 15px;
- font-family: Alibaba PuHuiTi;
- font-weight: 400;
- color: #045FFD;
- }
- }
- .delete {
- margin-right: 0;
- span {
- color: #F71052;
- }
- }
- }
::v-deep .el-table {
.success-row {
background-color: rgba(234, 242, 253, 0.25);
}
td {
height: 42px;
+ box-sizing: border-box;
text-align: center;
font-size: 14px;
font-family: 'Alibaba PuHuiTi';
@@ -394,6 +365,33 @@
::v-deep .el-table::before {
height: 0;
}
+ .tabs-btns {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ .look,.change,.delete {
+ display: flex;
+ align-items: center;
+ margin-right: 30px;
+ cursor: pointer;
+ img {
+ width: 20px;
+ margin-right: 5px;
+ }
+ span {
+ font-size: 15px;
+ font-family: Alibaba PuHuiTi;
+ font-weight: 400;
+ color: #045FFD;
+ }
+ }
+ .delete {
+ margin-right: 0;
+ span {
+ color: #F71052;
+ }
+ }
+ }
}
.pagination {
margin-top: 40px;