|
|
@ -313,18 +313,14 @@ class BoardsNew extends Component{
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
{/* notRequired */}
|
|
|
|
{/* notRequired */}
|
|
|
|
<Form {...formItemLayout} onSubmit={this.handleSubmit}>
|
|
|
|
<Form {...formItemLayout} onSubmit={this.handleSubmit}>
|
|
|
|
<div className="formBlock" style={{paddingBottom: '0px'}}>
|
|
|
|
<div className="formBlock" style={{paddingBottom: '0px', position: 'relative'}}>
|
|
|
|
<Form.Item
|
|
|
|
|
|
|
|
label="标题"
|
|
|
|
|
|
|
|
className="topicTitle "
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
{ isAdmin &&
|
|
|
|
{ isAdmin &&
|
|
|
|
<React.Fragment>
|
|
|
|
<React.Fragment>
|
|
|
|
{getFieldDecorator('sticky', {
|
|
|
|
{getFieldDecorator('sticky', {
|
|
|
|
valuePropName: 'checked',
|
|
|
|
valuePropName: 'checked',
|
|
|
|
})(
|
|
|
|
})(
|
|
|
|
isAdmin && <Checkbox style={{ right: '0px',
|
|
|
|
isAdmin && <Checkbox style={{ right: '22px',
|
|
|
|
top: '-50px',
|
|
|
|
top: '28px',
|
|
|
|
position: 'absolute'
|
|
|
|
position: 'absolute'
|
|
|
|
}}>置顶</Checkbox>
|
|
|
|
}}>置顶</Checkbox>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
@ -332,6 +328,11 @@ class BoardsNew extends Component{
|
|
|
|
<span style={{ "padding-left": 0, "padding-right": 0 }}></span>
|
|
|
|
<span style={{ "padding-left": 0, "padding-right": 0 }}></span>
|
|
|
|
</React.Fragment>
|
|
|
|
</React.Fragment>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
<Form.Item
|
|
|
|
|
|
|
|
label="标题"
|
|
|
|
|
|
|
|
className="topicTitle "
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
{getFieldDecorator('subject', {
|
|
|
|
{getFieldDecorator('subject', {
|
|
|
|
rules: [{
|
|
|
|
rules: [{
|
|
|
|
required: true, message: '请输入标题',
|
|
|
|
required: true, message: '请输入标题',
|
|
|
|