|
@@ -31,29 +31,34 @@
|
|
|
<{elseif($v['type'] == 3):}>
|
|
|
|
|
|
<div class="p-img">
|
|
|
- <a class="poster" id="live_<{$k}>" href="jstyle://live?id=<{$k}>&live_id=<{$v['content']['id']}>&file=<{$v['content']['url']}>">
|
|
|
+ <a class="poster" id="live_<{$k}>" href="jstyle://live?id=<{$k}>&live_id=<{$v['content']['id']}>&live_status=<{$v['content']['status']}>&file=<{$v['content']['url']}>">
|
|
|
<img src="<{$v['content']['pic_cover']}>" alt="" class="media-cover">
|
|
|
<div class="ico-video-play"></div>
|
|
|
</a>
|
|
|
</div>
|
|
|
|
|
|
<!--直播-->
|
|
|
- <div class="live-notice" style="display:none;">
|
|
|
- <div class="watch-user"><{$v['content']['num_view']}> 人观看</div>
|
|
|
+ <{if($v['content']['status'] == 1):}>
|
|
|
+ <div class="live-notice">
|
|
|
+ <div class="online-user"><{$v['content']['num_user']}>人在线</div>
|
|
|
+ </div>
|
|
|
+ <{elseif($v['content']['status'] == 3):}>
|
|
|
+ <div class="live-notice">
|
|
|
+ <div class="watch-user"><{$v['content']['num_view']}>人观看</div>
|
|
|
</div>
|
|
|
+ <{elseif($v['content']['status'] == 2):}>
|
|
|
<!--直播-->
|
|
|
<div class="live-notice">
|
|
|
<div class="notice-time">开播时间 <{$v['content']['sdate_time']}></div>
|
|
|
<{if($v['content']['user_act'] == 1):}>
|
|
|
- <a id="live_note_<{$k}>" href="jstyle://live_note?id=<{$k}>&live_id=<{$v['content']['id']}>¬e=1" class="btn-notice">已设置提醒</a>
|
|
|
+ <a id="live_note_<{$k}>" href="jstyle://live_note?id=<{$k}>&live_id=<{$v['content']['id']}>&live_status=<{$v['content']['status']}>¬e=1" class="btn-notice">已设置提醒</a>
|
|
|
<{else:}>
|
|
|
- <a id="live_note_<{$k}>" href="jstyle://live_note?id=<{$k}>&live_id=<{$v['content']['id']}>¬e=2" class="btn-notice">提醒我</a>
|
|
|
+ <a id="live_note_<{$k}>" href="jstyle://live_note?id=<{$k}>&live_id=<{$v['content']['id']}>&live_status=<{$v['content']['status']}>¬e=2" class="btn-notice">提醒我</a>
|
|
|
<{endif}>
|
|
|
</div>
|
|
|
<!--直播-->
|
|
|
- <div class="live-notice" style="display:none;">
|
|
|
- <div class="online-user"><{$v['content']['num_user']}>人在线</div>
|
|
|
- </div>
|
|
|
+
|
|
|
+ <{endif}>
|
|
|
|
|
|
<{elseif($v['type'] == 5):}>
|
|
|
<!--音频-->
|