fix(dealer): 移除楼层字段优化房号相关逻辑及表单

- 删除楼层相关代码及状态管理
- 更新房号唯一键及展示逻辑,去除楼层字段
- 表单中楼层输入改为普通输入框,禁用编辑状态
- 修正提交及校验逻辑,统一房号字段处理
- 简化编辑模式房号数据回填过程
- 移除小区、楼栋、单元、楼层、房号弹出选择组件及相关逻辑
- 更改提示文案,从“请选择”改为“请填写”房号相关项
This commit is contained in:
2026-04-24 20:26:52 +08:00
parent a2009c8cea
commit 1c7f35b40f
7 changed files with 1615 additions and 810 deletions

View File

@@ -52,7 +52,7 @@ const highlightItems = [
{
icon: <Star size={22} color="#ffffff" />,
title: '真实口碑',
description: '5000+家庭选择98%满意度,支持老房换窗与整屋升级。'
description: '10万+家庭选择98%满意度,支持老房换窗与整屋升级。'
}
]
@@ -220,15 +220,15 @@ const BrochurePage: React.FC = () => {
<View className="brochure-page__stats">
<View className="brochure-page__stat">
<Text className="brochure-page__stat-value">10</Text>
<Text className="brochure-page__stat-label"></Text>
<Text className="brochure-page__stat-value">20</Text>
<Text className="brochure-page__stat-label">()</Text>
</View>
<View className="brochure-page__stat">
<Text className="brochure-page__stat-value">15</Text>
<Text className="brochure-page__stat-label"></Text>
</View>
<View className="brochure-page__stat">
<Text className="brochure-page__stat-value">5000+</Text>
<Text className="brochure-page__stat-value">10+</Text>
<Text className="brochure-page__stat-label"></Text>
</View>
</View>

View File

@@ -14,7 +14,7 @@ interface MenuItem {
const menuList: MenuItem[] = [
{
id: 1,
title: '我要推荐',
title: '推荐客户',
icon: 'https://oss.wsdns.cn/20260330/5f54527123864193b0a2078f812b117f.png?x-oss-process=image/resize,m_fixed,w_750/quality,Q_90',
path: '/dealer/customer/add'
},

View File

@@ -12,8 +12,8 @@ const TrustSection: React.FC = () => {
{
icon: <ShieldCheck size={28} color="#ffffff" />,
title: '品质保障',
highlight: '10年',
description: '质保承诺',
highlight: '20年',
description: '质保承诺(整窗)',
subDescription: '德国进口五金配件',
bg: 'linear-gradient(135deg, #3b82f6, #2563eb)',
},
@@ -30,7 +30,7 @@ const TrustSection: React.FC = () => {
title: '客户好评',
highlight: '98%',
description: '满意度',
subDescription: '5000+家庭信赖之选',
subDescription: '10万+家庭信赖之选',
bg: 'linear-gradient(135deg, #f59e0b, #d97706)',
}
]