From 1563e2ef18b013bb7bb5781a22e7d92f40454f69 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 24 三月 2025 18:04:21 +0800
Subject: [PATCH] 2025-03-24

---
 src/menu/components/card/cardcomponent/index.jsx |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/card/cardcomponent/index.jsx b/src/menu/components/card/cardcomponent/index.jsx
index ea2add7..c5d5222 100644
--- a/src/menu/components/card/cardcomponent/index.jsx
+++ b/src/menu/components/card/cardcomponent/index.jsx
@@ -294,12 +294,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