From 31871ca836e6fcbea9b1c54e2ec15f49667bf093 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 23 十二月 2022 14:14:04 +0800
Subject: [PATCH] 2022-12-23

---
 src/menu/components/carousel/data-card/options.jsx |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/menu/components/carousel/data-card/options.jsx b/src/menu/components/carousel/data-card/options.jsx
index 6193479..a29facc 100644
--- a/src/menu/components/carousel/data-card/options.jsx
+++ b/src/menu/components/carousel/data-card/options.jsx
@@ -18,6 +18,13 @@
   const cardWrapForm = [
     {
       type: 'text',
+      field: 'title',
+      label: '鏍囬',
+      initval: wrap.title || '',
+      required: false
+    },
+    {
+      type: 'text',
       field: 'name',
       label: '缁勪欢鍚嶇О',
       initval: wrap.name || '',
@@ -64,6 +71,7 @@
       controlFields: [
         {field: 'modalWidth', values: ['modal']},
         {field: 'modalContent', values: ['modal']},
+        {field: 'code', values: ['modal']},
       ]
     },
     {
@@ -95,6 +103,18 @@
       forbid: appType === 'mob'
     },
     {
+      type: 'text',
+      field: 'code',
+      label: '娑堟伅缂栫爜',
+      initval: wrap.code || '',
+      tooltip: '鐢ㄤ簬璁板綍娑堟伅鏄惁宸茶鐨勬爣璇嗭紝濡傛灉涓嶅悓椤甸潰涓瓨鍦ㄧ浉鍚屾秷鎭紝鍙寚瀹氬浐瀹氬�笺��',
+      required: false,
+      rules: [{
+        pattern: /^[0-9a-zA-Z_]*$/ig,
+        message: '鍙厑璁稿寘鍚暟瀛椼�佸瓧姣嶄互鍙奯銆�'
+      }]
+    },
+    {
       type: 'radio',
       field: 'autoplay',
       label: '鑷姩鍒囨崲',

--
Gitblit v1.8.0