-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (35 loc) · 1.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>地形扫描器</title>
<link rel="stylesheet" href="./style.css">
</head>
<body style="background-color: #FBE9E7;" class="mdui-theme-primary-deep-orange">
<menu>
<h1>地形扫描器</h1>
<button id="copy">复制扫描代码</button>
<input type="number" placeholder="扫描起始高度" min="0" max="128" value="64" id="startingHeight" title="扫描起始高度">
<label id="upload" id="inputLabel" style="width: 70%;">上传扫描结果<input type="file" id="file-input"name="fileContent" accept=".txt"></label>
<button id="draw">绘制扫描图</button>
<button id="enlarge">设置放大倍数(当前倍数1x)</button>
<button id="help">帮助</button>
</menu>
<div id="mainInterface" style="margin: 5px;">
<div id="scanResult">
<canvas id="drawingArea" class="drawingArea" width="512" height="512"></canvas>
<div style="width: 90%;">
进度:<div style="width: 90%;height: 25px;background-color: #b3b3b3;">
<div id="schedule"></div>
</div>
</div>
</div>
<div>
<p style="color: #ff8800;font-size: 15px;">部分方块未录入颜色,未绘制<br>部分方块颜色和实际方块颜色不同,为正常现象</p>
</div>
</div>
<script src="./main.js"></script>
</body>
</html>