| | |
| | | { 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', |