FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
xcodebin.github.io/index.html at master · xcodebin/xcodebin.github.io · GitHub
xcodebin
xcodebin.github.io
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
xcodebin.github.io
/
index.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
461 lines (455 loc) · 22.3 KB
Breadcrumbs
xcodebin.github.io
/
index.html
Copy path
File metadata and controls
461 lines (455 loc) · 22.3 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
<!DOCTYPE HTML
>
<
html
>
<
head
>
<
meta
charset
="
utf-8
"
>
<
meta
http-equiv
="
X-UA-Compatible
"
content
="
IE=edge
"
>
<
title
>
xcodebin
</
title
>
<
meta
name
="
viewport
"
content
="
width=device-width, initial-scale=1
"
>
<
meta
name
="
description
"
content
="
xcodebin
"
/>
<
meta
name
="
keywords
"
content
="
xcodebin
"
/>
<!-- Facebook and Twitter integration -->
<
meta
property
="
og:title
"
content
=""
/>
<
meta
property
="
og:image
"
content
=""
/>
<
meta
property
="
og:url
"
content
=""
/>
<
meta
property
="
og:site_name
"
content
=""
/>
<
meta
property
="
og:description
"
content
=""
/>
<
meta
name
="
twitter:title
"
content
=""
/>
<
meta
name
="
twitter:image
"
content
=""
/>
<
meta
name
="
twitter:url
"
content
=""
/>
<
meta
name
="
twitter:card
"
content
=""
/>
<
link
href
="
https://fonts.googleapis.com/css?family=Space+Mono
"
rel
="
stylesheet
"
>
<
link
href
="
https://fonts.googleapis.com/css?family=Kaushan+Script
"
rel
="
stylesheet
"
>
<!-- Animate.css -->
<
link
rel
="
stylesheet
"
href
="
css/animate.css
"
>
<!-- Icomoon Icon Fonts-->
<
link
rel
="
stylesheet
"
href
="
css/icomoon.css
"
>
<!-- Bootstrap -->
<
link
rel
="
stylesheet
"
href
="
css/bootstrap.css
"
>
<!-- Theme style -->
<
link
rel
="
stylesheet
"
href
="
css/style.css
"
>
<!-- Modernizr JS -->
<
script
src
="
js/modernizr-2.6.2.min.js
"
>
</
script
>
<!-- FOR IE9 below -->
<!--[if lt IE 9]>
<script src="js/respond.min.js"></script>
<![endif]-->
<
script
src
="
http://cdn.gbtags.com/prefixfree/1.0.7/prefixfree.min.js
"
>
</
script
>
</
head
>
<
body
>
<
div
class
="
xco-loader
"
>
</
div
>
<
div
id
="
page
"
>
<
header
id
="
xco-header
"
class
="
xco-cover js-fullheight
"
role
="
banner
"
style
="
background-image:url(images/cover_bg_3.jpg);
"
data-stellar-background-ratio
="
0.5
"
>
<
div
class
="
overlay
"
>
</
div
>
<
div
class
="
balls
"
>
<
div
class
="
ball_box
"
>
<
div
class
="
x1
"
>
</
div
>
<
div
class
="
x2
"
>
</
div
>
<
div
class
="
x3
"
>
</
div
>
<
div
class
="
x4
"
>
</
div
>
<
div
class
="
x5
"
>
</
div
>
<
div
class
="
x6
"
>
</
div
>
<
div
class
="
x7
"
>
</
div
>
<
div
class
="
x8
"
>
</
div
>
<
div
class
="
x9
"
>
</
div
>
<
div
class
="
y1
"
>
</
div
>
<
div
class
="
y2
"
>
</
div
>
<
div
class
="
y3
"
>
</
div
>
<
div
class
="
y4
"
>
</
div
>
<
div
class
="
y5
"
>
</
div
>
<
div
class
="
y6
"
>
</
div
>
<
div
class
="
y7
"
>
</
div
>
<
div
class
="
y8
"
>
</
div
>
<
div
class
="
y9
"
>
</
div
>
</
div
>
</
div
>
<
div
class
="
container
"
>
<
div
class
="
row
"
>
<
div
class
="
col-md-8 col-md-offset-2 text-center
"
>
<
div
class
="
display-t js-fullheight
"
>
<
div
class
="
display-tc js-fullheight animate-box
"
data-animate-effect
="
fadeIn
"
>
<
div
class
="
profile-thumb
"
style
="
background: url(images/my1.jpg);
"
>
</
div
>
<
h1
>
<
span
>
Xu Bin
</
span
>
</
h1
>
<
h3
>
<
span
>
Web Developer / Phper / Pythonista(pythoner)
</
span
>
</
h3
>
<
p
>
<
ul
class
="
xco-social-icons
"
>
<
li
>
<
a
href
="
https://github.com/xcodebin
"
>
<
i
class
="
icon-github2
"
>
</
i
>
</
a
>
</
li
>
<
li
>
<
a
href
="
http://xn--k3tzc.top/
"
>
<
i
class
="
icon-home2
"
>
</
i
>
</
a
>
</
li
>
<
li
>
<
a
href
="
http://www.linkedin.com/in/%E5%BD%AC-%E5%BE%90-a21924115/
"
>
<
i
class
="
icon-linkedin2
"
>
</
i
>
</
a
>
</
li
>
<
li
>
<
a
href
="
javascript:window.print()
"
>
<
i
class
="
icon-print
"
>
</
i
>
</
a
>
</
li
>
</
ul
>
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
header
>
<
div
id
="
xco-about
"
class
="
animate-box
"
>
<
div
class
="
container
"
>
<
div
class
="
row
"
>
<
div
class
="
col-md-8 col-md-offset-2 text-center xco-heading
"
>
<
h2
>
About Me
</
h2
>
</
div
>
</
div
>
<
div
class
="
row
"
>
<
div
class
="
col-md-5
"
>
<
ul
class
="
info
"
>
<
li
>
<
span
class
="
first-block
"
>
Full Name:
</
span
>
<
span
class
="
second-block
"
>
Xu Bin
</
span
>
</
li
>
<
li
>
<
span
class
="
first-block
"
>
Phone:
</
span
>
<
span
class
="
second-block
"
>
+ 18616299361
</
span
>
</
li
>
<
li
>
<
span
class
="
first-block
"
>
Email:
</
span
>
<
span
class
="
second-block
"
>
xcodebin@outlook.com
</
span
>
</
li
>
<
li
>
<
span
class
="
first-block
"
>
Website:
</
span
>
<
span
class
="
second-block
"
>
www.xn--k3tzc.top
</
span
>
</
li
>
<
li
>
<
span
class
="
first-block
"
>
Address:
</
span
>
<
span
class
="
second-block
"
>
Shang Hai in China
</
span
>
</
li
>
</
ul
>
</
div
>
<
div
class
="
col-md-7
"
>
<
h2
>
character
</
h2
>
<
p
>
Clear thinking, excellent language and writing ability, strong communication ability, strong
initiative and
team spirit, strong sense of responsibility, open and confident
</
p
>
<
p
>
Love and be good at developing design work. Concerned about the user's content preferences and
beautiful
interface, like new technologies, new products, the development of Internet projects have strong
interest
and enthusiasm. Firmly believe that good Internet products will create a better life.
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
id
="
xco-work
"
class
="
xco-bg-dark
"
style
="
background-image: url(images/01.jpg);
"
>
<
div
class
="
container
"
>
<
div
class
="
row animate-box
"
>
<
div
class
="
col-md-8 col-md-offset-2 text-center xco-heading
"
>
<
h2
>
Work
</
h2
>
</
div
>
</
div
>
<
div
class
="
row
"
>
<
div
class
="
col-md-3 text-center col-padding animate-box
"
>
<
a
href
="
http://58.247.0.18:18004/itas/view/vue/index.html#/mpLogin
"
class
="
work
"
style
="
background-image: url(images/portfolio-3.jpg);
"
>
<
div
class
="
desc
"
>
<
h3
>
ChinaUMS Open application market operation management platform
</
h3
>
<
span
>
Open application market operation management platform
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-3 text-center col-padding animate-box
"
>
<
a
href
="
http://58.247.0.18:18005/view/vue/index.html#/mpLogin
"
class
="
work
"
style
="
background-image: url(images/portfolio-4.jpg);
"
>
<
div
class
="
desc
"
>
<
h3
>
ChinaUMS Open application market developers open platform
</
h3
>
<
span
>
Open application market developers open platform
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-3 text-center col-padding animate-box
"
>
<
a
href
="
http://172.20.9.110:8311/index#/main/index
"
class
="
work
"
style
="
background-image: url(images/portfolio-1.jpg);
"
>
<
div
class
="
desc
"
>
<
h3
>
The official website of the Landi Company
</
h3
>
<
span
>
The official website of the Landi Company
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-3 text-center col-padding animate-box
"
>
<
a
href
="
https://partner.landicorp.com/dsp/index#/mpLogin
"
class
="
work
"
style
="
background-image: url(images/portfolio-2.jpg);
"
>
<
div
class
="
desc
"
>
<
h3
>
The software service platform of the Landi Company
</
h3
>
<
span
>
An open platform for software service providers
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-3 text-center col-padding animate-box
"
>
<
a
href
="
http://xn--k3tzc.top/index.php
"
class
="
work
"
style
="
background-image: url(images/portfolio-5.jpg);
"
>
<
div
class
="
desc
"
>
<
h3
>
Php shopping mall
</
h3
>
<
span
>
a self php website
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-3 text-center col-padding animate-box
"
>
<
a
href
="
http://xn--k3tzc.top/weexDemo/index.html#/self
"
class
="
work
"
style
="
background-image: url(images/portfolio-6.jpg);
"
>
<
div
class
="
desc
"
>
<
h3
>
weex app
</
h3
>
<
span
>
a self weex project run in web/android/ios
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-3 text-center col-padding animate-box
"
>
<
a
href
="
#
"
class
="
work
"
style
="
background-image: url(images/portfolio-7.jpg);
"
>
<
div
class
="
desc
"
>
<
h3
>
Project Name
</
h3
>
<
span
>
Brading
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-3 text-center col-padding animate-box
"
>
<
a
href
="
#
"
class
="
work
"
style
="
background-image: url(images/portfolio-8.jpg);
"
>
<
div
class
="
desc
"
>
<
h3
>
Project Name
</
h3
>
<
span
>
Illustration
</
span
>
</
div
>
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
id
="
xco-resume
"
class
="
xco-bg-color
"
>
<
div
class
="
container
"
>
<
div
class
="
row animate-box
"
>
<
div
class
="
col-md-8 col-md-offset-2 text-center xco-heading
"
>
<
h2
>
My Resume
</
h2
>
</
div
>
</
div
>
<
div
class
="
row
"
>
<
div
class
="
col-md-12 col-md-offset-0
"
>
<
ul
class
="
timeline
"
>
<
li
class
="
timeline-heading text-center animate-box
"
>
<
div
>
<
h3
>
Work Experience
</
h3
>
</
div
>
</
li
>
<
li
class
="
animate-box timeline-unverted
"
>
<
div
class
="
timeline-badge
"
>
<
i
class
="
icon-suitcase
"
>
</
i
>
</
div
>
<
div
class
="
timeline-panel
"
>
<
div
class
="
timeline-heading
"
>
<
h3
class
="
timeline-title
"
>
Senior Developer
</
h3
>
<
span
class
="
company
"
>
ChinaUMS front-end architect - 2016 - Current
</
span
>
</
div
>
<
div
class
="
timeline-body
"
>
<
p
>
Mainly responsible for the intelligent cloud platform project architecture, the
initial project
construction, the compilation of the public components, the task arrangement of
the team members,
the development of some modules, the overall performance optimization of the
later project, the BUG
repair and maintenance of the project and so on.
</
p
>
</
div
>
</
div
>
</
li
>
<
li
class
="
timeline-inverted animate-box
"
>
<
div
class
="
timeline-badge
"
>
<
i
class
="
icon-suitcase
"
>
</
i
>
</
div
>
<
div
class
="
timeline-panel
"
>
<
div
class
="
timeline-heading
"
>
<
h3
class
="
timeline-title
"
>
Intermediate Engineer
</
h3
>
<
span
class
="
company
"
>
ShuiNan - 2015 - 2016
</
span
>
</
div
>
<
div
class
="
timeline-body
"
>
<
p
>
Mainly involved in the development of H5 with Android and IOS to develop App
</
p
>
</
div
>
</
div
>
</
li
>
<
li
class
="
animate-box timeline-unverted
"
>
<
div
class
="
timeline-badge
"
>
<
i
class
="
icon-suitcase
"
>
</
i
>
</
div
>
<
div
class
="
timeline-panel
"
>
<
div
class
="
timeline-heading
"
>
<
h3
class
="
timeline-title
"
>
UI/UX Designer/Junior Engineer
</
h3
>
<
span
class
="
company
"
>
QingHai University - 2013 - 2015
</
span
>
</
div
>
<
div
class
="
timeline-body
"
>
<
p
>
Responsible for the maintenance of the school website
</
p
>
</
div
>
</
div
>
</
li
>
<
br
>
<
li
class
="
timeline-heading text-center animate-box
"
>
<
div
>
<
h3
>
Education
</
h3
>
</
div
>
</
li
>
<
li
class
="
timeline-inverted animate-box
"
>
<
div
class
="
timeline-badge
"
>
<
i
class
="
icon-graduation-cap
"
>
</
i
>
</
div
>
<
div
class
="
timeline-panel
"
>
<
div
class
="
timeline-heading
"
>
<
h3
class
="
timeline-title
"
>
Bachelors Degree
</
h3
>
<
span
class
="
company
"
>
QingHai University - 2011 - 2015
</
span
>
</
div
>
<
div
class
="
timeline-body
"
>
<
p
>
President of the literature society
</
p
>
</
div
>
</
div
>
</
li
>
</
ul
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
id
="
xco-skills
"
class
="
animate-box
"
>
<
div
class
="
container
"
>
<
div
class
="
row
"
>
<
div
class
="
col-md-8 col-md-offset-2 text-center xco-heading
"
>
<
h2
>
Main Skills
</
h2
>
</
div
>
</
div
>
<
div
class
="
row row-pb-md
"
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
80
"
>
<
span
>
<
strong
>
HTML5
</
strong
>
80%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
80
"
>
<
span
>
<
strong
>
CSS3
</
strong
>
80%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
95
"
>
<
span
>
<
strong
>
js
</
strong
>
95%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
95
"
>
<
span
>
<
strong
>
Vue
</
strong
>
95%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
60
"
>
<
span
>
<
strong
>
AngularJS
</
strong
>
60%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
40
"
>
<
span
>
<
strong
>
React
</
strong
>
40%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
60
"
>
<
span
>
<
strong
>
WebPack
</
strong
>
60%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
70
"
>
<
span
>
<
strong
>
Gulp
</
strong
>
70%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
50
"
>
<
span
>
<
strong
>
Ruby
</
strong
>
50%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
50
"
>
<
span
>
<
strong
>
PHP
</
strong
>
50%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
50
"
>
<
span
>
<
strong
>
Python
</
strong
>
50%
</
span
>
</
div
>
</
div
>
<
div
class
="
col-md-3 col-sm-6 col-xs-12 text-center
"
>
<
div
class
="
chart
"
data-percent
="
50
"
>
<
span
>
<
strong
>
Mysql
</
strong
>
50%
</
span
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
id
="
skill-detail
"
class
="
xco-bg-dark
"
style
="
background-image: url(images/pic2.jpg); padding: 7em 0;
"
>
<
div
class
="
container
"
>
<
div
class
="
row animate-box
"
>
<
div
class
="
col-md-8 col-md-offset-2 text-center xco-heading
"
>
<
h2
>
all-skills
</
h2
>
</
div
>
</
div
>
<
div
class
="
row
"
>
<
div
class
="
col-md-2 text-center col-padding animate-box
"
>
<
a
href
="
https://vuejs.org/
"
class
="
works
"
style
="
background-image: url(images/vue.png);
"
>
<
div
class
="
desc
"
>
<
h3
>
Vue
</
h3
>
<
span
>
The Progressive JavaScript Framework
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-2 text-center col-padding animate-box
"
>
<
a
href
="
https://weex.apache.org/
"
class
="
works
"
style
="
background-image: url(images/weex.png);
"
>
<
div
class
="
desc
"
>
<
h3
>
weex
</
h3
>
<
span
>
A framework for building Mobile cross-platform UIs
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-2 text-center col-padding animate-box
"
>
<
a
href
="
https://angularjs.org/
"
class
="
works
"
style
="
background-image: url(images/angular.png);
"
>
<
div
class
="
desc
"
>
<
h3
>
angular
</
h3
>
<
span
>
One framework.Mobile & desktop
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-2 text-center col-padding animate-box
"
>
<
a
href
="
https://reactjs.org/
"
class
="
works
"
style
="
background-image: url(images/react.jpg);
"
>
<
div
class
="
desc
"
>
<
h3
>
react
</
h3
>
<
span
>
A JavaScript library for building user interfaces
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-2 text-center col-padding animate-box
"
>
<
a
href
="
https://mp.weixin.qq.com/cgi-bin/wx
"
class
="
works
"
style
="
background-image: url(images/wechat.jpg);
"
>
<
div
class
="
desc
"
>
<
h3
>
微信小程序
</
h3
>
<
span
>
wechat
</
span
>
</
div
>
</
a
>
</
div
>
<
div
class
="
col-md-2 text-center col-padding animate-box
"
>
<
a
href
="
http://www.cocos2d-x.org/
"
class
="
works
"
style
="
background-image: url(images/cocos.png);
"
>
<
div
class
="
desc
"
>
<
h3
>
cocos2d
</
h3
>
<
span
>
game engine
</
span
>
</
div
>
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
<
section
class
="
stage
"
>
<
figure
class
="
ball
"
style
="
background-image: url('images/skill.jpg')
"
>
<
span
class
="
shadow
"
>
</
span
>
</
figure
>
</
section
>
<
section
>
<
div
style
="
height:400px;
"
id
="
map
"
>
</
div
>
</
section
>
</
div
>
<
div
class
="
gototop js-top
"
>
<
a
href
="
#
"
class
="
js-gotop
"
>
<
i
class
="
icon-arrow-up22
"
>
</
i
>
</
a
>
</
div
>
<!-- jQuery -->
<
script
src
="
js/jquery.min.js
"
>
</
script
>
<!-- jQuery Easing -->
<
script
src
="
js/jquery.easing.1.3.js
"
>
</
script
>
<!-- Bootstrap -->
<
script
src
="
js/bootstrap.min.js
"
>
</
script
>
<!-- Waypoints -->
<
script
src
="
js/jquery.waypoints.min.js
"
>
</
script
>
<!-- Stellar Parallax -->
<
script
src
="
js/jquery.stellar.min.js
"
>
</
script
>
<!-- Easy PieChart -->
<
script
src
="
js/jquery.easypiechart.min.js
"
>
</
script
>
<!-- Main -->
<
script
src
="
js/main.js
"
>
</
script
>
<!--baidu map api-->
<
script
type
="
text/javascript
"
src
="
http://api.map.baidu.com/api?v=2.0&ak=mkCRDcSnnacpz4GI9pnV9XNjaEOwfNBu
"
>
</
script
>
<
script
>
// 百度地图API功能
var
map
=
new
BMap
.
Map
(
"map"
)
;
// 创建Map实例
var
point
=
new
BMap
.
Point
(
121.48789949
,
31.24916171
)
;
map
.
centerAndZoom
(
point
,
12
)
;
var
marker
=
new
BMap
.
Marker
(
point
)
;
// 创建标注
map
.
addOverlay
(
marker
)
;
// 将标注添加到地图中
marker
.
setAnimation
(
BMAP_ANIMATION_BOUNCE
)
;
//跳动的动画
// 添加带有定位的导航控件
var
navigationControl
=
new
BMap
.
NavigationControl
(
{
// 靠左上角位置
anchor
:
BMAP_ANCHOR_TOP_LEFT
,
// LARGE类型
type
:
BMAP_NAVIGATION_CONTROL_LARGE
,
// 启用显示定位
enableGeolocation
:
true
}
)
;
map
.
addControl
(
navigationControl
)
;
// 添加定位控件
var
geolocationControl
=
new
BMap
.
GeolocationControl
(
)
;
geolocationControl
.
addEventListener
(
"locationSuccess"
,
function
(
e
)
{
// 定位成功事件
var
address
=
''
;
address
+=
e
.
addressComponent
.
province
;
address
+=
e
.
addressComponent
.
city
;
address
+=
e
.
addressComponent
.
district
;
address
+=
e
.
addressComponent
.
street
;
address
+=
e
.
addressComponent
.
streetNumber
;
console
.
info
(
"当前定位地址为:"
+
address
)
;
}
)
;
geolocationControl
.
addEventListener
(
"locationError"
,
function
(
e
)
{
// 定位失败事件
console
.
info
(
e
.
message
)
;
}
)
;
map
.
addControl
(
geolocationControl
)
;
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL