From 4cd93a0c0525a22ec8798e51096fa5bfd448bde0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 09 一月 2023 19:30:13 +0800
Subject: [PATCH] 2023-01-09

---
 src/menu/components/share/actioncomponent/formconfig.jsx |   61 +++++++++++++++++++++++-------
 1 files changed, 46 insertions(+), 15 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx
index efedf7a..ab5b23b 100644
--- a/src/menu/components/share/actioncomponent/formconfig.jsx
+++ b/src/menu/components/share/actioncomponent/formconfig.jsx
@@ -126,7 +126,7 @@
     }
   }
   if (appType === 'mob') {
-    opentypes = opentypes.filter(item => ['pop', 'prompt', 'exec', 'excelOut', 'innerpage', 'funcbutton'].includes(item.value))
+    opentypes = opentypes.filter(item => ['pop', 'prompt', 'exec', 'excelOut', 'popview', 'innerpage', 'funcbutton'].includes(item.value))
     funTypes = [
       { value: 'print', text: '鏍囩鎵撳嵃' },
       { value: 'scan', text: '鎵爜' },
@@ -829,23 +829,13 @@
       }, {
         value: 'drawer',
         text: '鎶藉眽'
-      }]
-    },
-    {
-      type: 'number',
-      key: 'ratio',
-      min: 1,
-      max: 3000,
-      precision: 0,
-      label: '姣斾緥',
-      initVal: card.ratio || 85,
-      tooltip: '妯℃�佹鎴栨娊灞夌殑瀹藉害锛屽皬浜�100涓虹獥鍙e搴︼紙鎴栭珮搴︼級鐧惧垎姣旓紝澶т簬100涓哄儚绱犲�笺��',
-      required: true
+      }],
+      forbid: appType === 'mob',
     },
     {
       type: 'radio',
       key: 'placement',
-      label: '鎶藉眽鏂瑰悜',
+      label: '寮瑰嚭鏂瑰悜',
       initVal: card.placement || 'right',
       required: false,
       options: [{
@@ -863,6 +853,17 @@
       }]
     },
     {
+      type: 'number',
+      key: 'ratio',
+      min: 1,
+      max: 3000,
+      precision: 0,
+      label: '姣斾緥',
+      initVal: card.ratio || 85,
+      tooltip: '妯℃�佹鎴栨娊灞夌殑瀹藉害锛屽皬浜�100涓虹獥鍙e搴︼紙鎴栭珮搴︼級鐧惧垎姣旓紝澶т簬100涓哄儚绱犲�笺��',
+      required: true
+    },
+    {
       type: 'radio',
       key: 'clickouter',
       label: '鐐瑰嚮钂欏眰',
@@ -875,6 +876,36 @@
         value: 'close',
         text: '鍏抽棴'
       }]
+    },
+    {
+      type: 'radio',
+      key: 'maskStyle',
+      label: '钂欏眰鏍峰紡',
+      initVal: card.maskStyle || 'default',
+      required: false,
+      options: [{
+        value: 'default',
+        text: '榛樿'
+      }, {
+        value: 'transparent',
+        text: '閫忔槑'
+      }],
+      forbid: appType !== 'mob'
+    },
+    {
+      type: 'radio',
+      key: 'closeButton',
+      label: '鍏抽棴鎸夐挳',
+      initVal: card.closeButton || 'false',
+      required: false,
+      options: [{
+        value: 'false',
+        text: '闅愯棌'
+      }, {
+        value: 'true',
+        text: '鏄剧ず'
+      }],
+      forbid: appType !== 'mob'
     },
     {
       type: 'radio',
@@ -1678,7 +1709,7 @@
     {
       type: 'radio',
       key: 'placement',
-      label: '鎶藉眽鏂瑰悜',
+      label: '寮瑰嚭鏂瑰悜',
       initVal: card.placement || 'right',
       required: false,
       options: [{

--
Gitblit v1.8.0