|
|
@@ -30,8 +30,9 @@
|
|
|
background: #f9f9f9;
|
|
|
}
|
|
|
.main .container{
|
|
|
- /*max-width: 640px;*/
|
|
|
- max-width: 100%;
|
|
|
+ max-width: 640px;
|
|
|
+ /*max-width: 100%;*/
|
|
|
+ overflow: hidden;
|
|
|
margin: 0 auto;
|
|
|
padding: 0 .333rem;
|
|
|
text-align: center;
|
|
|
@@ -103,6 +104,7 @@
|
|
|
float: right;
|
|
|
font-size: .933rem;
|
|
|
color: #969696;
|
|
|
+ width: auto;
|
|
|
}
|
|
|
.main .container .section div.readCount img{
|
|
|
width: 1.2rem;
|
|
|
@@ -450,7 +452,6 @@
|
|
|
</div>
|
|
|
<div class="section">
|
|
|
${content.text!}
|
|
|
- <div id="mediaplayer"></div>
|
|
|
<div class="readCount">
|
|
|
<div>
|
|
|
<span>阅读 <em>${content.view_count!'0'}</em></span>
|
|
|
@@ -649,5 +650,47 @@
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ // 音频插件
|
|
|
+// var $audio = $('p>audio');
|
|
|
+// $aUrl = $audio.attr('src');
|
|
|
+// audioTxt = ` <p class="weixinAudio">
|
|
|
+// <audio src="" id="media" width="1" height="1" preload></audio>
|
|
|
+// <span id="audio_area" class="db audio_area">
|
|
|
+// <span class="audio_wrp db">
|
|
|
+// <span class="audio_play_area">
|
|
|
+// <i class="icon_audio_default"></i>
|
|
|
+// <i class="icon_audio_playing"></i>
|
|
|
+// </span>
|
|
|
+// <span id="audio_length" class="audio_length tips_global">3:07</span>
|
|
|
+// <span class="db audio_info_area">
|
|
|
+// <strong class="db audio_title">Title/标题</strong>
|
|
|
+// <span class="audio_source tips_global">From/来源</span>
|
|
|
+// </span>
|
|
|
+// <span id="audio_progress" class="progress_bar" style="width: 0%;"></span>
|
|
|
+// </span>
|
|
|
+// </span>
|
|
|
+// </p>`;
|
|
|
+// $audio.parent().html(audioTxt);
|
|
|
+// $('.weixinAudio').weixinAudio({
|
|
|
+// autoplay: false,
|
|
|
+// src: $aUrl
|
|
|
+// });
|
|
|
+
|
|
|
+ // 视频插件
|
|
|
+// var $video = $('p>video');
|
|
|
+// $vUrl = $video.attr('src');
|
|
|
+// videoTxt = `<div id="mediaplayer"></div>`;
|
|
|
+//// $video.parent().html(videoTxt);
|
|
|
+// jwplayer('mediaplayer').setup({
|
|
|
+// 'flashplayer': '${CTPATH}/assets/js/jwplayer/jwplayer.flash.swf',
|
|
|
+//// 'image': 'http://assets.jq22.com/plugin/2016-04-25-11-04-36.jpg',
|
|
|
+// 'id': 'playerID',
|
|
|
+// 'width': '100%',
|
|
|
+// 'aspectratio':'10:6',
|
|
|
+//// 'file': $vUrl
|
|
|
+// 'file': 'http://jq22com.qiniudn.com/jq22com.mp4'
|
|
|
+// });
|
|
|
</script>
|
|
|
</html>
|