From 3699ec6d3b2a74802f55a92a55fa7c278a1c9298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Mon, 24 Aug 2026 10:17:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E5=91=98=E5=B7=A5=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E6=8E=A5=E5=85=A5=E5=8D=A1=E7=89=87=E5=8C=96=E7=BE=8E?= =?UTF-8?q?=E5=8C=96(=E9=80=89=E6=8B=A9=E5=99=A8=E6=89=A9=E5=B1=95?= =?UTF-8?q?=E5=88=B0=E7=8B=AC=E7=AB=8B=E9=A1=B5)+WA=E5=AE=A2=E6=88=B7tab?= =?UTF-8?q?=E6=AF=8F=E9=A1=B510=E6=9D=A1(=E5=BE=AE=E4=BF=A1=E4=BF=9D?= =?UTF-8?q?=E6=8C=815)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- yunkes/src/style.css | 19 +++++++++++++------ yunkes/src/views/CustomerList.vue | 8 ++++---- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/yunkes/src/style.css b/yunkes/src/style.css index dca5dff..2cee037 100644 --- a/yunkes/src/style.css +++ b/yunkes/src/style.css @@ -547,10 +547,12 @@ h2 { } /* ── 分区标题:玉绿竖条+字距 ── */ -.yk-drawer .el-divider--horizontal { +.yk-drawer .el-divider--horizontal, +.yk-staff-detail .el-divider--horizontal { margin: 20px 0 12px !important; } -.yk-drawer .el-divider__text { +.yk-drawer .el-divider__text, +.yk-staff-detail .el-divider__text { font-size: 13px !important; font-weight: 700 !important; color: #3d4756 !important; @@ -558,7 +560,8 @@ h2 { padding: 0 12px 0 0 !important; background: transparent !important; } -.yk-drawer .el-divider__text::before { +.yk-drawer .el-divider__text::before, +.yk-staff-detail .el-divider__text::before { content: '' !important; display: inline-block !important; width: 3px !important; @@ -568,7 +571,8 @@ h2 { margin-right: 8px !important; vertical-align: -2px !important; } -.yk-drawer .el-divider__text.is-left { +.yk-drawer .el-divider__text.is-left, +.yk-staff-detail .el-divider__text.is-left { left: 0 !important; transform: none !important; } @@ -633,8 +637,11 @@ h2 { grid-column: 1 / -1 !important; } -/* 员工独立详情页:同样的卡片化 */ -.yk-staff-detail__body .yk-drawer__avatar { +/* 员工独立详情页:同样的卡片化+背景 */ +.yk-staff-detail__body { + padding: 0 !important; +} +.yk-staff-detail .yk-staff-detail__body .yk-drawer__avatar { margin: 0 0 24px !important; } .yk-staff-detail__header { diff --git a/yunkes/src/views/CustomerList.vue b/yunkes/src/views/CustomerList.vue index 66dbc6f..42dd395 100644 --- a/yunkes/src/views/CustomerList.vue +++ b/yunkes/src/views/CustomerList.vue @@ -35,8 +35,8 @@ interface TabState { errorMsg: string | null loaded: boolean } -function freshTabState(): TabState { - return { items: [], total: 0, page: 1, pageSize: 5, loading: false, errorMsg: null, loaded: false } +function freshTabState(pageSize = 5): TabState { + return { items: [], total: 0, page: 1, pageSize, loading: false, errorMsg: null, loaded: false } } /** 云客口径客户合计(分渠道,Σ员工好友数声明值,含云客索引重复;页脚对齐云客)。 */ @@ -68,8 +68,8 @@ const activeTab = ref( : 'wechat', ) const tabState = reactive>({ - wechat: freshTabState(), - whatsapp: freshTabState(), + wechat: freshTabState(5), // 微信 5 条(用户偏好) + whatsapp: freshTabState(10), // WA 10 条(2026-08-24 用户指定) }) // 全字段抽屉(两 tab 共享)