feat(home): 将首页菜单改为硬编码

- 首页4个功能按钮改为硬编码,删除后端接口请求
- 菜单项包括:我要推荐、客户列表、邀请好友、个人中心
- 菜单图标使用OSS直链,减少接口延迟
- Grid组件中map数据源由接口返回改为本地硬编码数据
- ContactSection中在线咨询功能改用button标签并简化逻辑
- 增加ContactSection按钮样式覆盖,去除默认边框和样式
This commit is contained in:
2026-04-09 14:04:08 +08:00
parent 1cd535d517
commit 128563bfeb
2 changed files with 12 additions and 0 deletions

View File

@@ -27,3 +27,8 @@
- 菜单项:我要推荐、客户列表、邀请好友、个人中心 - 菜单项:我要推荐、客户列表、邀请好友、个人中心
- 图片使用OSS直链避免接口延迟 - 图片使用OSS直链避免接口延迟
- 对应页面路径保持不变 - 对应页面路径保持不变
## 客户列表显示接待人员 (13:57)
- 在客户卡片中增加接待人员信息显示
- 字段来源receptionistName来自 ShopDealerApply model
- 仅当接待人员存在时显示

View File

@@ -465,6 +465,13 @@ const CustomerIndex = () => {
<Text className={'text-xs text-gray-500'}>{customer?.refereeName}</Text> <Text className={'text-xs text-gray-500'}>{customer?.refereeName}</Text>
</View> </View>
{/* 接待人员 */}
{customer.receptionistName && (
<View className="flex items-center my-1">
<Text className="text-xs text-gray-500">{customer.receptionistName}</Text>
</View>
)}
{/* 显示 comments 字段 */} {/* 显示 comments 字段 */}
<Space className="flex items-center"> <Space className="flex items-center">
<Text className="text-xs text-gray-500">{customer.comments || '暂无'}</Text> <Text className="text-xs text-gray-500">{customer.comments || '暂无'}</Text>