From 510fca9b8e79d77dd6f93d5402e2a02c5009a01f Mon Sep 17 00:00:00 2001 From: songxiangjie <1329159231@qq.com> Date: Mon, 15 Dec 2025 14:18:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E5=AE=8C=E6=88=90=E5=8F=AF?= =?UTF-8?q?=E8=A7=86=E5=8C=96=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cs_chart.html | 273 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 259 insertions(+), 14 deletions(-) diff --git a/cs_chart.html b/cs_chart.html index 51e8b92..4b3b11d 100644 --- a/cs_chart.html +++ b/cs_chart.html @@ -720,6 +720,54 @@ ::-webkit-scrollbar-thumb:hover { background: #9e9e9e; } + + /* 司机搜索下拉框样式 */ + .driver-dropdown { + position: absolute; + top: 100%; + left: 0; + right: 0; + background: white; + border: 1px solid var(--border-color); + border-radius: 3px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + max-height: 200px; + overflow-y: auto; + z-index: 1000; + margin-top: 2px; + } + + .driver-item { + padding: 8px 12px; + cursor: pointer; + border-bottom: 1px solid #f0f0f0; + transition: background-color 0.2s; + } + + .driver-item:last-child { + border-bottom: none; + } + + .driver-item:hover { + background-color: var(--light-green); + } + + .driver-info { + display: flex; + align-items: center; + gap: 10px; + } + + .driver-name { + font-weight: 600; + color: var(--dark-green); + font-size: 0.85rem; + } + + .driver-phone { + color: #666; + font-size: 0.8rem; + }