king
2021-12-19 9ee3d1f9a09a865188baffdffb85f6ad329c7b09
src/menu/components/card/data-card/options.jsx
@@ -119,17 +119,34 @@
    },
    {
      type: 'radio',
      field: 'supType',
      label: '上级类型',
      initval: wrap.supType || 'single',
      tooltip: '上级组件为单一组件或多个组件。',
      required: false,
      forbid: subtype !== 'datacard' || appType === 'mob',
      options: [
        {value: 'single', label: '单组件'},
        {value: 'multi', label: '多组件'},
      ]
    },
    {
      type: subtype === 'propcard' ? 'select' : 'radio',
      field: 'selStyle',
      label: '选中风格',
      initval: wrap.selStyle || 'active',
      tooltip: '存在边框时,边框会使用系统色。',
      required: false,
      options: [
      options: subtype === 'propcard' ? [
        {value: 'none', label: '无'},
        {value: 'active', label: '外阴影'},
        {value: 'backFont', label: '背景+文字'},
        {value: 'font', label: '文字'},
      ],
      forbid: subtype !== 'propcard'
      ] : [
        {value: 'none', label: '无'},
        {value: 'active', label: '外阴影'},
      ]
      // forbid: subtype !== 'propcard'
    },
    // {
    //   type: 'radio',