From 1c4494b0ef26c943c35e496e42dbb238df041d45 Mon Sep 17 00:00:00 2001
From: jiannibang <271381693@qq.com>
Date: Tue, 31 Jan 2023 13:39:16 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5=E6=BB=9A=E5=8A=A8?=
=?UTF-8?q?=E5=93=81=E7=89=8C=E8=B6=85=E9=87=8F=E6=BB=9A=E5=8A=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Index/Index.vue | 40 +++++++++++++++++++++++++++++++++------
1 file changed, 34 insertions(+), 6 deletions(-)
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)
})
-
+