diff --git a/frontend/pages/square/components/HotCategoryBlock.vue b/frontend/pages/square/components/HotCategoryBlock.vue index ae08c31..d6db8e8 100644 --- a/frontend/pages/square/components/HotCategoryBlock.vue +++ b/frontend/pages/square/components/HotCategoryBlock.vue @@ -24,96 +24,104 @@ - - - - - - - + + + + + + + + + + - - - - - + + - - - - - - - - - - - + v-for="(item, index) in items" + :key="item.id || index" + class="grid-card" + :class="{ + [`grid-card-top-${index + 1}`]: index < 5, + 'grid-card-top-other': index >= 5, + }" + @click="handleCardClick(item)" + > + @@ -305,11 +313,21 @@ onUnmounted(() => {