From 9ee3d1f9a09a865188baffdffb85f6ad329c7b09 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 19 十二月 2021 01:09:20 +0800
Subject: [PATCH] 2021-12-19

---
 src/menu/components/card/data-card/options.jsx |   47 ++++++++++++++++++++++++++++++++---------------
 1 files changed, 32 insertions(+), 15 deletions(-)

diff --git a/src/menu/components/card/data-card/options.jsx b/src/menu/components/card/data-card/options.jsx
index b449ed9..1614f78 100644
--- a/src/menu/components/card/data-card/options.jsx
+++ b/src/menu/components/card/data-card/options.jsx
@@ -119,30 +119,47 @@
     },
     {
       type: 'radio',
+      field: 'supType',
+      label: '涓婄骇绫诲瀷',
+      initval: wrap.supType || 'single',
+      tooltip: '涓婄骇缁勪欢涓哄崟涓�缁勪欢鎴栧涓粍浠躲��',
+      required: false,
+      forbid: subtype !== 'datacard' || appType === 'mob',
+      options: [
+        {value: 'single', label: '鍗曠粍浠�'},
+        {value: 'multi', label: '澶氱粍浠�'},
+      ]
+    },
+    {
+      type: subtype === 'propcard' ? 'select' : 'radio',
       field: 'selStyle',
       label: '閫変腑椋庢牸',
       initval: wrap.selStyle || 'active',
       tooltip: '瀛樺湪杈规鏃讹紝杈规浼氫娇鐢ㄧ郴缁熻壊銆�',
       required: false,
-      options: [
+      options: subtype === 'propcard' ? [
+        {value: 'none', label: '鏃�'},
         {value: 'active', label: '澶栭槾褰�'},
         {value: 'backFont', label: '鑳屾櫙+鏂囧瓧'},
         {value: 'font', label: '鏂囧瓧'},
-      ],
-      forbid: subtype !== 'propcard'
+      ] : [
+        {value: 'none', label: '鏃�'},
+        {value: 'active', label: '澶栭槾褰�'},
+      ]
+      // forbid: subtype !== 'propcard'
     },
-    {
-      type: 'radio',
-      field: 'checkAll',
-      label: '鍏ㄩ��',
-      initval: wrap.checkAll || 'hidden',
-      required: false,
-      options: [
-        {value: 'hidden', label: '闅愯棌'},
-        {value: 'show', label: '鏄剧ず'},
-      ],
-      forbid: subtype !== 'datacard' || appType !== 'mob'
-    },
+    // {
+    //   type: 'radio',
+    //   field: 'checkAll',
+    //   label: '鍏ㄩ��',
+    //   initval: wrap.checkAll || 'hidden',
+    //   required: false,
+    //   options: [
+    //     {value: 'hidden', label: '闅愯棌'},
+    //     {value: 'show', label: '鏄剧ず'},
+    //   ],
+    //   forbid: subtype !== 'datacard' || appType !== 'mob'
+    // },
     {
       type: 'radio',
       field: 'cardFloat',

--
Gitblit v1.8.0