播放器

This commit is contained in:
@fawn-nine
2024-08-14 15:16:03 +08:00
parent 9f0845f97d
commit e9bcc83e4c
3 changed files with 44 additions and 34 deletions

View File

@@ -1,7 +1,6 @@
<template>
<view class="richDetail">
<!-- 公共组件-每个页面必须引入 -->
<view
scroll-x="true"
class="detail_title video_box"
@@ -28,7 +27,7 @@
import $http from "@/config/requestConfig.js";
import { mapState } from "vuex";
export default {
props: ["detailInfo", "dataList", "currentVideo"],
props: ["detailInfo", "dataList", "currentVideo", "changeVideoLock"],
components: {},
data() {
return {};
@@ -50,6 +49,9 @@ export default {
}
},
handleClick(data) {
if(this.changeVideoLock){
return
}
console.log("data at line 35:", data);
this.$emit("open", data);
},