From 73d56e1024cf420eff2aae3710886c84d56a385f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 04 六月 2022 14:48:36 +0800
Subject: [PATCH] 2022-06-04

---
 src/menu/components/share/actioncomponent/formconfig.jsx |   35 +++++++++++++++++++++++++++++++++--
 1 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx
index 7dd44d3..8bf6e90 100644
--- a/src/menu/components/share/actioncomponent/formconfig.jsx
+++ b/src/menu/components/share/actioncomponent/formconfig.jsx
@@ -107,11 +107,13 @@
     opentypes = opentypes.filter(item => ['pop', 'prompt', 'exec', 'innerpage', 'funcbutton'].includes(item.value))
     funTypes = [
       { value: 'scan', text: '鎵爜' },
+      { value: 'pay', text: '鏀粯' },
       { value: 'logout', text: '閫�鍑�' },
       { value: 'mkBinding', text: '寮�閫氭壂鐮佺櫥褰�' },
       { value: 'mkUnBinding', text: '鐢ㄦ埛瑙g粦' },
       { value: 'mkUnsubscribe', text: '娉ㄩ攢璐︽埛' },
       { value: 'reAuth', text: '鍒囨崲绯荤粺锛堟竻绌虹紦瀛�-灏忕▼搴忥級' },
+      { value: 'copyurl', text: '澶嶅埗閾炬帴鍦板潃' },
       { value: 'goBack', text: '杩斿洖' },
     ]
     pageTemps = [
@@ -234,6 +236,20 @@
       label: '鎸夐挳鍚嶇О',
       initVal: card.label,
       required: true,
+    },
+    {
+      type: 'checkbox',
+      key: 'payType',
+      label: '鏀粯鏂瑰紡',
+      initVal: card.payType || [],
+      required: true,
+      options: [{
+        value: 'wxpay',
+        text: '寰俊'
+      }, {
+        value: 'alipay',
+        text: '鏀粯瀹�'
+      }]
     },
     {
       type: 'radio',
@@ -640,7 +656,7 @@
       key: 'switchTab',
       label: '鍒囨崲鏍囩',
       initVal: card.switchTab || [],
-      tooltip: '鎵ц鎴愬姛鍚庯紝闇�瑕佸垏鎹㈢殑鏍囩椤�',
+      tooltip: '鎵ц鎴愬姛鍚庯紝闇�瑕佸垏鎹㈢殑鏍囩椤点��' + (appType === 'mob' ? '娉細灏忕▼搴忎腑鏃犳晥' : ''),
       required: false,
       options: tabs
     },
@@ -649,7 +665,7 @@
       key: 'anchors',
       label: '璺宠浆閿氱偣',
       initVal: card.anchors || [],
-      tooltip: '鎵ц鎴愬姛鍚庯紝闇�瑕佽烦杞殑閿氱偣',
+      tooltip: '鎵ц鎴愬姛鍚庯紝闇�瑕佽烦杞殑閿氱偣銆�' + (appType === 'mob' ? '娉細灏忕▼搴忎腑鏃犳晥' : ''),
       required: false,
       options: anchors
     },
@@ -914,6 +930,21 @@
         value: 'true',
         text: '鏄�'
       }]
+    },
+    {
+      type: 'radio',
+      key: 'progress',
+      label: '杩涘害鎻愮ず',
+      initVal: card.progress || 'number',
+      required: false,
+      forbid: appType === 'mob',
+      options: [{
+        value: 'number',
+        text: '鍓╀綑鏁�'
+      }, {
+        value: 'progressbar',
+        text: '杩涘害鏉�'
+      }]
     }
   ]
 

--
Gitblit v1.8.0