main
parent
2195de439c
commit
d7fa3f9a73
@ -0,0 +1,3 @@
|
||||
# 默认忽略的文件
|
||||
/shelf/
|
||||
/workspace.xml
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/git2.iml" filepath="$PROJECT_DIR$/.idea/git2.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>进制转换器</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>进制转换器</h1>
|
||||
|
||||
<label for="inputNumber">输入数字:</label>
|
||||
<input type="text" id="inputNumber" />
|
||||
|
||||
<label for="sourceBase">源进制:</label>
|
||||
<select id="sourceBase">
|
||||
<option value="2">二进制</option>
|
||||
<option value="8">八进制</option>
|
||||
<option value="10" selected>十进制</option>
|
||||
<option value="16">十六进制</option>
|
||||
</select>
|
||||
|
||||
<label for="targetBase">目标进制:</label>
|
||||
<select id="targetBase">
|
||||
<option value="2">二进制</option>
|
||||
<option value="8">八进制</option>
|
||||
<option value="10" selected>十进制</option>
|
||||
<option value="16">十六进制</option>
|
||||
</select>
|
||||
|
||||
<button onclick="convert()">转换</button>
|
||||
|
||||
<label for="outputNumber">输出结果:</label>
|
||||
<input type="text" id="outputNumber" readonly />
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue