作业视频信息问题修改

This commit is contained in:
wangyan21 2023-11-20 09:45:49 +08:00
parent 6af9839e96
commit 64ae7bab4a

View File

@ -189,6 +189,16 @@
<el-button @click="cancel"> </el-button> <el-button @click="cancel"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title :visible="isShow" width="600px" @close="closeDialog" class="videoBox">
<video
:src="videoUrl"
controls
autoplay
class="video"
width="100%"
></video>
</el-dialog>
</div> </div>
</template> </template>
@ -268,12 +278,12 @@ export default {
}, },
methods: { methods: {
// //
playVideo (row) { playVideo(row) {
this.isShow = true this.isShow = true
// src // src
let url1 = row.videoUrl; let url1 = row.videoUrl;
// this.videoUrl=this.baseUrl+"/profile/upload/2023/10/24/_20231024154211A001.mp4"; // this.videoUrl=this.baseUrl+"/profile/upload/2023/10/24/_20231024154211A001.mp4";
this.videoUrl=this.baseUrl+url1; this.videoUrl = this.baseUrl + url1;
}, },
/** /**
* 关闭视频 * 关闭视频