|
@@ -42,6 +42,7 @@
|
|
@operation="onOperation"
|
|
@operation="onOperation"
|
|
@muted-change="videoAllMuted"
|
|
@muted-change="videoAllMuted"
|
|
@click.native="toDetail(item)"
|
|
@click.native="toDetail(item)"
|
|
|
|
+ @video-view-change="videoViewChange"
|
|
></invigilation-student-full>
|
|
></invigilation-student-full>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -158,6 +159,7 @@ export default {
|
|
"transform-origin": "0 0",
|
|
"transform-origin": "0 0",
|
|
transform: "scale(1) translate(-50%)",
|
|
transform: "scale(1) translate(-50%)",
|
|
},
|
|
},
|
|
|
|
+ videoIsLargeView: false,
|
|
IS_ADMIN: this.$store.state.user.roleCodes.includes("ADMIN"),
|
|
IS_ADMIN: this.$store.state.user.roleCodes.includes("ADMIN"),
|
|
};
|
|
};
|
|
},
|
|
},
|
|
@@ -209,6 +211,8 @@ export default {
|
|
|
|
|
|
/** 查询视频列表 */
|
|
/** 查询视频列表 */
|
|
async getList() {
|
|
async getList() {
|
|
|
|
+ if (this.videoIsLargeView) return;
|
|
|
|
+
|
|
if (this.videoListSource) {
|
|
if (this.videoListSource) {
|
|
this.videoListSource.cancel("cancel prev");
|
|
this.videoListSource.cancel("cancel prev");
|
|
}
|
|
}
|
|
@@ -284,6 +288,9 @@ export default {
|
|
refInst.mutedPlayer(true);
|
|
refInst.mutedPlayer(true);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ videoViewChange(isLarge) {
|
|
|
|
+ this.videoIsLargeView = isLarge;
|
|
|
|
+ },
|
|
|
|
|
|
/** 跳转详情 */
|
|
/** 跳转详情 */
|
|
toDetail(item) {
|
|
toDetail(item) {
|