|
|
@ -78,7 +78,7 @@ class NewShixunModel extends Component{
|
|
|
|
{item.map((list,key)=>{
|
|
|
|
{item.map((list,key)=>{
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<Menu.Item key={key} id={list.id}>
|
|
|
|
<Menu.Item key={key} id={list.id}>
|
|
|
|
<a target="_blank" href={`/paths/${list.id}`} className={"newshixun500"} title={list.name}>{list.name}</a>
|
|
|
|
<a target="_blank" href={`/paths/${list.id}`} className={"newshixun500"}>{list.name}</a>
|
|
|
|
</Menu.Item>
|
|
|
|
</Menu.Item>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
})}
|
|
|
|
})}
|
|
|
@ -340,26 +340,45 @@ class NewShixunModel extends Component{
|
|
|
|
`body{ overflow: hidden !important; }
|
|
|
|
`body{ overflow: hidden !important; }
|
|
|
|
.ant-drawer-content{ overflow:auto !important; background: #f5f5f5; }
|
|
|
|
.ant-drawer-content{ overflow:auto !important; background: #f5f5f5; }
|
|
|
|
.yslbottomsj{position: absolute;bottom: -8px;}
|
|
|
|
.yslbottomsj{position: absolute;bottom: -8px;}
|
|
|
|
|
|
|
|
.ant-drawer-close{
|
|
|
|
|
|
|
|
font-size:24px !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-drawer-body {
|
|
|
|
|
|
|
|
padding:15px 24px 24px 0px;
|
|
|
|
|
|
|
|
}
|
|
|
|
`
|
|
|
|
`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
<Drawer
|
|
|
|
<Drawer
|
|
|
|
placement="bottom"
|
|
|
|
placement="bottom"
|
|
|
|
closable={false}
|
|
|
|
closable={true}
|
|
|
|
destroyOnClose={true}
|
|
|
|
destroyOnClose={true}
|
|
|
|
|
|
|
|
onClose={()=>this.props.hideNewShixunModelType()}
|
|
|
|
visible={this.props.NewShixunModelType}
|
|
|
|
visible={this.props.NewShixunModelType}
|
|
|
|
height={'100%'}
|
|
|
|
height={'100%'}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<Spin spinning={this.state.isspinning}>
|
|
|
|
<Spin spinning={this.state.isspinning}>
|
|
|
|
<div className={"clearfix educontent pr"}>
|
|
|
|
<div className={"clearfix educontent pr mb60shixun"}>
|
|
|
|
|
|
|
|
|
|
|
|
<div className={"square-list clearfix"}>
|
|
|
|
<div className={"square-list clearfix"}>
|
|
|
|
|
|
|
|
|
|
|
|
<div className="newshixunheadersear">
|
|
|
|
<div className="newshixunheadersear">
|
|
|
|
<div style={{height:"53px"}}></div>
|
|
|
|
<div style={{height:"53px"}}></div>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
`
|
|
|
|
|
|
|
|
.ant-input, .ant-input .ant-input-suffix{
|
|
|
|
|
|
|
|
background-color: #fff !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.packinput .ant-input{
|
|
|
|
|
|
|
|
border: 1px solid rgba(217,217,217,1) !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
<Search
|
|
|
|
<Search
|
|
|
|
style={{ width: "800px"}}
|
|
|
|
style={{ width: "780px"}}
|
|
|
|
className="packinput"
|
|
|
|
className="packinput"
|
|
|
|
placeholder="实训信息 / 院校名称 / 创建者"
|
|
|
|
placeholder="实训信息 / 院校名称 / 创建者"
|
|
|
|
value={this.state.keyword}
|
|
|
|
value={this.state.keyword}
|
|
|
@ -378,8 +397,8 @@ class NewShixunModel extends Component{
|
|
|
|
<span className="fl color-grey-9 pointer mr30">
|
|
|
|
<span className="fl color-grey-9 pointer mr30">
|
|
|
|
<a className={" color-grey-6"} onClick={()=>this.updatedlist(order)}>学习人数</a>
|
|
|
|
<a className={" color-grey-6"} onClick={()=>this.updatedlist(order)}>学习人数</a>
|
|
|
|
<sapn className="relativef ml5 " >
|
|
|
|
<sapn className="relativef ml5 " >
|
|
|
|
<i className={order==="desc"?"iconfont icon-sanjiaoxing-up font-12 ntopsj color-grey-9 color-blue":"iconfont icon-sanjiaoxing-up font-12 ntopsj color-grey-9"}></i>
|
|
|
|
<i className={order==="asc"?"iconfont icon-sanjiaoxing-up font-12 ntopsj color-grey-9 color-blue":"iconfont icon-sanjiaoxing-up font-12 ntopsj color-grey-9"}></i>
|
|
|
|
<i className={order==="asc"?"iconfont icon-sanjiaoxing-down font-12 nyslbottomsj color-grey-9 color-blue":"iconfont icon-sanjiaoxing-down font-12 nyslbottomsj color-grey-9"}></i>
|
|
|
|
<i className={order==="desc"?"iconfont icon-sanjiaoxing-down font-12 nyslbottomsj color-grey-9 color-blue":"iconfont icon-sanjiaoxing-down font-12 nyslbottomsj color-grey-9"}></i>
|
|
|
|
</sapn>
|
|
|
|
</sapn>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
@ -397,8 +416,8 @@ class NewShixunModel extends Component{
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div className="font-12 alltopiscright ml25 fr">
|
|
|
|
<div className="font-12 alltopiscright ml25 fr">
|
|
|
|
<span className={"fr pointer color-grey-3"} onClick={()=>this.props.hideNewShixunModelType()}>返回</span>
|
|
|
|
{/*<span className={"fr pointer color-grey-3"} onClick={()=>this.props.hideNewShixunModelType()}>返回</span>*/}
|
|
|
|
<span className={type==="mine"?"fr mr30 topcsactive pointer color-grey-3 color-blue":"fr mr30 pointer color-grey-3"} onClick={()=>this.belongto("mine")}>我的实训</span>
|
|
|
|
<span className={type==="mine"?"fr topcsactive pointer color-grey-3 color-blue":"fr pointer color-grey-3"} onClick={()=>this.belongto("mine")}>我的实训</span>
|
|
|
|
<span className={type==="all"?"fr mr30 topcsactive pointer color-grey-3 color-blue":"fr mr30 pointer color-grey-3"} onClick={()=>this.belongto("all")}>全部实训</span>
|
|
|
|
<span className={type==="all"?"fr mr30 topcsactive pointer color-grey-3 color-blue":"fr mr30 pointer color-grey-3"} onClick={()=>this.belongto("all")}>全部实训</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -409,7 +428,7 @@ class NewShixunModel extends Component{
|
|
|
|
{shixun_list===undefined?"":shixun_list.length===0?"":shixun_list.map((item,key)=>{
|
|
|
|
{shixun_list===undefined?"":shixun_list.length===0?"":shixun_list.map((item,key)=>{
|
|
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<div className="mt20 edu-back-white pd20 relativef newshixunlist" key={key}>
|
|
|
|
<div className="mt10 edu-back-white pd20 relativef newshixunlist" key={key}>
|
|
|
|
<div className="clearfix">
|
|
|
|
<div className="clearfix">
|
|
|
|
<div className="item-body">
|
|
|
|
<div className="item-body">
|
|
|
|
<div className="clearfix ds pr contentSection">
|
|
|
|
<div className="clearfix ds pr contentSection">
|
|
|
@ -419,7 +438,7 @@ class NewShixunModel extends Component{
|
|
|
|
className="fl task-hide edu-txt-left mt3"
|
|
|
|
className="fl task-hide edu-txt-left mt3"
|
|
|
|
name="shixun_homework[]"
|
|
|
|
name="shixun_homework[]"
|
|
|
|
></Checkbox>
|
|
|
|
></Checkbox>
|
|
|
|
<a target="_blank" href={`/shixuns/${item.identifier}/challenges`} title={item.title} className="ml15 fl font-16 color-dark maxwidth1100"
|
|
|
|
<a target="_blank" href={`/shixuns/${item.identifier}/challenges`} className="ml15 fl font-16 color-dark maxwidth1100"
|
|
|
|
dangerouslySetInnerHTML={{__html: item.title}}
|
|
|
|
dangerouslySetInnerHTML={{__html: item.title}}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
@ -439,7 +458,7 @@ class NewShixunModel extends Component{
|
|
|
|
`
|
|
|
|
`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
{JSON.stringify(item.description) == "{}"?"":<div className="newshixunmodelmidfont newradioStyles" title={item.description} dangerouslySetInnerHTML={{__html: item.description}}>
|
|
|
|
{JSON.stringify(item.description) == "{}"?"":<div className="newshixunmodelmidfont newradioStyles" dangerouslySetInnerHTML={{__html: item.description}}>
|
|
|
|
</div>}
|
|
|
|
</div>}
|
|
|
|
|
|
|
|
|
|
|
|
{item.challenge_names.length===0?"":<div className="newshixunmodelbotfont">
|
|
|
|
{item.challenge_names.length===0?"":<div className="newshixunmodelbotfont">
|
|
|
@ -511,15 +530,21 @@ class NewShixunModel extends Component{
|
|
|
|
:shixun_list.length===0? <NoneData></NoneData>:""
|
|
|
|
:shixun_list.length===0? <NoneData></NoneData>:""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
shixun_list===undefined?"":shixun_list.length===0?"":<div className={" edu-txt-center padding20-30"}>
|
|
|
|
|
|
|
|
<Button className={"mr20 newshixunmode"} onClick={()=>this.props.hideNewShixunModelType()}>取消</Button>
|
|
|
|
|
|
|
|
<Button className={"newshixunmode"} type="primary" onClick={()=>this.savecouseShixunModal()} loading={this.state.hometypepvisible}>确定</Button>
|
|
|
|
|
|
|
|
</div>}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className="clearfix bor-bottom-greyE edu-back-white orderingbox newshixunbottombtn"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
shixun_list===undefined?"":shixun_list.length===0?"":<div className={" edu-txt-center padding13-30"}>
|
|
|
|
|
|
|
|
<Button className={"mr20 newshixunmode"} onClick={()=>this.props.hideNewShixunModelType()}>取消</Button>
|
|
|
|
|
|
|
|
<Button className={"newshixunmode mr40"} type="primary" onClick={()=>this.savecouseShixunModal()} loading={this.state.hometypepvisible}>确定</Button>
|
|
|
|
|
|
|
|
</div>}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</Spin>
|
|
|
|
</Spin>
|
|
|
|
</Drawer>
|
|
|
|
</Drawer>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|