修改bug
This commit is contained in:
parent
7187158a71
commit
75c5c7d94c
|
@ -59,6 +59,15 @@ const site: AppRouteModule = {
|
|||
title: '评价结果',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'gkkMore',
|
||||
name: 'gkkMore',
|
||||
component: () => import('/@/views/site/jingCaiGongKaiKe/gkkMore.vue'),
|
||||
meta: {
|
||||
// affix: true,
|
||||
title: '公开课',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'ktsbMore',
|
||||
name: 'ktsbMore',
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<div style="font-size: 24px;font-weight: bold;">精彩公开课</div>
|
||||
<div style="font-weight: 400; line-height: 1; color: #777;">荟萃多学科优秀教师,展现多样化精彩教学</div>
|
||||
</template>
|
||||
<template #extra><RouterLink target='_blank' to="/site/gkkMore">查看更多</RouterLink></template>
|
||||
<a-row :gutter="[16,16]">
|
||||
<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;"> -->
|
||||
|
@ -33,7 +34,7 @@
|
|||
</a>
|
||||
<!-- -{{ 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-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>
|
||||
</a-col>
|
||||
|
@ -41,7 +42,7 @@
|
|||
<div v-show="current==0" style="text-align: center;">
|
||||
暂无数据
|
||||
</div>
|
||||
<div v-show="1 == pageNo&¤t>4">
|
||||
<div v-show="1 == pageNo&¤t>1">
|
||||
<div style="text-align: center;"><a @click="funMore">更多...</a></div>
|
||||
</div>
|
||||
<div v-show="1 < pageNo && pageNo < current">
|
||||
|
@ -177,8 +178,10 @@ function loadData(){
|
|||
}
|
||||
}
|
||||
console.log(`🚀 ~ file: index.vue:169 ~ list ~ list:`, list)
|
||||
listData.value.push(...list)
|
||||
listData.value.push(...list)
|
||||
current = res.pages
|
||||
console.log(`🚀 ~ file: index.vue:183 ~ list ~ current:`, current)
|
||||
console.log(`🚀 ~ file: index.vue:183 ~ list ~ pageNo:`, pageNo)
|
||||
})
|
||||
}
|
||||
/**
|
||||
|
|
|
@ -151,6 +151,7 @@ function rkbLoadData() {
|
|||
newRow = props.queryParam;
|
||||
newRow.userid = getUserId();
|
||||
newRow.pageSize = -1
|
||||
newRow.sftkb = '1'
|
||||
console.log(`🚀 ~ file: kclbList.vue:109 ~ rkbLoadData ~ newRow:`, newRow)
|
||||
if(newRow.hh!=","){
|
||||
// listType.value = newRow.type
|
||||
|
|
Loading…
Reference in New Issue