diff --git a/src/views/site/common/video/videojs/viewPage.vue b/src/views/site/common/video/videojs/viewPage.vue index 1696759..4002428 100644 --- a/src/views/site/common/video/videojs/viewPage.vue +++ b/src/views/site/common/video/videojs/viewPage.vue @@ -27,54 +27,28 @@
- - -
{{ mainVideoCardBoxTitle || '' }}
-
- 本教室容量:{{ktangInfo?.jiaoshirongliang?.jsrl || ' '}}座位 - 选课人数:{{ ktangInfo.xkrs || ' ' }} - AI识别出勤人数: {{ ktangInfo?.kcDetectionDetailed?.num||'-' }} - - - - - ? - - - -
-
- -
- 说明:目前部分教室摄像头拍摄画面无法覆盖到全体学生,AI识别出勤人数仅供参考 -
-
-
- - -
教师近景
-
 
- -
- -
学生全景
-
 
- -
- -
PPT
-
 
- -
- -
教师全景
-
 
- -
-
+
{{ mainVideoCardBoxTitle || '' }}
+ +
+ 本教室容量:{{ktangInfo?.jiaoshirongliang?.jsrl || ' '}}座位 + 选课人数:{{ ktangInfo.xkrs || ' ' }} + AI识别出勤人数: {{ ktangInfo?.kcDetectionDetailed?.num||'-' }} + + + + + ? + + + +
+
@@ -103,46 +77,20 @@ - - + +
- + {{ item?.xm }} - - + 显示缩略窗口 + 隐藏缩略窗口
 
- -
--> -
- - - - -
-
- 二分屏 -
-
-
-
- - -
-
- 三分屏 -
-
-
-
- - -
-
- 四分屏
@@ -218,7 +166,6 @@ const suibiList = ref([]) const isError = ref(false); const tkbjVisible = ref(false); const playStatus = ref(false); -const fpxsShow = ref('1'); const model = reactive>({ notes:'' }); @@ -255,7 +202,6 @@ onMounted(() => { //按教师编号加载数据,屏蔽掉无效的,不分页 list({ pageSize: -1, sfyx: '0', jsbh: route.query.id }).then(res => { let list = (res?.records) ?? []; - console.log("🚀 ~ list ~ list:", list) tableData.value = list; tableData.value.forEach(x => x.isShow = true);//默认展开 let zjData = tableData.value.find(x => x.xm == '教师近景') || {}; @@ -320,11 +266,11 @@ function funpingjia(record) { */ function loadEnd(player){ nextTick(() => { - // player.on('play',() => { - // setTimeout(() => { - // player.pause(); - // },2000); - // }) + player.on('play',() => { + setTimeout(() => { + player.pause(); + },2000); + }) }) } @@ -336,7 +282,6 @@ function initVideo(key){ } function changeLive(item:any){ - fpxsShow.value = '1' let url = item.pullUrl let mainVideo = document.querySelector('#mainVideo'); // mainVideo?.player?.src([{ type:'application/x-mpegURL',src: 'http://127.0.0.1/live_hls/a.m3u8' }]) @@ -359,56 +304,6 @@ function changeLive(item:any){ // }) } - -function changeJfpLive(type){ - fpxsShow.value = type; - let item= tableData.value.find(x => x.xm == '教师近景') || {}; - let url = item.pullUrl - let mainVideo = document.querySelector('#mainVideo'); - mainVideo?.player?.src([{ type:'application/x-mpegURL',src: url }]) - if(type==2){ - let item2= tableData.value.find(x => x.xm == '学生全景') || {}; - let url2 = item2.pullUrl - let main2Video = document.querySelector('#main2Video'); - main2Video?.player?.src([{ type:'application/x-mpegURL',src: url2 }]) - mainVideoCardBoxTitle.value = "二分屏"; - }else if(type == 3){ - - let item2= tableData.value.find(x => x.xm == '学生全景') || {}; - let url2 = item2.pullUrl - let main2Video = document.querySelector('#main2Video'); - main2Video?.player?.src([{ type:'application/x-mpegURL',src: url2 }]) - mainVideoCardBoxTitle.value = "二分屏"; - - let item3 = tableData.value.find(x => x.xm == 'PPT') || {}; - let url3 = item3.pullUrl - let main3Video = document.querySelector('#main3Video'); - main3Video?.player?.src([{ type:'application/x-mpegURL',src: url3 }]) - mainVideoCardBoxTitle.value = "三分屏"; - }else if(type == 4){ - - let item2= tableData.value.find(x => x.xm == '学生全景') || {}; - let url2 = item2.pullUrl - let main2Video = document.querySelector('#main2Video'); - main2Video?.player?.src([{ type:'application/x-mpegURL',src: url2 }]) - mainVideoCardBoxTitle.value = "二分屏"; - - let item3 = tableData.value.find(x => x.xm == 'PPT') || {}; - let url3 = item3.pullUrl - let main3Video = document.querySelector('#main3Video'); - main3Video?.player?.src([{ type:'application/x-mpegURL',src: url3 }]) - mainVideoCardBoxTitle.value = "三分屏"; - - let item4 = tableData.value.find(x => x.xm == '教师全景') || {}; - let url4 = item4.pullUrl - let main4Video = document.querySelector('#main4Video'); - main4Video?.player?.src([{ type:'application/x-mpegURL',src: url4 }]) - mainVideoCardBoxTitle.value = "四分屏"; - } - -} - - function mainVideoLoadEnd(player){ setTimeout(() => { setTimeout(() => { @@ -668,13 +563,4 @@ video::-webkit-media-controls-timeline { border: 1px #1c84c6 solid; cursor: pointer; } -.handClass{ - cursor: pointer; -} -.fptitle{ - background: black; - color: white; - font-weight: 700; - text-align: center; -} \ No newline at end of file diff --git a/src/views/site/studentWdkc/studentRili.vue b/src/views/site/studentWdkc/studentRili.vue new file mode 100644 index 0000000..0b1536d --- /dev/null +++ b/src/views/site/studentWdkc/studentRili.vue @@ -0,0 +1,88 @@ + + + + + + diff --git a/src/views/site/studentWdkc/studentWdkc.vue b/src/views/site/studentWdkc/studentWdkc.vue index 3d7bf0f..7ddd13b 100644 --- a/src/views/site/studentWdkc/studentWdkc.vue +++ b/src/views/site/studentWdkc/studentWdkc.vue @@ -3,6 +3,11 @@
我的课程
+ + +
@@ -92,6 +97,8 @@ import { defHttp } from '/@/utils/http/axios'; import { ref, onMounted } from 'vue'; import { getSysConfig } from '/@/views/site/utils/index'; +import studentRili from '/@/views/site/studentWdkc/studentRili.vue'; + const checked1 = ref(true); const dataSource = ref([]); //进入就加载 diff --git a/src/views/site/tingKeZuJi/list.vue b/src/views/site/tingKeZuJi/list.vue index 49b0d06..c6d443d 100644 --- a/src/views/site/tingKeZuJi/list.vue +++ b/src/views/site/tingKeZuJi/list.vue @@ -25,6 +25,7 @@ 线上听课 听课记录 同行专家 + 思政评价 @@ -111,6 +112,10 @@ watch( function txpjFun(item){ + if(item.kkdw=="马列教研室"){ + item.szkc = "1"; + } + let ketangbiaoid = item.ketangbiaoid; let userid = item.userid; listTkjlApi({ userid: userid, ketangbiaoid:ketangbiaoid,startDate:getSysConfig().bxqkssj,endDate:getSysConfig().bxqjssj}).then(res => {