Commit 1e2515b4 authored by 罗超's avatar 罗超

2

parent 2ea31414
...@@ -139,14 +139,14 @@ ...@@ -139,14 +139,14 @@
} }
.box_review_swiper { .box_review_swiper {
width: calc(100vw - 72rpx - 20rpx); width: 660rpx;
height: 380rpx; height: 400rpx;
} }
.myVideo { .myVideo {
width: 100%; width: 660rpx;
height: 100%; height: 400rpx;
border-radius: 12px; border-radius: 24rpx;
} }
.examination { .examination {
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
} }
.examination-box-c { .examination-box-c {
height: 180rpx; /* height: 200rpx; */
background: #F9F9F9; background: #F9F9F9;
overflow-x: scroll; overflow-x: scroll;
width: 100%; width: 100%;
...@@ -349,12 +349,11 @@ ...@@ -349,12 +349,11 @@
<view v-if="InfoData.Review[current].videolist.length==0">暂无回顾视频...</view> <view v-if="InfoData.Review[current].videolist.length==0">暂无回顾视频...</view>
<template v-if="InfoData.Review[current].videolist.length>0"> <template v-if="InfoData.Review[current].videolist.length>0">
<swiper class="box_review_swiper" @change="swiperChange"> <swiper class="box_review_swiper" @change="swiperChange">
<swiper-item style="width: 100%;height: 100%;position: relative;" <swiper-item
v-for="(item, index) in InfoData.Review[current].videolist" :key="index"> v-for="(item, index) in InfoData.Review[current].videolist" :key="index">
<video class="myVideo" :id="'Video'+current+'-'+index" :src="item.URL" <video class="myVideo" :id="'Video'+current+'-'+index" :src="item.URL"
@error="spcuowu" :controls="controls" :show-center-play-btn="false" @error="spcuowu" :controls="controls" :show-center-play-btn="false"
:show-fullscreen-btn="false" @fullscreenchange="videoControl" :show-fullscreen-btn="false" @fullscreenchange="videoControl">
style="width: 100%; height: 100%">
</video> </video>
<view @click="enlarge('Video'+current+'-'+index)" style=" <view @click="enlarge('Video'+current+'-'+index)" style="
position: absolute; position: absolute;
...@@ -562,7 +561,7 @@ ...@@ -562,7 +561,7 @@
}); });
}, },
videoControl(e) { videoControl(e) {
console.log(544, e)
if (e.detail.fullScreen == false) { if (e.detail.fullScreen == false) {
data.videoContext.stop(); data.videoContext.stop();
data.controls = false; data.controls = false;
...@@ -570,6 +569,7 @@ ...@@ -570,6 +569,7 @@
data.videoContext.play(); data.videoContext.play();
data.controls = true; data.controls = true;
} }
console.log(544,e.detail.fullScreen, data.controls)
}, },
getCourseList() { getCourseList() {
proxy.$request("/AppletIndex/GetMyStudyCourseList", {}).then(res => { proxy.$request("/AppletIndex/GetMyStudyCourseList", {}).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment