From 7485a96f7b348511f5df0bd41ef4e894f4f5f344 Mon Sep 17 00:00:00 2001 From: xudan Date: Mon, 8 Dec 2025 15:11:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(modal):=20=E4=BC=98=E5=8C=96=E6=9C=BA?= =?UTF-8?q?=E5=99=A8=E4=BA=BA=E9=80=89=E6=8B=A9=E5=BC=B9=E7=AA=97=E7=9A=84?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E6=A0=B7=E5=BC=8F=EF=BC=8C=E5=B0=86=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E9=A1=B9=E8=83=8C=E6=99=AF=E8=89=B2=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E5=88=86=E5=89=B2=E7=BA=BF=E5=B9=B6=E8=B0=83=E6=95=B4=E6=96=87?= =?UTF-8?q?=E5=AD=97=E5=92=8C=E5=8B=BE=E9=80=89=E6=8C=87=E7=A4=BA=E5=99=A8?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E4=BB=A5=E6=8F=90=E5=8D=87=E8=A7=86=E8=A7=89?= =?UTF-8?q?=E5=B1=82=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/modal/robot-selector-modal.vue | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/components/modal/robot-selector-modal.vue b/src/components/modal/robot-selector-modal.vue index 561298b..ecde0a7 100644 --- a/src/components/modal/robot-selector-modal.vue +++ b/src/components/modal/robot-selector-modal.vue @@ -238,22 +238,34 @@ onMounted(() => { padding: 0 16px; cursor: pointer; transition: all 0.2s ease; + position: relative; } -.robot-item.selected { - background-color: #0dbb8a; +.robot-item:not(:last-child)::after { + content: ''; + position: absolute; + bottom: 0; + left: 16px; + right: 16px; + height: 1px; + background-color: var(--border-color-split, #d9d9d9); +} + +/* 暗色主题 */ +[theme='dark'] .robot-item:not(:last-child)::after { + background-color: #5c5757; } .robot-item.selected .robot-name { - color: #fff; + color: #0dbb8a; } .robot-item.selected .robot-status { - color: rgba(255, 255, 255, 0.8); + color: #0dbb8a; } .check-indicator { - color: #fff; + color: #0dbb8a; display: flex; align-items: center; justify-content: center;