-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (28 loc) · 891 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./css/style.css">
<title>csv-json</title>
</head>
<body>
<div id="root">
<div><input type="file" id="input"></div>
<hr>
<div>
<textarea id="json" cols="30" rows="10" oninput="onJsonChange(event)"></textarea>
<textarea id="csv" cols="30" rows="10" oninput="onCsvChange(event)"></textarea>
</div>
<a id="download">保存到本地</a>
<hr>
<a href="https://github.com/Saber2pr">saber2pr.github.io</a>
</div>
</body>
<script src="./js/download.js"></script>
<script src="./js/readerAsync.js"></script>
<script src="./js/toCsv.js"></script>
<script src="./js/toJson.js"></script>
<script src="./main.js"></script>
</html>