From 6c5c830bc370e7c644f702ce3a4c905e6ef82ef9 Mon Sep 17 00:00:00 2001 From: xiaosi <2652281683@qq.com> Date: Fri, 28 Aug 2026 19:12:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=9B=91=E6=8E=A7=E9=A1=B5=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E5=8B=BE=E9=80=89=E4=B8=8E=E7=8A=B6=E6=80=81=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=88=87=E6=8D=A2=E5=88=B0=20TDesign?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/prototype.css | 9 +- src/views/MonitorView/MonitorView.vue | 224 +++++++++++++++----------- 2 files changed, 131 insertions(+), 102 deletions(-) diff --git a/src/styles/prototype.css b/src/styles/prototype.css index 400dd18..c351164 100644 --- a/src/styles/prototype.css +++ b/src/styles/prototype.css @@ -122,10 +122,9 @@ svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: .device-card:hover { border-color: #aab9c8; transform: translateY(-1px); } .device-card.active { border-color: #5a93d4; background: #f4f8fd; box-shadow: inset 3px 0 var(--blue); } .device-card.multi-selected { border-color: var(--blue); box-shadow: inset 3px 0 var(--blue); background: #f4f8fd; } -.device-select-checkbox { position: absolute; z-index: 2; top: 10px; left: 8px; width: 16px; height: 16px; display: block; cursor: pointer; } -.device-select-checkbox input { position: absolute; opacity: 0; } -.device-select-checkbox > span { width: 15px; height: 15px; display: block; border: 1px solid #b8c7d2; border-radius: 3px; background: #fff; } -.device-select-checkbox input:checked + span { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #fff; } +.device-select-checkbox { position: absolute; z-index: 2; top: 10px; left: 8px; width: auto; height: auto; display: flex; align-items: center; cursor: pointer; } +.device-select-checkbox .t-checkbox { margin: 0; } +.device-select-checkbox .t-checkbox__label { display: none; } .device-card-main { width: 100%; min-height: 68px; padding: 11px 11px 11px 34px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; color: inherit; background: transparent; text-align: left; } .device-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; } .device-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; } @@ -485,6 +484,8 @@ svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: .modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; } .modal-actions button { height: 38px; border-radius: 5px; font-size: 13px; }.modal-actions .cancel { background: #fff; border: 1px solid var(--line); }.modal-actions .confirm { color: #fff; background: var(--blue); } .dock-status-dialog { width: min(700px, calc(100vw - 32px)); padding: 0; overflow: hidden; text-align: left; } +.dock-status-dialog .t-dialog__header { min-height: 58px; padding: 0 18px; border-bottom: 1px solid var(--line); } +.dock-status-dialog .t-dialog__body { padding: 0; } .dock-status-header { min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); cursor: grab; } .dock-status-header:active { cursor: grabbing; } .dock-status-header > div { display: flex; flex-direction: column; gap: 4px; }.dock-status-header span { color: var(--muted); font-size: 10px; }.dock-status-header h3 { margin: 0; font-size: 18px; } diff --git a/src/views/MonitorView/MonitorView.vue b/src/views/MonitorView/MonitorView.vue index 3c2c86a..1565b20 100644 --- a/src/views/MonitorView/MonitorView.vue +++ b/src/views/MonitorView/MonitorView.vue @@ -6,10 +6,11 @@ - +
@@ -25,10 +26,12 @@
+ +