调整 公告栏

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

@ -145,20 +145,23 @@ 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="fudonyingxiangysl"><div className="ysltitbt fl"><span >{myname}</span></div> <div className="" >
{ <div className="fudonyingxiangysl"><div className="ysltitbt fl"><span >{myname}</span></div>
this.props.isAdmin() === true ? {
(this.props.yslbool===false? this.props.isAdmin() === true ?
<i className="iconfont icon-bianji1 newbianji1 fr pr25 yslbianji" onClick={()=>this.bianji(true)}></i> (this.props.yslbool===false?
: <i className="iconfont icon-bianji1 newbianji1 fr pr25 yslbianji" onClick={()=>this.bianji(true)}></i>
"" :
) ""
)
:"" :""
} }
</div>
<div id="MakedownHTML"className={"markdown-body fonttext yslmtopcg yslminHeigth markdownysltext"} dangerouslySetInnerHTML={{__html: markdownToHTML(mydescription).replace(/▁/g, "▁▁▁")}}/>
</div> </div>
<div id="MakedownHTML"className={"markdown-body fonttext yslmtopcg yslminHeigth markdownysltext"} dangerouslySetInnerHTML={{__html: markdownToHTML(mydescription).replace(/▁/g, "▁▁▁")}}/> <div className="bor-bottom-greyE mr25 ml25"></div>
</div> </div>
: :
<div className="edu-back-white bor-bottom-greyE"> <div className="edu-back-white bor-bottom-greyE">
@ -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个字符',
}, { }, {

@ -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>

@ -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