|
@@ -32,7 +32,15 @@
|
|
|
|
|
|
<!-- 视频盒子 -->
|
|
|
<div class="videoBox" :class="{ videoAc: videoShow }">
|
|
|
- <video muted src="../../../assets/media/home.mp4"></video>
|
|
|
+ <video
|
|
|
+ muted
|
|
|
+ x-webkit-airplay="true"
|
|
|
+ webkit-playsinline="true"
|
|
|
+ x5-video-player-type="h5"
|
|
|
+ x5-video-orientation="portraint"
|
|
|
+ controls
|
|
|
+ src="../../../assets/media/home.mp4"
|
|
|
+ ></video>
|
|
|
<img
|
|
|
v-show="videoBtnShow"
|
|
|
class="videoBtn"
|
|
@@ -75,7 +83,7 @@ export default {
|
|
|
],
|
|
|
dataShow: [],
|
|
|
videoShow: false,
|
|
|
- videoBtnShow: false,
|
|
|
+ videoBtnShow: true,
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
@@ -264,10 +272,10 @@ export default {
|
|
|
}
|
|
|
|
|
|
.videoBtn {
|
|
|
- position: absolute;
|
|
|
+ position: fixed;
|
|
|
bottom: 100px;
|
|
|
width: 200px;
|
|
|
- z-index: 2;
|
|
|
+ z-index: 999;
|
|
|
left: 50%;
|
|
|
transform: translateX(-50%);
|
|
|
}
|