From d5ce81026882ada34e5d49411be7c90ee96cc102 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 17 一月 2023 18:20:11 +0800
Subject: [PATCH] 2023-01-17

---
 src/templates/zshare/formconfig.jsx |   31 +++++++++++++++++++++++++++++--
 1 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index ecbc867..6626b9b 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -489,6 +489,13 @@
       required: true
     },
     {
+      type: 'text',
+      key: 'colorField',
+      label: '鑹插�煎瓧娈�',
+      initVal: card.colorField || '',
+      required: true
+    },
+    {
       type: 'radio',
       key: 'picratio',
       label: '鍥剧墖姣斾緥',
@@ -1440,7 +1447,7 @@
     {
       type: 'radio',
       key: 'placement',
-      label: '鎶藉眽鏂瑰悜',
+      label: '寮瑰嚭鏂瑰悜',
       initVal: card.placement || 'right',
       required: false,
       options: [{
@@ -2693,6 +2700,13 @@
       readonly: false
     },
     {
+      type: 'text',
+      key: 'colorField',
+      label: '鑹插�煎瓧娈�',
+      initVal: card.colorField || '',
+      required: true
+    },
+    {
       type: 'radio',
       key: 'picratio',
       label: '鍥剧墖姣斾緥',
@@ -3203,6 +3217,19 @@
     },
     {
       type: 'radio',
+      key: 'colorType',
+      label: '棰滆壊绫诲瀷',
+      initVal: card.colorType || 'hex',
+      options: [{
+        value: 'hex',
+        text: '16杩涘埗'
+      }, {
+        value: 'rgba',
+        text: 'RGBA'
+      }]
+    },
+    {
+      type: 'radio',
       key: 'allowHalf',
       label: '鍗婇��',
       initVal: card.allowHalf || 'false',
@@ -3671,7 +3698,7 @@
       key: 'regularExtra',
       label: '姝e垯鎵╁睍绗�',
       initVal: card.regularExtra || '',
-      tooltip: '姝e垯楠岃瘉鏃剁殑鑷畾涔夊瓧绗︼紝鍖呮嫭~!@#$%^&*()_+:;{}<>,.-',
+      tooltip: '姝e垯楠岃瘉鏃跺厑璁告坊鍔犵殑鑷畾涔夊瓧绗︼紝鍖呮嫭~!@#$%^&*()_+:;{}<>,.-',
       required: false,
       readonly: false
     },

--
Gitblit v1.8.0