This commit is contained in:
2018-08-01 11:18:23 +08:00
commit 4bb4f6e097
19 changed files with 1008 additions and 0 deletions

13
assets/index.tpl Normal file
View File

@@ -0,0 +1,13 @@
<h1>转换十进制</h1>
<form action="d" method="post">
<input type="text" name="scale" onkeyup="this.value=this.value.replace(/\D/g,'')" placeholder="进制数"/><br>
<input type="text" name="data" placeholder="数值"/>
<input type="submit" value="转换"/>
</form>
<h1>转换二进制</h1>
<form action="b" method="post">
<input type="text" name="scale" onkeyup="this.value=this.value.replace(/\D/g,'')" placeholder="进制数"/><br>
<input type="text" name="data" placeholder="数值"/>
<input type="submit" value="转换" />
</form>