From 948f19f1809551a8983b23d9fb7f86a07c2dbcae Mon Sep 17 00:00:00 2001 From: zheng020 Date: Thu, 28 May 2026 12:41:52 +0800 Subject: [PATCH] feat: add HotCategoryBlock component for square page Add a reusable hot category block component with: - Props: categoryType, title - Events: cardClick(item) - Exposed methods: setItems, setLoading, handleRefresh - 4x2 grid layout with skeleton loading - Bottom gradient overlay with user info and like count Co-Authored-By: Claude Opus 4.7 --- .../square/components/HotCategoryBlock.vue | 328 ++++++++++++++++++ 1 file changed, 328 insertions(+) create mode 100644 frontend/pages/square/components/HotCategoryBlock.vue diff --git a/frontend/pages/square/components/HotCategoryBlock.vue b/frontend/pages/square/components/HotCategoryBlock.vue new file mode 100644 index 0000000..caae92b --- /dev/null +++ b/frontend/pages/square/components/HotCategoryBlock.vue @@ -0,0 +1,328 @@ + + + + +