king
2021-01-04 c986f2f56bb153a9b6cebc74b4d9334c85ddfdda
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'],