Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
230 lines (211 loc) · 6.76 KB
/
Copy pathindex.html
File metadata and controls
230 lines (211 loc) · 6.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>多功能工具箱 | 现代化工具集</title>
<link rel="icon" href="chest.png" type="image/png">
<link rel="stylesheet" href="style.css" />
<style>
/* 添加一些主页特有的样式 */
.hero {
margin-bottom: 3rem;
}
.hero p {
font-size: 1.2rem;
color: #9ca3af;
max-width: 600px;
margin: 0 auto 2rem;
line-height: 1.6;
}
.tool-icon {
font-size: 2rem;
margin-bottom: 0.5rem;
}
.category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin: 2rem auto;
max-width: 1200px;
width: 100%;
}
.category-card {
background: var(--card-bg-dark);
border-radius: 16px;
padding: 2rem;
border: 1px solid var(--border-dark);
box-shadow: var(--shadow);
transition: all 0.3s ease;
}
.category-card:hover {
transform: translateY(-5px);
border-color: var(--primary);
box-shadow: var(--shadow-lg), var(--shadow-color);
}
.category-card h3 {
color: var(--primary-light);
margin-top: 0;
font-size: 1.5rem;
display: flex;
align-items: center;
gap: 10px;
}
.stats {
display: flex;
justify-content: center;
gap: 3rem;
margin: 3rem 0;
flex-wrap: wrap;
}
.stat-item {
text-align: center;
}
.stat-number {
font-size: 2.5rem;
font-weight: 800;
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
line-height: 1;
}
.stat-label {
color: #9ca3af;
font-size: 0.9rem;
margin-top: 0.5rem;
}
.footer {
margin-top: 4rem;
color: #6b7280;
font-size: 0.9rem;
padding: 1rem;
border-top: 1px solid var(--border-dark);
width: 100%;
}
</style>
</head>
<body>
<div class="hero">
<h1>多功能工具箱</h1>
<p>精心设计的现代化工具集合,帮助您高效完成各种任务 - 从时间管理到数学计算,从编程辅助到日常工具。</p>
<div class="stats">
<div class="stat-item">
<div class="stat-number">12+</div>
<div class="stat-label">实用工具</div>
</div>
<div class="stat-item">
<div class="stat-number">6</div>
<div class="stat-label">主题配色</div>
</div>
<div class="stat-item">
<div class="stat-number">100%</div>
<div class="stat-label">免费使用</div>
</div>
</div>
</div>
<div class="category-grid">
<!-- 时间工具 -->
<div class="category-card">
<h3>⏰ 时间工具</h3>
<div class="menu">
<a href="pages/clock.html" class="tool-card">
<div class="tool-icon">🕐</div>
<h3>北京时间</h3>
<p>精准的北京时间显示,支持日期和实时更新</p>
<button class="btn">立即使用</button>
</a>
<a href="pages/stopwatch.html" class="tool-card">
<div class="tool-icon">⏱️</div>
<h3>秒表</h3>
<p>精确计时器,支持开始、暂停、重置功能</p>
<button class="btn">立即使用</button>
</a>
<a href="pages/alarm.html" class="tool-card">
<div class="tool-icon">⏰</div>
<h3>闹钟</h3>
<p>自定义闹钟设置,支持声音提醒</p>
<button class="btn">立即使用</button>
</a>
</div>
</div>
<!-- 数学工具 -->
<div class="category-card">
<h3>🧮 数学工具</h3>
<div class="menu">
<a href="pages/unit_converter.html" class="tool-card">
<div class="tool-icon">📏</div>
<h3>单位换算</h3>
<p>长度、面积、体积、质量、速度等单位转换</p>
<button class="btn">立即使用</button>
</a>
<a href="pages/function.html" class="tool-card">
<div class="tool-icon">📈</div>
<h3>高级函数绘图</h3>
<p>支持多函数、参数方程、极坐标和隐函数的高级绘图工具</p>
<button class="btn">立即使用</button>
</a>
<a href="pages/quadratic_function.html" class="tool-card">
<div class="tool-icon">𝑥²</div>
<h3>二次函数求解</h3>
<p>二次方程计算器,求根和顶点坐标</p>
<button class="btn">立即使用</button>
</a>
<a href="pages/line_chart.html" class="tool-card">
<div class="tool-icon">📊</div>
<h3>折线图绘制</h3>
<p>数据可视化折线图生成器</p>
<button class="btn">立即使用</button>
</a>
</div>
</div>
<!-- 编程工具 -->
<div class="category-card">
<h3>💻 编程工具</h3>
<div class="menu">
<a href="pages/rgb_to_hex.html" class="tool-card">
<div class="tool-icon">🎨</div>
<h3>RGB 转 HEX</h3>
<p>颜色代码转换工具,RGB ↔ HEX</p>
<button class="btn">立即使用</button>
</a>
<a href="pages/file_encrypt.html" class="tool-card">
<div class="tool-icon">🔒</div>
<h3>文件加密/解密</h3>
<p>安全的文件加密和解密工具</p>
<button class="btn">立即使用</button>
</a>
<a href="pages/morse.html" class="tool-card">
<div class="tool-icon">•••</div>
<h3>摩斯密码</h3>
<p>摩斯电码编码和解码工具</p>
<button class="btn">立即使用</button>
</a>
</div>
</div>
<!-- 其他工具 -->
<div class="category-card">
<h3>📦 其他工具</h3>
<div class="menu">
<a href="pages/random.html" class="tool-card">
<div class="tool-icon">🎲</div>
<h3>随机抽选</h3>
<p>随机数生成和项目选择工具</p>
<button class="btn">立即使用</button>
</a>
<a href="pages/countdown.html" class="tool-card">
<div class="tool-icon">⏳</div>
<h3>倒计时</h3>
<p>自定义倒计时定时器</p>
<button class="btn">立即使用</button>
</a>
</div>
</div>
</div>
<button id="theme-button" onclick="toggleTheme()">切换主题</button>
<div class="footer">
<p>多功能工具箱 © 2025 | 持续更新中 | <a href="https://github.com/rtmmtr2/rtmmtr2.github.io" style="color: var(--primary-light);">GitHub 仓库</a></p>
</div>
<script src="script.js"></script>
</body>
</html>