hex-convert/assets/index.tpl

11 lines
434 B
Smarty

<h1>转换进制</h1>
<form action="s" method="post">
<select name="scale">
<option value="2">二进制</option>
<option value="8">八进制</option>
<option selected value="10">十进制</option>
<option value="16">十六进制</option>
</select>
<input type="text" name="data" placeholder="请输入待转换的数值" />
<input type="submit" value="转换"/>
</form>