|
|
|
@ -78,7 +78,7 @@ class NewShixunModel extends Component{
|
|
|
|
|
{item.map((list,key)=>{
|
|
|
|
|
return(
|
|
|
|
|
<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>
|
|
|
|
|
)
|
|
|
|
|
})}
|
|
|
|
@ -340,6 +340,12 @@ class NewShixunModel extends Component{
|
|
|
|
|
`body{ overflow: hidden !important; }
|
|
|
|
|
.ant-drawer-content{ overflow:auto !important; background: #f5f5f5; }
|
|
|
|
|
.yslbottomsj{position: absolute;bottom: -8px;}
|
|
|
|
|
.ant-drawer-close{
|
|
|
|
|
font-size:24px !important;
|
|
|
|
|
}
|
|
|
|
|
.ant-drawer-body {
|
|
|
|
|
padding:15px 24px 24px 0px;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
@ -353,7 +359,7 @@ class NewShixunModel extends Component{
|
|
|
|
|
height={'100%'}
|
|
|
|
|
>
|
|
|
|
|
<Spin spinning={this.state.isspinning}>
|
|
|
|
|
<div className={"clearfix educontent pr mb100"}>
|
|
|
|
|
<div className={"clearfix educontent pr mb60shixun"}>
|
|
|
|
|
|
|
|
|
|
<div className={"square-list clearfix"}>
|
|
|
|
|
|
|
|
|
@ -365,11 +371,14 @@ class NewShixunModel extends Component{
|
|
|
|
|
.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
|
|
|
|
|
style={{ width: "800px"}}
|
|
|
|
|
style={{ width: "780px"}}
|
|
|
|
|
className="packinput"
|
|
|
|
|
placeholder="实训信息 / 院校名称 / 创建者"
|
|
|
|
|
value={this.state.keyword}
|
|
|
|
@ -419,7 +428,7 @@ class NewShixunModel extends Component{
|
|
|
|
|
{shixun_list===undefined?"":shixun_list.length===0?"":shixun_list.map((item,key)=>{
|
|
|
|
|
|
|
|
|
|
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="item-body">
|
|
|
|
|
<div className="clearfix ds pr contentSection">
|
|
|
|
@ -429,7 +438,7 @@ class NewShixunModel extends Component{
|
|
|
|
|
className="fl task-hide edu-txt-left mt3"
|
|
|
|
|
name="shixun_homework[]"
|
|
|
|
|
></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}}
|
|
|
|
|
>
|
|
|
|
|
</a>
|
|
|
|
@ -449,7 +458,7 @@ class NewShixunModel extends Component{
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</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>}
|
|
|
|
|
|
|
|
|
|
{item.challenge_names.length===0?"":<div className="newshixunmodelbotfont">
|
|
|
|
@ -533,7 +542,7 @@ class NewShixunModel extends Component{
|
|
|
|
|
{
|
|
|
|
|
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 mr70"} type="primary" onClick={()=>this.savecouseShixunModal()} loading={this.state.hometypepvisible}>确定</Button>
|
|
|
|
|
<Button className={"newshixunmode mr40"} type="primary" onClick={()=>this.savecouseShixunModal()} loading={this.state.hometypepvisible}>确定</Button>
|
|
|
|
|
</div>}
|
|
|
|
|
</div>
|
|
|
|
|
</Spin>
|
|
|
|
|