From a0367ceb9092dd1f781f07db7bbd12b174fac097 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 24 三月 2025 18:08:40 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/menu/components/card/cardsimplecomponent/index.jsx | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/menu/components/card/cardsimplecomponent/index.jsx b/src/menu/components/card/cardsimplecomponent/index.jsx index c30754d..e22187a 100644 --- a/src/menu/components/card/cardsimplecomponent/index.jsx +++ b/src/menu/components/card/cardsimplecomponent/index.jsx @@ -210,12 +210,22 @@ field: item.field || '', width: item.span || 12, value: '', - style: {marginBottom: '15px'} + style: {marginBottom: '15px', color: 'rgba(0, 0, 0, 0.85)'} } if (item.type === 'number') { cell.eleType = 'number' cell.decimal = typeof(item.decimal) === 'number' ? item.decimal : '' + } else if (item.type === 'split') { + cell.width = 24 + cell.prefix = '' + cell.value = item.label || '' + cell.style = { + color: '#1890ff', + marginBottom: '15px', + borderBottomWidth: '1px', + borderBottomColor: '#e9e9e9' + } } items.push(cell) -- Gitblit v1.8.0