feat(home): 优化首页商品展示功能
- 添加 recommend 字段到商品模型定义 - 重构首页标签页逻辑,支持分类参数传递 - 实现动态商品列表加载,按标签分类获取数据 - 更新订水跳转链接指向新商品ID - 优化标签页切换逻辑,使用键值对映射 - 添加错误处理机制,防止商品列表加载失败
This commit is contained in:
4
src/shop/gift/index.config.ts
Normal file
4
src/shop/gift/index.config.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '立即订水',
|
||||
navigationBarTextStyle: 'black'
|
||||
})
|
||||
0
src/shop/gift/index.tsx
Normal file
0
src/shop/gift/index.tsx
Normal file
Reference in New Issue
Block a user