From 89fa84c91887af1ba0ae5952b0e7323c2f346760 Mon Sep 17 00:00:00 2001 From: liaoboping <344114999@qq.com> Date: Wed, 27 Aug 2025 18:06:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E4=BF=9D=E9=9A=9C=E6=B8=85?= =?UTF-8?q?=E5=8D=95style?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../simulationScene/simulationModel/index.vue | 67 +++++++++++++++++-- 1 file changed, 60 insertions(+), 7 deletions(-) diff --git a/src/views/simulationScene/simulationModel/index.vue b/src/views/simulationScene/simulationModel/index.vue index 93ca65d..fc200cf 100644 --- a/src/views/simulationScene/simulationModel/index.vue +++ b/src/views/simulationScene/simulationModel/index.vue @@ -20,7 +20,14 @@
- +
['', '紧急', '加急', '一般'][text], + customCell: (record) => ({ style: { color: ['', '#ff3838', '#feba29', '#ffffff'][record.dj] } }), + }, { dataIndex: 'bzxq', title: '保障需求' }, ], qdList: [ - { id: '1', dj: '紧急', bzxq: '500枚防空导弹、6辆装甲车' }, - { id: '2', dj: '加急', bzxq: '5吨汽油、100套军装' }, - { id: '3', dj: '一般', bzxq: '15箱消炎药、6箱葡萄糖滴' }, - { id: '4', dj: '一般', bzxq: '一吨饮用水' }, - { id: '5', dj: '一般', bzxq: '1吨燃油、厨房抽烟机设备一' }, + { id: '1', dj: '1', bzxq: '500枚防空导弹、6辆装甲车' }, + { id: '2', dj: '2', bzxq: '5吨汽油、100套军装' }, + { id: '3', dj: '3', bzxq: '15箱消炎药、6箱葡萄糖滴' }, + { id: '4', dj: '3', bzxq: '一吨饮用水' }, + { id: '5', dj: '3', bzxq: '1吨燃油、厨房抽烟机设备一' }, ], }, sx: { @@ -162,6 +176,45 @@ export default { background-color: #bae7ff22; } } +.simulation-table-plain::v-deep { + .ant-table { + color: #a1c2d0; + } + .ant-table-body > table { + border: none; + } + .ant-table-thead > tr > th { + background-color: #083a52; + color: #ffffff; + border-bottom-color: #05628e; + border-top: 1px solid #05628e; + &:last-child { + border-right-color: #05628e; + } + &:not(:last-child) { + border-right-color: #05628e3b; + } + &:first-child { + border-left: 1px solid #05628e; + } + &:not(:first-child) { + } + } + .ant-table-tbody > tr > td { + border-bottom-color: #064766; + &:last-child { + border-right-color: #064766; + } + &:not(:last-child) { + border-right-color: #05628e3b; + } + &:first-child { + border-left: 1px solid #064766; + } + &:not(:first-child) { + } + } +} .image { width: 100%; padding: 20px;