作业视频信息问题修改
This commit is contained in:
parent
6af9839e96
commit
64ae7bab4a
@ -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;
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 关闭视频
|
* 关闭视频
|
||||||
|
Loading…
Reference in New Issue
Block a user