123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
- <title></title>
- <link href="css/global.css?v=6e375888" rel="stylesheet"><link href="css/index.css?v=6e375888" rel="stylesheet"></head>
- <body>
- <div class="rich-wrapper">
- <{loop($content):}>
- <{if($v['type'] == 1):}>
- <{$v['content']}>
- <{elseif($v['type'] == 2):}>
- <!--视频-->
- <div class="p-img">
- <a class="poster" id="video_<{$k}>" href="jstyle://video?id=<{$k}>&vod_id=<{$v['content']['id']}>&file=<{$v['content']['video']}>">
- <img src="<{$v['content']['pic_cover']}>" alt="" class="media-cover">
- <div class="ico-video-play"></div>
- </a>
- <!--视频/图片标题-->
- <div class="tit"><{$v['content']['name']}></div>
- <!--视频/图片副标题-->
- <div class="tit-mini">已有 <{$v['content']['num_view']}> 人观看了视频</div>
- </div>
- <{elseif($v['type'] == 3):}>
- <div class="p-img">
- <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>
- <!--直播-->
- <{if($v['content']['status'] == 2):}>
- <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'] == 1):}>
- <!--直播-->
- <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']}>&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']}>&live_status=<{$v['content']['status']}>¬e=2" class="btn-notice">提醒我</a>
- <{endif}>
- </div>
- <!--直播-->
-
- <{endif}>
- <{elseif($v['type'] == 5 && isset($v['cover'])):}>
- <!--音频-->
- <a class="p-voice" id="auido_<{$k}>" href="jstyle://auido?id=<{$k}>&file=<{$v['content']}>">
- <img src="<{$v['cover']}>" alt="<{$v['name']}>" class="mavatar">
- <div class="sound"></div>
- </a>
- <{elseif($v['type'] == 6 && isset($v['cover'])):}>
- <!--视频-->
- <div class="p-img">
- <a class="poster" id="video_<{$k}>" href="jstyle://video?id=<{$k}>&file=<{$v['content']}>">
- <img src="<{$v['cover']}>" alt="<{$v['name']}>" class="media-cover">
- <div class="ico-video-play"></div>
- </a>
- <!--视频/图片标题-->
- <div class="tit"><{$v['name']}></div>
- </div>
- <{elseif($v['type'] == 7 && isset($v['link'])):}>
- <!--图片-->
- <div class="p-img">
- <a id="link_<{$k}>" href="$v['link']">
- <img class="img" src="<{$v['pic_cover']}>" alt="">
- </a>
- <!--视频/图片标题-->
- <div class="tit" style="display:none;"><{$v['name']}></div>
- </div>
- <{endif}>
- <{endloop}>
- </div>
- <script type="text/javascript" src="js/global.js?v=6e375888"></script><script type="text/javascript" src="js/index.js?v=6e375888"></script></body>
- <script>
- function audioPlay(id){
- $('#auido_'+ id).find('.sound').addClass('playing');
- }
- function audioPause(id){
- $('#auido_'+ id).find('.sound').removeClass('playing');
- }
- function emit(id,txt){
- $('#live_note_'+ id).html(txt);
- }
- </script>
- </html>
|