feat(home): 将首页菜单改为硬编码
- 首页4个功能按钮改为硬编码,删除后端接口请求 - 菜单项包括:我要推荐、客户列表、邀请好友、个人中心 - 菜单图标使用OSS直链,减少接口延迟 - Grid组件中map数据源由接口返回改为本地硬编码数据 - ContactSection中在线咨询功能改用button标签并简化逻辑 - 增加ContactSection按钮样式覆盖,去除默认边框和样式
This commit is contained in:
@@ -27,3 +27,8 @@
|
||||
- 菜单项:我要推荐、客户列表、邀请好友、个人中心
|
||||
- 图片使用OSS直链,避免接口延迟
|
||||
- 对应页面路径保持不变
|
||||
|
||||
## 客户列表显示接待人员 (13:57)
|
||||
- 在客户卡片中增加接待人员信息显示
|
||||
- 字段来源:receptionistName(来自 ShopDealerApply model)
|
||||
- 仅当接待人员存在时显示
|
||||
|
||||
@@ -465,6 +465,13 @@ const CustomerIndex = () => {
|
||||
<Text className={'text-xs text-gray-500'}>{customer?.refereeName}</Text>
|
||||
</View>
|
||||
|
||||
{/* 接待人员 */}
|
||||
{customer.receptionistName && (
|
||||
<View className="flex items-center my-1">
|
||||
<Text className="text-xs text-gray-500">接待人员:{customer.receptionistName}</Text>
|
||||
</View>
|
||||
)}
|
||||
|
||||
{/* 显示 comments 字段 */}
|
||||
<Space className="flex items-center">
|
||||
<Text className="text-xs text-gray-500">跟进情况:{customer.comments || '暂无'}</Text>
|
||||
|
||||
Reference in New Issue
Block a user