From fed199f08d5721ee77727571af13d1f57f769ebd Mon Sep 17 00:00:00 2001 From: shiyue <935732994@qq.com> Date: Fri, 29 Aug 2025 14:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84:=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=89=8B=E9=A3=8E=E7=90=B4=E7=BB=84=E4=BB=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?API=E8=AE=BE=E7=BD=AE=E5=92=8C=E5=AF=B9=E8=AF=9D=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E7=9A=84UI=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 124 +++++++++++++++++++++++++++++++---------------------- styles.css | 68 ++++++++++++++++++++++++++++- 2 files changed, 138 insertions(+), 54 deletions(-) diff --git a/index.html b/index.html index e215897..da876c3 100644 --- a/index.html +++ b/index.html @@ -22,56 +22,66 @@
-
-
API设置
-
-
-
- - -
-
-
-
- - -
-
-
-
- - -
-
-
-
- - -
-
-
-
- - -
-
-
-
-
- - 未连接 -
-
- - + +
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+ + 未连接 +
+
+ + +
+
+
@@ -130,9 +140,19 @@
-
-
对话历史
-
+
+
+

+ +

+
+
+
+
+
+
diff --git a/styles.css b/styles.css index 1a0587c..8f3194b 100644 --- a/styles.css +++ b/styles.css @@ -48,8 +48,8 @@ body { } .card:hover { - transform: translateY(-5px); - box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); + /* transform: translateY(-5px); */ + box-shadow: 0 15px 40px rgba(233, 233, 233, 0.65); } .card-header { @@ -484,6 +484,15 @@ body { border: none; } +#imageViewerModal .modal-header .btn-close { + filter: invert(1); + opacity: 0.8; +} + +#imageViewerModal .modal-header .btn-close:hover { + opacity: 1; +} + #imageViewerModal .modal-footer { background: rgba(0, 0, 0, 0.05); border: none; @@ -636,3 +645,58 @@ body { font-size: 14px; } } + +/* Accordion 样式定制 */ +.accordion { + border-radius: var(--border-radius); + overflow: hidden; +} + +.accordion-item { + border: none; + margin-bottom: 1px; +} + +.accordion-button { + background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); + color: white; + font-weight: 600; + border: none; + padding: 15px 20px; + border-radius: 0; +} + +.accordion-button:not(.collapsed) { + background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%); + color: white; + box-shadow: none; +} + +.accordion-button:focus { + box-shadow: none; + border: none; +} + +.accordion-button::after { + filter: invert(1); +} + +.accordion-body { + background: rgba(255, 255, 255, 0.95); + padding: 20px; +} + +.accordion-item:first-of-type .accordion-button { + border-top-left-radius: var(--border-radius); + border-top-right-radius: var(--border-radius); +} + +.accordion-item:last-of-type .accordion-button.collapsed { + border-bottom-left-radius: var(--border-radius); + border-bottom-right-radius: var(--border-radius); +} + +.accordion-item:last-of-type .accordion-collapse { + border-bottom-left-radius: var(--border-radius); + border-bottom-right-radius: var(--border-radius); +}