Commit Graph

3 Commits

Author SHA1 Message Date
bfae6b9851 style: 修改样式 2026-05-29 12:17:21 +08:00
de4b376a87 fix: HotCategoryBlock grid layout to 4 columns
Change card width from 48% to calc(25% - 12rpx) to achieve
4 columns × 2 rows layout as specified in design docs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
948f19f180 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 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00