main.html
3.25 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>网点信息</title>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" />
<style>
html,body {
margin: 0;
overflow: hidden;
width: 100%;
height: 100%;
position: absolute;
top: 0;
}
header{
background: #3c3c3c;
/*height: 50px;*/
padding: 5px;
/*position:relative;*/
display: none;
}
.header-title{
font-size: 20px;
color: #FFFFFF;
}
.center-vertical {
position: relative;
top: 50%;
transform: translateY(-50%);
}
.div-main{
width: 100%;
height: 100%;
}
.div-address{
width: 100%;
padding: 14px;
position: absolute;
top: 0%;
z-index:9999;
background: rgba(255, 255, 255, 0.8);
}
.div-bottom{
width: 100%;
position: absolute;
bottom: 0%;
z-index:9999;
}
.div-location{
position: absolute;
top:15%;
right: 2%;
z-index:9999;
}
button{
background: #27B1A4;
color: #FFFFFF;
font-size: 15px;
border: none;
}
button.update{
width: 100%;
height: 44px;
}
#map {
width: 100%;
height: 100%;
margin:0;
}
</style>
</head>
<body>
<div class="div-main">
<header>
<img src="">
<label class="header-title center-vertical">地图慧</label>
</header>
<div class="div-address">
<div>
<img src="src/image/icon3.png" >
<label id="point_name" class="center-vertical" style="font-size: 18px;">玉渊潭公园</label>
<label id="point_layer" class="center-vertical" style="font-size: 12px;display: none;">北京景点图层</label>
</div>
<label id="point_address" style="font-size: 12px;margin-left: 20px;color: #999999;">北京市海淀区XX街道XX路</label>
</div>
<div id="map"></div>
<div class="div-bottom">
<button class="update" id="btn_update">修改信息</button>
</div>
<div class="div-location">
<div id="location_update"><img src="src/image/btn6.png"></div>
<div id="location_cancel"><img src="src/image/Icon_Collection.png"></div>
<div style="margin-top: 14px;" id="location_confirm"><img src="src/image/Icon_Track_Record.png"></div>
<div></div>
</div>
</div>
</body>
<script type="text/javascript" src="dist/jquery/jquery-3.2.1.min.js"></script>
<script src="dist/supermap/iclient-8c/SuperMap.Include.js"></script>
<script src="src/js/coords.js"></script>
<script src="src/js/saasService.js"></script>
<script src="src/js/main.js"></script>
<script src="src/js/mapLevel.js"></script>
<script type="text/javascript">
$(function(){
main.init();
});
</script>
</html>