From b69243e51af2d6c9300d26bca8c84baf7f79c00d Mon Sep 17 00:00:00 2001
From: MasonLiu <2857911564@qq.com>
Date: Mon, 1 Jun 2026 00:24:51 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A1=A8=E6=A0=BC=E6=8E=92?=
=?UTF-8?q?=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
assets/css/style.css | 61 +++
simple.php => full.php | 46 ++-
index.php | 103 +++++-
table.php | 820 +++++++++++++++++++++++++++++++++++++++++
4 files changed, 1019 insertions(+), 11 deletions(-)
rename simple.php => full.php (87%)
create mode 100644 table.php
diff --git a/assets/css/style.css b/assets/css/style.css
index 09973ef..be4b4b4 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -257,6 +257,67 @@ body.dark-mode .view-toggle:hover {
transform: translateX(-50%) translateY(0);
}
+/* 视图切换下拉菜单 */
+.view-menu {
+ position: absolute;
+ top: 70px;
+ right: 15px;
+ background: white;
+ border: 1px solid #e2e8f0;
+ border-radius: 8px;
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
+ padding: 8px 0;
+ min-width: 150px;
+ z-index: 101;
+ display: none;
+}
+
+body.dark-mode .view-menu {
+ background: #2d3748;
+ border-color: #4a5568;
+}
+
+.view-menu.show {
+ display: block;
+}
+
+.view-menu-item {
+ display: flex;
+ align-items: center;
+ padding: 10px 16px;
+ color: #2d3748;
+ text-decoration: none;
+ transition: background-color 0.2s ease;
+ cursor: pointer;
+ border: none;
+ background: none;
+ width: 100%;
+ font-size: 0.9em;
+ text-align: left;
+}
+
+body.dark-mode .view-menu-item {
+ color: #e2e8f0;
+}
+
+.view-menu-item:hover {
+ background-color: #f7fafc;
+}
+
+body.dark-mode .view-menu-item:hover {
+ background-color: #4a5568;
+}
+
+.view-menu-item.active {
+ background-color: #4299e1;
+ color: white;
+}
+
+.view-menu-icon {
+ margin-right: 10px;
+ font-size: 1.1em;
+}
+
.theme-tooltip {
position: absolute;
bottom: -35px;
diff --git a/simple.php b/full.php
similarity index 87%
rename from simple.php
rename to full.php
index 7197a61..e042b63 100644
--- a/simple.php
+++ b/full.php
@@ -84,10 +84,24 @@ try {
🌙
切换主题
-