| | |
| | | _style = {...card.style, opacity: isDragging ? 0.3 : 1} |
| | | _style = resetStyle(_style) |
| | | } |
| | | if (_style.display === 'none') { |
| | | _style.display = 'block' |
| | | } |
| | | if (card.eleType === 'picture' && card.maxWidth) { |
| | | _style.maxWidth = card.maxWidth |
| | | let left = _style.marginLeft || 'auto' |
| | |
| | | _style_ = {float: 'right'} |
| | | } |
| | | |
| | | let mark = ['text', 'number', 'slider', 'sequence', 'formula'].includes(card.eleType) |
| | | let mark = ['text', 'number', 'slider', 'sequence', 'formula', 'icon'].includes(card.eleType) |
| | | if (parent.setting && parent.setting.cardRole === 'header') { |
| | | mark = false |
| | | } else if (card.eleType === 'formula' && card.eval === 'func') { |