From f59c2faeb0994d0f7163522133197d2fb51dc1c5 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Mon, 23 Dec 2024 13:48:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=9B=E5=88=86=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../site/common/video/videojs/viewPage.vue | 33 +++++++++---------- src/views/site/studentWdkc/studentWdkc.vue | 4 +-- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/src/views/site/common/video/videojs/viewPage.vue b/src/views/site/common/video/videojs/viewPage.vue index 6f6ebec..06c287d 100644 --- a/src/views/site/common/video/videojs/viewPage.vue +++ b/src/views/site/common/video/videojs/viewPage.vue @@ -65,7 +65,7 @@ - +
@@ -223,6 +223,7 @@ const isError = ref(false); const tkbjVisible = ref(false); const playStatus = ref(false); const fpxsShow = ref('1'); + const videoFpName = ref(''); const model = reactive>({ notes:'' }); @@ -253,31 +254,29 @@ const savePlayLog = (params) => defHttp.post({ url: Api.savePlayLog, params, }, const changeAvyLiveByJsbhsApi = (params) => defHttp.get({ url: Api.changeAvyLiveByJsbhsApi, params,timeout: 9000000 }); // const editSuibi = (params) => defHttp.post({ url: Api.editSuibi, params }); -function getJvmClass(){ - var className = ""; - if(spyCheck.value.length == 4){ - - }else if(spyCheck.value.length == 3){ - className = "className3"; - }else if(spyCheck.value.length == 2){ - className = "className2"; - } - console.log("🚀 ~ getJvmClass ~ className:", className) - return className; -} - function handleSpy(record){ - console.log("🚀 ~ handleSpy ~ record:", record) for(var i=0;i item.trim() !== ''); + console.log("🚀 ~ handleSpy ~ ttc:", ttc) + if(ttc.length == 2){ + videoFpName.value = "className3" + }else if(ttc.length == 1){ + videoFpName.value = "className2" + }else{ + videoFpName.value = "" + } + } onMounted(() => { diff --git a/src/views/site/studentWdkc/studentWdkc.vue b/src/views/site/studentWdkc/studentWdkc.vue index 2dd37ae..cd58b7a 100644 --- a/src/views/site/studentWdkc/studentWdkc.vue +++ b/src/views/site/studentWdkc/studentWdkc.vue @@ -3,9 +3,9 @@
我的课程
-
+