调整 公告栏

dev_hs
杨树林 5 years ago
parent 90fda7bc24
commit 0800e2b596

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

@ -179,13 +179,13 @@ class Eduinforms extends Component{
<React.Fragment >
<div id={"zhudiv"}>
<div className="edu-back-white">
<p className="clearfix padding30 bor-bottom-greyE">
<p className="clearfix padding30 bor-bottom-greyE yslmaxheigth80" >
<p style={{height: '20px'}}>
<span className="font-18 fl color-dark-21">公告栏</span>
{
this.props.isAdmin()===true?
(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)}>
发布公告
</li>

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

Loading…
Cancel
Save