-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
24 lines (24 loc) · 1.16 KB
/
index.html
File metadata and controls
24 lines (24 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!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">
<title>地区选择</title>
<script src="<%-conf.build ? 'https://shy2850.github.io/area/' : '' %>bundle.js?<%-Date.now()%>"></script>
</head>
<body>
<div id="app"></div>
<a href="https://github.com/shy2850/area" target="_"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
<script>
AreaJsonp({
base: '<%-conf.build ? "https://shy2850.github.io/area/" : "" %>areas/',
paths: ["110000", "110000", "110108"],
el: document.getElementById('app'),
onChange: function (paths) {
console.log(paths)
}
})
</script>
</body>
</html>