调整编辑状态

dev_ec
杨树明 5 years ago
parent a1f6dd6731
commit 9b899fef19

@ -1029,8 +1029,9 @@ class CommonWorkSetting extends Component{
<span className="font-16 fl color-dark">发布设置</span> <span className="font-16 fl color-dark">发布设置</span>
{ {
!startEditFlag && isAdmin ? !startEditFlag && isAdmin ?
<a className="fr mr6" onClick={() => { this.setState({startEditFlag: true}) }}> <a className="fr white-btn edu-blueline-btn mr10 mr6 lineh-24" onClick={() => { this.setState({startEditFlag: true}) }}>
<Tooltip title="编辑"><i className="iconfont icon-bianjidaibeijing font-20 color-green"></i></Tooltip> 编辑设置
{/*<Tooltip title="编辑"><i className="iconfont icon-bianjidaibeijing font-20 color-green"></i></Tooltip>*/}
</a> </a>
:"" :""
} }

@ -618,10 +618,11 @@ class Exercisesetting extends Component{
<span className="font-16 fl">发布设置<span className="color-grey-c font-14"></span></span> <span className="font-16 fl">发布设置<span className="color-grey-c font-14"></span></span>
{ {
!flagPageEdit&&this.props.isAdmin()===true ? !flagPageEdit&&this.props.isAdmin()===true ?
<a className="fr mr6" onClick={this.editSetting}> <a className="fr mr6 white-btn edu-blueline-btn lineh-24" onClick={this.editSetting}>
<Tooltip title="编辑"> 编辑设置
<i className="iconfont icon-bianjidaibeijing font-20 color-green"></i> {/*<Tooltip title="编辑">*/}
</Tooltip> {/*<i className="iconfont icon-bianjidaibeijing font-20 color-green"></i>*/}
{/*</Tooltip>*/}
</a> </a>
:"" :""
} }

@ -1001,8 +1001,11 @@ debugger
<Form id={"starttime"}> <Form id={"starttime"}>
{ {
!flagPageEdit && this.props.isAdmin() === true ? !flagPageEdit && this.props.isAdmin() === true ?
<a className="fr mt20 mr40" onClick={this.editSetting}><Tooltip title="编辑"><i <a className="mt20 mr40 fr white-btn edu-blueline-btn lineh-24" onClick={this.editSetting}>
className="iconfont icon-bianjidaibeijing font-20 color-green "></i></Tooltip></a> 编辑设置
{/*<Tooltip title="编辑"><i*/}
{/*className="iconfont icon-bianjidaibeijing font-20 color-green "></i></Tooltip>*/}
</a>
: "" : ""
} }
{/*内容*/} {/*内容*/}

@ -518,7 +518,10 @@ class PollDetailTabForth extends Component{
</span> </span>
{ {
!flagPageEdit && isAdmin ? !flagPageEdit && isAdmin ?
<a className="fr" onClick={this.editSetting}><Tooltip title="编辑"><i className="iconfont icon-bianjidaibeijing font-20 color-green"></i></Tooltip></a> <a className="fr white-btn edu-blueline-btn lineh-24" onClick={this.editSetting}>
编辑设置
{/*<Tooltip title="编辑"><i className="iconfont icon-bianjidaibeijing font-20 color-green"></i></Tooltip>*/}
</a>
:"" :""
} }
</p> </p>

@ -2150,8 +2150,11 @@ class Trainingjobsetting extends Component {
<span className="font-16 fl "style={{"color":"#05101A"}}>发布设置 <span className="ml15 color-grey-9" style={{"font-size":"14px","text-align":"left"}}></span></span> <span className="font-16 fl "style={{"color":"#05101A"}}>发布设置 <span className="ml15 color-grey-9" style={{"font-size":"14px","text-align":"left"}}></span></span>
{ {
!flagPageEdit && this.props.isAdmin() === true ? !flagPageEdit && this.props.isAdmin() === true ?
<a className="fr" onClick={this.editSetting}><Tooltip title="编辑"><i <a className="fr white-btn edu-blueline-btn mr10 mr20 lineh-24" onClick={this.editSetting}>
className="iconfont icon-bianjidaibeijing font-20 color-green pr20 "></i></Tooltip></a> 编辑设置
{/*<Tooltip title="编辑"><i*/}
{/*className="iconfont icon-bianjidaibeijing font-20 color-green pr20 "></i></Tooltip>*/}
</a>
: "" : ""
} }
</p> </p>

@ -146,14 +146,15 @@ a.decoration{text-decoration: underline}
.margin20{margin:20px;} .margin20{margin:20px;}
/*行高*/ /*行高*/
.lineh-12{line-height: 12px} .lineh-12{line-height: 12px !important;}
.lineh-15{line-height: 15px} .lineh-15{line-height: 15px !important;}
.lineh-17{line-height: 17px} .lineh-17{line-height: 17px !important;}
.lineh-20{line-height: 20px} .lineh-20{line-height: 20px !important;}
.lineh-25{line-height: 25px} .lineh-24{line-height: 24px !important;}
.lineh-30{line-height: 30px} .lineh-25{line-height: 25px !important;}
.lineh-35{line-height: 35px} .lineh-30{line-height: 30px !important;}
.lineh-40{line-height: 40px} .lineh-35{line-height: 35px !important;}
.lineh-40{line-height: 40px !important;}
/*pre标签换行*/ /*pre标签换行*/
.break_word{word-break: break-all;word-wrap: break-word;} .break_word{word-break: break-all;word-wrap: break-word;}

Loading…
Cancel
Save