Commit 10033192 by zhanghaozhe

大咖直播添加已结束状态

parent 880ef959
...@@ -183,7 +183,9 @@ function LiveContent({item, makeSubscribe}) { ...@@ -183,7 +183,9 @@ function LiveContent({item, makeSubscribe}) {
item['on_live'] item['on_live']
? <button className={'on-living'} onClick={this.toLiveRoom.bind(this, item['live_id'])}>正在直播</button> ? <button className={'on-living'} onClick={this.toLiveRoom.bind(this, item['live_id'])}>正在直播</button>
: :
item['is_subscribe'] item['is_end']
? <button className={'subscribed'}>已结束</button>
: item['is_subscribe']
? <button className={'subscribed'}>已预约</button> ? <button className={'subscribed'}>已预约</button>
: <button className={'subscribe'} : <button className={'subscribe'}
onClick={makeSubscribe.bind(this, item['live_id'])}>立即预约</button> onClick={makeSubscribe.bind(this, item['live_id'])}>立即预约</button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment