| | |
| | | padding: card.setting.padding, |
| | | background: card.setting.background, |
| | | color: card.setting.color, |
| | | borderRadius: card.setting.borderRadius || '15%' |
| | | }} type={card.setting.icon}/> |
| | | borderRadius: card.setting.borderRadius || '15%', |
| | | opacity: !card.setting.icon ? 0 : 1 |
| | | }} type={card.setting.icon || 'cloud'}/> |
| | | {card.setting.tip ? <sup className="am-badge-text"></sup> : null} |
| | | </div> : <div className="menu-sign"> |
| | | <img style={{width: card.setting.imgWidth, height: card.setting.imgWidth, borderRadius: card.setting.borderRadius || '15%'}} src={card.setting.url} alt=""/> |
| | | {card.setting.tip ? <sup className="am-badge-text"></sup> : null} |
| | | </div>} |
| | | <div className="menu-name">{card.setting.name}</div> |
| | | <div className="menu-name" style={{opacity: !card.setting.name ? 0 : 1}}>{card.setting.name || '明科'}</div> |
| | | <RightOutlined className="menu-right" /> |
| | | {!card.setting.name ? <NormalForm title="菜单编辑" width={900} update={this.updateSetting} cancel={() => this.props.deleteElement(card, 'direct')} getForms={this.getSettingForms}> |
| | | <span id={card.uuid}></span> |
| | | </NormalForm> : null} |
| | | </div> |
| | | </Popover> |
| | | </Col> |