加入“工具”页面(未完成)

This commit is contained in:
2019-09-23 23:56:22 +08:00
parent d2de34e6a1
commit 8a556bad79
5 changed files with 239 additions and 0 deletions

41
docs/tool.html Normal file
View File

@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="utf-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>Frost 网址导航 - 工具</title>
<link rel="stylesheet" href="css/tool.css"/>
</head>
<body>
<div class="main">
<div class="tool-calculate">
<header>简易计算</header>
<textarea id="tool-calculate-input" rows="5" placeholder="请输入算式"></textarea>
<div>保留小数点后 <input class="tool-calculate-tofixed" type="text" title="0 ~ 16 之间默认4" value="4" /> 位数</div>
<div class="tool-calculate-result">结果:<span></span></div>
<div class="tool-button" onclick="toolCalculateSubmit()">计算</div>
<div class="tool-button" onclick="toolCalculateClear()">清空</div>
</div>
<div class="tool-genlink">
<header>生成批量下载链接</header>
<div class="tool-genlink-link">
网址:<input type="text" placeholder="变量用 (*) 表示" />
</div>
<div class="tool-genlink-settings">
<input type="radio" name="genlink-settings" value="a" />
等差数列 首项:项数:公差:
<br />
<input type="radio" name="genlink-settings" value="b" />
等比数列 首项:项数:公比:
<br />
<input type="radio" name="genlink-settings" value="c" />
字母变化 从:到:
</div>
<div class="tool-button" onclick="">生成</div>
<textarea id="tool-genlink-result" rows="8" placeholder="结果"></textarea>
</div>
</div>
<script src="js/tool.js"></script>
</body>
</html>