From d9c875924c00adce72cb9aa63a0f10be7caba10d Mon Sep 17 00:00:00 2001 From: duxingchen Date: Wed, 12 Aug 2026 17:23:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=89=AB?= =?UTF-8?q?=E7=A0=81=E9=A1=B5=E6=89=8B=E5=8A=A8=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E9=94=AE=E6=B8=85=E9=99=A4=C3=97?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- track-uniapp/src/pages/scan/index.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/track-uniapp/src/pages/scan/index.vue b/track-uniapp/src/pages/scan/index.vue index c1e57fb..44640ab 100644 --- a/track-uniapp/src/pages/scan/index.vue +++ b/track-uniapp/src/pages/scan/index.vue @@ -11,8 +11,11 @@ - + + + + @@ -109,8 +112,11 @@ export default { .manual-section { margin-top: 24px; } .section-label { font-size: 12px; color: #9ca3af; margin-bottom: 8px; display: block; } .manual-input { display: flex; gap: 8px; } -.input { flex: 1; height: 48px; padding: 0 14px; border: 1px solid #e5e7eb; border-radius: 12px; - font-size: 15px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.04); } +.input-wrap { flex: 1; position: relative; } +.input { width: 100%; height: 48px; padding: 0 36px 0 14px; border: 1px solid #e5e7eb; border-radius: 12px; + font-size: 15px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.04); box-sizing: border-box; } +.input-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); + font-size: 16px; color: #9ca3af; padding: 4px; z-index: 2; } .search-btn { height: 48px; padding: 0 22px; background: #2563EB; color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 48px; } .search-btn[disabled] { opacity: 0.5; }