Merge branches 'dev_aliyun' and 'develop' of https://bdgit.educoder.net/Hjqreturn/educoder into develop

dev_hs
杨树明 5 years ago
commit bbd6288066

@ -145,7 +145,8 @@ class Bullsubdirectory extends Component{
<div className="edu-back-white "> <div className="edu-back-white ">
{ {
whethertoeditysl === false? whethertoeditysl === false?
<div className="bor-bottom-greyE" > <div>
<div className="" >
<div className="fudonyingxiangysl"><div className="ysltitbt fl"><span >{myname}</span></div> <div className="fudonyingxiangysl"><div className="ysltitbt fl"><span >{myname}</span></div>
{ {
this.props.isAdmin() === true ? this.props.isAdmin() === true ?
@ -160,8 +161,10 @@ class Bullsubdirectory extends Component{
</div> </div>
<div id="MakedownHTML"className={"markdown-body fonttext yslmtopcg yslminHeigth markdownysltext"} dangerouslySetInnerHTML={{__html: markdownToHTML(mydescription).replace(/▁/g, "▁▁▁")}}/> <div id="MakedownHTML"className={"markdown-body fonttext yslmtopcg yslminHeigth markdownysltext"} dangerouslySetInnerHTML={{__html: markdownToHTML(mydescription).replace(/▁/g, "▁▁▁")}}/>
</div> </div>
<div className="bor-bottom-greyE mr25 ml25"></div>
</div>
: :
<div className="edu-back-white bor-bottom-greyE"> <div className="edu-back-white ">
<Form layout='vertical' onSubmit={this.handleSubmit} > <Form layout='vertical' onSubmit={this.handleSubmit} >
<style> <style>
{ {
@ -186,7 +189,7 @@ class Bullsubdirectory extends Component{
style={{"borderBottom":'none'}} style={{"borderBottom":'none'}}
className="chooseDestwo " className="chooseDestwo "
> >
{getFieldDecorator('eduintits', { {getFieldDecorator('eduintits',{ initialValue: this.state.eduintits }, {
rules: [{ rules: [{
required: true, message: '请在此输入标题,最多60个字符', required: true, message: '请在此输入标题,最多60个字符',
}, { }, {
@ -268,7 +271,7 @@ class Bullsubdirectory extends Component{
style={{"borderBottom":'none'}} style={{"borderBottom":'none'}}
className="chooseDes " className="chooseDes "
> >
{getFieldDecorator('description', { {getFieldDecorator('description', { initialValue: this.state.description },{
rules: [{ rules: [{
required: true, message: '请在此输入内容,最多5000个字符', required: true, message: '请在此输入内容,最多5000个字符',
}, { }, {
@ -295,6 +298,7 @@ class Bullsubdirectory extends Component{
</div> </div>
</Form.Item> </Form.Item>
</Form> </Form>
<div className="bor-bottom-greyE mr25 ml25"></div>
</div> </div>
} }
</div> </div>

@ -179,13 +179,13 @@ class Eduinforms extends Component{
<React.Fragment > <React.Fragment >
<div id={"zhudiv"}> <div id={"zhudiv"}>
<div className="edu-back-white"> <div className="edu-back-white">
<p className="clearfix padding30 bor-bottom-greyE"> <p className="clearfix padding30 bor-bottom-greyE yslmaxheigth80" >
<p style={{height: '20px'}}> <p style={{height: '20px'}}>
<span className="font-18 fl color-dark-21">公告栏</span> <span className="font-18 fl color-dark-21">公告栏</span>
{ {
this.props.isAdmin()===true? this.props.isAdmin()===true?
(this.state.yslbool===false? (this.state.yslbool===false?
<li className="btn colorblue font-16 fr bluebkbk" style={{cursor: "default"}} <li className="btn colorblue font-16 fr bluebkbk pointer"
onClick={() => this.bianji(true)}> onClick={() => this.bianji(true)}>
发布公告 发布公告
</li> </li>
@ -204,7 +204,7 @@ class Eduinforms extends Component{
{ {
whethertoedit === false?"" whethertoedit === false?""
: :
<div className="edu-back-white bor-bottom-greyE"> <div className="edu-back-white ">
<Form layout='vertical' onSubmit={this.handleSubmit} > <Form layout='vertical' onSubmit={this.handleSubmit} >
@ -340,6 +340,7 @@ class Eduinforms extends Component{
</div> </div>
</Form.Item> </Form.Item>
</Form> </Form>
<div className="bor-bottom-greyE mr25 ml25"></div>
</div> </div>
} }
<div> <div>

@ -18,6 +18,7 @@
height: 30px; height: 30px;
text-align: center; text-align: center;
line-height: 30px; line-height: 30px;
border-radius: 2px;
} }
.ysleduinwh{ .ysleduinwh{
@ -72,3 +73,9 @@
.yslbianji{ .yslbianji{
padding-top: 31px; padding-top: 31px;
} }
.yslmaxheigth80{
max-height: 80px;
}
.ysldashed{
border:1px dashed #EEE;
}

Loading…
Cancel
Save