修改bug

This commit is contained in:
yangjun 2024-01-08 08:22:03 +08:00
parent 7187158a71
commit 75c5c7d94c
3 changed files with 16 additions and 3 deletions

View File

@ -59,6 +59,15 @@ const site: AppRouteModule = {
title: '评价结果', title: '评价结果',
}, },
}, },
{
path: 'gkkMore',
name: 'gkkMore',
component: () => import('/@/views/site/jingCaiGongKaiKe/gkkMore.vue'),
meta: {
// affix: true,
title: '公开课',
},
},
{ {
path: 'ktsbMore', path: 'ktsbMore',
name: 'ktsbMore', name: 'ktsbMore',

View File

@ -4,6 +4,7 @@
<div style="font-size: 24px;font-weight: bold;">精彩公开课</div> <div style="font-size: 24px;font-weight: bold;">精彩公开课</div>
<div style="font-weight: 400; line-height: 1; color: #777;">荟萃多学科优秀教师展现多样化精彩教学</div> <div style="font-weight: 400; line-height: 1; color: #777;">荟萃多学科优秀教师展现多样化精彩教学</div>
</template> </template>
<template #extra><RouterLink target='_blank' to="/site/gkkMore">查看更多</RouterLink></template>
<a-row :gutter="[16,16]"> <a-row :gutter="[16,16]">
<a-col v-for="(item,index) in listData" :key="index" :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 6 }"> <a-col v-for="(item,index) in listData" :key="index" :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 6 }">
<!-- <div style="border-radius: 25px;background: #f3f3f3;margin-bottom: 0.5rem;text-align: center;margin: 0 auto .5rem;padding: 0.5rem;"> --> <!-- <div style="border-radius: 25px;background: #f3f3f3;margin-bottom: 0.5rem;text-align: center;margin: 0 auto .5rem;padding: 0.5rem;"> -->
@ -33,7 +34,7 @@
</a> </a>
<!-- -{{ item.kclj }}-{{item.sfxs}}-{{ item.jslj }} --> <!-- -{{ item.kclj }}-{{item.sfxs}}-{{ item.jslj }} -->
<div v-if="(item.dqztpx=='1'||item.dqztpx=='2')&&item.kclj!=null"><a-button type="primary" class="ggkButton" target="_blank" :href="item.kclj" @click="jrkt(item)">进入课堂</a-button></div> <div v-if="(item.dqztpx=='1'||item.dqztpx=='2')&&item.kclj!=null"><a-button type="primary" class="ggkButton" target="_blank" :href="item.kclj" @click="jrkt(item)">进入课堂</a-button></div>
<div v-else><a-button type="primary" class="ggkButton" target="_blank" disabled :href="item.kclj" @click="false" style="background-color: rgb(197, 192, 192);">进入课堂</a-button></div> <div v-else><a-button type="primary" class="ggkButton" target="_blank" :href="item.kclj" @click="jrkt(item)" >直播回放</a-button></div>
</div> </div>
</div> </div>
</a-col> </a-col>
@ -41,7 +42,7 @@
<div v-show="current==0" style="text-align: center;"> <div v-show="current==0" style="text-align: center;">
暂无数据 暂无数据
</div> </div>
<div v-show="1 == pageNo&&current>4"> <div v-show="1 == pageNo&&current>1">
<div style="text-align: center;"><a @click="funMore">更多...</a></div> <div style="text-align: center;"><a @click="funMore">更多...</a></div>
</div> </div>
<div v-show="1 < pageNo && pageNo < current"> <div v-show="1 < pageNo && pageNo < current">
@ -179,6 +180,8 @@ function loadData(){
console.log(`🚀 ~ file: index.vue:169 ~ list ~ list:`, list) console.log(`🚀 ~ file: index.vue:169 ~ list ~ list:`, list)
listData.value.push(...list) listData.value.push(...list)
current = res.pages current = res.pages
console.log(`🚀 ~ file: index.vue:183 ~ list ~ current:`, current)
console.log(`🚀 ~ file: index.vue:183 ~ list ~ pageNo:`, pageNo)
}) })
} }
/** /**

View File

@ -151,6 +151,7 @@ function rkbLoadData() {
newRow = props.queryParam; newRow = props.queryParam;
newRow.userid = getUserId(); newRow.userid = getUserId();
newRow.pageSize = -1 newRow.pageSize = -1
newRow.sftkb = '1'
console.log(`🚀 ~ file: kclbList.vue:109 ~ rkbLoadData ~ newRow:`, newRow) console.log(`🚀 ~ file: kclbList.vue:109 ~ rkbLoadData ~ newRow:`, newRow)
if(newRow.hh!=","){ if(newRow.hh!=","){
// listType.value = newRow.type // listType.value = newRow.type