From 1cd535d5171a4c260569fd1b9c4bcd78e0639f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Thu, 9 Apr 2026 13:57:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(home):=20=E5=B0=86=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=94=B9=E4=B8=BA=E7=A1=AC=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 首页4个功能按钮改为硬编码,删除后端接口请求 - 菜单项包括:我要推荐、客户列表、邀请好友、个人中心 - 菜单图标使用OSS直链,减少接口延迟 - Grid组件中map数据源由接口返回改为本地硬编码数据 - ContactSection中在线咨询功能改用button标签并简化逻辑 - 增加ContactSection按钮样式覆盖,去除默认边框和样式 --- src/pages/index/Grid.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/index/Grid.tsx b/src/pages/index/Grid.tsx index a8bc20d..fdc2d23 100644 --- a/src/pages/index/Grid.tsx +++ b/src/pages/index/Grid.tsx @@ -16,7 +16,7 @@ const menuList: MenuItem[] = [ id: 1, title: '我要推荐', icon: 'https://oss.wsdns.cn/20260330/5f54527123864193b0a2078f812b117f.png?x-oss-process=image/resize,m_fixed,w_750/quality,Q_90', - path: '/dealer/qrcode/index' + path: '/dealer/customer/add' }, { id: 2, @@ -34,7 +34,7 @@ const menuList: MenuItem[] = [ id: 4, title: '个人中心', icon: 'https://oss.wsdns.cn/20260330/6b198116f2d94b1e942c55ebe2f73728.png?x-oss-process=image/resize,m_fixed,w_750/quality,Q_90', - path: '/user/wallet/wallet' + path: '/pages/user/user' } ];