From 1805edc63a9bc98c496ce93e3d2c75d9d5761661 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Fri, 19 Jun 2026 11:35:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/index.html | 74 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 64 insertions(+), 10 deletions(-) diff --git a/static/index.html b/static/index.html index 1b86bae..73f793d 100644 --- a/static/index.html +++ b/static/index.html @@ -9,9 +9,15 @@ body{font-family:'Microsoft YaHei',sans-serif;background:#0d1117;color:#c9d1d9;display:flex;height:100vh} /* ========== 左侧商品列表 ========== */ - .left{width:280px;min-width:280px;background:#161b22;border-right:1px solid#30363d;display:flex;flex-direction:column} - .left-header{padding:10px;border-bottom:1px solid#30363d} - .left-list{flex:1;overflow-y:auto;padding:8px} + .left{width:280px;min-width:280px;background:#161b22;border-right:1px solid#30363d;display:flex;flex-direction:column} + .left-header{padding:10px;border-bottom:1px solid#30363d} + .product-search{display:flex;align-items:center;gap:6px;margin-top:8px;background:#0d1117;border:1px solid#30363d;border-radius:5px;padding:0 6px} + .product-search:focus-within{border-color:#58a6ff} + .product-search input{flex:1;min-width:0;height:32px;border:0;outline:0;background:transparent;color:#c9d1d9;font-size:13px} + .product-search input::placeholder{color:#6e7681} + .product-search .search-clear{width:22px;height:22px;border:0;border-radius:4px;background:transparent;color:#8b949e;cursor:pointer;font-size:16px;line-height:20px;display:none} + .product-search .search-clear:hover{background:#21262d;color:#c9d1d9} + .left-list{flex:1;overflow-y:auto;padding:8px} .left-list .prod-item{display:flex;align-items:center;gap:8px;padding:8px;margin:4px 0;background:#21262d;border-radius:6px;cursor:pointer;border:2px solid transparent;transition:.2s} .left-list .prod-item:hover{border-color:#58a6ff} .left-list .prod-item.active{border-color:#f78166;background:#1a1f2b} @@ -95,6 +101,11 @@
+
库存未刷新
@@ -154,6 +165,7 @@