|
|
@@ -68,12 +68,17 @@
|
|
|
max-width: 100%;
|
|
|
}
|
|
|
.main .container .section p{
|
|
|
+ width: 100%;
|
|
|
font-size: 1rem;
|
|
|
line-height: 1.6rem;
|
|
|
color: #323232;
|
|
|
/*text-indent: 2em;*/
|
|
|
text-align: left;
|
|
|
}
|
|
|
+ .main .container .section p img{
|
|
|
+ text-align: center;
|
|
|
+ max-width: 100%;
|
|
|
+ }
|
|
|
.main .container .section div.readCount{
|
|
|
margin: 3.33rem 0 2.33rem 0;
|
|
|
overflow: hidden;
|
|
|
@@ -445,6 +450,7 @@
|
|
|
</div>
|
|
|
<div class="section">
|
|
|
${content.text!}
|
|
|
+ <div id="mediaplayer"></div>
|
|
|
<div class="readCount">
|
|
|
<div>
|
|
|
<span>阅读 <em>${content.view_count!'0'}</em></span>
|
|
|
@@ -643,43 +649,5 @@
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|
|
|
-// 视频插件
|
|
|
- var $video = $('p>video');
|
|
|
- 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': 'http://jq22com.qiniudn.com/jq22com.mp4'
|
|
|
- });
|
|
|
-
|
|
|
- // 音频插件
|
|
|
- var $audio = $('p>audio');
|
|
|
- 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:'${CTPATH}/sound/sound.mp3',
|
|
|
- });
|
|
|
</script>
|
|
|
</html>
|