| | |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'text', |
| | | key: 'tipTitle', |
| | | label: '确认提示', |
| | | initVal: card.tipTitle || '', |
| | | tooltip: '注:弹窗(表单)在显示为是否框时有效。', |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'joint', |
| | | label: Formdict['model.form.paramJoint'], |
| | |
| | | initval = card.initval || 0 |
| | | } |
| | | |
| | | if (appType === 'mob' && ![24, 12, 8, 6].includes(card.span)) { |
| | | card.span = 24 |
| | | } |
| | | |
| | | return [ |
| | | { |
| | | type: 'text', |
| | |
| | | forbid: appType === 'mob' |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'span', |
| | | label: '表单宽度', |
| | | initVal: card.span || 24, |
| | | tooltip: '栅格布局整行24等分。', |
| | | required: true, |
| | | forbid: appType !== 'mob', |
| | | options: [{ |
| | | value: 24, |
| | | text: 24 |
| | | }, { |
| | | value: 12, |
| | | text: 12 |
| | | }, { |
| | | value: 8, |
| | | text: 8 |
| | | }, { |
| | | value: 6, |
| | | text: 6 |
| | | }] |
| | | }, |
| | | { |
| | | type: 'number', |
| | | key: 'labelwidth', |
| | | min: 1, |