From cb9ade2afd2a367ad767bc605ab7086c695dd010 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 09 十二月 2022 15:53:32 +0800
Subject: [PATCH] 2022-12-09

---
 src/menu/components/card/cardsimplecomponent/node-wrap/menus/index.jsx |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/menu/components/card/cardsimplecomponent/node-wrap/menus/index.jsx b/src/menu/components/card/cardsimplecomponent/node-wrap/menus/index.jsx
index 13230b0..31a0452 100644
--- a/src/menu/components/card/cardsimplecomponent/node-wrap/menus/index.jsx
+++ b/src/menu/components/card/cardsimplecomponent/node-wrap/menus/index.jsx
@@ -27,7 +27,7 @@
         editable: true,
         unique: true,
         required: false,
-        width: '35%'
+        width: '25%'
       },
       {
         title: '棰滆壊',
@@ -35,7 +35,8 @@
         inputType: 'color',
         editable: true,
         required: true,
-        width: '35%'
+        width: '25%',
+        render: (text, record) => <span style={{display: 'inline-block', width: '40px', height: '25px', background: text}}></span>
       },
       {
         title: '鍥炬爣',
@@ -43,9 +44,19 @@
         inputType: 'icon',
         editable: true,
         required: false,
-        width: '35%',
+        width: '25%',
         render: (text, record) => record.icon ? <MkIcon type={record.icon}/> : ''
-      }
+      },
+      {
+        title: '杩炴帴绾�',
+        dataIndex: 'linecolor',
+        inputType: 'color',
+        editable: true,
+        required: false,
+        allowClear: true,
+        width: '25%',
+        render: (text, record) => text ? <span style={{display: 'inline-block', width: '40px', height: '25px', background: text}}></span> : null
+      },
     ]
   }
 
@@ -77,6 +88,7 @@
     return (
       <div style={{minHeight: '250px'}}>
         <ColumnForm menus={menus} columnChange={this.columnChange}/>
+        <p style={{position: 'absolute', fontSize: '12px', transform: 'translate(0px, -20px)'}}>杩炴帴绾垮湪妯悜鏃堕棿杞翠腑鏈夋晥</p>
         <EditTable actions={['edit', 'move', 'copy', 'del']} type={'timenodes'} data={menus} columns={columns} onChange={this.changeColumns}/>
       </div>
     )

--
Gitblit v1.8.0