forked from SnowBeatRain/vue-element-axios-ueditor-map
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (55 loc) · 2.06 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>element_back</title>
<script src="https://cdn.bootcss.com/jquery/1.9.0/jquery.min.js"></script>
<script src="static/urlf.js"></script>
<!-- <script src="https://cdn.bootcss.com/es6-shim/0.35.3/es6-sham.min.js"></script>
<script src="https://cdn.bootcss.com/es6-shim/0.35.3/es6-shim.min.js"></script> -->
<!-- <script src="https://cdn.bootcss.com/es5-shim/4.5.10/es5-sham.min.js"></script>
<script src="https://cdn.bootcss.com/es5-shim/4.5.10/es5-shim.min.js"></script> -->
<!--IE8只能支持jQuery1.9-->
<!--[if lte IE 8]>
您的浏览器版本太低啦,请升级或者更换浏览器
<script src="http://cdn.bootcss.com/jquery/1.9.0/jquery.min.js"></script>
<![endif]-->
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
<script type="text/javascript">
var a_idx = 0;
jQuery(document).ready(function ($) {
$("body").click(function (e) {
var a = new Array("纯","vue", "element", "ui", "开发", "后台", "管理");
var $i = $("<span/>").text(a[a_idx]);
a_idx = (a_idx + 1) % a.length;
var x = e.pageX,
y = e.pageY;
$i.css({
"z-index": 999999,
"top": y - 20,
"left": x,
"position": "absolute",
"font-weight": "bold",
"color": "#ff6651"
});
$("body").append($i);
$i.animate({
"top": y - 180,
"opacity": 0
}, 1500, function () {
$i.remove();
});
});
});
</script>
<!-- 高德地图 服务端ak-->
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.3&key=3bec918291a9cafd5a562c58d1b2faae"></script>
<script type="text/javascript" src="https://webapi.amap.com/demos/js/liteToolbar.js"></script>
<!-- 百度地图 浏览器端ak 2.0&ak=60QZvTVU3U4vpYaAYT4VGi8h0D5zjjGA-->
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
</body>
</html>