这个项目表格是否配置表头的问题+公共表格是否设置表头文字为红色
| | |
| | | .font_size_40 { |
| | | font-size: 40px !important; |
| | | } |
| | | .color_333 { |
| | | color: #333; |
| | | } |
| | | .color_666 { |
| | | color: #666; |
| | | } |
| | | .color_blue { |
| | | color: #2a78fb; |
| | | } |
| | | .color_67c23a { |
| | | color: #67c23a; |
| | | } |
| | | .color_red { |
| | | color: red; |
| | | } |
| | | .color_FF9900 { |
| | | color: #ff9900; |
| | | } |
| | | .background_blue{ |
| | | background: #2a78fb; |
| | | } |
| | | .cursor_pointer { |
| | | cursor: pointer; |
| | | } |
| | |
| | | <div class="table-view"> |
| | | <el-table |
| | | ref="table" |
| | | :class="tableList.headerColor=='red'?'table-red':''" |
| | | border |
| | | :data="tableList.tableInfomation" |
| | | tooltip-effect="dark" |
| | |
| | | </el-table> |
| | | <div class="overSpread1" v-show="iscolopen" @click="onMaskClick"></div> |
| | | <div class="styleBtn"> |
| | | <i @click="checkCol()" class="label">...</i> |
| | | <i @click="checkCol()" v-if="colOpenShow" class="label">...</i> |
| | | <el-checkbox-group |
| | | v-model="showcol" |
| | | v-show="iscolopen" |
| | |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | // 是否可以配置列表 表头 |
| | | colOpenShow: { |
| | | type: Boolean, |
| | | default: true, |
| | | }, |
| | | showSummary: { |
| | | type: Object, |
| | |
| | | height: 35px; |
| | | text-align: center; |
| | | } |
| | | |
| | | ::v-deep .table-red.el-table th.el-table__cell>.cell{ |
| | | color:red; |
| | | } |
| | | ::v-deep{ |
| | | .el-table .cell .el-button--text.el-button--small{ |
| | | padding: 4px 0; |