From b55d1c67769dcc8d90eed2bb4f8a7dfd51e7303a Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123456 <zxx19900626> Date: 星期三, 27 四月 2022 11:31:35 +0800 Subject: [PATCH] 细节样式 --- src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue b/src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue index b78ab56..6848bd8 100644 --- a/src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue +++ b/src/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue @@ -7,6 +7,7 @@ :max-height="tableHeight" :data="tableData" :header-cell-style="handleheader" + :cell-style="handleCellStyle" stripe border style="width: 100%"> @@ -263,6 +264,11 @@ lineHeight: '0', } }, + handleCellStyle({rowIndex,columnIndex}) { + if(columnIndex == 0) { + return { background:'#51D2FF' } + } + }, getHeight() { this.tableHeight = window.innerHeight - nowSize(1000) }, -- Gitblit v1.9.1