fix(web): A3 页面对齐选定原型(行业 Tab / 新建向导 / 筛选条)
ci / 质量门禁 (push) Waiting to run

背景:A3 首版实现把行业管理简化为普通树 + 简化详情,新建客户用 Semi 默认 Steps + 下拉框,与用户选定的原型 B 结构差异较大;客户管理筛选区也缺少白底与统一图标间距。

改动:
- 行业管理(B):补头像 + 状态/层级标签、基本信息/子行业/引用 Tab、最近变更时间线、子行业与引用客户列表,右栏白底卡片,删除入口。
- 新建客户(B):补左侧「创建客户/共 4 步」步骤导航(标题 + 说明 + 当前/完成态)、两级行业卡片选择、表单卡头/底部操作条。
- 客户组(B):成员改为「客户/所属行业/状态/负责人/操作」表格并支持移除。
- 客户列表(A):补表头统计、筛选区白底卡片与搜索图标间距。
- 客户详情(A):补右栏快捷操作;字段审批(A):补状态分段、中文类型。
- 主操作 theme=solid、次操作 theme=outline,与原型按钮层级一致。
- 更新 A3 实施报告与设计说明。

影响面:仅 apps/web A3 页面、client.css 与文档;接口、数据、权限不变。
验证:lint / format:check / typecheck / test(shared 131 / api 90 / web 125)/ build 全绿;真实浏览器六页重拍通过。截图:design/a3-ui-v1/impl/。
This commit is contained in:
Stev_Wang committed 2026-11-04 08:04:14 +08:00
1 parent 140dc386c1
commit 3e4bf48841
8 files changed
+1174 -215

No files matched your search

+571
View File
@@ -34,6 +34,17 @@
align-items: center;
gap: 10px;
flex-wrap: wrap;
padding: 12px 16px;
border: 1px solid #e5e8ef;
border-radius: 10px;
background: #fff;
box-shadow: 0 1px 2px rgba(31, 35, 41, 0.04);
}
.lx-client-filters .semi-input-prefix {
margin: 0 12px 0 10px;
}
.lx-client-filters .semi-input-prefix-icon {
margin: 0;
}
.lx-client-split {
display: flex;
@@ -524,3 +535,563 @@
.lx-client-back:hover {
color: #1677ff;
}
/* 行业管理 B:头部 / Tab / 子行业 / 引用(对齐 design/a3-ui-v1/b) */
.lx-industry-head {
display: flex;
align-items: center;
gap: 14px;
padding: 16px 18px;
border-bottom: 1px solid #eef1f6;
}
.lx-industry-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
background: #e8f1ff;
color: #1677ff;
display: inline-flex;
align-items: center;
justify-content: center;
flex: none;
}
.lx-industry-id {
min-width: 0;
flex: 1;
}
.lx-industry-name {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.lx-industry-name b {
font-size: 16px;
line-height: 24px;
}
.lx-industry-meta {
margin-top: 2px;
font-size: 12px;
line-height: 17px;
color: #646a73;
}
.lx-industry-actions {
margin-left: auto;
display: flex;
align-items: center;
gap: 8px;
flex: none;
}
.lx-industry-tabs {
display: flex;
align-items: stretch;
gap: 2px;
height: 44px;
padding: 0 10px;
border-bottom: 1px solid #eef1f6;
flex: none;
}
.lx-industry-tabs button {
position: relative;
padding: 0 12px;
border: 0;
background: transparent;
font-size: 13px;
color: #646a73;
display: inline-flex;
align-items: center;
gap: 6px;
cursor: pointer;
}
.lx-industry-tabs button:hover {
color: #1f2329;
}
.lx-industry-tabs button.is-on {
color: #1677ff;
font-weight: 500;
}
.lx-industry-tabs button.is-on::after {
content: '';
position: absolute;
left: 10px;
right: 10px;
bottom: 0;
height: 2px;
border-radius: 2px 2px 0 0;
background: #1677ff;
}
.lx-industry-tabs i {
font-style: normal;
font-size: 12px;
color: #646a73;
}
.lx-industry-tabs button.is-on i {
color: #1677ff;
}
.lx-industry-body {
flex: 1;
min-height: 0;
overflow: auto;
padding: 16px 18px 20px;
}
.lx-industry-note {
margin-top: 14px;
padding: 10px 12px;
border-radius: 6px;
background: #fafbfc;
border: 1px solid #eef1f6;
font-size: 12px;
line-height: 18px;
color: #646a73;
display: flex;
gap: 8px;
}
.lx-industry-sec {
margin-top: 20px;
padding-top: 16px;
border-top: 1px solid #eef1f6;
}
.lx-industry-sec-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.lx-industry-sec-head b {
font-size: 13px;
}
.lx-industry-sec-head span {
font-size: 12px;
color: #646a73;
}
.lx-timeline {
display: flex;
flex-direction: column;
gap: 14px;
padding-left: 4px;
}
.lx-timeline-item {
position: relative;
padding-left: 16px;
}
.lx-timeline-item > i {
position: absolute;
left: 0;
top: 4px;
width: 9px;
height: 9px;
border-radius: 50%;
background: #fff;
border: 2px solid #d0d5dd;
}
.lx-timeline-item.is-first > i {
border-color: #1677ff;
}
.lx-timeline-item b {
display: block;
font-size: 13px;
font-weight: 400;
color: #1f2329;
}
.lx-timeline-item span {
display: block;
margin-top: 2px;
font-size: 12px;
color: #646a73;
}
.lx-industry-childlist {
display: flex;
flex-direction: column;
}
.lx-industry-childrow {
display: flex;
align-items: center;
gap: 8px;
height: 44px;
padding: 0 10px;
border: 0;
border-bottom: 1px solid #eef1f6;
background: transparent;
font-size: 13px;
color: #646a73;
text-align: left;
cursor: pointer;
}
.lx-industry-childrow:hover {
background: #f8fbff;
}
.lx-industry-childrow b {
font-weight: 500;
color: #1f2329;
}
.lx-industry-childrow span {
font-size: 12px;
}
.lx-industry-childrow em {
margin-left: auto;
font-style: normal;
font-size: 12px;
color: #1677ff;
}
.lx-industry-childdot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #d0d5dd;
flex: none;
}
.lx-industry-reflist {
display: flex;
flex-direction: column;
gap: 6px;
}
.lx-industry-refrow {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
border: 1px solid #eef1f6;
border-radius: 6px;
}
.lx-industry-refavatar {
width: 28px;
height: 28px;
border-radius: 6px;
background: #e8f1ff;
color: #1677ff;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 12px;
flex: none;
}
.lx-industry-refrow b {
display: block;
font-size: 13px;
font-weight: 500;
}
.lx-industry-refrow span {
display: block;
font-size: 12px;
color: #646a73;
}
/* 新建客户 B:步骤导航 + 两级行业卡片 */
.lx-client-stepnav {
background: #fff;
border: 1px solid #e5e8ef;
border-radius: 10px;
padding: 16px 14px;
align-self: flex-start;
}
.lx-client-stepnav__head {
display: flex;
align-items: baseline;
justify-content: space-between;
padding: 0 4px 10px;
}
.lx-client-stepnav__head b {
font-size: 14px;
}
.lx-client-stepnav__head span {
font-size: 12px;
color: #646a73;
}
.lx-stepnav-item {
width: 100%;
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px 8px;
border: 0;
border-radius: 6px;
background: transparent;
text-align: left;
cursor: pointer;
color: #646a73;
}
.lx-stepnav-item:hover {
background: #f7f8fa;
}
.lx-stepnav-item.is-on {
background: #e8f1ff;
}
.lx-stepnav-num {
width: 24px;
height: 24px;
border-radius: 50%;
background: #f2f4f7;
color: #646a73;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 600;
flex: none;
}
.lx-stepnav-item.is-on .lx-stepnav-num {
background: #1677ff;
color: #fff;
}
.lx-stepnav-item.is-done .lx-stepnav-num {
background: #e8ffea;
color: #008a24;
}
.lx-stepnav-text b {
display: block;
font-size: 13px;
font-weight: 500;
color: #646a73;
}
.lx-stepnav-text span {
display: block;
margin-top: 2px;
font-size: 11px;
line-height: 15px;
color: #646a73;
}
.lx-stepnav-item.is-on .lx-stepnav-text b {
color: #1677ff;
}
.lx-client-formcard__head {
flex: none;
padding: 14px 20px 10px;
border-bottom: 1px solid #eef1f6;
}
.lx-client-formcard__head b {
display: block;
font-size: 14px;
}
.lx-client-formcard__head span {
display: block;
margin-top: 2px;
font-size: 12px;
color: #646a73;
}
.lx-indpick {
display: flex;
flex-direction: column;
gap: 12px;
}
.lx-indpick-group {
border: 1px solid #eef1f6;
border-radius: 6px;
overflow: hidden;
}
.lx-indpick-root {
display: flex;
align-items: center;
gap: 8px;
height: 42px;
padding: 0 14px;
background: #fafbfc;
border-bottom: 1px solid #eef1f6;
}
.lx-indpick-dot {
width: 7px;
height: 7px;
border-radius: 2px;
background: #1677ff;
}
.lx-indpick-root b {
font-size: 13px;
}
.lx-indpick-root span {
margin-left: auto;
font-size: 12px;
color: #646a73;
}
.lx-indpick-opts {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2px 12px;
padding: 10px 14px;
}
.lx-radio {
display: flex;
align-items: center;
gap: 8px;
padding: 8px;
border: 1px solid transparent;
border-radius: 6px;
background: transparent;
font-size: 13px;
color: #646a73;
text-align: left;
cursor: pointer;
}
.lx-radio:hover {
background: #f7f8fa;
}
.lx-radio.is-on {
background: #e8f1ff;
border-color: rgba(22, 119, 255, 0.24);
color: #1f2329;
}
.lx-radio-dot {
width: 15px;
height: 15px;
border-radius: 50%;
border: 1px solid #d0d5dd;
background: #fff;
flex: none;
position: relative;
}
.lx-radio.is-on .lx-radio-dot {
border-color: #1677ff;
}
.lx-radio.is-on .lx-radio-dot::after {
content: '';
position: absolute;
inset: 3px;
border-radius: 50%;
background: #1677ff;
}
.lx-radio i {
margin-left: auto;
font-style: normal;
font-size: 11px;
color: #646a73;
}
.lx-client-membertable {
margin-top: 12px;
border: 1px solid #eef1f6;
border-radius: 6px;
overflow: hidden;
}
.lx-client-membertable__head,
.lx-client-membertable__row {
display: grid;
grid-template-columns: 1.3fr 1.6fr 0.8fr 0.8fr 0.6fr;
gap: 10px;
align-items: center;
padding: 10px 12px;
}
.lx-client-membertable__head {
background: #fafbfc;
font-size: 12px;
color: #646a73;
border-bottom: 1px solid #eef1f6;
}
.lx-client-membertable__row {
border-bottom: 1px solid #eef1f6;
font-size: 13px;
color: #646a73;
}
.lx-client-membertable__row:last-child {
border-bottom: 0;
}
.lx-client-membertable__row b {
color: #1f2329;
font-weight: 500;
}
.lx-client-membertable__row i {
margin-left: 6px;
font-style: normal;
font-size: 11px;
color: #646a73;
}
.lx-client-linkdanger {
border: 0;
background: transparent;
color: #f53f3f;
font-size: 12px;
cursor: pointer;
text-align: left;
}
.lx-client-linkdanger:hover {
text-decoration: underline;
}
.lx-client-tablehead {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
border-bottom: 1px solid #eef1f6;
}
.lx-client-tablehead b {
font-size: 14px;
}
.lx-client-tablehead span {
font-size: 12px;
color: #646a73;
}
.lx-client-tablehead__stats {
margin-left: auto;
display: flex;
gap: 14px;
font-size: 12px;
color: #646a73;
}
.lx-client-tablehead__stats b {
font-size: 14px;
margin-left: 4px;
}
.lx-client-seg {
display: inline-flex;
align-items: center;
gap: 2px;
padding: 2px;
border-radius: 6px;
background: #f5f7fa;
}
.lx-client-seg button {
height: 28px;
padding: 0 12px;
border: 0;
border-radius: 4px;
background: transparent;
color: #646a73;
font-size: 13px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 5px;
}
.lx-client-seg button.is-on {
background: #fff;
color: #1f2329;
font-weight: 500;
box-shadow: 0 1px 2px rgba(31, 35, 41, 0.08);
}
.lx-client-seg i {
font-style: normal;
font-size: 12px;
color: #646a73;
}
.lx-client-sideacts {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 10px;
}
.lx-client-sideacts .semi-button {
width: 100%;
justify-content: flex-start;
}
.lx-client-tag {
width: max-content;
}
.lx-client-newgrid {
min-height: 620px;
}
.lx-client-stepnav,
.lx-client-formcard {
min-height: 620px;
}
.lx-tree-caret {
width: 14px;
font-size: 12px;
color: #8f959e;
flex: none;
}
.lx-tree-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #d0d5dd;
flex: none;
}
.lx-client-tree__row.is-child .lx-tree-dot {
margin-left: 6px;
}