From 01842a0abf3acb1c4924f220cc2df2c8c9fce10a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Sat, 22 Aug 2026 15:54:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=E5=8F=AF=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=85=83=E7=B4=A0=E7=BB=9F=E4=B8=80=E7=8E=89=E7=BB=BF=E7=A4=BA?= =?UTF-8?q?=E6=84=8F(=E9=93=BE=E6=8E=A5=E6=82=AC=E5=81=9C=E4=B8=8B?= =?UTF-8?q?=E5=88=92=E7=BA=BF+=E8=A1=8C=E6=82=AC=E5=81=9C=E9=A6=96?= =?UTF-8?q?=E5=88=97=E6=9F=93=E7=8E=89=E7=BB=BF+=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E4=BE=A7=E6=A0=8F=E7=8E=89=E7=BB=BF=E6=BF=80=E6=B4=BB;?= =?UTF-8?q?=E4=BF=AEStaffList=E7=81=B0=E8=89=B2=E8=A6=86=E7=9B=96=E6=8A=8A?= =?UTF-8?q?link=E6=8C=89=E9=92=AE=E6=9F=93=E7=81=B0=E7=9A=84bug)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- yunkes/src/style.css | 40 ++++++++++++++++++++++++++++++++++ yunkes/src/views/StaffList.vue | 5 +++++ 2 files changed, 45 insertions(+) diff --git a/yunkes/src/style.css b/yunkes/src/style.css index 411e4fa..85d8409 100644 --- a/yunkes/src/style.css +++ b/yunkes/src/style.css @@ -436,3 +436,43 @@ a { h2 { letter-spacing: 0.01em; } + +/* ══ 可点击元素统一玉绿示意(2026-08-22) ══ */ + +/* 文本链接:玉绿 + 悬停下划线 */ +.yk-link { + color: var(--el-color-primary); + cursor: pointer; + transition: color 0.15s ease; +} +.yk-link:hover { + text-decoration: underline; + text-underline-offset: 3px; +} + +/* Element 链接按钮:悬停下划线(颜色已随主色) */ +.el-button.is-link { + transition: color 0.15s ease; +} +.el-button.is-link:hover { + text-decoration: underline; + text-underline-offset: 3px; +} + +/* 行级可点击(点行开抽屉):悬停时行首主信息染玉绿,配合行底色示意 */ +.el-table .yk-clickable-row { + cursor: pointer; +} +.el-table .yk-clickable-row:hover td:first-child .cell { + color: var(--el-color-primary); + transition: color 0.15s ease; +} + +/* 聊天会话侧栏:悬停/激活玉绿系 */ +.yk-chat-side__item:hover { + background: #eef8f2; +} +.yk-chat-side__item.is-active { + background: #e2f5eb; + box-shadow: inset 3px 0 0 var(--el-color-primary); +} diff --git a/yunkes/src/views/StaffList.vue b/yunkes/src/views/StaffList.vue index a0a8380..a96f3ed 100644 --- a/yunkes/src/views/StaffList.vue +++ b/yunkes/src/views/StaffList.vue @@ -1109,6 +1109,11 @@ onMounted(() => { .yk-pair__v { color: #303133; } +/* 可点按钮(link primary)不受灰文本覆盖,保持玉绿示意(2026-08-22) */ +.yk-pair__v.el-button, +.yk-staffinfo__v.el-button { + color: var(--el-color-primary); +} /* Round 40px avatar — el-image renders an inside; size + round it. */ .yk-avatar-round {