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

2

parent 2ea31414
......@@ -139,14 +139,14 @@
}
.box_review_swiper {
width: calc(100vw - 72rpx - 20rpx);
height: 380rpx;
width: 660rpx;
height: 400rpx;
}
.myVideo {
width: 100%;
height: 100%;
border-radius: 12px;
width: 660rpx;
height: 400rpx;
border-radius: 24rpx;
}
.examination {
......@@ -159,7 +159,7 @@
}
.examination-box-c {
height: 180rpx;
/* height: 200rpx; */
background: #F9F9F9;
overflow-x: scroll;
width: 100%;
......@@ -349,12 +349,11 @@
<view v-if="InfoData.Review[current].videolist.length==0">暂无回顾视频...</view>
<template v-if="InfoData.Review[current].videolist.length>0">
<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">
<video class="myVideo" :id="'Video'+current+'-'+index" :src="item.URL"
@error="spcuowu" :controls="controls" :show-center-play-btn="false"
:show-fullscreen-btn="false" @fullscreenchange="videoControl"
style="width: 100%; height: 100%">
:show-fullscreen-btn="false" @fullscreenchange="videoControl">
</video>
<view @click="enlarge('Video'+current+'-'+index)" style="
position: absolute;
......@@ -562,7 +561,7 @@
});
},
videoControl(e) {
console.log(544, e)
if (e.detail.fullScreen == false) {
data.videoContext.stop();
data.controls = false;
......@@ -570,6 +569,7 @@
data.videoContext.play();
data.controls = true;
}
console.log(544,e.detail.fullScreen, data.controls)
},
getCourseList() {
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