From a580e27ba41e88db35a6236e87273c8aad5f94e0 Mon Sep 17 00:00:00 2001 From: ZhuangYumin Date: Mon, 18 Dec 2023 08:57:39 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/Web/show.html | 103 ++++++++++++++++++++++------------------- 1 file changed, 55 insertions(+), 48 deletions(-) diff --git a/frontend/Web/show.html b/frontend/Web/show.html index fe570fd..773dded 100644 --- a/frontend/Web/show.html +++ b/frontend/Web/show.html @@ -17,53 +17,58 @@ transform: translate(-50%, -50%); } .search-panel { - margin-bottom: 20px; - text-align: center; - } + margin-bottom: 20px; + text-align: center; + } - .search-panel button { - background-color: #4CAF50; - color: white; - padding: 10px 15px; - border: none; - border-radius: 5px; - cursor: pointer; - } + .search-panel button, + .search-panel form { + display: inline-block; /* 或者使用 display: inline-flex; */ + } - .search-panel label { - margin-right: 10px; - } + .search-panel button { + background-color: #4CAF50; + color: white; + padding: 10px 15px; + border: none; + border-radius: 5px; + cursor: pointer; + } - .search-panel select, - .search-panel input { - padding: 8px; - margin-right: 10px; - } + .search-panel label { + margin-right: 10px; + } - #searchResults { - margin-top: 20px; - } + .search-panel select, + .search-panel input { + padding: 8px; + margin-right: 10px; + } - #searchResults table { - width: 100%; - border-collapse: collapse; - margin-top: 10px; - } + #searchResults { + margin-top: 20px; + } - #searchResults th, #searchResults td { - border: 1px solid #ddd; - padding: 8px; - text-align: left; - } + #searchResults table { + width: 100%; + border-collapse: collapse; + margin-top: 10px; + } - #searchResults th { - background-color: #4CAF50; - color: white; - } + #searchResults th, #searchResults td { + border: 1px solid #ddd; + padding: 8px; + text-align: left; + } - #searchResults td { - background-color: #f2f2f2; - } + #searchResults th { + background-color: #4CAF50; + color: white; + } + + #searchResults td { + background-color: #f2f2f2; + } @@ -96,15 +101,17 @@
- - - - +
+ + + + +