yujialong 9 months ago
parent 2887d41dec
commit ed5bca0c80
  1. 7
      src/pages/column/index.vue
  2. 2
      src/pages/deviceIntroLinear/index.vue

@ -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 () {

@ -241,7 +241,7 @@ $banner-height: 21.6rem;
img {
width: 100%;
height: 85%;
object-fit: cover;
}
}

Loading…
Cancel
Save