-
Notifications
You must be signed in to change notification settings - Fork 0
/
village.html
129 lines (101 loc) · 3.28 KB
/
village.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<head>
<!--
src里面是静态资源 th:href里面是启动springboot后引用的资源
-->
<meta charset="UTF-8">
<title>单村庄可视化</title>
<link rel="stylesheet" href="./Semantic/semantic.min.css" />
<link rel="stylesheet" href="./css/main.css" />
<script src="js/jquery-3.3.1.js"></script>
<script src="Semantic/semantic.min.js"></script>
<script src="js/echarts.js"></script>
<script src="js/village.js"></script>
</head>
<body>
<div class="mc-title">
<h1 class="ui center aligned header">
单村庄可视化
</h1>
</div>
<div class="mc-content">
<table class="ui compact celled table">
<thead>
<tr>
<th>名字</th>
<th>键</th>
<th>床坐标</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>村民1</td>
<td>1</td>
<td>12,22</td>
<td>
<div class="ui small button">
删除
</div>
</td>
</tr>
<tr>
<td>村民1</td>
<td>1</td>
<td>12,22</td>
<td>
<div class="ui small button">
删除
</div>
</td>
</tr>
<tr>
<td>村民1</td>
<td>1</td>
<td>12,22</td>
<td>
<div class="ui small button">
删除
</div>
</td>
</tr>
<tr>
<td>村民1</td>
<td>1</td>
<td>12,22</td>
<td>
<div class="ui small button">
删除
</div>
</td>
</tr>
<tr>
<td>
<div class="ui input">
<input type="text" id="vill-name" placeholder="村民名字">
</div>
</td>
<td>
<div class="ui input">
<input type="number" id="vill-id" placeholder="默认采用自增id">
</div>
</td>
<td>
<div class="ui input">
<input type="text" id="vill-bed" placeholder="两个数字,逗号隔开">
</div>
</td>
<td>
<div class="ui small button" id="add-vill">
添加
</div>
</td>
</tr>
</tbody>
</table>
<canvas class="vill" width="400" height="400">
<p>卧槽你的浏览器竟然不支持 canvas!</p>
</canvas>
</div>
</body>
</html>