dev_aliyun2
harry 5 years ago
parent 4ced85c494
commit 7fd6707d14

@ -1,3 +1,4 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Spin, Icon, Modal } from 'antd'; import { Spin, Icon, Modal } from 'antd';
class Modals extends Component { class Modals extends Component {
@ -33,9 +34,6 @@ class Modals extends Component {
} }
.color848282{ .color848282{
color:#848282; color:#848282;
}
.task-btn{
color: #fff !important;
} }
` `
} }
@ -52,13 +50,11 @@ class Modals extends Component {
</div> </div>
: :
<div className="clearfix mt30 edu-txt-center"> <div className="clearfix mt30 edu-txt-center">
<a className="task-btn mr30" onClick={this.props.modalCancel}>{this.props.cancelText || '取消'}</a> <a className="task-btn mr30" onClick={this.props.modalCancel}>取消</a>
<a className="task-btn task-btn-orange" onClick={this.props.modalSave}>{this.props.okText || '确定'}</a> <a className="task-btn task-btn-orange" onClick={this.props.modalSave}>{this.props.okText || '确定'}</a>
</div> </div>
} }
</div> </div>
}
</div>
</Spin> </Spin>
</Modal> </Modal>
) )

Loading…
Cancel
Save