|
|
|
@ -351,6 +351,9 @@ |
|
|
|
|
<video v-if="Util.isVideo(item.fileList[0].fileName.substring(item.fileList[0].fileName.lastIndexOf('.') + 1))" |
|
|
|
|
class="media-video" |
|
|
|
|
controls |
|
|
|
|
x5-playsinline |
|
|
|
|
x5-video-player-type="h5" |
|
|
|
|
:poster="isIphone ? 'http://10.10.11.7/images/about/12.png' : ''" |
|
|
|
|
preload> |
|
|
|
|
<source :src="item.fileList[0].filePath" |
|
|
|
|
type="video/mp4"> |
|
|
|
@ -493,6 +496,7 @@ export default { |
|
|
|
|
Util, |
|
|
|
|
loaded: false, |
|
|
|
|
fromColumn: this.$route.query.column, |
|
|
|
|
isIphone: false, |
|
|
|
|
columnId: '', |
|
|
|
|
info: {}, |
|
|
|
|
columnBanner: '', |
|
|
|
@ -547,6 +551,8 @@ export default { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted () { |
|
|
|
|
const u = navigator.userAgent; |
|
|
|
|
this.isIphone = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端 |
|
|
|
|
this.convokeTypes = [ |
|
|
|
|
{ |
|
|
|
|
id: null, |
|
|
|
@ -562,6 +568,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
]; |
|
|
|
|
this.init(); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
init () { |
|
|
|
|