|
|
|
@ -461,11 +461,7 @@ class Selectsetting extends Component{
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className="pl20 pr20"
|
|
|
|
|
style={{"Height":"204px"}}>
|
|
|
|
|
|
|
|
|
|
<style>{`
|
|
|
|
|
<style>{`
|
|
|
|
|
.color-grey-9a{color: #9A9A9A !important;}
|
|
|
|
|
.datastyle{
|
|
|
|
|
width: 120px;
|
|
|
|
@ -480,7 +476,12 @@ class Selectsetting extends Component{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
.settingbox{
|
|
|
|
|
max-height: 123px;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
|
|
|
|
<div className="pl20 pr20 settingbox">
|
|
|
|
|
<div className="clearfix edu-txt-center lineh-40 bor-bottom-greyE">
|
|
|
|
|
<li className="fl" style={{width: '241px'}}>
|
|
|
|
|
<span className={"isabox"} title={datalist&&datalist.title}> {datalist&&datalist.title} </span>
|
|
|
|
@ -632,7 +633,7 @@ class Selectsetting extends Component{
|
|
|
|
|
|
|
|
|
|
{this.state.newfileListtypes===true?<p className={"color-red"}>请先上传资源</p>:""}
|
|
|
|
|
|
|
|
|
|
<p className={"winth540"}>
|
|
|
|
|
<p className={this.state.fileListtype===true?"mt15":""}>
|
|
|
|
|
<style>{`
|
|
|
|
|
.ant-checkbox-wrapper{
|
|
|
|
|
margin-left:0px !important;
|
|
|
|
@ -640,19 +641,19 @@ class Selectsetting extends Component{
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
|
|
|
|
|
|
|
|
|
<div className={this.state.fileListtype===true?"mt30":""}>
|
|
|
|
|
<Checkbox
|
|
|
|
|
checked={is_public}
|
|
|
|
|
onChange={this.onChangepublics}>
|
|
|
|
|
<span className={"font-14"}>勾选后所有用户可见,否则仅课堂成员可见</span>
|
|
|
|
|
</Checkbox>
|
|
|
|
|
</div>
|
|
|
|
|
{/*<div className={this.state.fileListtype===true?"mt30":""}>*/}
|
|
|
|
|
{/*<Checkbox*/}
|
|
|
|
|
{/*checked={is_public}*/}
|
|
|
|
|
{/*onChange={this.onChangepublics}>*/}
|
|
|
|
|
{/*<span className={"font-14"}>勾选后所有用户可见,否则仅课堂成员可见</span>*/}
|
|
|
|
|
{/*</Checkbox>*/}
|
|
|
|
|
{/*</div>*/}
|
|
|
|
|
{/*{this.props.has_course_groups&&this.props.has_course_groups===true?:""}*/}
|
|
|
|
|
{/*{this.state.course_groupss&&this.state.course_groupss.length>0?<Checkbox*/}
|
|
|
|
|
{/*checked={unified_setting}*/}
|
|
|
|
|
{/*onChange={this.onChangesettings}>*/}
|
|
|
|
|
{/*<span>统一设置</span><span className={"font-14 color-grey-9"}>(选中则所有分班使用相同的发布设置,否则各个单独设置)</span>*/}
|
|
|
|
|
{/*</Checkbox>:""}*/}
|
|
|
|
|
{this.state.course_groupss&&this.state.course_groupss.length>0?<Checkbox
|
|
|
|
|
checked={unified_setting}
|
|
|
|
|
onChange={this.onChangesettings}>
|
|
|
|
|
<span>统一设置</span><span className={"font-14 color-grey-9"}>(选中则所有分班使用相同的发布设置,否则各个单独设置)</span>
|
|
|
|
|
</Checkbox>:""}
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
{`
|
|
|
|
@ -744,6 +745,7 @@ class Selectsetting extends Component{
|
|
|
|
|
{/*{this.state.course_group_idtypes===true?<p className={"color-red"}>请选择分班</p>:""}*/}
|
|
|
|
|
|
|
|
|
|
{/*{course_group_publish_timestype===true?<p className={"color-red mt10"}>请填写完整</p>:""}*/}
|
|
|
|
|
|
|
|
|
|
<textarea placeholder="请输入资源描述,最大限制100个字符" className={"mt10"} value={description} onInput={this.settextarea} style={{
|
|
|
|
|
width: '100%',
|
|
|
|
|
height:'120px',
|
|
|
|
|