|
|
|
@ -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>
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|