|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
|
|
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
import { Spin, Icon, Modal } from 'antd';
|
|
|
|
|
class Modals extends Component {
|
|
|
|
@ -33,9 +34,6 @@ class Modals extends Component {
|
|
|
|
|
}
|
|
|
|
|
.color848282{
|
|
|
|
|
color:#848282;
|
|
|
|
|
}
|
|
|
|
|
.task-btn{
|
|
|
|
|
color: #fff !important;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
@ -52,13 +50,11 @@ class Modals extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
<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>
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
</Spin>
|
|
|
|
|
</Modal>
|
|
|
|
|
)
|
|
|
|
|