diff --git a/color_pick.html b/color_pick.html index 4639a7f..99c2699 100644 --- a/color_pick.html +++ b/color_pick.html @@ -6,55 +6,92 @@ 颜色选择器 @@ -415,7 +508,6 @@ 所有工具都经过精心设计,界面简洁美观,功能强大实用。支持在线使用,无需下载安装。

- 💻 纯前端 🎨 界面美观 ⚡ 快速响应 📱 响应式设计 @@ -432,6 +524,22 @@ 点击左侧的工具名称即可在右侧区域打开对应工具。所有数据都在本地处理,不会上传到服务器,保护您的隐私安全。

+ +
+

💬 定制服务

+

+ 如果您有想要加入的工具箱功能,欢迎联系 + gogongxt@163.com + 为您定制专属工具。 +

+
@@ -522,7 +630,6 @@

📋 工具特色

所有工具都经过精心设计,界面简洁美观,功能强大实用。支持在线使用,无需下载安装。

- 💻 纯前端 🎨 界面美观 ⚡ 快速响应 📱 响应式设计 @@ -534,6 +641,11 @@

🚀 使用说明

点击左侧的工具名称即可在右侧区域打开对应工具。所有数据都在本地处理,不会上传到服务器,保护您的隐私安全。

+ +
+

💬 定制服务

+

如果您有想要加入的工具箱功能,欢迎联系 gogongxt@163.com 为您定制专属工具。

+
`; } else if (tool.url) { @@ -543,31 +655,6 @@ `; } } - - // 键盘快捷键支持 - document.addEventListener("keydown", function (e) { - // Ctrl/Cmd + 数字键快速切换工具 - if (e.ctrlKey || e.metaKey) { - const key = parseInt(e.key); - if (key >= 1 && key <= 6) { - const toolNames = [ - "welcome", - "calculator", - "number", - "color", - "json", - "other", - ]; - const toolName = toolNames[key - 1]; - const toolItem = document.querySelector( - `[data-tool="${toolName}"]`, - ); - if (toolItem) { - toolItem.click(); - } - } - } - }); diff --git a/json_formatter.html b/json_formatter.html index dceaf3e..be88fa2 100644 --- a/json_formatter.html +++ b/json_formatter.html @@ -15,12 +15,12 @@ font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 0; - background: white; color: #333; + overflow: hidden; } .container { - width: 100%; + width: 100vw; height: 100vh; display: flex; flex-direction: column; @@ -28,9 +28,10 @@ .header { background: #f5f5f5; - padding: 20px; + padding: 15px 20px; text-align: center; border-bottom: 1px solid #ddd; + flex-shrink: 0; } .header h1 { @@ -46,7 +47,7 @@ } .controls { - padding: 15px 20px; + padding: 10px 15px; background: #f9f9f9; border-bottom: 1px solid #ddd; display: flex; @@ -54,6 +55,7 @@ align-items: center; flex-wrap: wrap; gap: 10px; + flex-shrink: 0; } .control-group { @@ -110,7 +112,8 @@ .editor-container { display: flex; - height: 600px; + flex: 1; + min-height: 400px; } .editor-panel { @@ -195,12 +198,13 @@ .status-bar { background: #f5f5f5; border-top: 1px solid #ddd; - padding: 8px 15px; + padding: 6px 15px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #666; + flex-shrink: 0; } .char-count { diff --git a/number.html b/number.html index f8fd392..5235231 100644 --- a/number.html +++ b/number.html @@ -7,17 +7,14 @@