| | |
| | | borderRightWidth: '1px', borderRightColor: '#e8e8e8', |
| | | borderBottomWidth: '1px', borderBottomColor: '#e8e8e8', |
| | | paddingTop: '15px', paddingBottom: '15px', paddingLeft: '15px', paddingRight: '15px', |
| | | marginLeft: '8px', marginRight: '8px', marginBottom: '8px' |
| | | marginLeft: '8px', marginRight: '8px' |
| | | }, |
| | | backElements: [{ |
| | | uuid: Utils.getuuid(), |
| | |
| | | |
| | | let _style = resetStyle(card.style) |
| | | |
| | | let extraName = '' |
| | | card.subcards.forEach(subcard => { |
| | | if (subcard.$cardType === 'extendCard') return |
| | | if (subcard.setting.controlIcon === 'left') { |
| | | extraName = ' mk-control-icon' |
| | | } |
| | | }) |
| | | |
| | | return ( |
| | | <div className={'menu-double-data-card-edit-box ' + appType} style={_style} onClick={this.clickComponent} id={card.uuid}> |
| | | <NormalHeader config={card} updateComponent={this.updateComponent}/> |
| | |
| | | <ToolOutlined /> |
| | | </Popover> |
| | | <ActionComponent config={card} setSubConfig={this.setSubConfig} updateaction={this.updateComponent}/> |
| | | <div className={'float-' + (card.wrap.cardFloat || 'left') + ' select-' + card.wrap.selStyle}> |
| | | <div className={'select-' + card.wrap.selStyle + extraName}> |
| | | {card.subcards.map(subcard => { |
| | | if (subcard.$cardType === 'extendCard') { |
| | | return (<CardComponent key={subcard.uuid} cards={card} card={subcard} move={this.move} updateElement={this.updateCard} deleteElement={this.deleteCard}/>) |