From 2e5fe5427d6db393e0495598ff43d90a052f4791 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 28 四月 2024 14:06:42 +0800 Subject: [PATCH] 2024-04-28 --- src/templates/zshare/formconfig.jsx | 35 ++++++++++++++++++++++++++++++----- 1 files changed, 30 insertions(+), 5 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 6f2c88b..d39db79 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -74,6 +74,9 @@ value: 'group', text: '鏃ユ湡锛堢粍鍚堬級' }, { + value: 'range', + text: '鏁板�硷紙鍖洪棿锛�' + }, { value: 'switch', text: '寮�鍏�' }, { @@ -1866,6 +1869,21 @@ }, { type: 'radio', + key: 'format', + label: '鏍煎紡鍖�', + tooltip: '浣跨敤鍗冨垎浣嶆椂锛屾暟鍊煎皢浠ュ崈鍒嗕綅鏍煎紡鏄剧ず锛屾彁浜ゆ椂涓哄師鏁板�笺��', + initVal: card.format || '', + forbid: appType === 'mob', + options: [{ + value: '', + text: '鏃�' + }, { + value: 'thdSeparator', + text: '鍗冨垎浣�' + }] + }, + { + type: 'radio', key: 'colorType', label: '棰滆壊绫诲瀷', initVal: card.colorType || 'hex', @@ -2061,6 +2079,7 @@ key: 'inputType', label: '鍔犲瘑鏄剧ず', initVal: card.inputType || 'text', + tooltip: '杈撳叆妗嗗唴瀹逛互 ****** 鏄剧ず銆�', required: false, options: [{ value: 'text', @@ -2071,17 +2090,23 @@ }] }, { - type: 'radio', + type: 'select', key: 'interception', - label: '鎴彇鏂瑰紡', + label: '鏂囨湰棰勫鐞�', initVal: card.interception || 'true', - tooltip: '鎻愪氦鏃剁殑鏂囨湰澶勭悊鏂瑰紡锛岀┖鐧藉瓧绗︽寚寮�澶存垨缁撳熬鐨勭┖鐧藉瓧绗︺��', + tooltip: '鎻愪氦鏃剁殑鏂囨湰澶勭悊鏂瑰紡銆傛敞锛氬叏瑙掕浆鍗婅鏃朵細鍘婚櫎棣栧熬绌烘牸', options: [{ value: 'false', text: '鏃�' }, { value: 'true', - text: '绌虹櫧瀛楃' + text: '鍘绘帀棣栧熬绌烘牸' + // }, { + // value: 'char', + // text: '鍏ㄨ杞崐瑙�' + }, { + value: 'charTure', + text: '鍏ㄨ杞崐瑙�' }, { value: 'func', text: '鑷畾涔夊嚱鏁�' @@ -2561,7 +2586,7 @@ key: 'enter', label: '鍥炶溅浜嬩欢', initVal: (card.type === 'text' || card.type === 'number') ? (card.enter || 'sub') : (card.enter || 'false'), - tooltip: '1銆佺偣鍑籈nter閿垨鏂囨湰绫昏〃鍗曡緭鍏ュ洖杞︾锛�2銆佷笅鎷夐�夋嫨鎴栧紑鍏崇殑閫夐」鍒囨崲銆�', + tooltip: '1銆佺偣鍑籈nter閿垨鏂囨湰绫昏〃鍗曡緭鍏ュ洖杞︾锛�2銆佷笅鎷夐�夋嫨銆佹椂闂淬�佸紑鍏崇殑閫夐」鍒囨崲銆�', options: [{ value: 'sub', text: '鎻愪氦' -- Gitblit v1.8.0