feat: 探索数据加载优化
This commit is contained in:
@@ -38,9 +38,9 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<ChatCardOther class="message-item-other" :text="item.msg">
|
<ChatCardOther class="message-item-other" :text="item.msg">
|
||||||
<OneFeelMK001 :activityList="mainPageDataModel.activityList"/>
|
<OneFeelMK001 v-if="mainPageDataModel.activityList.length > 0" :activityList="mainPageDataModel.activityList"/>
|
||||||
|
|
||||||
<template v-for="(item) in mainPageDataModel.recommendTheme">
|
<template v-if="mainPageDataModel.recommendTheme.length > 0" v-for="(item) in mainPageDataModel.recommendTheme">
|
||||||
<OneFeelMK002 :recommendTheme="item"/>
|
<OneFeelMK002 :recommendTheme="item"/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -14,15 +14,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { defineProps } from 'vue'
|
||||||
|
const props = defineProps({
|
||||||
|
recommendTheme: {
|
||||||
defineProps({
|
type: Object,
|
||||||
recommendTheme: {
|
default: {}
|
||||||
type: Object,
|
}
|
||||||
default: {}
|
})
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user