From c986f2f56bb153a9b6cebc74b4d9334c85ddfdda Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 04 一月 2021 18:54:02 +0800
Subject: [PATCH] 2020-01-04

---
 src/menu/components/card/cardcellcomponent/formconfig.jsx |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx
index 4c00d73..39b0ab3 100644
--- a/src/menu/components/card/cardcellcomponent/formconfig.jsx
+++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx
@@ -13,6 +13,7 @@
     { value: 'text', text: '鏂囨湰'},
     { value: 'number', text: '鏁板��'},
     { value: 'picture', text: '鍥剧墖'},
+    { value: 'video', text: '瑙嗛'},
     { value: 'icon', text: '鍥炬爣'},
     { value: 'slider', text: '杩涘害鏉�'},
     { value: 'splitline', text: '鍒嗗壊绾�'},
@@ -105,10 +106,21 @@
     {
       type: 'file',
       key: 'url',
-      label: '鍥剧墖',
+      label: '鍥剧墖/鏂囦欢',
       initVal: card.url || '',
       maxfile: 1,
       required: false
+    },
+    {
+      type: 'radio',
+      key: 'autoPlay',
+      label: '鑷姩鎾斁',
+      initVal: card.autoPlay || 'false',
+      required: false,
+      options: [
+        { value: 'true', text: '鏄�' },
+        { value: 'false', text: '鍚�' }
+      ]
     },
     {
       type: 'radio',
@@ -279,6 +291,17 @@
       ]
     },
     {
+      type: 'select',
+      key: 'aspectRatio',
+      label: '闀垮姣�',
+      initVal: card.aspectRatio || '16:9',
+      required: true,
+      options: [
+        { value: '4:3', text: '4:3' },
+        { value: '16:9', text: '16:9' }
+      ]
+    },
+    {
       type: 'radio',
       key: 'joint',
       label: Formdict['model.form.paramJoint'],

--
Gitblit v1.8.0