fix: bug
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
<template>
|
||||
<view class="video-view-box" @click="showModel = true">
|
||||
播放
|
||||
<uv-overlay :show="showModel" opacity=".6" @click="showModel = false">
|
||||
<view class="overlay-box">
|
||||
<view class="img-box">
|
||||
<image
|
||||
class="icon"
|
||||
src="@/static/images/course/play.png"
|
||||
style="width: 100%;height: 100%;"
|
||||
></image>
|
||||
</view>
|
||||
<uv-overlay :show="showModel" opacity=".6" @click.stop="showModel = false">
|
||||
<view class="overlay-box" @click.stop="showModel = false">
|
||||
<video class="video-cont-center" v-if="showModel && fileUrlShow" :src="fileUrlShow" controls @error="playError" object-fit="contain"></video>
|
||||
</view>
|
||||
</uv-overlay>
|
||||
@@ -86,7 +92,16 @@
|
||||
.video-view-box{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #eee;
|
||||
background-color: #fafafa !important;
|
||||
position: relative;
|
||||
}
|
||||
.img-box{
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.overlay-box .video-cont-center{
|
||||
max-width: 100%;
|
||||
|
||||
@@ -543,7 +543,7 @@ const audioCacheObj = computed(() => storageStore.audioObj)
|
||||
height: 269rpx;
|
||||
border-radius: 15rpx;
|
||||
overflow: hidden;
|
||||
background-color: #eee;
|
||||
background-color: #fafafa;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -689,7 +689,7 @@ const finishQuestionNow = (data) => {
|
||||
.then(res=> {
|
||||
// common.msg('完成成功,开始获取评分维度数据!')
|
||||
let _state = res.body.chatBody.processStat
|
||||
if(_state = 'ER'){
|
||||
if(_state === 'ER'){
|
||||
common.msg('提交答案失败!')
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user