From 34e7681fd12b1c4e4994d3bea1a553870e10bc50 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 11 三月 2023 17:58:54 +0800
Subject: [PATCH] 2023-03-11

---
 src/menu/modulecell/index.jsx |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/menu/modulecell/index.jsx b/src/menu/modulecell/index.jsx
index 135b1e9..b8841a6 100644
--- a/src/menu/modulecell/index.jsx
+++ b/src/menu/modulecell/index.jsx
@@ -22,6 +22,7 @@
           { value: 'qrcode', text: '浜岀淮鐮�', type: 'action', class: 'element', $init: true},
           { value: 'currentDate', text: '褰撳墠鏃堕棿', type: 'action', class: 'element', $init: true},
           { value: 'formula', text: '鍏紡', type: 'action', class: 'element', $init: true},
+          { value: 'color', text: '棰滆壊', type: 'action', class: 'element', $init: true},
           { value: 'sequence', text: '搴忓彿', type: 'action', class: 'element', $init: true }
         ]
       },
@@ -38,7 +39,7 @@
           { value: 'tab', text: '鏍囩椤�', type: 'action', class: 'button', $init: true },
           { value: 'innerpage', text: '鏂伴〉闈�', type: 'action', class: 'button', $init: true },
           { value: 'funcbutton', text: '鍔熻兘鎸夐挳', type: 'action', class: 'button', $init: true },
-          { value: 'form', text: '琛ㄥ崟(寮�鍏�)', type: 'action', class: 'button', $init: true }
+          { value: 'form', text: '琛ㄥ崟', type: 'action', class: 'button', $init: true }
         ]
       },
       {
@@ -66,7 +67,8 @@
           { subType: 'hint', text: '鎻愮ず', type: 'form' },
           { subType: 'split', text: '鍒嗛殧绾�', type: 'form' },
           { subType: 'linkMain', text: '鍏宠仈涓昏〃', type: 'form' },
-          { subType: 'formula', text: '鍏紡', type: 'form' }
+          { subType: 'formula', text: '鍏紡', type: 'form' },
+          { subType: 'vercode', text: '楠岃瘉鐮�', type: 'form' }
         ]
       },
       {
@@ -92,6 +94,7 @@
           { subType: 'text', text: '鏂囨湰', type: 'col', $init: true },
           { subType: 'number', text: '鏁板瓧', type: 'col', $init: true },
           { subType: 'picture', text: '鍥剧墖', type: 'col', $init: true },
+          { subType: 'video', text: '瑙嗛', type: 'col', $init: true },
           { subType: 'link', text: '閾炬帴', type: 'col', $init: true },
           { subType: 'textarea', text: '澶氳鏂囨湰', type: 'col', $init: true },
           { subType: 'custom', text: '鑷畾涔夊垪', type: 'col', $init: true },
@@ -110,7 +113,7 @@
     let options = fromJS(this.state.options).toJS()
 
     if (appType === 'mob') {
-      options[1].children = options[1].children.filter(item => ['pop', 'prompt', 'exec', 'innerpage', 'funcbutton'].includes(item.value))
+      options[1].children = options[1].children.filter(item => ['pop', 'prompt', 'exec', 'excelOut', 'innerpage', 'funcbutton'].includes(item.value))
       options[2].children = options[2].children.filter(item => {
         if (item.subType === 'select') {
           item.text = '閫夋嫨鍣�'
@@ -139,7 +142,7 @@
 
     return (
       <div className="mk-source-box">
-        <div className="tip">娉細褰撴嫋鍔ㄧ被鍨嬩笉鍙楁敮鎸佹椂浼氳閲嶇疆銆�</div>
+        <div className="tip">娉細褰撳厓绱犵被鍨嬩笉鍙楁敮鎸佹椂浼氳閲嶇疆銆�</div>
         {options.map((item, index) => (<div className="mk-class" span={item.span} key={index}>
           <div className="title">{item.title}</div>
           {item.children.map(cell => <SourceWrap key={cell.value || cell.subType} item={cell}/>)}

--
Gitblit v1.8.0