| | |
| | | anchors = MenuUtils.getAnchors(window.GLOB.customMenu.components, cards.uuid) || [] |
| | | } |
| | | |
| | | if (cards.type === 'table' || (cards.type === 'card' && cards.subtype === 'datacard')) { |
| | | if (cards.type === 'table' || (cards.type === 'card' && cards.subtype !== 'propcard')) { |
| | | _options.push({value: 'sequence', text: '序号'}) |
| | | } else if (card.eleType === 'sequence') { // 拖拽添加类型转换 |
| | | card.eleType = 'text' |
| | |
| | | { value: '9:16', text: '9:16' }, |
| | | ] |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'backgroundSize', |
| | | label: '图像大小', |
| | | initVal: card.backgroundSize || 'cover', |
| | | required: false, |
| | | options: [ |
| | | { value: 'cover', text: '覆盖' }, |
| | | { value: 'contain', text: '包含' }, |
| | | { value: 'auto', text: '自适应' }, |
| | | ] |
| | | }, |
| | | // { |
| | | // type: 'radio', |
| | | // key: 'backgroundSize', |
| | | // label: '图像大小', |
| | | // initVal: card.backgroundSize || 'cover', |
| | | // required: false, |
| | | // options: [ |
| | | // { value: 'cover', text: '覆盖' }, |
| | | // { value: 'contain', text: '包含' }, |
| | | // { value: 'auto', text: '自适应' }, |
| | | // ] |
| | | // }, |
| | | { |
| | | type: 'number', |
| | | key: 'maxWidth', |