| | |
| | | initVal: card.linkSubField || [], |
| | | options: inputfields |
| | | }, |
| | | { |
| | | type: 'number', |
| | | key: 'marginTop', |
| | | label: '上边距(px)', |
| | | initVal: card.marginTop || 0, |
| | | min: -100, |
| | | max: 1000, |
| | | precision: 0, |
| | | required: false, |
| | | forbid: appType !== 'mob' |
| | | }, |
| | | { |
| | | type: 'number', |
| | | key: 'marginBottom', |
| | | label: '下边距(px)', |
| | | initVal: card.marginBottom || 0, |
| | | min: -100, |
| | | max: 1000, |
| | | precision: 0, |
| | | required: false, |
| | | forbid: appType !== 'mob' |
| | | }, |
| | | // { |
| | | // type: 'number', |
| | | // key: 'marginTop', |
| | | // label: '上边距(px)', |
| | | // initVal: card.marginTop || 0, |
| | | // min: -100, |
| | | // max: 1000, |
| | | // precision: 0, |
| | | // required: false, |
| | | // forbid: appType !== 'mob' |
| | | // }, |
| | | // { |
| | | // type: 'number', |
| | | // key: 'marginBottom', |
| | | // label: '下边距(px)', |
| | | // initVal: card.marginBottom || 0, |
| | | // min: -100, |
| | | // max: 1000, |
| | | // precision: 0, |
| | | // required: false, |
| | | // forbid: appType !== 'mob' |
| | | // }, |
| | | { |
| | | type: 'multiselect', |
| | | key: 'blacklist', |