3a8dba8b by 杨威

楼盘表添加层户按钮

1 parent a2b5c21d
<template>
<div class="addCh">
<el-table class="addChTable" :data="tableData" style="width: 100%" border>
<el-table-column prop="cz" width="40" align="center">
<el-table-column prop="cz" width="60" align="center">
<template slot-scope="scope">
<span class="cp" @click="handleRowClick(scope.row, scope.$index)">{{
scope.row.cz
}}</span>
<span class="cp" @click="handleRowClick(scope.row, scope.$index)">
<i class="iconfont iconicon-test1" style="color:#FA6400;font-size:30px" @click="deleteYtInfo(index)" v-if="scope.row.cz == '+'"></i>
<i class="iconfont iconicon-test" style="color:#FA6400;font-size:30px" @click="deleteYtInfo(index)" v-if="scope.row.cz == '-'"></i>
</span>
</template>
</el-table-column>
<el-table-column prop="zrzmc" label="自然幢" align="center">
......@@ -200,6 +201,17 @@ export default {
}
.cp {
cursor: pointer;
position: relative;
top: 4px;
}
.el-table .cell{
line-height: 34px;
}
.el-table .cell, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell{
padding-left: 5px;
}
.el-table td, .el-table th{
padding: 4px 0;
}
}
</style>
......