diff --git a/src/views/site/common/header.vue b/src/views/site/common/header.vue index 8a3a922..721346f 100644 --- a/src/views/site/common/header.vue +++ b/src/views/site/common/header.vue @@ -21,25 +21,25 @@ - - 听课足迹 - - - 任教课程 - - - 预约课程 - - - 公  开  课 - - - 线上听课 - - - 今日课程 - - + + 听课足迹 + + + 任教课程 + + + 预约课程 + + + 公  开  课 + + + 线上听课 + + + 今日课程 + + diff --git a/src/views/site/common/video/videojs/viewPage.vue b/src/views/site/common/video/videojs/viewPage.vue index a7568a7..d0d6cb5 100644 --- a/src/views/site/common/video/videojs/viewPage.vue +++ b/src/views/site/common/video/videojs/viewPage.vue @@ -15,7 +15,7 @@ {{ ktangInfo.kcmc || ' ' }} - 填写评价表 + 填写评价表
{{ ktangInfo.zc || ' ' }}-{{ ktangInfo.skjs || ' ' }}
@@ -23,7 +23,7 @@
{{ mainVideoCardBoxTitle || '' }}
-
+
查看听课笔记 diff --git a/src/views/site/jingCaiGongKaiKe/index.vue b/src/views/site/jingCaiGongKaiKe/index.vue index fa31665..4e97f5d 100644 --- a/src/views/site/jingCaiGongKaiKe/index.vue +++ b/src/views/site/jingCaiGongKaiKe/index.vue @@ -151,6 +151,12 @@ onMounted(() => { function loadData(){ queryParam.value.sfxs = '1' queryParam.value.pageSize = '4' + + var width = window.screen.width * window.devicePixelRatio; + console.log(`🚀 ~ file: index.vue:110 ~ newFunction ~ width:`, width) + if(width<800){ + queryParam.value.pageSize = '1' + } queryParam.value.pageNo = pageNo // queryParam.value.column = 'type' // queryParam.value.order = 'asc' diff --git a/src/views/site/kxstkkt/zzsk.vue b/src/views/site/kxstkkt/zzsk.vue index 69332ac..bebfae5 100644 --- a/src/views/site/kxstkkt/zzsk.vue +++ b/src/views/site/kxstkkt/zzsk.vue @@ -24,7 +24,7 @@ -
+
@@ -104,7 +104,7 @@ function loadData(num?) { if(queryParam.value.hh!=","){ list(queryParam.value).then(res => { - // console.log(`🚀 ~ file: index.vue:104 ~ list ~ res:`, res) + console.log(`🚀 ~ file: index.vue:104 ~ list ~ res:`, res) listData.value.push(...res.records) current = res.pages // listData.value = res.records; diff --git a/src/views/site/yuYueKeCheng/index.vue b/src/views/site/yuYueKeCheng/index.vue index 65c6c7e..c590833 100644 --- a/src/views/site/yuYueKeCheng/index.vue +++ b/src/views/site/yuYueKeCheng/index.vue @@ -105,7 +105,14 @@ function funQxyy(record){ } function newFunction() { - listApi({ pageSize: 4, isdeleted: 0, userid: getUserId(), isOrderByNow: true }).then(res => { + let pageSize = 4; + var width = window.screen.width * window.devicePixelRatio; + console.log(`🚀 ~ file: index.vue:110 ~ newFunction ~ width:`, width) + if(width<800){ + pageSize = 1; + } + console.log(`🚀 ~ file: index.vue:113 ~ newFunction ~ pageSize:`, pageSize) + listApi({ pageSize: pageSize, isdeleted: 0, userid: getUserId(), isOrderByNow: true }).then(res => { list.value = (res?.records) ?? []; }); }