|
|
@ -114,7 +114,10 @@ watch(() => [props.fatherisReady, props.liContent,props.routerUrl], (newVal, old |
|
|
tuijianPage.value = data.list |
|
|
tuijianPage.value = data.list |
|
|
pageParamTuijian.page = data.pageNum |
|
|
pageParamTuijian.page = data.pageNum |
|
|
pageParamTuijian.total = data.total |
|
|
pageParamTuijian.total = data.total |
|
|
// console.log(tuijianPage.value) |
|
|
if(pageParamTuijian.total>0){ |
|
|
|
|
|
showCards.value = 1; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
@ -161,7 +164,7 @@ function handleCurrentChange() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const showCards = ref(0) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -174,7 +177,8 @@ function handleCurrentChange() { |
|
|
<h3>{{ props.liContent?.atTitle }}</h3> |
|
|
<h3>{{ props.liContent?.atTitle }}</h3> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div class="grid-tuijian"> |
|
|
<div v-show="!showCards" style="text-align: center;padding-top: 5%;" >暂无数据</div> |
|
|
|
|
|
<div class="grid-tuijian" v-show="showCards"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div v-for="(item, index) in tuijianPage" :key="index" class="tuijian-card"> |
|
|
<div v-for="(item, index) in tuijianPage" :key="index" class="tuijian-card"> |
|
|
@ -205,7 +209,7 @@ function handleCurrentChange() { |
|
|
<style> |
|
|
<style> |
|
|
.models { |
|
|
.models { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
min-height: 500px; |
|
|
min-height: 200px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|