Commit 50bb4322 authored by Mac's avatar Mac

1

parent 987abd1f
...@@ -274,6 +274,7 @@ ...@@ -274,6 +274,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="box_review" v-if='InfoData' :style="{height:InfoData.Review && InfoData.Review.length>0?'660rpx':'300rpx'}"> <view class="box_review" v-if='InfoData' :style="{height:InfoData.Review && InfoData.Review.length>0?'660rpx':'300rpx'}">
<view class="row" style="justify-content: space-between;height: 50rpx;"> <view class="row" style="justify-content: space-between;height: 50rpx;">
<view class="row" style="color: #111111;font-size: 14px;font-weight: bold;"> <view class="row" style="color: #111111;font-size: 14px;font-weight: bold;">
...@@ -304,7 +305,7 @@ ...@@ -304,7 +305,7 @@
<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%;" v-for="(item, index) in InfoData.Review[current].videolist" :key="index"> <swiper-item style="width: 100%;height: 100%;" v-for="(item, index) in InfoData.Review[current].videolist" :key="index">
<video class="myVideo" :id="'Video'+current+'-'+index" :src="item.URL" controls></video> <video class="myVideo" :id="'Video'+current+'-'+index" :src="item.URL" controls @error="spcuowu"></video>
</swiper-item> </swiper-item>
</swiper> </swiper>
</template> </template>
...@@ -319,7 +320,7 @@ ...@@ -319,7 +320,7 @@
<view class="row" style="color: #111111;font-size: 23px;font-weight: bold;"> <view class="row" style="color: #111111;font-size: 23px;font-weight: bold;">
考试 考试
</view> </view>
<view style="font-size: 14px;color: #4C50E7;" @click="gourlkaoshilist()">更多试题</view> <view style="font-size: 14px;color: #4C50E7;" @click="gourlkaoshilist()">更多考试</view>
</view> </view>
</view> </view>
<view class="reviewcenter" style="height: 300rpx;margin-top: 0;align-items: center;justify-content: center;" v-if="InfoData.ExamList.length==0"> <view class="reviewcenter" style="height: 300rpx;margin-top: 0;align-items: center;justify-content: center;" v-if="InfoData.ExamList.length==0">
...@@ -419,7 +420,7 @@ ...@@ -419,7 +420,7 @@
</view> </view>
<view class="examination-box-btnbox"> <view class="examination-box-btnbox">
<view class="examination-btn" @click="gourlkaoshixq(x)"> <view class="examination-btn" @click="gourlkaoshixq(x)">
开始 开始
</view> </view>
</view> </view>
...@@ -496,6 +497,9 @@ ...@@ -496,6 +497,9 @@
}) })
}, },
spcuowu(e){
console.log(e,'视频错误')
},
selectedBanner(index){//切换轮播图的时候 调取接口 selectedBanner(index){//切换轮播图的时候 调取接口
data.checkIndex = index; data.checkIndex = index;
data.CourseInfoMsg.ClassId = data.CourseList[index].ClassId; data.CourseInfoMsg.ClassId = data.CourseList[index].ClassId;
......
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