diff --git a/src/views/Index/Index.vue b/src/views/Index/Index.vue index 9288074..e219202 100644 --- a/src/views/Index/Index.vue +++ b/src/views/Index/Index.vue @@ -38,8 +38,10 @@

推荐美食

此时此刻,美食正在等你

-
- +
+
+ +
@@ -47,8 +49,10 @@

推荐品牌

心动之选,拥抱美好生活

-
- +
+
+ +
@@ -91,7 +95,7 @@ const router = useRouter() const store = useStore() const { indexList, currentFloor, buildingList, shopList, sidebarList, config, theme } = storeToRefs(store) const guideDesc = ref('') -const foodList = computed(() => shopList.value.filter(({ isSpecial }) => isSpecial).slice(0, 12) ?? []) +const foodList = computed(() => shopList.value.filter(({ isSpecial }) => isSpecial) ?? []) const hotRecommend = computed(() => indexList.value.hotSearch.slice(0, 5) ?? []) const bf = computed(() => (buildingList.length > 1 ? currentFloor.value.building + '-' : '') + currentFloor.value.floor) const activityList = ref([]) @@ -118,7 +122,19 @@ getActivityList(3).then(({ data }) => { console.log(data.activityList) }) - +