feat(homepage): 调整首页功能入口图标及修正跳转路径

- 将“拼团活动”替换为“我的收藏”
- 重新定位“积分商城”图标位置,保持数量不变
- 将“联系客服”替换为“帮助中心”
- 将“门店地址”替换为新增的“门店信息”页面入口
- 修正了限时秒杀和领券中心的页面跳转路径为真实页面文件
- 确保调整后的功能入口图标数量保持为8个
- 构建编译通过,功能稳定
This commit is contained in:
2026-06-23 17:11:35 +08:00
parent e72ca89b2b
commit 66491b1853
2 changed files with 23 additions and 7 deletions

View File

@@ -14,3 +14,19 @@
### 构建状态 ### 构建状态
- `taro build --type weapp` 编译通过 ✓ - `taro build --type weapp` 编译通过 ✓
## 首页功能入口图标调整
### 改动文件
- **`src/pages/index/index.tsx`** — `featureEntries` 数组第28-38行
### 调整内容8个 → 8个替换4个
| 去掉 | 替换为 |
|------|--------|
| 👥 拼团活动 | ⭐ 我的收藏 `/pages/user/favorite-list/index` |
| ⭐ 积分商城(原位)→ 💰 积分商城 | 保留,位置后移 |
| 📞 联系客服 | ❓ 帮助中心 `/pages/user/help-center/index` |
| 🏪 门店地址 | 🏪 门店信息 `/pages/shop/shopStore/index`(用户新加页面) |
同时修正了限时秒杀、领券中心的跳转路径指向真实页面文件。
构建编译通过 ✓

View File

@@ -25,16 +25,16 @@ const IndexPage: React.FC = () => {
const categories = ['全部', '球拍', '球鞋', '服装', '配件'] const categories = ['全部', '球拍', '球鞋', '服装', '配件']
// 功能入口 // 功能入口8个
const featureEntries = [ const featureEntries = [
{ icon: '🎁', label: '全部商品', url: '/pages/shop/index' }, { icon: '🎁', label: '全部商品', url: '/pages/shop/index' },
{ icon: '🎯', label: '限时秒杀', url: '/pages/index/seckill' }, { icon: '🎯', label: '限时秒杀', url: '/pages/shop/seckill-list/index' },
{ icon: '👥', label: '拼团活动', url: '/pages/index/group-buy' }, { icon: '🎫', label: '领券中心', url: '/pages/index/coupon-center/index' },
{ icon: '🎫', label: '领券中心', url: '/pages/index/coupon-center' }, { icon: '', label: '我的收藏', url: '/pages/user/favorite-list/index' },
{ icon: '⭐', label: '积分商城', url: '/pages/points/index' },
{ icon: '👑', label: '会员中心', url: '/pages/user/member/index' }, { icon: '👑', label: '会员中心', url: '/pages/user/member/index' },
{ icon: '📞', label: '联系客服', url: '/pages/customer-service' }, { icon: '💰', label: '积分商城', url: '/pages/points/index' },
{ icon: '🏪', label: '门店地址', url: '/pages/index/store-list' }, { icon: '🏪', label: '门店信息', url: '/pages/shop/shopStore/index' },
{ icon: '❓', label: '帮助中心', url: '/pages/user/help-center/index' },
] ]
// 获取轮播图 // 获取轮播图