123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <!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/<{$css}>.css?v=6e375888" rel="stylesheet"></head>
- <body>
- <div class="rich-wrapper">
- <{loop($content):}>
- <{if($v['type'] == 1):}>
- <{str_replace(array('width', 'height'), array('widths', 'heights'), $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_169']}>" alt="" class="media-cover">
- <div class="ico-video-play"></div>
- </a>
- <!--视频/图片标题-->
- <div class="tit"><{$v['content']['name']}></div>
- <!--视频/图片副标题-->
- <div class="tit-mini" style="display:none;">已有 <{$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_169']}>" alt="" class="media-cover">
- <div class="ico-video-play"></div>
- </a>
- <div class="tit"><{$v['content']['name']}></div>
- </div>
- <!--直播-->
- <{if($v['content']['status'] == 2):}>
- <div class="live-notice" style="display:none;">
- <div class="online-user"><{$v['content']['num_user']}>人在线</div>
- </div>
- <{elseif($v['content']['status'] == 3):}>
- <div class="live-notice" style="display:none;">
- <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']['note'] == 1):}>
- <a id="live_note_<{$v['content']['id']}>" 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_<{$v['content']['id']}>" 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="audio_<{$k}>" href="jstyle://audio?id=<{$k}>&file=<{$v['content']}>">
- <img src="<{$v['cover']}>" alt="<{$v['name']}>" class="mavatar">
- <span class="sound"></span>
- </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):}>
- <!--图片-->
- <div class="p-img">
- <a id="link_<{$k}>" href="<{if (isset($v['link']) && $v['link']):}>jstyle://link?id=<{$k}>&link=<{$v['link']}><{else:}>javascript:;<{endif}>">
- <img class="img" src="<{$v['pic_cover']}>" alt="">
- </a>
- <!--视频/图片标题-->
- <div class="tit" style="display:none;"><{$v['name']}></div>
- </div>
- <{elseif($v['type'] == 8):}>
- <!--gif图片-->
- <div class="p-img">
- <div class="gif-img">
- <img class="img" src="<{$v['pic']}>" alt="">
- <a href="jstyle://link?id=<{$k}>&link=<{$v['pic']}>&type=share" class="ico-gif-share" ></a>
- <a href="jstyle://link?id=<{$k}>&link=<{$v['pic']}>&type=download" class="ico-gif-download" ></a>
- </div>
- <!--视频/图片标题-->
- <div class="tit" style="display:none;">段宜恩:强大精神力的猫系偶像</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){
- $('#audio_'+ id).find('.sound').addClass('playing');
- }
- function audioPause(id){
- $('#audio_'+ id).find('.sound').removeClass('playing');
- }
- function emit(id,txt,type){
- $('#live_note_'+ id).html(txt);
- var href = $('#live_note_'+ id).attr('href');
- var temp = href.split('¬e=');
- href = temp[0] + '¬e=' + type;
- $('#live_note_'+ id).attr('href', href);
- }
- </script>
- </html>
|