Files
tools/other_function.html
2026-11-02 16:01:16 +08:00

369 lines
11 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>其他功能 · 功能工具箱</title>
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml" />
<link rel="stylesheet" href="assets/styles.css" />
<script src="assets/common.js"></script>
<style>
.hero-card {
position: relative;
overflow: hidden;
padding: clamp(26px, 4vw, 44px);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background:
radial-gradient(
560px 260px at 0% 0%,
rgba(99, 102, 241, 0.15),
transparent 65%
),
radial-gradient(
480px 240px at 100% 100%,
rgba(168, 85, 247, 0.12),
transparent 65%
),
var(--surface);
box-shadow: var(--shadow-sm);
}
.hero-card .hero-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: 999px;
background: var(--warning-soft);
color: var(--warning);
font-size: 0.72rem;
font-weight: 700;
}
.hero-card h2 {
margin: 14px 0 8px;
font-size: clamp(1.4rem, 3vw, 1.9rem);
letter-spacing: -0.03em;
}
.hero-card p {
max-width: 40em;
color: var(--text-secondary);
font-size: 0.92rem;
}
.progress-inline {
max-width: 420px;
margin-top: 22px;
}
.progress-inline .progress-head {
display: flex;
justify-content: space-between;
font-size: 0.76rem;
color: var(--text-muted);
margin-bottom: 6px;
}
.roadmap-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 12px;
}
.roadmap-card {
display: flex;
gap: 12px;
align-items: flex-start;
padding: 16px;
border: 1px solid var(--border);
border-radius: 14px;
background: var(--surface);
transition:
border-color var(--rate) ease,
transform var(--rate) ease;
}
.roadmap-card:hover {
border-color: var(--border-strong);
transform: translateY(-1px);
}
.roadmap-card .rm-icon {
width: 36px;
height: 36px;
flex: none;
display: grid;
place-items: center;
border-radius: 10px;
background: var(--accent-soft);
color: var(--accent);
}
.roadmap-card .rm-icon svg {
width: 18px;
height: 18px;
}
.roadmap-card h3 {
font-size: 0.86rem;
font-weight: 650;
margin-bottom: 2px;
}
.roadmap-card p {
font-size: 0.75rem;
line-height: 1.5;
color: var(--text-secondary);
margin-bottom: 6px;
}
.roadmap-card .badge {
font-size: 0.64rem;
padding: 1px 7px;
}
.contact-card {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 14px;
margin-top: 16px;
padding: 18px 20px;
border: 1px solid var(--border);
border-radius: 14px;
background: var(--surface);
}
.contact-card .contact-body {
flex: 1;
min-width: 200px;
}
.contact-card h3 {
font-size: 0.88rem;
margin-bottom: 2px;
}
.contact-card p {
font-size: 0.78rem;
color: var(--text-secondary);
}
.section-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 10px;
margin: 26px 2px 12px;
}
.section-head h2 {
font-size: 1.02rem;
}
.section-head span {
font-size: 0.76rem;
color: var(--text-muted);
}
</style>
</head>
<body>
<div class="tool-page">
<header class="tool-header">
<div class="tool-icon">
<svg viewBox="0 0 24 24" aria-hidden="true">
<rect x="3" y="3" width="7" height="7" rx="1.6" />
<rect x="14" y="3" width="7" height="7" rx="1.6" />
<rect x="3" y="14" width="7" height="7" rx="1.6" />
<rect x="14" y="14" width="7" height="7" rx="1.6" />
</svg>
</div>
<div>
<h1>其他功能</h1>
<p>更多实用工具正在规划与开发中,欢迎告诉我们你最想要什么。</p>
</div>
<div class="header-actions">
<button
class="btn btn--icon btn--ghost"
data-theme-toggle
title="切换主题"
aria-label="切换主题"
>
<svg class="icon-moon" viewBox="0 0 24 24" aria-hidden="true">
<path d="M21 12.8A8.5 8.5 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8Z" />
</svg>
<svg class="icon-sun" viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="12" r="4" />
<path
d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"
/>
</svg>
</button>
</div>
</header>
<section class="hero-card">
<span class="hero-badge">● 持续更新中</span>
<h2>工具箱还在长大</h2>
<p>
现有工具已经覆盖日常计算、编码、图片处理等场景。接下来会继续补充轻量、实用、完全本地运行的
小工具,让这个页面成为你收藏夹里真正用得上的那一页。
</p>
<div class="progress-inline">
<div class="progress-head">
<span>本期规划进度</span>
<span>55%</span>
</div>
<div class="progress-track">
<div class="progress-bar" style="width: 55%"></div>
</div>
</div>
</section>
<div class="section-head">
<h2>候选功能</h2>
<span>按优先级陆续上线</span>
</div>
<div class="roadmap-grid">
<div class="roadmap-card">
<span class="rm-icon">
<svg viewBox="0 0 24 24" aria-hidden="true">
<rect x="3" y="3" width="7" height="7" rx="1" />
<rect x="14" y="3" width="7" height="7" rx="1" />
<rect x="3" y="14" width="7" height="7" rx="1" />
<path d="M14 14h3v3h-3zM20 14h1M14 20h1M17 20h4v1" />
</svg>
</span>
<div>
<h3>二维码生成器</h3>
<p>把文本、链接或 Wi-Fi 信息生成可下载的二维码。</p>
<span class="badge">计划中</span>
</div>
</div>
<div class="roadmap-card">
<span class="rm-icon">
<svg viewBox="0 0 24 24" aria-hidden="true">
<rect x="5" y="10" width="14" height="10" rx="2" />
<path d="M8 10V7a4 4 0 0 1 8 0v3M12 14v2" />
</svg>
</span>
<div>
<h3>密码生成器</h3>
<p>按长度与字符规则生成高强度随机密码。</p>
<span class="badge">计划中</span>
</div>
</div>
<div class="roadmap-card">
<span class="rm-icon">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M4 7h6M7 4v6M14 17h6M17 14v6" />
<path d="m13 5 6 6M5 13l6 6" />
</svg>
</span>
<div>
<h3>单位换算</h3>
<p>长度、重量、温度、面积等常用单位快速换算。</p>
<span class="badge">计划中</span>
</div>
</div>
<div class="roadmap-card">
<span class="rm-icon">
<svg viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="12" r="9" />
<path d="M12 7v5l3 2" />
</svg>
</span>
<div>
<h3>时间戳转换</h3>
<p>Unix 时间戳与本地日期时间双向转换。</p>
<span class="badge">计划中</span>
</div>
</div>
<div class="roadmap-card">
<span class="rm-icon">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M8 3H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2Z" />
<path d="M19 13h-3a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Z" />
<path d="M8 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Z" />
</svg>
</span>
<div>
<h3>文本对比</h3>
<p>逐行比较两段文本,高亮新增与删除内容。</p>
<span class="badge">计划中</span>
</div>
</div>
<div class="roadmap-card">
<span class="rm-icon">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M4 5a2 2 0 0 1 2-2h8l6 6v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V5Z" />
<path d="M14 3v6h6M8 14h8M8 17h5" />
</svg>
</span>
<div>
<h3>Markdown 预览</h3>
<p>边写边渲染 Markdown,适合整理笔记与文档。</p>
<span class="badge">计划中</span>
</div>
</div>
<div class="roadmap-card">
<span class="rm-icon">
<svg viewBox="0 0 24 24" aria-hidden="true">
<rect x="3" y="5" width="18" height="14" rx="2" />
<circle cx="9" cy="11" r="2" />
<path d="m5 17 4-4 3 3 2-2 5 5" />
</svg>
</span>
<div>
<h3>图片加水印</h3>
<p>为图片批量添加文字或图片水印,本地完成。</p>
<span class="badge">计划中</span>
</div>
</div>
<div class="roadmap-card">
<span class="rm-icon">
<svg viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="12" r="9" />
<path d="M12 3a9 9 0 0 1 0 18 9 9 0 0 1 0-18ZM3 12h18" />
</svg>
</span>
<div>
<h3>颜色渐变生成</h3>
<p>生成和谐的 CSS 渐变并复制代码。</p>
<span class="badge">计划中</span>
</div>
</div>
</div>
<div class="contact-card">
<span class="rm-icon" style="
width: 42px; height: 42px; display: grid; place-items: center;
border-radius: 12px; background: var(--accent-soft); color: var(--accent);
">
<svg viewBox="0 0 24 24" aria-hidden="true" style="width: 20px; height: 20px">
<rect x="3" y="5" width="18" height="14" rx="2" />
<path d="m3 7 9 6 9-6" />
</svg>
</span>
<div class="contact-body">
<h3>想要某个工具?</h3>
<p>告诉我们你的使用场景,我们会优先安排实现。</p>
</div>
<a class="btn btn--soft" href="mailto:gogongxt@163.com">
联系 gogongxt@163.com
</a>
</div>
</div>
</body>
</html>