From ed1cc4adc145f8685d04763e19fbd6b0bd80c136 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 09 六月 2022 16:22:44 +0800
Subject: [PATCH] 2022-06-09

---
 src/menu/components/card/data-card/options.jsx |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/src/menu/components/card/data-card/options.jsx b/src/menu/components/card/data-card/options.jsx
index 913aba8..18c7a2c 100644
--- a/src/menu/components/card/data-card/options.jsx
+++ b/src/menu/components/card/data-card/options.jsx
@@ -120,6 +120,9 @@
         {value: 'switch', label: '宸﹀彸鍒囨崲', forbid: appType === 'mob'},
         {value: 'slide', label: '婊戝姩鍔犺浇', forbid: appType !== 'mob'},
       ],
+      controlFields: [
+        {field: 'slidetip', values: ['slide']},
+      ],
       forbid: !(subtype === 'datacard' || (subtype === 'tablecard' && appType === 'mob'))
     },
     {
@@ -168,7 +171,8 @@
         {value: 'false', label: '鏃�'},
         {value: 'init', label: '鍒濆鍖�'},
         {value: 'always', label: '鏁版嵁鍔犺浇'},
-      ]
+      ],
+      forbid: subtype === 'tablecard'
     },
     {
       type: 'select',
@@ -183,8 +187,8 @@
         {value: 'backFont', label: '鑳屾櫙+鏂囧瓧'},
         {value: 'font', label: '鏂囧瓧'},
         ...(subtype === 'datacard' && appType === 'mob' ? [{value: 'check', label: '鍕鹃��'}] : [])
-      ]
-      // forbid: subtype !== 'propcard'
+      ],
+      forbid: subtype === 'tablecard'
     },
     // {
     //   type: 'radio',
@@ -431,6 +435,15 @@
       forbid: !!appType
     },
     {
+      type: 'text',
+      field: 'slidetip',
+      label: '搴曢儴鎻愮ず',
+      initval: wrap.slidetip || wrap.slidetip === '' ? wrap.slidetip : '娌℃湁鏇村浜�',
+      tooltip: '婊戝姩鍔犺浇鑷冲簳閮ㄦ椂鐨勬彁绀轰俊鎭��',
+      required: false,
+      forbid: appType !== 'mob' || subtype === 'propcard'
+    },
+    {
       type: 'table',
       field: 'supNodes',
       label: '涓婄骇缁勪欢',

--
Gitblit v1.8.0