From 8afe4acaafb4b42649155f300e24c0fb082ba971 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 09 八月 2022 16:06:52 +0800
Subject: [PATCH] 2022-08-09

---
 src/templates/zshare/formconfig.jsx |   89 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 88 insertions(+), 1 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index b29b351..4228f90 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -3390,13 +3390,16 @@
       tooltip: '鏂囦欢鍘嬬缉鎴朾ase64蹇呴』涓哄浘鐗囷紝鍥剧墖鏍煎紡涓簀pg銆乸ng銆乬if 鎴� jpeg銆傛敞锛歜ase64鍙彲涓婁紶涓�寮犲浘鐗囥��',
       options: [{
         value: 'false',
-        text: '鏃�'
+        text: '榛樿'
       }, {
         value: 'true',
         text: '鍘嬬缉'
       }, {
         value: 'base64',
         text: 'base64'
+      }, {
+        value: 'oss',
+        text: 'oss涓婁紶'
       }]
     },
     {
@@ -3411,6 +3414,90 @@
       required: true
     },
     {
+      type: 'radio',
+      key: 'miniSet',
+      label: '灏忕▼搴忚缃�',
+      initVal: card.miniSet || 'default',
+      options: [{
+        value: 'default',
+        text: '榛樿'
+      }, {
+        value: 'custom',
+        text: '鑷畾涔�'
+      }],
+      forbid: appType !== 'mob'
+    },
+    {
+      type: 'checkbox',
+      key: 'mediaType',
+      label: '鏂囦欢绫诲瀷',
+      initVal: card.mediaType || ['image', 'video'],
+      options: [{
+        value: 'image',
+        text: '鍥剧墖'
+      }, {
+        value: 'video',
+        text: '瑙嗛'
+      }],
+      required: true,
+      forbid: appType !== 'mob'
+    },
+    {
+      type: 'checkbox',
+      key: 'sourceType',
+      label: '鏂囦欢鏉ユ簮',
+      initVal: card.sourceType || ['album', 'camera'],
+      options: [{
+        value: 'album',
+        text: '鐩稿唽閫夋嫨'
+      }, {
+        value: 'camera',
+        text: '鐩告満鎷嶆憚'
+      }],
+      required: true,
+      forbid: appType !== 'mob'
+    },
+    {
+      type: 'radio',
+      key: 'sizeType',
+      label: '鍥剧墖鍘嬬缉',
+      initVal: card.sizeType || 'compressed',
+      options: [{
+        value: 'compressed',
+        text: '鏄�'
+      }, {
+        value: 'original',
+        text: '鍚�'
+      }],
+      forbid: appType !== 'mob'
+    },
+    {
+      type: 'number',
+      key: 'maxDuration',
+      label: '鎷嶆憚鏃堕暱',
+      initVal: card.maxDuration || 10,
+      tooltip: '鎷嶆憚瑙嗛鏈�闀挎媿鎽勬椂闂达紝鍗曚綅绉掋�傛椂闂磋寖鍥翠负 3s 鑷� 60s 涔嬮棿銆備笉闄愬埗鐩稿唽銆�',
+      min: 3,
+      max: 60,
+      precision: 0,
+      required: true,
+      forbid: appType !== 'mob'
+    },
+    {
+      type: 'radio',
+      key: 'camera',
+      label: '鎽勫儚澶�',
+      initVal: card.camera || 'back',
+      options: [{
+        value: 'back',
+        text: '鍚庣疆'
+      }, {
+        value: 'front',
+        text: '鍓嶇疆'
+      }],
+      forbid: appType !== 'mob'
+    },
+    {
       type: 'number',
       key: 'span',
       min: 1,

--
Gitblit v1.8.0