courseware
杨树林 5 years ago
parent 42146c13d4
commit 8f67f721e7

@ -24,7 +24,7 @@ class LiveItem extends Component{
visible:false
}
}
deleteLive=(id)=>{
this.props.confirm({
content: '是否确认删除?',
@ -136,7 +136,7 @@ class LiveItem extends Component{
item.url ?
<React.Fragment>
{
wei_flag ?
wei_flag ?
<a className="btns going" onClick={this.alertInfo}>进入</a>
:
<a className="btns going" target="_blank" href={`${item.url}`}>进入</a>
@ -154,17 +154,17 @@ class LiveItem extends Component{
<span className="lineMiddle color-grey-9">
<img alt={`${item.author_name}`} className="liveAuthor" src={getImageUrl(`images/${item.author_img}`)}/>
<label className="mr50">{item.author_name}</label>
{ item.platform && <span className="mr50">直播平台{item.platform}</span> }
{ item.live_time && <span className="mr50">开播时间{item.live_time}</span>}
{ item.platform && <span className="mr50">直播平台{item.platform}</span> }
{ item.live_time && <span className="mr50">开播时间{item.live_time}</span>}
{ item.duration && <span className="mr50">直播预计时长{item.duration}分钟</span> }
</span>
<span className="edu-txt-right" style={{width:"80px"}}>
<span className="edu-txt-right" style={{width:"120px"}}>
{
item.op_auth ?
<WordsBtn style="grey" onClick={()=>setLiveId(item.id)}>编辑</WordsBtn>:""
}
{
item.delete_auth ?
item.delete_auth ?
<WordsBtn style="grey" className="ml30" onClick={()=>this.deleteLive(item.id)}>删除</WordsBtn>
:""
}

@ -35,7 +35,6 @@ let mysubjective_score = 0;//主观题得分
let myobjective_score = 0;//客观题得分
class Studentshavecompletedthelist extends Component {
// http://localhost:3007/courses/1309/exercises/722/exercises/student_exercise_list?debug=s
constructor(props) {
super(props);
this.state = {

Loading…
Cancel
Save