提交 c5f99d83 作者: ada

指挥室

父级
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true # doesn't work yet
insert_final_newline = true # doesn't work yet
[Makefile]
indent_style = tab
indent_size = 2%
node_modules
.DS_store
package-lock.json
dist
.idea
/.cache-loader
bmap/tiles/tile/*
\ No newline at end of file
// @ts-nocheck
module.exports = {
ignoreFiles: ['node_modules/**/*.scss', '**/*.md', '**/*.ts', '**/*.tsx', '**/*.js'],
extends: ['stylelint-config-css-modules', 'stylelint-config-standard', 'stylelint-config-ydj/scss'],
rules: {
'selector-pseudo-class-no-unknown': [true, { ignorePseudoClasses: ['global', 'local'] }],
'property-no-unknown': [true, { ignoreProperties: ['composes'] }]
}
}
.BMap_mask {
background: transparent url(images/blank.gif);
}
.BMap_noscreen {
display: none;
}
.BMap_button {
cursor: pointer;
}
.BMap_zoomer {
background-image: url(images/mapctrls1d3.gif);
background-repeat: no-repeat;
overflow: hidden;
font-size: 1px;
position: absolute;
width: 7px;
height: 7px;
}
.BMap_stdMpCtrl div {
position: absolute;
}
.BMap_stdMpPan {
width: 44px;
height: 44px;
overflow: hidden;
background: url(images/mapctrls2d0.png) no-repeat;
}
.BMap_ie6 .BMap_stdMpPan {
background: none;
}
.BMap_ie6 .BMap_smcbg {
left: 0;
width: 44px;
height: 464px;
filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='images/mapctrls2d0.png');
}
.BMap_ie6 .BMap_stdMpPanBg {
z-index: -1;
}
.BMap_stdMpPan .BMap_button {
height: 15px;
width: 15px;
}
.BMap_panN,
.BMap_panW,
.BMap_panE,
.BMap_panS {
overflow: hidden;
}
.BMap_panN {
left: 14px;
top: 0;
}
.BMap_panW {
left: 1px;
top: 12px;
}
.BMap_panE {
left: 27px;
top: 12px;
}
.BMap_panS {
left: 14px;
top: 25px;
}
.BMap_stdMpZoom {
top: 45px;
overflow: hidden;
}
.BMap_stdMpZoom .BMap_button {
width: 22px;
height: 21px;
left: 12px;
overflow: hidden;
background-image: url(images/mapctrls2d0.png);
background-repeat: no-repeat;
z-index: 10;
}
.BMap_ie6 .BMap_stdMpZoom .BMap_button {
background: none;
}
.BMap_stdMpZoomIn {
background-position: 0 -221px;
}
.BMap_stdMpZoomOut {
background-position: 0 -265px;
}
.BMap_ie6 .BMap_stdMpZoomIn div {
left: 0;
top: -221px;
}
.BMap_ie6 .BMap_stdMpZoomOut div {
left: 0;
top: -265px;
}
.BMap_stdMpSlider {
width: 37px;
top: 18px;
}
.BMap_stdMpSliderBgTop {
left: 18px;
width: 10px;
overflow: hidden;
background: url(images/mapctrls2d0.png) no-repeat -23px -226px;
}
.BMap_stdMpSliderBgBot {
left: 19px;
height: 8px;
width: 10px;
top: 124px;
overflow: hidden;
background: url(images/mapctrls2d0.png) no-repeat -33px bottom;
}
.BMap_ie6 .BMap_stdMpSliderBgTop,
.BMap_ie6 .BMap_stdMpSliderBgBot {
background: none;
}
.BMap_ie6 .BMap_stdMpSliderBgTop div {
left: -23px;
top: -226px;
}
.BMap_ie6 .BMap_stdMpSliderBgBot div {
left: -33px;
bottom: 0;
}
.BMap_stdMpSliderMask {
height: 100%;
width: 24px;
left: 10px;
cursor: pointer;
}
.BMap_stdMpSliderBar {
height: 11px;
width: 19px;
left: 13px;
top: 80px;
overflow: hidden;
background: url(images/mapctrls2d0.png) no-repeat 0 -309px;
}
.BMap_stdMpSliderBar.h {
background: url(images/mapctrls2d0.png) no-repeat 0 -320px;
}
.BMap_ie6 .BMap_stdMpSliderBar,
.BMap_ie6 .BMap_stdMpSliderBar.h {
background: none;
}
.BMap_ie6 .BMap_stdMpSliderBar div {
top: -309px;
}
.BMap_ie6 .BMap_stdMpSliderBar.h div {
top: -320px;
}
.BMap_zlSt,
.BMap_zlCity,
.BMap_zlProv,
.BMap_zlCountry {
position: absolute;
left: 34px;
height: 21px;
width: 28px;
background-image: url(images/mapctrls2d0.png);
background-repeat: no-repeat;
font-size: 0;
cursor: pointer;
}
.BMap_ie6 .BMap_zlSt,
.BMap_ie6 .BMap_zlCity,
.BMap_ie6 .BMap_zlProv,
.BMap_ie6 .BMap_zlCountry {
background: none;
overflow: hidden;
}
.BMap_zlHolder {
display: none;
position: absolute;
top: 0;
}
.BMap_zlHolder.hvr {
display: block;
}
.BMap_zlSt {
background-position: 0 -380px;
top: 21px;
}
.BMap_zlCity {
background-position: 0 -401px;
top: 57px;
}
.BMap_zlProv {
background-position: 0 -422px;
top: 81px;
}
.BMap_zlCountry {
background-position: 0 -443px;
top: 105px;
}
.BMap_ie6 .BMap_zlSt div {
top: -380px;
}
.BMap_ie6 .BMap_zlCity div {
top: -401px;
}
.BMap_ie6 .BMap_zlProv div {
top: -422px;
}
.BMap_ie6 .BMap_zlCountry div {
top: -443px;
}
.BMap_stdMpType1 .BMap_stdMpSlider,
.BMap_stdMpType2 .BMap_stdMpSlider,
.BMap_stdMpType3 .BMap_stdMpSlider,
.BMap_stdMpType2 .BMap_stdMpZoom,
.BMap_stdMpType3 .BMap_stdMpPan {
display: none;
}
.BMap_stdMpType3 .BMap_stdMpZoom {
top: 0;
}
.BMap_cpyCtrl a {
font-size: 11px;
color: #7979CC;
}
.BMap_scaleCtrl {
height: 23px;
overflow: hidden;
}
.BMap_scaleCtrl div.BMap_scaleTxt {
font-size: 11px;
font-family: Arial, sans-serif;
}
.BMap_scaleCtrl div {
position: absolute;
overflow: hidden;
}
.BMap_scaleHBar img,
.BMap_scaleLBar img,
.BMap_scaleRBar img {
position: absolute;
width: 37px;
height: 442px;
left: 0;
}
.BMap_scaleHBar {
width: 100%;
height: 5px;
font-size: 0;
bottom: 0;
}
.BMap_scaleHBar img {
top: -437px;
width: 100%;
}
.BMap_scaleLBar,
.BMap_scaleRBar {
width: 3px;
height: 9px;
bottom: 0;
font-size: 0;
z-index: 1;
}
.BMap_scaleLBar img {
top: -427px;
left: 0;
}
.BMap_scaleRBar img {
top: -427px;
left: -5px;
}
.BMap_scaleLBar {
left: 0;
}
.BMap_scaleRBar {
right: 0;
}
.BMap_scaleTxt {
text-align: center;
width: 100%;
cursor: default;
line-height: 18px;
}
.BMap_omCtrl {
background-color: #fff;
overflow: hidden;
}
.BMap_omOutFrame {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.BMap_omInnFrame {
position: absolute;
border: 1px solid #999;
background-color: #ccc;
overflow: hidden;
}
.BMap_omMapContainer {
position: absolute;
overflow: hidden;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.BMap_omViewMv {
border-width: 1px;
border-style: solid;
border-left-color: #84b0df;
border-top-color: #adcff4;
border-right-color: #274b8b;
border-bottom-color: #274b8b;
position: absolute;
z-index: 600;
}
.BMap_omViewInnFrame {
border: 1px solid #3e6bb8;
}
.BMap_omViewMask {
width: 1000px;
height: 1000px;
position: absolute;
left: 0;
top: 0;
background-color: #68c;
opacity: .2;
filter: progid: DXImageTransform.Microsoft.Alpha(opacity=20);
}
.BMap_omBtn {
height: 13px;
width: 13px;
position: absolute;
cursor: pointer;
overflow: hidden;
background: url(images/mapctrls1d3.gif) no-repeat;
z-index: 1210;
}
.anchorBR .BMap_omOutFrame {
border-top: 1px solid #999;
border-left: 1px solid #999;
}
.quad4 .BMap_omBtn {
background-position: -26px -27px;
}
.quad4 .BMap_omBtn.hover {
background-position: 0 -27px;
}
.quad4 .BMap_omBtn.BMap_omBtnClosed {
background-position: -39px -27px;
}
.quad4 .BMap_omBtn.BMap_omBtnClosed.hover {
background-position: -13px -27px;
}
.anchorTR .BMap_omOutFrame {
border-bottom: 1px solid #999;
border-left: 1px solid #999;
}
.quad1 .BMap_omBtn {
background-position: -39px -41px;
}
.quad1 .BMap_omBtn.hover {
background-position: -13px -41px;
}
.quad1 .BMap_omBtn.BMap_omBtnClosed {
background-position: -26px -41px;
}
.quad1 .BMap_omBtn.BMap_omBtnClosed.hover {
background-position: 0 -41px;
}
.anchorBL .BMap_omOutFrame {
border-top: 1px solid #999;
border-right: 1px solid #999;
}
.quad3 .BMap_omBtn {
background-position: -27px -40px;
}
.quad3 .BMap_omBtn.hover {
background-position: -1px -40px;
}
.quad3 .BMap_omBtn.BMap_omBtnClosed {
background-position: -40px -40px;
}
.quad3 .BMap_omBtn.BMap_omBtnClosed.hover {
background-position: -14px -40px;
}
.anchorTL .BMap_omOutFrame {
border-bottom: 1px solid #999;
border-right: 1px solid #999;
}
.quad2 .BMap_omBtn {
background-position: -40px -28px;
}
.quad2 .BMap_omBtn.hover {
background-position: -14px -28px;
}
.quad2 .BMap_omBtn.BMap_omBtnClosed {
background-position: -27px -28px;
}
.quad2 .BMap_omBtn.BMap_omBtnClosed.hover {
background-position: -1px -28px;
}
.anchorR .BMap_omOutFrame {
border-bottom: 1px solid #999;
border-left: 1px solid #999;
border-top: 1px solid #999;
}
.anchorL .BMap_omOutFrame {
border-bottom: 1px solid #999;
border-right: 1px solid #999;
border-top: 1px solid #999;
}
.anchorB .BMap_omOutFrame {
border-top: 1px solid #999;
border-left: 1px solid #999;
border-right: 1px solid #999;
}
.anchorT .BMap_omOutFrame {
border-bottom: 1px solid #999;
border-right: 1px solid #999;
border-left: 1px solid #999;
}
.anchorNon .BMap_omOutFrame,
.withOffset .BMap_omOutFrame {
border: 1px solid #999;
}
.BMap_zoomMask0,
.BMap_zoomMask1 {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: transparent url(images/blank.gif);
z-index: 1000;
}
.BMap_contextMenu {
position: absolute;
border-top: 1px solid #adbfe4;
border-left: 1px solid #adbfe4;
border-right: 1px solid #8ba4d8;
border-bottom: 1px solid #8ba4d8;
padding: 0;
margin: 0;
width: auto;
visibility: hidden;
background: #fff;
z-index: 10000000;
}
.BMap_cmShadow {
position: absolute;
background: #000;
opacity: .3;
filter: alpha(opacity=30);
visibility: hidden;
z-index: 9000000;
}
div.BMap_cmDivider {
border-bottom: 1px solid #adbfe4;
font-size: 0;
padding: 1px;
margin: 0 6px;
}
div.BMap_cmFstItem {
margin-top: 2px;
}
div.BMap_cmLstItem {
margin-bottom: 2px;
}
.BMap_shadow img {
border: 0 none;
margin: 0;
padding: 0;
position: absolute;
height: 370px;
width: 1144px;
}
.BMap_pop .BMap_top {
border-top: 1px solid #ababab;
background-color: #fff;
}
.BMap_pop .BMap_center {
border-left: 1px solid #ababab;
border-right: 1px solid #ababab;
background-color: #fff;
}
.BMap_pop .BMap_bottom {
border-bottom: 1px solid #ababab;
background-color: #fff;
}
.BMap_shadow,
.BMap_shadow img,
.BMap_shadow div {
-moz-user-select: none;
-webkit-user-select: none;
}
.BMap_checkbox {
background: url(images/mapctrls1d3.gif);
vertical-align: middle;
display: inline-block;
width: 11px;
height: 11px;
margin-right: 4px;
background-position: -14px 90px;
}
.BMap_checkbox.checked {
background-position: -2px 90px;
}
.BMap_pop .BMap_top img,
.BMap_pop .BMap_center img,
.BMap_pop .BMap_bottom img {
display: none;
}
@media print {
.BMap_noprint {
display: none;
}
.BMap_noscreen {
display: block;
}
.BMap_mask {
background: none;
}
.BMap_pop .BMap_top img,
.BMap_pop .BMap_center img,
.BMap_pop .BMap_bottom img {
display: block;
}
}
\ No newline at end of file
.BMapLib_Drawing_panel {
height: 47px;
border: 1px solid #666;
border-radius: 5px;
overflow: hidden;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
float: left
}
.BMapLib_Drawing .BMapLib_box {
border-right: 1px solid #d2d2d2;
float: left;
height: 100%;
width: 64px;
height: 100%;
background-image: url(images/bg_drawing_tool.png);
cursor: pointer
}
.BMapLib_Drawing .BMapLib_last {
border-right: 0
}
.BMapLib_Drawing .BMapLib_hander {
background-position: 0 0
}
.BMapLib_Drawing .BMapLib_hander_hover {
background-position: 0 -52px
}
.BMapLib_Drawing .BMapLib_marker {
background-position: -65px 0
}
.BMapLib_Drawing .BMapLib_marker_hover {
background-position: -65px -52px
}
.BMapLib_Drawing .BMapLib_circle {
background-position: -130px 0
}
.BMapLib_Drawing .BMapLib_circle_hover {
background-position: -130px -52px
}
.BMapLib_Drawing .BMapLib_polyline {
background-position: -195px 0
}
.BMapLib_Drawing .BMapLib_polyline_hover {
background-position: -195px -52px
}
.BMapLib_Drawing .BMapLib_polygon {
background-position: -260px 0
}
.BMapLib_Drawing .BMapLib_polygon_hover {
background-position: -260px -52px
}
.BMapLib_Drawing .BMapLib_rectangle {
background-position: -325px 0
}
.BMapLib_Drawing .BMapLib_rectangle_hover {
background-position: -325px -52px
}
\ No newline at end of file
_jsload2&&_jsload2('buslinesearch', 'x.extend(Kd.prototype,{Qd:function(){for(var a=0,b=this.Pa.length;a<b;a++){var c=this.Pa[a];this[c.method].apply(this,c.arguments)}delete this.Pa},cv:function(a,b,c){a=R.zb(a);return z.qp+"?c="+a.lng+","+a.lat+"&i="+b+","+encodeURIComponent(c)+"&s="+encodeURIComponent("tpl:LinesQuery")},getBusList:function(a){var b=this;this.Jg(this.yd,function(c){c?dd.bb(function(a,c){b.iQ(a,c)},{qt:b.wP,c:c,wd:a},{tb:a}):(this.uc=new Oh({tb:a,city:"",ri:"",Gh:""}),b.sb(5),b.Sa(V.vu,this.uc))})},iQ:function(a,b){this.clearResults(); var c=a.result;if(!a.content||0!=c.error||c.type!=this.yP)this.uc=new Oh({tb:b.tb,city:a.current_city.name,ri:"",Gh:a.current_city.code}),this.sb(7),this.Sa(V.vu,this.uc);else{for(var c=a.content,d=[],e=0,f=c.length;e<f;e++)d.push({name:c[e].name,gk:c[e].uid,Gh:a.current_city.code,Sj:e,GA:b.tb,Si:c[e].poiType||2});this.uc=new Oh({tb:b.tb,city:a.current_city.name,ri:this.cv(P.vb(a.current_city.geo,o).point,a.current_city.code,b.tb),yM:d,Gh:a.current_city.code});this.sb(0);this.Sa(V.vu,this.uc);this.IT(); this.JS(a.current_city.geo,a.current_city.level,a.current_city.code)}},IT:function(){if(this.k.ka.Ha&&this.k.ka.Ha.appendChild&&this.uc&&0<this.uc.Ts()){var a=M("div",{style:"font:12px "+E.fontFamily+";background:#fff"});a.id="divResult"+this.ba;for(var b=this.uc.Ts(),c=[],d=0;d<b;d++){var e=this.uc.AD(d).name;c.push(\'<dl style="margin:3px 3px"><dt><span style="cursor:pointer" onclick=Instance(\\\'\'+this.ba+"\')._selectBusListItem("+d+")><img id=imgBLIcon"+d+" src="+Kd.mv+\' style="border:none" /></span>&nbsp;&nbsp;<a style="color:blue" href="javascript:void(0)" onclick=Instance(\\\'\'+ this.ba+"\')._selectBusListItem("+d+")>"+e+"</a></dt><dd id=ddBLInfo"+d+\' style="display:none;margin:2px 0px"></dd></dl>\')}b="";this.uc.moreResultsUrl&&(b=b+"<div style=\'color:#7777cc;background:#e5ecf9;overflow:hidden;padding:2px;text-align:right\'>"+("<a style=\'color:#7777cc\' href=\'"+this.uc.moreResultsUrl+"\' target=\'_blank\'>\\u5230\\u767e\\u5ea6\\u5730\\u56fe\\u67e5\\u770b&#187;</a>"),b+="&nbsp;</div>");a.innerHTML=c.join("")+b;this.k.ka.Ha.appendChild(a);this.Sa(V.fG,a)}},JS:function(a,b,c){var d=this.k.ka.map; d&&(a=P.vb(a,o).point,this.cB?this.cB!=c&&(d.Dd(a,b),this.cB=c):(d.Dd(a,b),this.cB=c))},vU:function(a){if(this.uc)for(var b=0,c=this.uc.Ts();b<c;b++){var d=x.Dc("ddBLInfo"+b),e=x.Dc("imgBLIcon"+b);b==a?"none"==d.style.display?(d.style.display="block",e.src=Kd.BS):(d.style.display="none",e.src=Kd.mv):(d.style.display="none",e.src=Kd.mv)}},_selectBusListItem:function(a,b){if(!b){var c=x.Dc("ddBLInfo"+a),d=x.Dc("imgBLIcon"+a);if("block"==c.style.display){c.style.display="none";d.src=Kd.mv;return}}if(this.uc&& this.uc[a]&&0<this.uc[a].Xo())this.Ec=this.uc[a],this.sb(0),this.Sa(V.uu,this.Ec),this.II(a),this.HI(a);else{var e=this,c=this.uc.AD(a);dd.bb(function(b,c){e.hQ(b,c,a)},{qt:e.vP,c:c.Gh,uid:c.gk},{name:c.name,Si:c.Si})}},clearResults:function(){delete this.uc;delete this.Ec;delete this.Wi;delete this.b1;this.Kj();this.k.ka.Ha&&(this.k.ka.Ha.innerHTML="")},getBusLine:function(a){a&&("object"==typeof a&&a.gk&&""!=a.gk&&"undefined"!=typeof a.Gh&&""!=a.Gh.toString()&&"undefined"!=typeof a.Sj&&""!=a.Sj.toString()&& "undefined"!=typeof a.GA&&""!=a.GA.toString())&&(this.uc&&0<this.uc.Ts()&&a.Gh==this.uc.Gh&&a.GA==this.uc.keyword)&&this._selectBusListItem(a.Sj,o)},hQ:function(a,b,c){var d=a.result;if(!a.content||!a.content[0]||0!=d.error||d.type!=this.xP)this.Ec=new Ph({name:b.name}),this.sb(7),this.Sa(V.uu,this.Ec);else{var a=a.content[0],e=d="",f="",g={},i=[],d=a.startTime,e=a.endTime,f=a.company;a.geo&&(g=P.vb(a.geo,o),g=new Dc(g.ia));if(a.stations)for(var k=0,l=a.stations.length;k<l;k++)if(a.stations[k].geo){var m= P.vb(a.stations[k].geo,o);i.push({name:a.stations[k].name,position:m.point,gk:a.stations[k].uid})}this.Ec=new Ph({name:b.name,startTime:d,yW:e,CV:f,gZ:g,iO:i,Si:b.Si});this.sb(0);this.Sa(V.uu,this.Ec);this.uc[c]=this.Ec;this.II(c);this.HI(c)}},II:function(a){if(this.k.ka.Ha&&this.k.ka.Ha.appendChild&&this.Ec&&0<this.Ec.Xo()){this.vU(a);var b=x.Dc("ddBLInfo"+a);if(b){var c=[];c.push(\'<table style="width:100%;background:#CDCDCD;font:12px \'+E.fontFamily+\'" cellspacing="1" cellpadding="1" ><tbody>\'); c.push(\'<tr><td style="width:95px;line-height:22px;padding:0px 8px;text-align:left;vertical-align:top;background:#F4F4F4" >\\u9996\\u672b\\u8f66\\u65f6\\u95f4</th><td style="background:#FFFFFF;line-height:22px;padding:0px 8px" >\'+this.Ec.startTime+"-"+this.Ec.endTime+"</td></tr>");c.push(\'<tr><td style="width:95px;line-height:22px;padding:0px 8px;text-align:left;vertical-align:top;background:#F4F4F4" >\\u6240\\u5c5e\\u516c\\u53f8</th><td style="background:#FFFFFF;line-height:22px;padding:0px 8px" >\'+this.Ec.company+ "</td></tr>");c.push("</tbody></table>");4==this.Ec.Si?c.push(\'<p style="margin:2px 0px;font:12px \'+E.fontFamily+\';">\\u6cbf\\u7ebf\\u5730\\u94c1\\u7ad9:</p>\'):c.push(\'<p style="margin:2px 0px;font:12px \'+E.fontFamily+\';">\\u6cbf\\u7ebf\\u516c\\u4ea4\\u7ad9\\u70b9:</p>\');c.push(\'<table style="width:100%;font:12px \'+E.fontFamily+\';" ><tbody>\');for(var d=0,e=this.Ec.Xo();d<e;d++)c.push(\'<tr><td style="width:20px">\'+(d+1)+"</th><td><a id=aStop_"+a+"_"+d+\' style="color:blue" href="javascript:void(0)" onclick=Instance(\\\'\'+ this.ba+"\')._selectBusStop("+a+","+d+")>"+this.Ec.dx(d).name+"</a></td></tr>");c.push("</tbody></table>");b.innerHTML=c.join("")}a=x.Dc("divResult"+this.ba);this.Sa(V.eG,a)}},HI:function(a){if(this.k.ka.map&&this.Ec&&0<this.Ec.Xo()){this.Kj();U.Ql(this.k.ka.map,this.Ec.qe());var b=this.Ec.$o();this.Sa(V.wu,b);var c=this;this.Wi=[];for(var d=0,e=this.Ec.Xo();d<e;d++){var f=this.Ec.dx(d).position,g=this.Ec.dx(d).name,f=U.RU(this.k.ka.map,f,g);(function(b,d,e){b.addEventListener("click",function(f){var g= ["<div style=\'font:12px "+E.fontFamily+"\'>"];g.push("<div style=\'margin:10px 1em 24px 0\'><b>"+d+"</b></div>");g.push("</div>");var t=new tc(g.join(""),{title:"",height:0,width:220,margin:[10,10,20,10]});t.addEventListener("open",function(){var b=x.Dc("aStop_"+a+"_"+e);b&&(b.style.backgroundColor="#cccccc")});t.addEventListener("close",function(){var b=x.Dc("aStop_"+a+"_"+e);b&&(b.style.backgroundColor="#ffffff")});g=c.k.ka.map;g.K.km?be.jp(t,g.getCurrentCity().code,{panoInstance:g.P,lngLat:f.target.ha(), titleTip:d,type:"busline"},function(){b.Nb(t)}):b.Nb(t)})})(f,g,d);f.yB=g;this.Wi.push(f)}this.Sa(V.Xp,this.Wi);this.k.ka.Xg&&this.k.ka.map.Ah(b.qe(),{margins:[5,5,5,5]})}},_selectBusStop:function(a,b){if(this.k.ka.map&&this.Wi&&0<this.Wi.length){var c=this.Wi[b];if(c.yB){var d=["<div style=\'font:12px "+E.fontFamily+"\'>"];d.push("<div style=\'margin:10px 1em 24px 0\'><b>"+c.yB+"</b></div>");d.push("</div>");var e=new tc(d.join(""),{title:"",height:0,width:220,margin:[10,10,20,10]});e.addEventListener("open", function(){var c=x.Dc("aStop_"+a+"_"+b);c&&(c.style.backgroundColor="#cccccc")});e.addEventListener("close",function(){var c=x.Dc("aStop_"+a+"_"+b);c&&(c.style.backgroundColor="#ffffff")});d=this.k.ka.map;d.K.km?be.jp(e,d.getCurrentCity().code,{panoInstance:d.P,lngLat:c.ha(),titleTip:c.yB,type:"busline"},function(){c.Nb(e)}):c.Nb(e)}}else{this.uN&&(this.uN.style.backgroundColor="#ffffff");if(d=x.Dc("aStop_"+a+"_"+b))d.style.backgroundColor="#cccccc";this.uN=d}},Kj:function(){this.k.ka.map&&this.k.ka.map.hK()}, sb:function(a){"number"==typeof a?this.Bd=a:delete this.Bd}});function Oh(a){this.keyword=a.tb||"";this.city=a.city;this.moreResultsUrl=a.ri;this.KA=a.yM&&a.yM.slice(0)||[];this.Gh=a.Gh}x.extend(Oh.prototype,{AD:function(a){if(this.KA[a])return this.KA[a]},Ts:function(){return this.KA.length}});var Qh=Oh.prototype;S(Qh,{getNumBusList:Qh.Ts,getBusListItem:Qh.AD});function Ph(a){this.name=a.name||"";this.startTime=a.startTime||"";this.endTime=a.yW||"";this.company=a.CV||"";this.Ti=a.gZ||{};this.AB=a.iO&&a.iO.slice(0)||[];this.Si=a.Si||2}x.extend(Ph.prototype,{dx:function(a){if(this.AB[a])return this.AB[a]},Xo:function(){return this.AB.length},$o:u("Ti"),qe:function(){if(this.Ti.qe())return this.Ti.qe()}});var Rh=Ph.prototype;S(Rh,{getNumBusStations:Rh.Xo,getBusStation:Rh.dx,getPath:Rh.qe,getPolyline:Rh.$o}); ');
\ No newline at end of file
_jsload2&&_jsload2('canvablepath', 'function fg(a){a=a.replace(/,/gm," ");a=a.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2");a=a.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2");a=a.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\\s])/gm,"$1 $2");a=a.replace(/([^\\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2");a=a.replace(/([0-9])([+\\-])/gm,"$1 $2");a=a.replace(/(\\.[0-9]*)(\\.)/gm,"$1 $2");a=a.replace(/([Aa](\\s+[0-9]+){3})\\s+([01])\\s*([01])/gm,"$1 $3 $4 ");a=fg.FV(a);a=fg.trim(a);this.uP=new function(a){this.KF= a.split(" ");this.reset=function(){this.jh=-1;this.It=this.Hw="";this.start=new fg.Yf(0,0);this.Iw=new fg.Yf(0,0);this.ib=new fg.Yf(0,0);this.ia=[];this.wo=[]};this.$L=function(){return this.jh>=this.KF.length-1};this.wj=function(){return this.$L()?o:this.KF[this.jh+1].match(/^[A-Za-z]$/)!=p};this.pE=function(){switch(this.Hw){case "m":case "l":case "h":case "v":case "c":case "s":case "q":case "t":case "a":case "z":return o}return q};this.FL=function(){this.jh++;return this.KF[this.jh]};this.qj=function(){return parseFloat(this.FL())}; this.QY=function(){this.It=this.Hw;this.Hw=this.FL()};this.sm=function(){return this.CY(new fg.Yf(this.qj(),this.qj()))};this.xD=function(){var a=this.sm();return this.Iw=a};this.rk=function(){var a=this.sm();return this.ib=a};this.yL=function(){return"c"!=this.It.toLowerCase()&&"s"!=this.It.toLowerCase()&&"q"!=this.It.toLowerCase()&&"t"!=this.It.toLowerCase()?this.ib:new fg.Yf(2*this.ib.x-this.Iw.x,2*this.ib.y-this.Iw.y)};this.CY=function(a){this.pE()&&(a.x+=this.ib.x,a.y+=this.ib.y);return a};this.aj= function(a,b,e){e!=p&&(0<this.wo.length&&this.wo[this.wo.length-1]==p)&&(this.wo[this.wo.length-1]=Math.atan2(e.y-this.ia[this.ia.length-1].y,e.x-this.ia[this.ia.length-1].x));this.NB(a,b==p?p:Math.atan2(a.y-b.y,a.x-b.x))};this.NB=function(a,b){this.ia.push(a);this.wo.push(b)}}(a);this.hb=function(){return this.hi(p)};this.hi=function(a){var c=this.uP;c.reset();var d=new fg.aP;for(a!=p&&a.beginPath();!c.$L();)switch(c.QY(),c.Hw){case "M":case "m":var e=c.rk();c.aj(e);d.ng(e.x,e.y);a!=p&&a.moveTo(e.x, e.y);for(c.start=c.ib;!c.wj();)e=c.rk(),c.aj(e,c.start),d.ng(e.x,e.y),a!=p&&a.lineTo(e.x,e.y);break;case "L":case "l":for(;!c.wj();){var f=c.ib,e=c.rk();c.aj(e,f);d.ng(e.x,e.y);a!=p&&a.lineTo(e.x,e.y)}break;case "H":case "h":for(;!c.wj();)e=new fg.Yf((c.pE()?c.ib.x:0)+c.qj(),c.ib.y),c.aj(e,c.ib),c.ib=e,d.ng(c.ib.x,c.ib.y),a!=p&&a.lineTo(c.ib.x,c.ib.y);break;case "V":case "v":for(;!c.wj();)e=new fg.Yf(c.ib.x,(c.pE()?c.ib.y:0)+c.qj()),c.aj(e,c.ib),c.ib=e,d.ng(c.ib.x,c.ib.y),a!=p&&a.lineTo(c.ib.x,c.ib.y); break;case "C":case "c":for(;!c.wj();){var g=c.ib,f=c.sm(),i=c.xD(),e=c.rk();c.aj(e,i,f);d.MB(g.x,g.y,f.x,f.y,i.x,i.y,e.x,e.y);a!=p&&a.bezierCurveTo(f.x,f.y,i.x,i.y,e.x,e.y)}break;case "S":case "s":for(;!c.wj();)g=c.ib,f=c.yL(),i=c.xD(),e=c.rk(),c.aj(e,i,f),d.MB(g.x,g.y,f.x,f.y,i.x,i.y,e.x,e.y),a!=p&&a.bezierCurveTo(f.x,f.y,i.x,i.y,e.x,e.y);break;case "Q":case "q":for(;!c.wj();)g=c.ib,i=c.xD(),e=c.rk(),c.aj(e,i,i),d.GJ(g.x,g.y,i.x,i.y,e.x,e.y),a!=p&&a.quadraticCurveTo(i.x,i.y,e.x,e.y);break;case "T":case "t":for(;!c.wj();)g= c.ib,i=c.yL(),c.Iw=i,e=c.rk(),c.aj(e,i,i),d.GJ(g.x,g.y,i.x,i.y,e.x,e.y),a!=p&&a.quadraticCurveTo(i.x,i.y,e.x,e.y);break;case "A":case "a":for(;!c.wj();){var g=c.ib,k=c.qj(),l=c.qj(),f=c.qj()*(Math.PI/180),m=c.qj(),i=c.qj(),e=c.rk(),n=new fg.Yf(Math.cos(f)*(g.x-e.x)/2+Math.sin(f)*(g.y-e.y)/2,-Math.sin(f)*(g.x-e.x)/2+Math.cos(f)*(g.y-e.y)/2),t=Math.pow(n.x,2)/Math.pow(k,2)+Math.pow(n.y,2)/Math.pow(l,2);1<t&&(k*=Math.sqrt(t),l*=Math.sqrt(t));m=(m==i?-1:1)*Math.sqrt((Math.pow(k,2)*Math.pow(l,2)-Math.pow(k, 2)*Math.pow(n.y,2)-Math.pow(l,2)*Math.pow(n.x,2))/(Math.pow(k,2)*Math.pow(n.y,2)+Math.pow(l,2)*Math.pow(n.x,2)));isNaN(m)&&(m=0);var v=new fg.Yf(m*k*n.y/l,m*-l*n.x/k),g=new fg.Yf((g.x+e.x)/2+Math.cos(f)*v.x-Math.sin(f)*v.y,(g.y+e.y)/2+Math.sin(f)*v.x+Math.cos(f)*v.y),w=function(a,b){return(a[0]*b[0]+a[1]*b[1])/(Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2))*Math.sqrt(Math.pow(b[0],2)+Math.pow(b[1],2)))},y=function(a,b){return(a[0]*b[1]<a[1]*b[0]?-1:1)*Math.acos(w(a,b))},m=y([1,0],[(n.x-v.x)/k,(n.y- v.y)/l]),t=[(n.x-v.x)/k,(n.y-v.y)/l],v=[(-n.x-v.x)/k,(-n.y-v.y)/l],n=y(t,v);-1>=w(t,v)&&(n=Math.PI);1<=w(t,v)&&(n=0);t=1-i?1:-1;v=m+t*(n/2);c.NB(new fg.Yf(g.x+k*Math.cos(v),g.y+l*Math.sin(v)),v-t*Math.PI/2);c.NB(e,v-t*Math.PI);d.ng(e.x,e.y);a!=p&&(w=k>l?k:l,e=k>l?1:k/l,k=k>l?l/k:1,a.translate(g.x,g.y),a.rotate(f),a.scale(e,k),a.arc(0,0,w,m,m+n,1-i),a.scale(1/e,1/k),a.rotate(-f),a.translate(-g.x,-g.y))}break;case "Z":case "z":a!=p&&a.closePath(),c.ib=c.start}return d}} fg.trim=function(a){return a.replace(/^\\s+|\\s+$/g,"")};fg.FV=function(a){return a.replace(/[\\s\\r\\t\\n]+/gm," ")};fg.Yf=function(a,b){this.x=a;this.y=b}; fg.aP=function(){this.xn=this.wn=this.Cj=this.Bj=Number.NaN;this.x=u("Bj");this.y=u("Cj");this.width=function(){return this.wn-this.Bj};this.height=function(){return this.xn-this.Cj};this.ng=function(a,b){if(a!=p){if(isNaN(this.Bj)||isNaN(this.wn))this.wn=this.Bj=a;a<this.Bj&&(this.Bj=a);a>this.wn&&(this.wn=a)}if(b!=p){if(isNaN(this.Cj)||isNaN(this.xn))this.xn=this.Cj=b;b<this.Cj&&(this.Cj=b);b>this.xn&&(this.xn=b)}};this.RB=function(a){this.ng(a,p)};this.SB=function(a){this.ng(p,a)};this.GJ=function(a, b,c,d,e,f){c=a+2/3*(c-a);d=b+2/3*(d-b);this.MB(a,b,c,c+1/3*(e-a),d,d+1/3*(f-b),e,f)};this.MB=function(a,b,c,d,e,f,g,i){var k=[a,b],l=[c,d],m=[e,f],n=[g,i];this.ng(k[0],k[1]);this.ng(n[0],n[1]);for(gg=0;1>=gg;gg++)if(a=function(a){return Math.pow(1-a,3)*k[gg]+3*Math.pow(1-a,2)*a*l[gg]+3*(1-a)*Math.pow(a,2)*m[gg]+Math.pow(a,3)*n[gg]},b=6*k[gg]-12*l[gg]+6*m[gg],c=-3*k[gg]+9*l[gg]-9*m[gg]+3*n[gg],d=3*l[gg]-3*k[gg],0==c)0!=b&&(b=-d/b,0<b&&1>b&&(0==gg&&this.RB(a(b)),1==gg&&this.SB(a(b))));else if(d=Math.pow(b, 2)-4*d*c,!(0>d)&&(e=(-b+Math.sqrt(d))/(2*c),0<e&&1>e&&(0==gg&&this.RB(a(e)),1==gg&&this.SB(a(e))),b=(-b-Math.sqrt(d))/(2*c),0<b&&1>b))0==gg&&this.RB(a(b)),1==gg&&this.SB(a(b))};this.ng(j,j);this.ng(j,j)};z.bP=fg; ');
_jsload2&&_jsload2('common', 'x.cookie=x.cookie||{};x.cookie.ZH=function(a){return RegExp(\'^[^\\\\x00-\\\\x20\\\\x7f\\\\(\\\\)<>@,;:\\\\\\\\\\\\"\\\\[\\\\]\\\\?=\\\\{\\\\}\\\\/\\\\u0080-\\\\uffff]+$\').test(a)};x.cookie.wX=function(a){return x.cookie.ZH(a)&&(a=RegExp("(^| )"+a+"=([^;]*)(;|$)").exec(document.cookie))?a[2]||p:p};x.cookie.get=function(a){a=x.cookie.wX(a);return"string"==typeof a?a=decodeURIComponent(a):p}; x.cookie.XN=function(a,b,c){if(x.cookie.ZH(a)){var c=c||{},d=c.bh;"number"==typeof c.bh&&(d=new Date,d.setTime(d.getTime()+c.bh));document.cookie=a+"="+b+(c.path?"; path="+c.path:"")+(d?"; expires="+d.toGMTString():"")+(c.domain?"; domain="+c.domain:"")+(c.FZ?"; secure":"")}};x.cookie.set=function(a,b,c){x.cookie.XN(a,encodeURIComponent(b),c)};x.cookie.remove=function(a,b){b=b||{};b.bh=new Date(0);x.cookie.XN(a,"",b)};x.kt=function(a){return/\\d{11}/.test(a)};x.jY=function(a){return/\\d{4}/.test(a)}; x.bs=function(){function a(a){a=a.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,function(a,b,c,d){return b+b+c+c+d+d});return(a=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(a))?"rgb("+parseInt(a[1],16)+","+parseInt(a[2],16)+","+parseInt(a[3],16)+")":p}var b={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887", cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3", deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6", lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee", mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6", purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}, c={hex:/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,rgb:/rgb\\(\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*,\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*,\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*\\)/,rgba:/rgba\\(\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*,\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*,\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*,\\s*(0|1|0\\.[1-9])\\s*\\)/};return{NJ:function(a){if(c.hex.test(a))return a;if(c.rgb.test(a))return a=a.match(c.rgb),"#"+("0"+parseInt(a[1],10).toString(16)).slice(-2)+("0"+parseInt(a[2],10).toString(16)).slice(-2)+ ("0"+parseInt(a[3],10).toString(16)).slice(-2);if(b[a])return b[a]},V2:a,E1:function(a){return c.hex.test(a)?a:b[a]?b[a]:"#000"},pC:function(d,e){e===j&&(e=1);if(c.rgba.test(d))return d;"undefined"!=typeof b[d.toLowerCase()]&&(d=b[d.toLowerCase()]);c.hex.test(d)&&(d=a(d));c.rgb.test(d)?(d=d.replace(/rgb/g,"rgba"),d=d.replace(/\\)/,","+e+")")):d="rgba(0,0,0,1)";return d}}}(); ');
_jsload2&&_jsload2('symbol', 'var hg={14:"m-0.00573,-10c-5.51975,0 -9.99427,4.47453 -9.99427,9.99428c0,5.51974 4.47452,9.99425 9.99427,9.99425c5.51972,0 9.99426,-4.47452 9.99426,-9.99425c0,-5.51975 -4.47453,-9.99428 -9.99426,-9.99428zm0,17.92491c-4.37412,0 -7.93132,-3.55788 -7.93132,-7.93063c0,-4.37345 3.5572,-7.93134 7.93132,-7.93134c4.37411,0 7.93062,3.55721 7.93062,7.93134c0,4.37412 -3.55789,7.93063 -7.93062,7.93063zm-0.00068,-15.4088c-0.38027,0 -0.68696,0.30807 -0.68696,0.68765l0,6.34078l-4.15752,1.81815c-0.34794,0.15266 -0.50611,0.55837 -0.35344,0.90632c0.11278,0.25787 0.36445,0.4119 0.6292,0.4119c0.09214,0 0.18635,-0.01857 0.27575,-0.05845l4.55635,-1.99279c0.00344,-0.00137 0.00619,-0.00275 0.00894,-0.00412l0.00275,-0.00138c0.01032,-0.00413 0.01581,-0.01376 0.02545,-0.01719c0.07151,-0.03576 0.13821,-0.07771 0.19185,-0.1341c0.02337,-0.02338 0.03644,-0.05364 0.05431,-0.08045c0.03301,-0.04401 0.06946,-0.08733 0.0894,-0.14028c0.0165,-0.04126 0.01787,-0.08596 0.02613,-0.12997c0.00894,-0.04469 0.02614,-0.08389 0.02614,-0.1286l0,-6.7905c0,-0.37889 -0.30807,-0.68697 -0.68833,-0.68697z", 13:"m-0.00706,-9.5c-5.24281,0 -9.49294,4.25065 -9.49294,9.49294c0,5.24331 4.25014,9.49294 9.49294,9.49294c5.24281,0 9.49294,-4.24964 9.49294,-9.49294c0,-5.2423 -4.25013,-9.49294 -9.49294,-9.49294zm3.08857,3.85997c0.61044,0 1.10279,0.96873 1.10279,2.16271s-0.49384,2.1647 -1.10279,2.1647c-0.60844,0 -1.10228,-0.96873 -1.10228,-2.16372s0.49434,-2.16369 1.10228,-2.16369zm-6.28628,0c0.60844,0 1.10228,0.96873 1.10228,2.16271s-0.49284,2.1647 -1.10228,2.1647s-1.10277,-0.96873 -1.10277,-2.16372s0.49383,-2.16369 1.10277,-2.16369zm3.21167,12.16493c-1.87667,0 -3.63373,-1.14814 -5.14663,-3.14239c1.56571,1.02156 3.27993,1.59064 5.07786,1.59064c1.90905,0 3.72343,-0.63985 5.36539,-1.78497c-1.54429,2.11685 -3.35767,3.33672 -5.29662,3.33672l-0.00001,0z", 12:"m9.27295,5.92958l-2.64443,-4.57961c-0.79727,-1.37992 -2.10131,-3.63983 -2.8986,-5.01973l-2.64441,-4.57858c-0.79782,-1.38093 -2.10186,-1.38093 -2.89913,0l-2.64335,4.57858c-0.79728,1.3799 -2.10188,3.63981 -2.89916,5.01973l-2.64387,4.57961c-0.79728,1.38101 -0.14472,2.50988 1.44983,2.50988l16.37221,0c1.59561,0 2.24711,-1.12887 1.45091,-2.50988l0,0zm-8.88166,0.70811l-1.56837,0l0,-1.50484l1.56837,0l0,1.50484zm-0.07527,-2.61447l-1.41621,0l-0.14044,-6.44231l1.68427,0l-0.12761,6.44231l0,0z",11:"m8.08295,-6.56414l-3.59319,0l0,-1.43586l-8.98155,0l0,1.43586l-3.59321,0c-1.0569,0 -1.915,0.85509 -1.915,1.91159l0,9.92258c0,1.05357 0.8581,1.91158 1.915,1.91158l16.16796,0c1.05692,0 1.91501,-0.85801 1.91501,-1.91158l0,-9.92258c0,-1.0565 -0.85809,-1.91159 -1.91501,-1.91159l0,0zm-8.08397,12.66884c-3.20143,0 -5.80643,-2.60031 -5.80643,-5.79596c0,-3.19569 2.605,-5.79891 5.80643,-5.79891s5.80789,2.60322 5.80789,5.79891c0,3.19565 -2.60794,5.79596 -5.80789,5.79596zm0,-9.6804c-2.15036,0 -3.89142,1.7394 -3.89142,3.88444c0,2.14503 1.74252,3.8844 3.89142,3.8844c2.1489,0 3.89141,-1.73937 3.89141,-3.8844c0,-2.14503 -1.74105,-3.88444 -3.89141,-3.88444z", 10:"m0,-10c-0.20885,0 -0.39491,0.08583 -0.55177,0.24149c-0.15674,0.15536 -0.28646,0.37838 -0.39429,0.65665c-0.21586,0.55655 -0.34853,1.33844 -0.42114,2.27477c-0.07231,0.93446 -0.08474,2.02273 -0.05447,3.18765c-2.58175,1.05925 -7.81787,3.24648 -8.23854,3.73474c-0.56001,0.65029 -0.37908,1.3954 -0.15331,1.89002l8.608,-1.75235c0.18202,2.28374 0.4407,4.5455 0.66615,6.31771c-0.8418,0.24646 -2.41323,0.73303 -2.73754,1.03474c-0.4469,0.41562 -0.4469,1.75793 -0.4469,1.75793l3.52318,-0.28665c0.08286,0.57874 0.13486,0.9163 0.13486,0.9163l0.00511,0.03042l0.02778,0l0.06486,0l0.02778,0l0.00511,-0.03042c0,0 0.05185,-0.33756 0.13486,-0.9163l3.52424,0.28665c0,0 0,-1.34231 -0.44688,-1.75793c-0.32446,-0.30172 -1.89697,-0.7895 -2.73847,-1.0358c0.22484,-1.76681 0.4832,-4.02001 0.66507,-6.29634l8.50712,1.73203c0.22561,-0.49462 0.40765,-1.23973 -0.15237,-1.89002c-0.41538,-0.48221 -5.52504,-2.62071 -8.1386,-3.69423c0.03119,-1.17999 0.01971,-2.28285 -0.05353,-3.22816l0,-0.00233c-0.07263,-0.93523 -0.20545,-1.71635 -0.42114,-2.27244c-0.10784,-0.27827 -0.23634,-0.50114 -0.3932,-0.65665c-0.15689,-0.15567 -0.34293,-0.24149 -0.55195,-0.24149l0,0l0,0l0,0l0.00001,0l0,0l-0.00003,0.00001z", 3:"m-10,0l10,-10l10,10l-10,10l-10,-10z",5:"M0,0 L-5,-15 0,-10 5,-15 z",6:"M0,0 L5,15 0,10 -5,15z",7:"M-5,-15 L0,0 5,-15",8:"M-5,15 L0,0 5,15",9:"m0,-24c-4.4183,0 -8,3.58167 -8,8c0,1.42102 0.3816,2.75 1.0312,3.90601c0.1079,0.19202 0.221,0.38098 0.3438,0.56299l6.625,11.53101l6.625,-11.53101c0.102,-0.151 0.19,-0.31097 0.281,-0.46899l0.063,-0.09399c0.649,-1.15601 1.031,-2.48499 1.031,-3.90601c0,-4.41833 -3.582,-8 -8,-8zm0,4c2.209,0 4,1.79089 4,4c0,2.20898 -1.791,4 -4,4c-2.2091,0 -4,-1.79102 -4,-4c0,-2.20911 1.7909,-4 4,-4z"}; x.extend(rc.prototype,{Hn:function(){var a=this.iB;hg[a]&&(a=hg[a]);switch(a){case 1:var b=a=this.Mu(2),c=this.style.scale,d=this.Hi;this.size=new N(a,b);this.anchor=new N(a/2+d.width*c,b/2+d.height*c);this.path=1;break;case 2:var a=this.Mu(4),b=this.Mu(2),d=this.Hi,e=this.style.nc?this.style.nc:this.style.scale,c=this.style.scale;this.size=new N(a,b);this.nr=new N(Math.floor(-e/2),Math.floor(-e/2));this.anchor=new N(a/2+d.width*c,b/2+d.height*c);this.path=2;break;case 4:b=a=this.Mu(20);d=this.Hi; c=this.style.scale;this.size=new N(a,b);this.anchor=new N(a/2+d.width*c,b/2+d.height*c);this.path=4;break;default:var a=new z.bP(a),f=a.hb(),b=this.style.rotation*Math.PI/180,e=this.style.nc?this.style.nc:this.style.scale,c=this.style.scale,d=this.Hi,g=new N(Math.floor(f.Bj*c-e/2),Math.floor(f.Cj*c-e/2)),c={uO:new Q(Math.floor(f.Bj*c-e/2)-c*d.width,Math.floor(f.Cj*c-e/2)-c*d.height),x1:new Q(Math.floor(f.Bj*c-e/2)-c*d.width,Math.ceil(f.xn*c-e/2)-c*d.height),w4:new Q(Math.ceil(f.wn*c+e/2)-c*d.width, Math.floor(f.Cj*c-e/2)-c*d.height),y1:new Q(Math.ceil(f.wn*c+e/2)-c*d.width,Math.ceil(f.xn*c+e/2)-c*d.height)},d={},e=[],f=[],i;for(i in c){var k=Math.cos(b)*c[i].x-Math.sin(b)*c[i].y,l=Math.sin(b)*c[i].x+Math.cos(b)*c[i].y;d[i]=new Q(k,l);e.push(k);f.push(l)}xmax=Math.max.apply(Math,e);ymax=Math.max.apply(Math,f);xmin=Math.min.apply(Math,e);ymin=Math.min.apply(Math,f);this.size=new N(Math.ceil(xmax-xmin),Math.ceil(ymax-ymin));this.anchor=new N(-xmin,-ymin);this.nr=new N(xmin-d.uO.x,ymin-d.uO.y); this.yA=new Q(g.width,g.height);this.QI=b;this.path=a}},Mu:function(a){return this.style.nc?a*this.style.scale+this.style.nc%3+this.style.nc:a*this.style.scale+this.style.scale+this.style.scale%2},yb:function(a){var b=this.style.scale;size=this.size;this.Yq=a;a.getContext&&a.getContext("2d")?(a=this.Ih=a.getContext("2d"),a.fillStyle=x.bs.pC(this.style.fillColor,this.style.qg),a.strokeStyle=x.bs.pC(this.style.strokeColor,this.style.rd)):(a=new z.EP(a),a.fillStyle={color:x.bs.NJ(this.style.fillColor), alpha:this.style.qg},a.strokeStyle={color:x.bs.NJ(this.style.strokeColor),alpha:this.style.rd});a.lineCap="round";a.lineJoin="round";a.lineWidth=this.style.nc||b;this.nr&&a.translate(-this.nr.width,-this.nr.height);this.QI&&a.rotate(this.QI);this.yA&&a.translate(-this.yA.x,-this.yA.y);switch(this.path){case 1:a.arc(size.width/2,size.height/2,b,0,2*Math.PI);break;case 2:a.rect(0,0,4*b,2*b);break;case 4:a.beginPath();for(var c=size.width/2,b=10*b,d=2*Math.PI/10,e=11;0!=e;e--){var f=b*(e%2+1)/2,g=d* e;a.lineTo(f*Math.sin(g)+c,f*Math.cos(g)+c)}a.closePath();break;default:a.lineWidth/=b,a.scale(b,b),this.path.hi(a)}a.fill();a.stroke()},setPath:function(a){this.iB=a;this.Hn()},setAnchor:function(a){this.Hi=this.style.anchor=a;this.Hn()},setRotation:function(a){this.style.rotation=a;this.Hn()},setScale:function(a){this.style.scale=a;this.Hn()},setStrokeWeight:function(a){this.style.nc=a;this.Hn()}}); ');
_jsload2&&_jsload2('marker', 'function ig(a,b){0<a.Zf.length?a.Zf[a.Zf.length-1].k.finish=b:a.k.finish=b} x.extend(fb.prototype,{initialize:function(a){this.map=a;this.Hj();this.ca();this.hg&&this.hg.ra(this.map,this);x.lang.Ca.call(this,this.ba);if(this.V)return this.V.ba=this.ba,this.Qa||x.D.U(this.V),this.V},ca:function(){function a(a,b){var f=a.srcElement||a.target,g=a.clientX||a.pageX,i=a.clientY||a.pageY;if(a&&b&&g&&i&&f){var f=x.D.ha(c.Va),k=Bb();b.pixel=b.jb=new Q(g-f.left+k[1],i-f.top+k[0]);b.point=c.wb(b.jb)}return b}if(this.V){var b=this,c=this.map;x.M(this.V,"mouseover",function(c){b.el|| b.dispatchEvent(a(c,ma(new O("onmouseover"),c)))});x.M(this.V,"mouseout",function(c){b.el||b.dispatchEvent(a(c,ma(new O("onmouseout"),c)))});b.z.hf&&(x.M(this.V,"touchstart",function(a){b.ca.FB=new Q(a.changedTouches[0].clientX,a.changedTouches[0].clientY)}),x.M(this.V,"touchend",function(c){var e=ab(),f=new Q(c.changedTouches[0].clientX,c.changedTouches[0].clientY);10<Math.abs(f.x-b.ca.FB.x)||10<Math.abs(f.y-b.ca.FB.y)?b.ca.FB=p:(b.dispatchEvent(a(c,ma(new O("onclick"),c))),e-b.eH<b.map.K.iC&&b.dispatchEvent(a(c, ma(new O("ondblclick"),c))),b.eH=e)}),G()||x.M(this.V,"click",function(c){for(var e=c.srcElement||c.target;e;){if(e===b.V){(!(b instanceof T)||b instanceof T&&(!b.IA||b.IA&&b.ha().nb(b.IA)))&&b.dispatchEvent(a(c,ma(new O("onclick"),c)));break}else if(b.map&&b.map.La&&e===b.map.La.xc)break;e=e.parentNode}}),x.M(this.V,"dblclick",function(c){b.dispatchEvent(a(c,ma(new O("ondblclick"),c)));oa(c)}),(!x.da.nf||4>x.da.nf)&&x.M(this.V,"contextmenu",function(c){b.dispatchEvent(a(c,ma(new O("onrightclick"), c)))}));x.M(this.V,"mousedown",function(c){if(b instanceof T)b.IA=b.ha();b.dispatchEvent(a(c,ma(new O("onmousedown"),c)))});x.M(this.V,"mouseup",function(c){b.dispatchEvent(a(c,ma(new O("onmouseup"),c)));x.da.nf>=4&&(c.button===2&&b.z.hf)&&b.dispatchEvent(a(c,ma(new O("onrightclick"),c)))})}},U:function(){this.Qa!==q&&(this.Qa=q,kc.prototype.U.call(this),this.Cb&&(this.Cb.ab&&this.Cb.ab===this)&&this.Wc())},show:function(){this.Qa!==o&&(this.Qa=o,kc.prototype.show.call(this))},ON:function(a){if(a)for(var b in a)typeof this.z[b]=== typeof a[b]&&(this.z[b]=a[b])},Vt:function(a){this.zIndex=a;this.Ml()},Ml:function(){var a;Eb(this.zIndex)?a=this.zIndex:(a=0,this.map&&this.ha()&&(a=this.ha()?this.ha().lat:0,a=kc.xm(a)+(this.z.WJ||0)));this.V&&(this.V.style.zIndex=a)},so:function(a){this.hg=a;this.map&&a.ra(this.map,this)},zp:function(){this.hg.remove();this.hg=p}});S(Ye,{show:Ye.show,hide:Ye.U,addContextMenu:Ye.so,removeContextMenu:Ye.zp});T.Gu=kc.xm(-90)+1E6;T.kG=T.Gu+1E6;T.MR=function(a){if(T.Xu[a])return T.Xu[a];var b=T.Xu[a]=["BMap_"+Math.round(1E4*Math.random()),"BMap_"+Math.round(1E4*Math.random())],c=Fc[a],d=T.tU;d||(d=T.tU=M("style",{type:"text/css"}),document.getElementsByTagName("head")[0].appendChild(d));d.textContent+=T.tH(c.Am,b[0])+T.tH(c.Wt,b[1]);return T.Xu[a]}; T.tH=function(a,b){var c=["@-webkit-keyframes "+b+" {\\\\n"];x.kc.Gb(a,function(a){c.push(100*a.ac,"% { ");c.push("-webkit-transform: translate(",a.translate[0],"px,",a.translate[1],"px); ");c.push("-webkit-animation-timing-function: ",a.hc,"; ");c.push("}\\\\n")});c.push("}\\\\n");return c.join("")}; T.RP=function(a,b){if(!T.Kh&&(T.Kh=M("img",{src:E.qa+"drag_cross.png",width:13,height:9}),T.Kh.style.position="absolute",6==x.da.la)){delete T.Kh;var c=(T.Kh=M("div")).style;c.position="absolute";c.width="13px";c.height="9px";c.filter=\'progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=image,src="\'+E.qa+\'drag_cross.png")\'}c=T.Kh.style;c.left=a.width-6+"px";c.top=a.height-5+"px";b.appendChild(T.Kh)};T.FT=function(){T.Kh&&T.Kh.parentNode&&T.Kh.parentNode.removeChild(T.Kh)};T.Xu=[]; T.LG=function(){this.style.WebkitAnimation=""}; x.extend(T.prototype,{initialize:function(a){this.$q();fb.prototype.initialize.call(this,a);this.Qa||x.D.U(this.zc);this.ta(this.point);this.Ub(this.z.uj);this.zy(this.z.Mk);this.Lp(this.z.rotation);this.z.label&&this.Ru&&this.z.label.addEventListener("remove",this.Ru);this.an(this.z.label);this.Cc(this.z.title);this.uA();return this.V},$q:function(){this.Oi||(this.Oi=o,this.Yc=this.zc=this.Md=this.V=p,this.ml=q)},Hj:function(){var a=this.map.Rf();this.V=yb(a.EE,this.dT());this.zc=yb(a.IM,this.WS()); this.zc.ba=this.ba},dT:function(){var a=[\'<span class="BMap_Marker BMap_noprint" unselectable="on" \'];a.push(this.z.title?\'title="\'+this.z.title+\'"\':\'"\');a.push(\' style="position:absolute;padding:0;margin:0;border:0;width:0;height:0;-moz-user-select:none;\');a.push(this.z.hf?"cursor:pointer;":"");a.push("background:url("+E.qa+"blank.gif);");a.push("width:"+this.z.uj.size.width+"px;");a.push("height:"+this.z.uj.size.height+"px;");a.push(\'"></span>\');return a.join("")},WS:function(){var a=[\'<span class="BMap_Marker" unselectable="on" \']; a.push(\'style="position:absolute;padding:0;margin:0;border:0;\');a.push(\'width:0;height:0;-moz-user-select:none"></span>\');return a.join("")},hU:function(){var a=[\'<span unselectable="on" \'];a.push(\'style="position:absolute;padding:0;margin:0;border:0;\');a.push(\'width:0;height:0;-moz-user-select:none"></span>\');return a.join("")},draw:function(){if(this.V){var a=this.gS();this.V.style.left=a[0].x+"px";this.V.style.top=a[0].y+"px";this.zc&&(this.zc.style.left=a[0].x+"px",this.zc.style.top=a[0].y+"px"); this.Md&&(this.Md.style.left=a[1].x+"px",this.Md.style.top=a[1].y+"px");this.Cb!=p&&this.Cb.Wa()&&this.Cb.ta();this.Ml()}},gS:function(){var a=this.z.za||new N(0,0),b=this.z.uj.anchor||new N(0,0),c=this.map.Te(this.ha()),b=[new Q(c.x+a.width-b.width,c.y+a.height-b.height)];if(this.z.Mk){var d=this.z.Mk.anchor||new N(0,0);b[1]=new Q(c.x+a.width-d.width,c.y+a.height-d.height)}return b},yb:function(){this.map?(this.V=this.initialize(this.map),this.rq&&(this.$m(this.rq),delete this.rq)):delete this.rq}, remove:function(){this.$m(p);this.zc&&this.zc.parentNode&&this.zc.parentNode.removeChild(this.zc);this.Md&&this.Md.parentNode&&this.Md.parentNode.removeChild(this.Md);this.Cb&&(this.Cb.ab&&this.Cb.ab===this)&&(this.Wc(),this.Cb=p);this.cc=this.Yc=this.Md=this.zc=p;if(this.z.label){var a=this.z.label;a.removeEventListener("remove",this.Ru);x.lang.Rw(a.ba);a.RN(p);a.V=p;this.z.label=p}fb.prototype.remove.call(this)},U:function(){fb.prototype.U.call(this);this.V&&x.D.U(this.V);this.zc&&x.D.U(this.zc); this.Md&&x.D.U(this.Md)},show:function(){fb.prototype.show.call(this);this.V&&x.D.show(this.V);this.zc&&x.D.show(this.zc);this.Md&&x.D.show(this.Md)},Ub:function(a){if(a instanceof qc||a instanceof rc)if(this.z.uj=a,this.map&&this.V&&this.zc){try{this.Yc&&(this.zc.removeChild(this.Yc),this.Yc=p),this.V.style.width=a.size.width+"px",this.V.style.height=a.size.height+"px"}catch(b){}if(this.z.uj){var c=this.Yc=M(a instanceof qc?"div":"canvas"),d=c.style;d.position="absolute";d.padding=d.margin="0";d.width= a.size.width+"px";d.height=a.size.height+"px";d.overflow="hidden";a instanceof rc?(c.width=a.size.width,c.height=a.size.height,a.yb(c)):(c.innerHTML=jg(a),c.dL=q);this.zc.appendChild(this.Yc)}this.draw()}},zy:function(a){if(a instanceof qc&&(this.z.Mk=a,this.map&&this.V&&this.zc)){this.Md||(this.Md=yb(this.map.Rf().JM,this.hU()));try{this.cc&&(this.Md.removeChild(this.cc),this.cc=p),this.Md.style.width=a.size.width+"px",this.Md.style.height=a.size.height+"px"}catch(b){}if(this.z.Mk){var c=this.cc= M("div"),d=c.style;d.position="absolute";d.padding=d.margin="0";d.width=a.size.width+"px";d.height=a.size.height+"px";d.overflow="hidden";c.innerHTML=jg(a);c.dL=q;this.Md.appendChild(this.cc)}this.draw()}},an:function(a){if(a&&a instanceof uc){var b=this;I.load("marker",function(){b.aU(a)},o)}},aU:function(a){if(a instanceof uc){this.z.label=a;var b=this;this.z.label.Ji||(this.z.label.Ji=o,this.Ru=function(){b.z.label=p},this.z.label.addEventListener("remove",this.Ru));if(this.map){a.Ee(this.map); a.V?this.zc.appendChild(a.V):(a.V=yb(this.V,a.va()),a.V.ba=a.ba);var c=a.V.style;c.left=a.z.za.width+"px";c.top=a.z.za.height+"px";a.RN(this)}}},uA:function(){function a(a,b){b.pixel=b.jb=a.jb;b.point=b.point=a.point;return b}function b(a){var b=a.clientX,c=a.clientY;a.changedTouches&&(b=a.changedTouches[0].clientX,c=a.changedTouches[0].clientY);return new Q(b,c)}if(this.V&&!this.V.Ji){this.V.Ji=o;var c=this.map,d=this,e=0,f=0,g=0,i={x:0,y:0};this.As=function(a){if(d.z.Yb&&2!=a.button){d.ml=o;var i= c.bc(d.point),m=b(a);e=m.x-i.x;f=m.y-i.y;g=ab();d.map&&d.map.R&&(d.map.R.Yu=d);x.M(d.map.platform,"mousemove",d.ij);x.M(d.map.platform,"mouseup",d.hj);x.M(d.map.platform,"touchmove",d.ij);x.M(d.map.platform,"touchend",d.hj);d.V&&d.V.setCapture&&d.V.setCapture();d.V.style.cursor=d.z.Fd;"touchstart"==a.type&&na(a)}};this.ij=function(g){if(d.ml&&(g=b(g),i=g=new Q(g.x-e,g.y-f),d.Tz=g,d.z.FN&&15<g.x&&g.x<d.map.width-15&&30<g.y&&g.y<d.map.height-15||!d.z.FN)){var l=d.map.wb(g),m={jb:g,point:l};d.zl=d.Al= 0;if(20>=g.x||g.x>=d.map.width-20||50>=g.y||g.y>=d.map.height-10){if(20>=g.x?d.zl=8:g.x>=d.map.width-20&&(d.zl=-8),50>=g.y?d.Al=8:g.y>=d.map.height-10&&(d.Al=-8),!d.De)d.De=setInterval(function(){c.xg(d.zl,d.Al,{noAnimation:o});var a=c.wb(d.Tz);d.ta(a)},30)}else d.De&&(clearInterval(d.De),d.De=p),d.ta(l);d.el||(d.dispatchEvent(a(m,new O("ondragstart"))),d.el=o,d.z.yN&&(d.$m(3),T.RP(d.z.uj.anchor,d.zc)));d.dispatchEvent(a(m,new O("ondragging")))}};this.hj=function(){d.V&&d.V.releaseCapture&&d.V.releaseCapture(); d.ml=q;d.map&&d.map.R&&(d.map.R.Yu=p);x.bd(document,"mousemove",d.ij);x.bd(document,"mouseup",d.hj);x.bd(document,"touchmove",d.ij);x.bd(document,"touchend",d.hj);e=f=0;d.De&&(clearInterval(d.De),d.De=p);if(100<=ab()-g&&(2<i.x||2<i.y))d.el=q,d.dispatchEvent(a({jb:d.map.bc(d.ha()),point:d.ha()},new O("ondragend"))),d.z.yN&&(d.$m(4),T.FT()),i.x=i.y=0;d.Ml();d.V&&(d.V.style.cursor=d.z.hf?"pointer":"")};x.M(this.V,"mousedown",this.As);x.M(this.V,"touchstart",this.As)}},ta:function(a){a instanceof H&& (this.point=this.z.point=new H(a.lng,a.lat),this.draw())},Ml:function(){var a;this.ml==o?a=T.kG:this.z.rE==o?a=T.Gu+(this.GG||0):Eb(this.zIndex)?a=this.zIndex:(a=0,this.map&&this.ha()&&(a=kc.xm(this.ha().lat)+this.z.WJ));this.V&&(this.V.style.zIndex=a);this.zc&&(this.zc.style.zIndex=a)},yi:function(a,b){this.z.rE=!!a;a&&(this.GG=b||0);this.Ml()},Cc:function(a){this.z.title=a+"";this.V&&(this.V.title=this.z.title)},Ve:function(a){a instanceof N&&(this.z.za=a,this.ta(this.ha()))},$m:function(a){var b= this;I.load("markeranimation",function(){b.ZT(a)},o)},ZT:function(a){if(this.Yc){this.yQ(a!=p);var b=Fc[a];b&&(b=b?b.options.HO:q,!G()||b?this.vR(a):this.uR(a))}},yQ:function(a){this.XG(this.Yc);this.XG(this.cc);if(a){if(this.Ij&&(this.Ij.stop(),this.Ij=p),this.Yc.style.top=this.Yc.style.left="0px",this.cc)this.cc.style.top=this.cc.style.left="0px"}else if(this.Ij){var b=this;ig(this.Ij,function(){b.Ij=p})}},uR:function(a){var b=Fc[a],a=T.MR(a);this.VI(this.Yc,a[0],b);this.VI(this.cc,a[1],b)},XG:function(a){a&& (a.style.WebkitAnimation="",x.bd(a,"webkitAnimationEnd",T.LG))},VI:function(a,b,c){a&&(x.M(a,"webkitAnimationEnd",T.LG),a.style.WebkitAnimation=b+" "+c.options.duration+"ms"+(c.options.loop==tb?" infinite":""))},vR:function(a){var b=this.Yc.style,c=q,d;this.cc&&(c=o,d=this.cc.style);var e=Fc[a],f=this,g=e.Am.length,i=e.options.duration,k=f.Ij=new rb({duration:0,Go:tb}),l=e.Am,m=e.Wt;b.top=l[0].translate[1]+"px";c&&(d.left=m[0].translate[0]+"px",d.top=m[0].translate[1]+"px");for(var n=1;n<g;n++)(function(){function a(){} var b=[l[n].translate[0]-l[n-1].translate[0],l[n].translate[1]-l[n-1].translate[1]],d=[l[n-1].translate[0],l[n-1].translate[1]];if(c)var y=[m[n].translate[0]-m[n-1].translate[0],m[n].translate[1]-m[n-1].translate[1]],C=[m[n-1].translate[0],m[n-1].translate[1]];var A=sb[l[n-1].hc];n==g-1&&(a=e.options.loop!=tb?function(){f.Ij=p}:function(){f.Ij.start()});k.add(new rb({duration:(e.Am[n].ac-l[n-1].ac)*i,Gc:40,Go:tb,jc:A,va:function(a){if(f.Yc)f.Yc.style.top=d[1]+Math.round(a*b[1])+"px";if(c&&f.cc){f.cc.style.left= C[0]+Math.round(a*y[0])+"px";f.cc.style.top=C[1]+Math.round(a*y[1])+"px"}},finish:a}))})();k.start()},Lp:function(a){if(a&&(this.z.rotation=a,this.map&&this.V&&this.zc))try{if(this.Yc){var b=this.Yc.style;b.webkitTransform="rotate("+this.z.rotation+"deg)";b.KY="rotate("+this.z.rotation+"deg)";b.transform="rotate("+this.z.rotation+"deg)";var c=Math.cos(this.z.rotation/180*Math.PI),d=-Math.sin(this.z.rotation/180*Math.PI),e=Math.sin(this.z.rotation/180*Math.PI),f=Math.cos(this.z.rotation/180*Math.PI); b.filter="progid:DXImageTransform.Microsoft.Matrix(sizingMethod=\'auto expand\',M11="+c+",M12= "+d+",M21= "+e+",M22="+f+")";b.MY="progid:DXImageTransform.Microsoft.Matrix(sizingMethod=\'auto expand\',M11="+c+",M12= "+d+",M21= "+e+",M22="+f+")";b.L4="bottom 50%";b.LY="bottom 50%";b.P_="bottom 50%"}this.cc&&(b=this.cc.style,b.webkitTransform="rotate("+this.z.rotation+"deg)",b.KY="rotate("+this.z.rotation+"deg)",b.transform="rotate("+this.z.rotation+"deg)",c=Math.cos(this.z.rotation/180*Math.PI),d=-Math.sin(this.z.rotation/ 180*Math.PI),e=Math.sin(this.z.rotation/180*Math.PI),f=Math.cos(this.z.rotation/180*Math.PI),b.filter="progid:DXImageTransform.Microsoft.Matrix(sizingMethod=\'auto expand\',M11="+c+",M12= "+d+",M21= "+e+",M22="+f+")",b.MY="progid:DXImageTransform.Microsoft.Matrix(sizingMethod=\'auto expand\',M11="+c+",M12= "+d+",M21= "+e+",M22="+f+")",b.C0="bottom 50%",b.LY="bottom 50%",b.P_="bottom 50%")}catch(g){}}}); S(Ze,{setIcon:Ze.Ub,setPosition:Ze.ta,setOffset:Ze.Ve,setLabel:Ze.an,setTitle:Ze.Cc,setTop:Ze.yi,setAnimation:Ze.$m,setShadow:Ze.zy,show:Ze.show,hide:Ze.U,remove:Ze.remove,setRotation:Ze.Lp,getRotation:Ze.zL});function jg(a){var b="",b="",c=a.imageUrl,d=a.imageOffset,e=a.imageSize;6==x.da.la&&0<c.toLowerCase().indexOf(".png")?(b=["<div"],a.printImageUrl&&b.push(\' class="BMap_noprint"\'),b.push(\' style="width: 1px; height: 1px;\'),b.push("; left:"+d.width+"px"),b.push("; top:"+d.height+"px"),b.push("; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=image,src=\'"+c+"\')"),b.push(\'; position:absolute;"></div>\'),a.printImageUrl&&(b.push(\'<img class="BMap_noscreen" style="display: block; border:none;margin-left:\'+ d.width+"px;"),b.push("margin-top:"+d.height+\'px;" src="\'+a.printImageUrl+\'" />\'))):(b=[\'<img src="\',c,\'" style="display: block; border:none;margin-left:\'+d.width+"px","; margin-top:"+d.height+"px","; "],e&&b.push("; width:"+e.width+"px; height:"+e.height+"px;"),b.push(\'" />\'));return b=b.join("")};x.extend(uc.prototype,{Hj:function(){var a=this.z,b=this.content,c=M("label",{"class":"BMapLabel",unselectable:"on"});a.title&&(c.title=a.title);var d=c.style;d.position="absolute";d.MozUserSelect="none";0==a.width||"auto"==a.width?d.display="inline":(d.width=a.width+"px",d.display="block",d.overflow="hidden");"true"==a.hf?d.cursor="pointer":x.da.la||(d.cursor="inherit");c.innerHTML=b;this.map.Rf().wE.appendChild(c);this.V=c;this.Ld(a.Rp);return c},ta:function(a){a instanceof H&&!this.ox()&&(this.point= this.z.position=new H(a.lng,a.lat),this.draw())},draw:function(){if(this.V&&this.ha()&&!this.ox()){var a=this.z.za||new N(0,0),b=this.map.Te(this.ha());this.V.style.left=b.x+a.width+"px";this.V.style.top=b.y+a.height+"px";this.Ml()}},yb:function(){this.map&&!this.qv&&(this.V=this.initialize(this.map),this.draw())},ad:function(a){this.content=a;this.V&&(this.V.innerHTML=a)},sF:function(a){0<=a&&1>=a&&(this.z.opacity=a);if(this.V){var b=this.V.style;b.opacity=a;b.filter="alpha(opacity="+100*a+")"}}, Ve:function(a){a instanceof N&&(this.z.za=new N(a.width,a.height),this.ox()&&this.V?(this.V.style.left=a.width+"px",this.V.style.top=a.height+"px"):this.draw())},Ld:function(a){a=a||{};this.z.Rp=x.extend(this.z.Rp,a);if(this.V)for(var b in a)try{this.V.style[b]=a[b]}catch(c){}},Cc:function(a){this.z.title=a+"";this.V&&(this.V.title=this.z.title)}});S($e,{setStyle:$e.Ld,setContent:$e.ad,setPosition:$e.ta,setOffset:$e.Ve,setTitle:$e.Cc}); ');
_jsload2&&_jsload2('copyrightctrl', 'x.extend(Yb.prototype,{xf:function(){this.C&&this.Ee(this.C)},initialize:function(a){Tb.prototype.initialize.call(this,a);this.Aa();this.oo();this.ca(a);return this.B},ca:function(a){var b=this;a.addEventListener("load",function(){b.oo()});a.addEventListener("moveend",function(){b.oo()});a.addEventListener("zoomend",function(){b.oo()});a.addEventListener("maptypechange",function(){b.B&&(b.B.style.color=b.C.pa().vm())})},Aa:function(){Tb.prototype.Aa.call(this);x.D.Ua(this.B,"BMap_cpyCtrl");var a= this.B.style;a.cursor="default";a.whiteSpace="nowrap";a.MozUserSelect="none";a.color=this.C.pa().vm();a.background="none";a.font="11px/15px "+E.fontFamily;Tb.prototype.Ir.call(this)},oo:function(){if(this.C&&this.B&&0!=this.dc.length)for(var a=0,b=this.dc.length;a<b;a++){this.C.fa();var c=this.C.wb({x:0,y:0}),d=this.C.wb({x:this.C.width,y:this.C.height}),c=new eb(c,d);if(this.dc[a].bounds&&c.gt(this.dc[a].bounds)==p){if(this.B)for(d=0;d<this.B.children.length;d++)if(this.B.children[d].getAttribute("_cid")== this.dc[a].id&&"none"!=this.B.children[d].style.display){this.B.children[d].style.display="none";return}}else if(this.B){for(var c=q,d=0,e=this.B.children.length;d<e;d++)if(this.B.children[d].getAttribute("_cid")==this.dc[a].id){c=o;this.B.children[d].style.display="inline";this.B.children[d].innerHTML!=this.dc[a].content&&(this.B.children[d].innerHTML=this.dc[a].content);break}c||this.Pq(this.dc[a])}}},nw:function(a){if(a&&Xa(a.id)&&!isNaN(a.id)){var b={bounds:p,content:""},c;for(c in a)b[c]=a[c]; if(a=this.nm(a.id))for(var d in b)a[d]=b[d];else this.dc.push(b);this.oo()}},nm:function(a){for(var b=0,c=this.dc.length;b<c;b++)if(this.dc[b].id==a)return this.dc[b]},DD:u("dc"),$E:function(a){for(var b,c=0,d=this.dc.length;c<d;c++)this.dc[c].id==a&&(b=this.dc.splice(c,1),c--,d=this.dc.length);(a=this.Id(a))&&a.parentNode&&a.parentNode.removeChild(a);this.oo();return b},Pq:function(a){this.B&&(this.B.innerHTML+="<span _cid=\'"+a.id+"\'>"+a.content+"</span>")},Id:function(a){var b=Tb.prototype.Id.call(this); if(Eb(a)){if(b)for(var c=0,d=b.children.length;c<d;c++)if(b.children[c].getAttribute("_cid")==a)return b.children[c]}else return b}});S(lf,{addCopyright:lf.nw,removeCopyright:lf.$E,getCopyright:lf.nm,getCopyrightCollection:lf.DD}); ');
_jsload2&&_jsload2('citylistcontrol', 'x.object.extend(Zb.prototype,{xf:function(){this.C&&this.Ee(this.C)},initialize:function(a){var b=this;if(this.pV&&!this.tQ(a))return p;Tb.prototype.initialize.call(this,a);Tb.prototype.Aa.call(this);this.tL(function(){b.yb();Tb.prototype.Ir.call(b);b.ca(a)});return this.B},yb:function(){var a=this.Cq=M("div",{"class":"ui_city_change"}),b=this.k.anchor,c="",d=q;switch(b){case Ub:c="float: left";break;case Vb:c="float: right";break;case Wb:c="float: left";d=o;break;case 3:c="float: right",d=o}a.innerHTML= \'<a href="javascript:void(0)" onclick="return false" class="ui_city_change_inner" style="\'+c+\'"><span id="cur_city_name" class="cur_city_name">\'+this.C.Yg+"</span><i><em></em></i></a>";a.style.position="relative";a.style.height="26px";d||(x.D.Ua(a,"ui_city_change_top"),this.B.appendChild(a));c=this.Jj=M("div",{"class":"citylist_popup_main"});yb(c,\'<div class="citylist_ctr_title">\\u57ce\\u5e02\\u5217\\u8868</div>\');var e=M("div",{"class":"citylist_ctr_content"}),f=M("div",{"class":"city_content_top"}); f.innerHTML=\'<p class="cur_city_info">\\u5f53\\u524d\\u57ce\\u5e02\\uff1a<span id="cur_city_spn">\'+this.C.Yg+"</span</p>";yb(f,\'<form id="city_ctrl_form" onsubmit="Instance("\'+this.ba+\'").search(this);return false"><input type="text" class="sel_city_input" id="selCityWd" name="wd" placeholder="\\u8bf7\\u8f93\\u5165\\u57ce\\u5e02\\u540d" autocomplete="off"><span id="selCitySubmit">\\u641c\\u7d22</span><div id="selCityTip" style="display:none;height:20px;line-height:20px;color:#AE6842;border:1px solid #E8AA6C;background:#FEFAF1;width:121px;text-align:center">\\u8bf7\\u8f93\\u5165\\u6b63\\u786e\\u7684\\u57ce\\u5e02</div></form>\'); e.appendChild(f);f=M("div",{"class":"city_content_medium"});yb(f,\'<div id="hot_city_ids" class="sel_city_hotcity">\'+this.HR()+"</div>"+(\'<div id="sel_city_letter_list" class="sel_city_letterbar">\'+this.GR()+"</div>"));e.appendChild(f);f=M("div",{"class":"city_content_bottom",id:"city_detail_tpl"});f.innerHTML=this.FR();e.appendChild(f);c.appendChild(e);e=this.zf=M("button",{id:"popup_close"});c.appendChild(e);this.k.expand?this.Pp(o):this.Pp(q);if(b==Vb||3==b)c.style.left="-2px";this.B.appendChild(c); d&&(x.D.Ua(a,"ui_city_change_bottom"),this.B.appendChild(a));x.D.Ua(this.B,"BMap_CityListCtrl")},tQ:function(a){return a.width&&400<a.width&&a.height&&350<a.height?o:q},ca:function(){function a(a){oa(a);var b=(d.eI.clientHeight||d.eI.offsetHeight)-((d.Ng.clientHeight||d.Ng.offsetHeight)-20);0<(0<(Math.ceil(a.wheelDelta/120)||-a.detail/3)?1:-1)?(d.Ng.scrollTop-=60,0>=d.Ng.scrollTop&&(d.Ng.scrollTop=0)):(d.Ng.scrollTop+=60,d.Ng.scrollTop>=b&&(d.Ng.scrollTop=b))}function b(){d.zU()}function c(a,b){var a= a||window.event,c=(a.target||a.srcElement).getAttribute("name");na(a);var f=o;switch(b){case "cityHotIds":for(var g=0;g<e.length;g++)e[g]&&e[g]();d.aC(c);break;case "cityLetters":"other"==c&&(c="Z");c=x.$("ctr_tr_"+c);d.Ng.scrollTop=c.offsetTop;f=q;break;case "cityName":for(g=0;g<e.length;g++)e[g]&&e[g]();d.aC(c)}f&&setTimeout(function(){d.Pp(q)},200)}var d=this,e=d.onChangeBefore||[];if(d.B){var f=d.Cq,g=d.zf,i=x.$("hot_city_ids"),k=x.$("sel_city_letter_list"),l=x.$("city_detail_table"),m=x.$("cur_city_name"), n=x.$("cur_city_spn");Pb(c,i,"cityHotIds");Pb(c,k,"cityLetters");Pb(c,l,"cityName");x.M(f,"click",b);x.M(g,"click",function(){d.Pp(q)});d.C.addEventListener("citychange",function(){d.tL(function(){d.ej=d.C.Yg;"\\u4e2d\\u56fd"==d.C.Yg&&(d.ej="\\u5168\\u56fd");d.I1=d.C.Zr;m.innerHTML=d.ej;n.innerHTML=d.ej})});x.M(d.Jj,"mousewheel",function(a){oa(a)});window.addEventListener&&d.Jj.addEventListener("DOMMouseScroll",function(a){oa(a)},q);f=d.Ng=x.$("city_detail_tpl");d.eI=x.$("city_detail_table");x.M(f,"mousewheel", a);window.addEventListener&&f.addEventListener("DOMMouseScroll",a,q);var t=new Ld({input:"selCityWd",types:"city"});x.$("selCitySubmit").addEventListener("click",function(a){oa(a);for(a=0;a<e.length;a++)e[a]&&e[a]();t.U();a=x.$("selCityWd").value;0<a.length&&20>a.length?(a=a.replace(/(\\s)/g,"").replace(/</g,"&lt;").replace(/>/g,"&gt;"),d.aC(a,o)):x.$("selCityTip").style.display="block"});x.M(d.Jj,"click",function(){x.$("selCityTip").style.display="none"})}},HR:function(){for(var a="\\u5168\\u56fd \\u5317\\u4eac \\u4e0a\\u6d77 \\u5e7f\\u5dde \\u6df1\\u5733 \\u6210\\u90fd \\u5929\\u6d25 \\u5357\\u4eac \\u6b66\\u6c49 \\u676d\\u5dde \\u91cd\\u5e86".split(" "), b="",c="",d=0;d<a.length;d++)0==d&&(c="font-weight:bold"),b+=\'<a href="javascript:void(0)" filter="cityHotIds" name="\'+a[d]+\'" style="margin-right:7px;*margin-right:1px;\'+c+\'">\'+a[d]+"</a>",c="";return b},GR:function(){for(var a="A F G H J L N Q S T X Y Z \\u5176\\u4ed6".split(" "),b="",c="",d=0;d<a.length;d++)c=d==a.length-1?"other":a[d],b+=\'<a href="javascript:void(0)" filter="cityLetters" name="\'+c+\'">\'+a[d]+"</a>";return b},FR:function(){var a={A:{"\\u5b89\\u5fbd":"\\u5408\\u80a5 \\u5b89\\u5e86 \\u868c\\u57e0 \\u4eb3\\u5dde \\u5de2\\u6e56 \\u6c60\\u5dde \\u6ec1\\u5dde \\u961c\\u9633 \\u6dee\\u5317 \\u9ec4\\u5c71 \\u516d\\u5b89 \\u9a6c\\u978d\\u5c71 \\u5bbf\\u5dde \\u94dc\\u9675 \\u829c\\u6e56 \\u5ba3\\u57ce".split(" ")}, F:{"\\u798f\\u5efa":"\\u798f\\u5dde \\u9f99\\u5ca9 \\u5357\\u5e73 \\u5b81\\u5fb7 \\u8386\\u7530 \\u6cc9\\u5dde \\u4e09\\u660e \\u53a6\\u95e8 \\u6f33\\u5dde".split(" ")},G:{"\\u5e7f\\u4e1c":"\\u5e7f\\u5dde \\u6f6e\\u5dde \\u4e1c\\u839e \\u4f5b\\u5c71 \\u6cb3\\u6e90 \\u60e0\\u5dde \\u6c5f\\u95e8 \\u63ed\\u9633 \\u8302\\u540d \\u6885\\u5dde \\u6e05\\u8fdc \\u6c55\\u5934 \\u6c55\\u5c3e \\u97f6\\u5173 \\u6df1\\u5733 \\u9633\\u6c5f \\u4e91\\u6d6e \\u6e5b\\u6c5f \\u8087\\u5e86 \\u4e2d\\u5c71 \\u73e0\\u6d77".split(" "),"\\u5e7f\\u897f":"\\u5357\\u5b81 \\u767e\\u8272 \\u5317\\u6d77 \\u5d07\\u5de6 \\u9632\\u57ce\\u6e2f \\u6842\\u6797 \\u8d35\\u6e2f \\u6cb3\\u6c60 \\u8d3a\\u5dde \\u6765\\u5bbe \\u67f3\\u5dde \\u94a6\\u5dde \\u68a7\\u5dde \\u7389\\u6797".split(" "), "\\u8d35\\u5dde":"\\u8d35\\u9633 \\u5b89\\u987a \\u6bd5\\u8282\\u5730\\u533a \\u516d\\u76d8\\u6c34 \\u94dc\\u4ec1\\u5730\\u533a \\u9075\\u4e49 \\u9ed4\\u897f\\u5357\\u5dde \\u9ed4\\u4e1c\\u5357\\u5dde \\u9ed4\\u5357\\u5dde".split(" "),"\\u7518\\u8083":"\\u5170\\u5dde \\u767d\\u94f6 \\u5b9a\\u897f \\u7518\\u5357\\u5dde \\u5609\\u5cea\\u5173 \\u91d1\\u660c \\u9152\\u6cc9 \\u4e34\\u590f\\u5dde \\u9647\\u5357 \\u5e73\\u51c9 \\u5e86\\u9633 \\u5929\\u6c34 \\u6b66\\u5a01 \\u5f20\\u6396".split(" ")},H:{"\\u6d77\\u5357":"\\u6d77\\u53e3 \\u767d\\u6c99\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4fdd\\u4ead\\u9ece\\u65cf\\u82d7\\u65cf\\u81ea\\u6cbb\\u53bf \\u660c\\u6c5f\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u510b\\u5dde \\u6f84\\u8fc8 \\u4e1c\\u65b9 \\u5b9a\\u5b89 \\u743c\\u6d77 \\u743c\\u4e2d\\u9ece\\u65cf\\u82d7\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e50\\u4e1c\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e34\\u9ad8 \\u9675\\u6c34\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e09\\u4e9a \\u5c6f\\u660c \\u4e07\\u5b81 \\u6587\\u660c \\u4e94\\u6307\\u5c71".split(" "), "\\u6cb3\\u5357":"\\u90d1\\u5dde \\u5b89\\u9633 \\u9e64\\u58c1 \\u7126\\u4f5c \\u5f00\\u5c01 \\u6d1b\\u9633 \\u6f2f\\u6cb3 \\u5357\\u9633 \\u5e73\\u9876\\u5c71 \\u6fee\\u9633 \\u4e09\\u95e8\\u5ce1 \\u5546\\u4e18 \\u65b0\\u4e61 \\u4fe1\\u9633 \\u8bb8\\u660c \\u5468\\u53e3 \\u9a7b\\u9a6c\\u5e97".split(" "),"\\u9ed1\\u9f99\\u6c5f":"\\u54c8\\u5c14\\u6ee8 \\u5927\\u5e86 \\u5927\\u5174\\u5b89\\u5cad\\u5730\\u533a \\u9e64\\u5c97 \\u9ed1\\u6cb3 \\u9e21\\u897f \\u4f73\\u6728\\u65af \\u7261\\u4e39\\u6c5f \\u4e03\\u53f0\\u6cb3 \\u9f50\\u9f50\\u54c8\\u5c14 \\u53cc\\u9e2d\\u5c71 \\u7ee5\\u5316 \\u4f0a\\u6625".split(" "), "\\u6e56\\u5317":"\\u6b66\\u6c49 \\u9102\\u5dde \\u6069\\u65bd \\u9ec4\\u5188 \\u9ec4\\u77f3 \\u8346\\u95e8 \\u8346\\u5dde \\u6f5c\\u6c5f \\u795e\\u519c\\u67b6\\u5730\\u533a \\u5341\\u5830 \\u968f\\u5dde \\u5929\\u95e8 \\u4ed9\\u6843 \\u54b8\\u5b81 \\u8944\\u9633 \\u5b5d\\u611f \\u5b9c\\u660c".split(" "),"\\u6e56\\u5357":"\\u957f\\u6c99 \\u5e38\\u5fb7 \\u90f4\\u5dde \\u8861\\u9633 \\u6000\\u5316 \\u5a04\\u5e95 \\u90b5\\u9633 \\u6e58\\u6f6d \\u6e58\\u897f\\u5dde \\u76ca\\u9633 \\u6c38\\u5dde \\u5cb3\\u9633 \\u5f20\\u5bb6\\u754c \\u682a\\u6d32".split(" "),"\\u6cb3\\u5317":"\\u77f3\\u5bb6\\u5e84 \\u4fdd\\u5b9a \\u6ca7\\u5dde \\u627f\\u5fb7 \\u90af\\u90f8 \\u8861\\u6c34 \\u5eca\\u574a \\u79e6\\u7687\\u5c9b \\u5510\\u5c71 \\u90a2\\u53f0 \\u5f20\\u5bb6\\u53e3".split(" ")}, J:{"\\u6c5f\\u82cf":"\\u5357\\u4eac \\u5e38\\u5dde \\u6dee\\u5b89 \\u8fde\\u4e91\\u6e2f \\u5357\\u901a \\u82cf\\u5dde \\u5bbf\\u8fc1 \\u6cf0\\u5dde \\u65e0\\u9521 \\u5f90\\u5dde \\u76d0\\u57ce \\u626c\\u5dde \\u9547\\u6c5f".split(" "),"\\u6c5f\\u897f":"\\u5357\\u660c \\u629a\\u5dde \\u8d63\\u5dde \\u5409\\u5b89 \\u666f\\u5fb7\\u9547 \\u4e5d\\u6c5f \\u840d\\u4e61 \\u4e0a\\u9976 \\u65b0\\u4f59 \\u5b9c\\u6625 \\u9e70\\u6f6d".split(" "),"\\u5409\\u6797":"\\u957f\\u6625 \\u767d\\u57ce \\u767d\\u5c71 \\u5409\\u6797\\u5e02 \\u8fbd\\u6e90 \\u56db\\u5e73 \\u677e\\u539f \\u901a\\u5316 \\u5ef6\\u8fb9".split(" ")}, L:{"\\u8fbd\\u5b81":"\\u6c88\\u9633 \\u978d\\u5c71 \\u672c\\u6eaa \\u671d\\u9633 \\u5927\\u8fde \\u4e39\\u4e1c \\u629a\\u987a \\u961c\\u65b0 \\u846b\\u82a6\\u5c9b \\u9526\\u5dde \\u8fbd\\u9633 \\u76d8\\u9526 \\u94c1\\u5cad \\u8425\\u53e3".split(" ")},N:{"\\u5b81\\u590f":["\\u94f6\\u5ddd","\\u56fa\\u539f","\\u77f3\\u5634\\u5c71","\\u5434\\u5fe0","\\u4e2d\\u536b"],"\\u5185\\u8499\\u53e4":"\\u547c\\u548c\\u6d69\\u7279 \\u963f\\u62c9\\u5584\\u76df \\u5305\\u5934 \\u5df4\\u5f66\\u6dd6\\u5c14 \\u8d64\\u5cf0 \\u9102\\u5c14\\u591a\\u65af \\u547c\\u4f26\\u8d1d\\u5c14 \\u901a\\u8fbd \\u4e4c\\u6d77 \\u4e4c\\u5170\\u5bdf\\u5e03 \\u9521\\u6797\\u90ed\\u52d2\\u76df \\u5174\\u5b89\\u76df".split(" ")}, Q:{"\\u9752\\u6d77":"\\u897f\\u5b81 \\u679c\\u6d1b\\u5dde \\u6d77\\u4e1c\\u5730\\u533a \\u6d77\\u5317\\u5dde \\u6d77\\u5357\\u5dde \\u6d77\\u897f\\u5dde \\u9ec4\\u5357\\u5dde \\u7389\\u6811\\u5dde".split(" ")},S:{"\\u5c71\\u4e1c":"\\u6d4e\\u5357 \\u6ee8\\u5dde \\u4e1c\\u8425 \\u5fb7\\u5dde \\u83cf\\u6cfd \\u6d4e\\u5b81 \\u83b1\\u829c \\u804a\\u57ce \\u4e34\\u6c82 \\u9752\\u5c9b \\u65e5\\u7167 \\u6cf0\\u5b89 \\u5a01\\u6d77 \\u6f4d\\u574a \\u70df\\u53f0 \\u67a3\\u5e84 \\u6dc4\\u535a".split(" "),"\\u5c71\\u897f":"\\u592a\\u539f \\u957f\\u6cbb \\u5927\\u540c \\u664b\\u57ce \\u664b\\u4e2d \\u4e34\\u6c7e \\u5415\\u6881 \\u6714\\u5dde \\u5ffb\\u5dde \\u9633\\u6cc9 \\u8fd0\\u57ce".split(" "), "\\u9655\\u897f":"\\u897f\\u5b89 \\u5b89\\u5eb7 \\u5b9d\\u9e21 \\u6c49\\u4e2d \\u5546\\u6d1b \\u94dc\\u5ddd \\u6e2d\\u5357 \\u54b8\\u9633 \\u5ef6\\u5b89 \\u6986\\u6797".split(" "),"\\u56db\\u5ddd":"\\u6210\\u90fd \\u963f\\u575d\\u5dde \\u5df4\\u4e2d \\u8fbe\\u5dde \\u5fb7\\u9633 \\u7518\\u5b5c\\u5dde \\u5e7f\\u5b89 \\u5e7f\\u5143 \\u4e50\\u5c71 \\u51c9\\u5c71\\u5dde \\u6cf8\\u5dde \\u5357\\u5145 \\u7709\\u5c71 \\u7ef5\\u9633 \\u5185\\u6c5f \\u6500\\u679d\\u82b1 \\u9042\\u5b81 \\u96c5\\u5b89 \\u5b9c\\u5bbe \\u8d44\\u9633 \\u81ea\\u8d21".split(" ")},T:{"\\u53f0\\u6e7e":"\\u53f0\\u5317 \\u9ad8\\u96c4 \\u53f0\\u4e2d \\u53f0\\u5357 \\u65b0\\u5317 \\u57fa\\u9686 \\u65b0\\u7af9 \\u5609\\u4e49".split(" ")}, X:{"\\u897f\\u85cf":"\\u62c9\\u8428 \\u963f\\u91cc\\u5730\\u533a \\u660c\\u90fd\\u5730\\u533a \\u6797\\u829d\\u5730\\u533a \\u90a3\\u66f2\\u5730\\u533a \\u65e5\\u5580\\u5219\\u5730\\u533a \\u5c71\\u5357\\u5730\\u533a".split(" "),"\\u65b0\\u7586":"\\u4e4c\\u9c81\\u6728\\u9f50 \\u963f\\u62c9\\u5c14 \\u963f\\u514b\\u82cf\\u5730\\u533a \\u963f\\u52d2\\u6cf0\\u5730\\u533a \\u5df4\\u97f3\\u90ed\\u695e\\u8499\\u53e4\\u81ea\\u6cbb\\u5dde \\u535a\\u5c14\\u5854\\u62c9\\u5dde \\u660c\\u5409\\u5dde \\u54c8\\u5bc6\\u5730\\u533a \\u548c\\u7530\\u5730\\u533a \\u5580\\u4ec0\\u5730\\u533a \\u514b\\u62c9\\u739b\\u4f9d \\u514b\\u5b5c\\u52d2\\u82cf\\u5dde \\u77f3\\u6cb3\\u5b50 \\u5854\\u57ce\\u5730\\u533a \\u56fe\\u6728\\u8212\\u514b \\u5410\\u9c81\\u756a\\u5730\\u533a \\u4e94\\u5bb6\\u6e20 \\u4f0a\\u7281\\u5dde".split(" ")}, Y:{"\\u4e91\\u5357":"\\u6606\\u660e \\u4fdd\\u5c71 \\u695a\\u96c4\\u5dde \\u5927\\u7406\\u5dde \\u5fb7\\u5b8f\\u5dde \\u8fea\\u5e86\\u5dde \\u7ea2\\u6cb3\\u5dde \\u4e3d\\u6c5f \\u4e34\\u6ca7 \\u6012\\u6c5f\\u5dde \\u666e\\u6d31 \\u66f2\\u9756 \\u662d\\u901a \\u6587\\u5c71 \\u897f\\u53cc\\u7248\\u7eb3\\u50a3\\u65cf\\u81ea\\u6cbb\\u5dde \\u7389\\u6eaa".split(" ")},Z:{"\\u6d59\\u6c5f":"\\u676d\\u5dde \\u6e56\\u5dde \\u5609\\u5174 \\u91d1\\u534e \\u4e3d\\u6c34 \\u5b81\\u6ce2 \\u8862\\u5dde \\u7ecd\\u5174 \\u53f0\\u5dde \\u6e29\\u5dde \\u821f\\u5c71".split(" ")},"\\u5176\\u4ed6":["\\u9999\\u6e2f", "\\u6fb3\\u95e8"]},b=\'<table id="city_detail_table" style="border-collapse:collapse;border-spacing:0" cellpadding="0" cellspacing="0">\',c;for(c in a){var d=q;if("\\u5176\\u4ed6"==c){b+=\'<tr><td class="sel_city_letter"><div></div></td>\';b+=\'<td class="sel_city_other sel_city_sf"><a href="javascript:void(0)" class="sel_city_name">\'+c+"</a></td>";b+=\'<td><div class="bmap-clearfix city_names_wrap">\';for(d=0;d<a[c].length;d++)b+=\'<a class="sel_city_name" href="javascript:void(0)" filter="cityName" name="\'+ a[c][d]+\'">\'+a[c][d]+"</a>";b+="</div></td></tr>"}else for(var e in a[c]){d?b+=\'<tr><td class="sel_city_letter"><div></div></td>\':(b+=\'<tr id="ctr_tr_\'+c+\'"><td class="sel_city_letter"><div>\'+c+"</div></td>",d=o);for(var b=b+(\'<td class="sel_city_sf"><a href="javascript:void(0)" filter="cityName" name="\'+e+\'">\'+e+":</a></td>"),b=b+\'<td><div class="bmap-clearfix city_names_wrap">\',f=a[c][e],g=0;g<f.length;g++)b+=\'<a class="sel_city_name" href="javascript:void(0)" filter="cityName" name="\'+a[c][e][g]+ \'">\'+a[c][e][g]+"</a>";b+="</div></td></tr>"}}return b+"</table>"},Pp:function(a){this.Jj&&(a?this.Jj.style.display="block":this.Jj.style.display="none",a?this.B.style.width="400px":(this.B.style.width="auto",this.B.style.height="auto"));this.Cq&&(a?x.D.Ua(this.Cq,"ui_city_change_click"):x.D.Sb(this.Cq,"ui_city_change_click"))},aC:function(a,b){var c=this;if(c.B&&c.Cq){var d=x.$("cur_city_name"),e=x.$("cur_city_spn");dd.bb(function(a){var g=c.onChangeAfter||[],i=c.onChangeSuccess||[];setTimeout(function(){for(var a= 0;a<g.length;a++)g[a]&&g[a]()},300);if(a&&a.result&&2==a.result.type)if(a.content.hasOwnProperty("error")||0<a.err_msg.length)b&&(x.$("selCityTip").style.display="block");else{var k=a.content;if(k){var l={title:k.cname||"",uid:k.uid||"",point:P.vb(k.geo,o).point||"",city:k.cname||"",code:k.code||"",level:k.level||c.C.fa()},k=l.point,m=P.bx(l.level,c.C);isNaN(m)&&(m=c.C.fa());1==a.content.code&&(m=5);b&&setTimeout(function(){c.Pp(q)},200);c.C.Dd(k,m);d.innerHTML=l.city;e.innerHTML=l.city;for(a=0;a< i.length;a++)i[a]&&i[a](l)}}},{qt:"cur",wd:a,dtype:1})}},zU:function(){this.Jj&&this.Pp("none"==this.Jj.style.display)},z2:function(){return"\\u5168\\u56fd \\u5317\\u4eac \\u4e0a\\u6d77 \\u5e7f\\u5dde \\u6df1\\u5733 \\u6210\\u90fd \\u5929\\u6d25 \\u5357\\u4eac \\u6b66\\u6c49 \\u676d\\u5dde \\u91cd\\u5e86".split(" ")},o2:function(){return{A:{"\\u5b89\\u5fbd":"\\u5408\\u80a5 \\u5b89\\u5e86 \\u868c\\u57e0 \\u4eb3\\u5dde \\u5de2\\u6e56 \\u6c60\\u5dde \\u6ec1\\u5dde \\u961c\\u9633 \\u6dee\\u5317 \\u9ec4\\u5c71 \\u516d\\u5b89 \\u9a6c\\u978d\\u5c71 \\u5bbf\\u5dde \\u94dc\\u9675 \\u829c\\u6e56 \\u5ba3\\u57ce".split(" ")}, F:{"\\u798f\\u5efa":"\\u798f\\u5dde \\u9f99\\u5ca9 \\u5357\\u5e73 \\u5b81\\u5fb7 \\u8386\\u7530 \\u6cc9\\u5dde \\u4e09\\u660e \\u53a6\\u95e8 \\u6f33\\u5dde".split(" ")},G:{"\\u5e7f\\u4e1c":"\\u5e7f\\u5dde \\u6f6e\\u5dde \\u4e1c\\u839e \\u4f5b\\u5c71 \\u6cb3\\u6e90 \\u60e0\\u5dde \\u6c5f\\u95e8 \\u63ed\\u9633 \\u8302\\u540d \\u6885\\u5dde \\u6e05\\u8fdc \\u6c55\\u5934 \\u6c55\\u5c3e \\u97f6\\u5173 \\u6df1\\u5733 \\u9633\\u6c5f \\u4e91\\u6d6e \\u6e5b\\u6c5f \\u8087\\u5e86 \\u4e2d\\u5c71 \\u73e0\\u6d77".split(" "),"\\u5e7f\\u897f":"\\u5357\\u5b81 \\u767e\\u8272 \\u5317\\u6d77 \\u5d07\\u5de6 \\u9632\\u57ce\\u6e2f \\u6842\\u6797 \\u8d35\\u6e2f \\u6cb3\\u6c60 \\u8d3a\\u5dde \\u6765\\u5bbe \\u67f3\\u5dde \\u94a6\\u5dde \\u68a7\\u5dde \\u7389\\u6797".split(" "), "\\u8d35\\u5dde":"\\u8d35\\u9633 \\u5b89\\u987a \\u6bd5\\u8282\\u5730\\u533a \\u516d\\u76d8\\u6c34 \\u94dc\\u4ec1\\u5730\\u533a \\u9075\\u4e49 \\u9ed4\\u897f\\u5357\\u5dde \\u9ed4\\u4e1c\\u5357\\u5dde \\u9ed4\\u5357\\u5dde".split(" "),"\\u7518\\u8083":"\\u5170\\u5dde \\u767d\\u94f6 \\u5b9a\\u897f \\u7518\\u5357\\u5dde \\u5609\\u5cea\\u5173 \\u91d1\\u660c \\u9152\\u6cc9 \\u4e34\\u590f\\u5dde \\u9647\\u5357 \\u5e73\\u51c9 \\u5e86\\u9633 \\u5929\\u6c34 \\u6b66\\u5a01 \\u5f20\\u6396".split(" ")},H:{"\\u6d77\\u5357":"\\u6d77\\u53e3 \\u767d\\u6c99\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4fdd\\u4ead\\u9ece\\u65cf\\u82d7\\u65cf\\u81ea\\u6cbb\\u53bf \\u660c\\u6c5f\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u510b\\u5dde \\u6f84\\u8fc8 \\u4e1c\\u65b9 \\u5b9a\\u5b89 \\u743c\\u6d77 \\u743c\\u4e2d\\u9ece\\u65cf\\u82d7\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e50\\u4e1c\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e34\\u9ad8 \\u9675\\u6c34\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e09\\u4e9a \\u5c6f\\u660c \\u4e07\\u5b81 \\u6587\\u660c \\u4e94\\u6307\\u5c71".split(" "), "\\u6cb3\\u5357":"\\u90d1\\u5dde \\u5b89\\u9633 \\u9e64\\u58c1 \\u7126\\u4f5c \\u5f00\\u5c01 \\u6d1b\\u9633 \\u6f2f\\u6cb3 \\u5357\\u9633 \\u5e73\\u9876\\u5c71 \\u6fee\\u9633 \\u4e09\\u95e8\\u5ce1 \\u5546\\u4e18 \\u65b0\\u4e61 \\u4fe1\\u9633 \\u8bb8\\u660c \\u5468\\u53e3 \\u9a7b\\u9a6c\\u5e97".split(" "),"\\u9ed1\\u9f99\\u6c5f":"\\u54c8\\u5c14\\u6ee8 \\u5927\\u5e86 \\u5927\\u5174\\u5b89\\u5cad\\u5730\\u533a \\u9e64\\u5c97 \\u9ed1\\u6cb3 \\u9e21\\u897f \\u4f73\\u6728\\u65af \\u7261\\u4e39\\u6c5f \\u4e03\\u53f0\\u6cb3 \\u9f50\\u9f50\\u54c8\\u5c14 \\u53cc\\u9e2d\\u5c71 \\u7ee5\\u5316 \\u4f0a\\u6625".split(" "), "\\u6e56\\u5317":"\\u6b66\\u6c49 \\u9102\\u5dde \\u6069\\u65bd \\u9ec4\\u5188 \\u9ec4\\u77f3 \\u8346\\u95e8 \\u8346\\u5dde \\u6f5c\\u6c5f \\u795e\\u519c\\u67b6\\u5730\\u533a \\u5341\\u5830 \\u968f\\u5dde \\u5929\\u95e8 \\u4ed9\\u6843 \\u54b8\\u5b81 \\u8944\\u9633 \\u5b5d\\u611f \\u5b9c\\u660c".split(" "),"\\u6e56\\u5357":"\\u957f\\u6c99 \\u5e38\\u5fb7 \\u90f4\\u5dde \\u8861\\u9633 \\u6000\\u5316 \\u5a04\\u5e95 \\u90b5\\u9633 \\u6e58\\u6f6d \\u6e58\\u897f\\u5dde \\u76ca\\u9633 \\u6c38\\u5dde \\u5cb3\\u9633 \\u5f20\\u5bb6\\u754c \\u682a\\u6d32".split(" "),"\\u6cb3\\u5317":"\\u77f3\\u5bb6\\u5e84 \\u4fdd\\u5b9a \\u6ca7\\u5dde \\u627f\\u5fb7 \\u90af\\u90f8 \\u8861\\u6c34 \\u5eca\\u574a \\u79e6\\u7687\\u5c9b \\u5510\\u5c71 \\u90a2\\u53f0 \\u5f20\\u5bb6\\u53e3".split(" ")}, J:{"\\u6c5f\\u82cf":"\\u5357\\u4eac \\u5e38\\u5dde \\u6dee\\u5b89 \\u8fde\\u4e91\\u6e2f \\u5357\\u901a \\u82cf\\u5dde \\u5bbf\\u8fc1 \\u6cf0\\u5dde \\u65e0\\u9521 \\u5f90\\u5dde \\u76d0\\u57ce \\u626c\\u5dde \\u9547\\u6c5f".split(" "),"\\u6c5f\\u897f":"\\u5357\\u660c \\u629a\\u5dde \\u8d63\\u5dde \\u5409\\u5b89 \\u666f\\u5fb7\\u9547 \\u4e5d\\u6c5f \\u840d\\u4e61 \\u4e0a\\u9976 \\u65b0\\u4f59 \\u5b9c\\u6625 \\u9e70\\u6f6d".split(" "),"\\u5409\\u6797":"\\u957f\\u6625 \\u767d\\u57ce \\u767d\\u5c71 \\u5409\\u6797\\u5e02 \\u8fbd\\u6e90 \\u56db\\u5e73 \\u677e\\u539f \\u901a\\u5316 \\u5ef6\\u8fb9".split(" ")}, L:{"\\u8fbd\\u5b81":"\\u6c88\\u9633 \\u978d\\u5c71 \\u672c\\u6eaa \\u671d\\u9633 \\u5927\\u8fde \\u4e39\\u4e1c \\u629a\\u987a \\u961c\\u65b0 \\u846b\\u82a6\\u5c9b \\u9526\\u5dde \\u8fbd\\u9633 \\u76d8\\u9526 \\u94c1\\u5cad \\u8425\\u53e3".split(" ")},N:{"\\u5b81\\u590f":["\\u94f6\\u5ddd","\\u56fa\\u539f","\\u77f3\\u5634\\u5c71","\\u5434\\u5fe0","\\u4e2d\\u536b"],"\\u5185\\u8499\\u53e4":"\\u547c\\u548c\\u6d69\\u7279 \\u963f\\u62c9\\u5584\\u76df \\u5305\\u5934 \\u5df4\\u5f66\\u6dd6\\u5c14 \\u8d64\\u5cf0 \\u9102\\u5c14\\u591a\\u65af \\u547c\\u4f26\\u8d1d\\u5c14 \\u901a\\u8fbd \\u4e4c\\u6d77 \\u4e4c\\u5170\\u5bdf\\u5e03 \\u9521\\u6797\\u90ed\\u52d2\\u76df \\u5174\\u5b89\\u76df".split(" ")}, Q:{"\\u9752\\u6d77":"\\u897f\\u5b81 \\u679c\\u6d1b\\u5dde \\u6d77\\u4e1c\\u5730\\u533a \\u6d77\\u5317\\u5dde \\u6d77\\u5357\\u5dde \\u6d77\\u897f\\u5dde \\u9ec4\\u5357\\u5dde \\u7389\\u6811\\u5dde".split(" ")},S:{"\\u5c71\\u4e1c":"\\u6d4e\\u5357 \\u6ee8\\u5dde \\u4e1c\\u8425 \\u5fb7\\u5dde \\u83cf\\u6cfd \\u6d4e\\u5b81 \\u83b1\\u829c \\u804a\\u57ce \\u4e34\\u6c82 \\u9752\\u5c9b \\u65e5\\u7167 \\u6cf0\\u5b89 \\u5a01\\u6d77 \\u6f4d\\u574a \\u70df\\u53f0 \\u67a3\\u5e84 \\u6dc4\\u535a".split(" "),"\\u5c71\\u897f":"\\u592a\\u539f \\u957f\\u6cbb \\u5927\\u540c \\u664b\\u57ce \\u664b\\u4e2d \\u4e34\\u6c7e \\u5415\\u6881 \\u6714\\u5dde \\u5ffb\\u5dde \\u9633\\u6cc9 \\u8fd0\\u57ce".split(" "), "\\u9655\\u897f":"\\u897f\\u5b89 \\u5b89\\u5eb7 \\u5b9d\\u9e21 \\u6c49\\u4e2d \\u5546\\u6d1b \\u94dc\\u5ddd \\u6e2d\\u5357 \\u54b8\\u9633 \\u5ef6\\u5b89 \\u6986\\u6797".split(" "),"\\u56db\\u5ddd":"\\u6210\\u90fd \\u963f\\u575d\\u5dde \\u5df4\\u4e2d \\u8fbe\\u5dde \\u5fb7\\u9633 \\u7518\\u5b5c\\u5dde \\u5e7f\\u5b89 \\u5e7f\\u5143 \\u4e50\\u5c71 \\u51c9\\u5c71\\u5dde \\u6cf8\\u5dde \\u5357\\u5145 \\u7709\\u5c71 \\u7ef5\\u9633 \\u5185\\u6c5f \\u6500\\u679d\\u82b1 \\u9042\\u5b81 \\u96c5\\u5b89 \\u5b9c\\u5bbe \\u8d44\\u9633 \\u81ea\\u8d21".split(" ")},T:{"\\u53f0\\u6e7e":"\\u53f0\\u5317 \\u9ad8\\u96c4 \\u53f0\\u4e2d \\u53f0\\u5357 \\u65b0\\u5317 \\u57fa\\u9686 \\u65b0\\u7af9 \\u5609\\u4e49".split(" ")}, X:{"\\u897f\\u85cf":"\\u62c9\\u8428 \\u963f\\u91cc\\u5730\\u533a \\u660c\\u90fd\\u5730\\u533a \\u6797\\u829d\\u5730\\u533a \\u90a3\\u66f2\\u5730\\u533a \\u65e5\\u5580\\u5219\\u5730\\u533a \\u5c71\\u5357\\u5730\\u533a".split(" "),"\\u65b0\\u7586":"\\u4e4c\\u9c81\\u6728\\u9f50 \\u963f\\u62c9\\u5c14 \\u963f\\u514b\\u82cf\\u5730\\u533a \\u963f\\u52d2\\u6cf0\\u5730\\u533a \\u5df4\\u97f3\\u90ed\\u695e\\u8499\\u53e4\\u81ea\\u6cbb\\u5dde \\u535a\\u5c14\\u5854\\u62c9\\u5dde \\u660c\\u5409\\u5dde \\u54c8\\u5bc6\\u5730\\u533a \\u548c\\u7530\\u5730\\u533a \\u5580\\u4ec0\\u5730\\u533a \\u514b\\u62c9\\u739b\\u4f9d \\u514b\\u5b5c\\u52d2\\u82cf\\u5dde \\u77f3\\u6cb3\\u5b50 \\u5854\\u57ce\\u5730\\u533a \\u56fe\\u6728\\u8212\\u514b \\u5410\\u9c81\\u756a\\u5730\\u533a \\u4e94\\u5bb6\\u6e20 \\u4f0a\\u7281\\u5dde".split(" ")}, Y:{"\\u4e91\\u5357":"\\u6606\\u660e \\u4fdd\\u5c71 \\u695a\\u96c4\\u5dde \\u5927\\u7406\\u5dde \\u5fb7\\u5b8f\\u5dde \\u8fea\\u5e86\\u5dde \\u7ea2\\u6cb3\\u5dde \\u4e3d\\u6c5f \\u4e34\\u6ca7 \\u6012\\u6c5f\\u5dde \\u666e\\u6d31 \\u66f2\\u9756 \\u662d\\u901a \\u6587\\u5c71 \\u897f\\u53cc\\u7248\\u7eb3\\u50a3\\u65cf\\u81ea\\u6cbb\\u5dde \\u7389\\u6eaa".split(" ")},Z:{"\\u6d59\\u6c5f":"\\u676d\\u5dde \\u6e56\\u5dde \\u5609\\u5174 \\u91d1\\u534e \\u4e3d\\u6c34 \\u5b81\\u6ce2 \\u8862\\u5dde \\u7ecd\\u5174 \\u53f0\\u5dde \\u6e29\\u5dde \\u821f\\u5c71".split(" ")},"\\u5176\\u4ed6":["\\u9999\\u6e2f", "\\u6fb3\\u95e8"]}},tL:function(a){var b=this.C,c=b.Hd(),d=b.fa(),e=R.zb(c.se()),c=R.zb(c.of());dd.bb(function(c){if(c&&c.current_city&&c.current_city.name){var d=c.current_city.code;this.ej=b.Yg=c.current_city.name;b.Zr=d;a&&a.call(this)}},{qt:"cen",b:e.lng+","+e.lat+";"+c.lng+","+c.lat,l:d},"","",o)}}); ');
\ No newline at end of file
_jsload2&&_jsload2('control', 'function Pg(a){a&&(a.Vn.style.border="1px solid "+z.cq.fq,a.Fh.style.backgroundColor=z.cq.fq,a.Fh.style.opacity="0.5",a.Fh.style.filter="Alpha(opacity=50);")}function Qg(a){a&&(a.Vn.style.border="1px solid "+z.cq.mG,a.Fh.style.backgroundColor=z.cq.mG,a.Fh.style.opacity="1",a.Fh.style.filter="")} x.object.extend(kb.prototype,{xf:function(){this.C&&this.Ee(this.C)},initialize:function(a){Tb.prototype.initialize.call(this,a);this.$q();this.Aa();this.ca();var b=this;this.C.Kx()?b.vA():this.C.addEventListener("load",function(){b.vA()});x.M(this.B,"click",na);x.M(this.B,"dblclick",na);x.M(this.B,"mousewheel",na);x.M(this.B,"mouseup",function(a){a=window.event||a;2==a.button&&na(a)});window.addEventListener&&this.B.addEventListener("DOMMouseScroll",function(a){na(a)},o);return this.B},$q:function(){this.Oi|| (this.Oi=o,this.uq=1,this.Eb=4,this.Za=p,this.Ln=this.Ff=this.Qh=-1,this.jv=this.cw=1,this.Ra={},this.Mn="",this.Av=q)},xH:function(){if(this.C){var a=this.C.Oa-this.k.k0;return a<this.Qh?this.Qh:a>this.Ff?this.Ff:a}},Aa:function(){Tb.prototype.Aa.call(this);var a=x.da.la!=q?" BMap_ie"+x.da.la:"",b=this.B;b.innerHTML=this.Pq();x.D.Ua(b,"BMap_omCtrl"+a);this.Ic=b.children[0].children[0];this.vI=this.Ic.children[0];this.lb=this.Ic.children[1];this.mr=this.lb.children[0];this.Ia=b.children[1];this.ye(this.k.size); this.lb.style.cursor=E.Xb},Pq:ca(\'<div class="BMap_omOutFrame"><div class="BMap_omInnFrame"><div class="BMap_omMapContainer"></div><div class="BMap_omViewMv"><div class="BMap_omViewInnFrame"><div></div></div></div></div></div><div class="BMap_omBtn"></div>\'),ca:function(){var a=this;x.M(this.Ia,"click",function(){a.ne()});x.da.la&&x.M(this.Ia,"dblclick",function(){a.ne()});if(!x.da.la||6<x.da.la)this.Ia.onmouseover=function(){x.D.Ua(a.Ia,"hover")},this.Ia.onmouseout=function(){x.D.Sb(a.Ia,"hover")}; x.M(this.lb,"mousedown",function(b){if(!a.lb||!(Eb(a.lb.Iq)&&"true"==a.lb.Iq))if(b=window.event||b,2!=b.button)return a.lb.Iq="true",b=window.event||b,a.lb.setCapture&&a.lb.setCapture(),a.ca.$X=parseInt(Wa(a.lb).left),a.ca.aY=parseInt(Wa(a.lb).top),a.ca.rp=b.pageX||b.clientX,a.ca.Ck=b.pageY||b.clientY,a.ca.jh=0,a.ca.h=0,a.aJ(E.Fd),na(b),Ab(b)});x.M(document,"mousemove",function(b){if(a.lb&&"true"==a.lb.Iq){var b=window.event||b,c=b.pageY||b.clientY;a.ca.fm=a.ca.$X+(b.pageX||b.clientX)-a.ca.rp;a.ca.gm= a.ca.aY+c-a.ca.Ck;a.ca.sl=0;a.ca.tl=0;0>=a.ca.fm&&(a.ca.sl=3);0>=a.ca.gm&&(a.ca.tl=3);a.ca.fm+a.lb.offsetWidth>=a.Za.width&&(a.ca.sl=-3);a.ca.gm+a.lb.offsetHeight>=a.Za.height&&(a.ca.tl=-3);a.lb.style.left=a.ca.fm+"px";a.lb.style.top=a.ca.gm+"px";if((0!=a.ca.sl||0!=a.ca.tl)&&!a.ca.ht){a.ca.hI=o;var d=a.Za.offsetX+a.ca.sl,e=a.Za.offsetY+a.ca.tl;a.Za.Je(d,e);a.ca.ht=setInterval(function(){var b=a.ca.sl!=0?a.ca.sl>0?a.ca.jh=a.ca.jh+3:a.ca.jh=a.ca.jh-3:a.ca.jh,c=a.ca.tl!=0?a.ca.tl>0?a.ca.h=a.ca.h+3:a.ca.h= a.ca.h-3:a.ca.h;a.Za.Je(d+b,e+c)},30)}0==a.ca.sl&&0==a.ca.tl&&(clearInterval(a.ca.ht),delete a.ca.ht,a.ca.jh=0,a.ca.h=0);na(b);return Ab(b)}});x.M(document,"mouseup",function(b){if(a.lb&&"true"==a.lb.Iq){a.lb.Iq="";a.aJ(E.Xb);a.lb.releaseCapture&&a.lb.releaseCapture();if(a.ca.d3==a.ca.fm&&a.ca.e3==a.ca.gm)return na(b),Ab(b);a.Mn="dragView";a.Za.K.gD=q;a.C.R.Hc=o;if(Eb(a.ca.fm)&&Eb(a.ca.gm)){var c=a.ca.fm+parseInt(a.lb.style.width)/2+1,d=a.ca.gm+parseInt(a.lb.style.height)/2+1;delete a.ca.fm;delete a.ca.gm; var e=a.Za.wb({x:c,y:d},a.Za.Oa);a.C.R.Hc=q;a.ca.hI==o&&(clearInterval(a.ca.ht),delete a.ca.ht,a.ca.hI=q);a.C.R.Hc=o;setTimeout(function(){a.C.R.Hc=q;a.C.ui(e)},50);na(b);return Ab(b)}}})},vA:function(){if(this.Av!=o){var a=this,b=a.C;b.addEventListener("resize",function(){a.Za!=p&&a.Za.Wf(b.Ka());a.ke!=p&&(a.ke.ta(b.Ka()),a.Jr());a.qc(a.k.anchor)});if(this.k.Wa!=q){this.Ji||(b.addEventListener("loadcode",function(){a.wI()}),b.addEventListener("moving",function(){a.cT()}),b.addEventListener("moveend", function(b){a.jT(b)}),b.addEventListener("zoomend",function(b){a.wI(b)}),b.addEventListener("maptypechange",function(){a.Jr()}),this.Ji=o);var c=b.Ka();this.Qh=Ma.Wo();this.Ff=Ma.pm();this.Ln=this.xH();this.Za=new La(this.vI,{Lx:o});this.Za.disableDoubleClickZoom();this.Za.Dd(c,this.Ln);this.ke=new pc({point:b.Ka(),Qx:1,vM:"#6688cc"});this.Za.Ja(this.ke);this.ke.Na().innerHTML=\'<div class="BMap_omViewInnFrame"><div class="BMap_omViewMask"></div></div>\';this.WA=this.ke.Na().children[0];c=this.ke.Na().style; c.borderLeftColor="#84b0df";c.borderTopColor="#adcff4";c.borderRightColor="#274b8b";c.borderBottomColor="#274b8b";this.Jr();this.Za.addEventListener("dragend",function(){a.Mn="dragMap";b.ui(a.Za.Ka())});this.Za.addEventListener("moveend",function(){a.kT()});this.Za.addEventListener("mousedown",function(b){a.Ra.M0=b.offsetX;a.Ra.N0=b.offsetY});this.Za.addEventListener("resize",function(){a.C&&a.Za&&a.Za.Wf(a.C.Ka());a.Jr()});this.Av=o}}},aJ:function(a){this.lb.style.cursor=a},qc:function(a){Tb.prototype.qc.call(this, a);if(this.C){if(x.da.la){var b=this.C.width,c=this.C.height,d=this.k.size.width,e=this.k.size.height,f=this.k.za.width,g=this.k.za.height;this.k.Wa==q&&(d=this.xq,e=this.wq);var i=this.B;switch(a){case Vb:i.style.right="auto";i.style.left=b-d-f+"px";break;case Wb:i.style.bottom="auto";i.style.top=c-e-g+"px";break;case 3:i.style.bottom="auto",i.style.right="auto",i.style.top=c-e-g+"px",i.style.left=b-d-f+"px"}}this.bU();this.jB()}},ne:function(){this.ne.ho=o;this.k.Wa=!this.k.Wa;if(this.B){var a= this.B,b=this.k.size.width,c=this.k.size.height,d=this.xq,e=this.wq,f=this;this.k.Wa?(this.Av==q&&this.vA(),new rb({Gc:40,duration:120,jc:sb.OK,va:function(g){a.style.width=Math.ceil(b*g)+"px";a.style.height=Math.ceil(c*g)+"px";if(x.da.la&&(f.Ia.style.top=3==f.Eb||4==f.Eb?parseInt(a.style.height)-e+"px":"0",f.Ia.style.left=1==f.Eb||4==f.Eb?parseInt(a.style.width)-d+"px":"0",0<=f.k.anchor&&3>=f.k.anchor)){if(3==f.Eb||4==f.Eb)a.style.top=f.C.height-parseInt(a.style.height)-f.k.za.height+"px";if(1== f.Eb||4==f.Eb)a.style.left=f.C.width-parseInt(a.style.width)-f.k.za.width+"px"}f.dispatchEvent(new O("onviewchanging"))},finish:function(){if(0<=f.k.anchor&&3>=f.k.anchor&&x.da.la){if(3==f.Eb||4==f.Eb)a.style.top=f.C.height-c-f.k.za.height+"px";if(1==f.Eb||4==f.Eb)a.style.left=f.C.width-b-f.k.za.width+"px"}f.jB();f.UI();x.D.Sb(f.Ia,"BMap_omBtnClosed");var d=new O("onviewchanged");d.isOpen=f.k.Wa;f.dispatchEvent(d);f.ne.ho=q}})):(this.ne.vT=this.Ia.style.top,this.ne.uT=this.Ia.style.left,new rb({Gc:25, duration:120,jc:sb.ZC,va:function(g){a.style.width=b-Math.ceil((b-d)*g)+"px";a.style.height=c-Math.ceil((c-e)*g)+"px";if(x.da.la&&(f.Ia.style.top=3==f.Eb||4==f.Eb?parseInt(a.style.height)-e+"px":"0",f.Ia.style.left=1==f.Eb||4==f.Eb?parseInt(a.style.width)-d+"px":"0",0<=f.k.anchor&&3>=f.k.anchor)){if(3==f.Eb||4==f.Eb)a.style.top=f.C.height-parseInt(a.style.height)-f.k.za.height+"px";if(1==f.Eb||4==f.Eb)a.style.left=f.C.width-parseInt(a.style.width)-f.k.za.width+"px"}f.dispatchEvent(new O("onviewchanging"))}, finish:function(){if(x.da.la&&(f.Ia.style.left="0",f.Ia.style.top="0",0<=f.k.anchor&&3>=f.k.anchor)){if(3==f.Eb||4==f.Eb)a.style.top=f.C.height-f.wq-f.k.za.height+"px";if(1==f.Eb||4==f.Eb)a.style.left=f.C.width-f.xq-f.k.za.width+"px"}f.jB();x.D.Ua(f.Ia,"BMap_omBtnClosed");var b=new O("onviewchanged");b.isOpen=f.k.Wa;f.dispatchEvent(b);f.ne.ho=q}}))}else this.ne.ho=q},Jr:function(){if(this.C){var a=this.C.Oa,b=this.C.wb({x:0,y:0},a),a=this.C.wb({x:this.C.width,y:this.C.height},a),c=this.Za.wb({x:0, y:0},this.Ln),d=this.Za.wb({x:this.Za.width,y:this.Za.height},this.Ln);this.cw=(a.lng-b.lng)/(d.lng-c.lng);this.jv=(a.lat-b.lat)/(d.lat-c.lat);1<=this.cw||1<=this.jv?(this.lb.style.display="none",this.ke.U()):(b=parseInt(this.Za.height),a=Math.round(parseInt(this.Za.width)*this.cw),c=Math.round(b*this.jv),this.C.pa()==Pa&&(c=0.35*b),this.ke.show(),this.ke.OZ(a,c),this.lb.style.display="");this.sB()}},sB:function(){if(this.ke&&this.ke.Na())if(1<=this.cw||1<=this.jv)this.lb.style.display="none";else{var a= this.ke.Na().style;this.lb.style.display="";this.lb.style.width=a.width;this.lb.style.height=a.height;var b=parseInt(a.width)-2,c=parseInt(a.height)-2;this.mr.style.width=(0>b?0:b)+"px";this.mr.style.height=(0>c?0:c)+"px";this.WA.style.width=this.mr.style.width;this.WA.style.height=this.mr.style.height;this.lb.style.left=parseInt(a.left)+this.Za.offsetX+"px";this.lb.style.top=parseInt(a.top)+this.Za.offsetY+"px"}},ye:function(a){a instanceof N||(a=new N(150,150));var b=a.width,c=a.height,b=0<b?b: 150,c=0<c?c:150;a.width=b;a.height=c;this.k.size=a;if(this.B)if(this.ne.ho==o){var d=arguments,e=this;setTimeout(function(){d.callee.call(e,a)},120)}else Rg(this.B,[b,c]),e=this,setTimeout(function(){e.Za&&e.C&&e.Za.Wf(e.C.Ka())},100),this.qc(this.k.anchor),this.dispatchEvent(new O("resize"))},Ve:function(a){a instanceof N&&(Tb.prototype.Ve.call(this,a),this.B&&(0!=a.width||0!=a.height?x.D.Ua(this.B,"withOffset"):x.D.Sb(this.B,"withOffset")))},jB:function(){if(this.Ic){var a=this.k.size.width,b=this.k.size.height, c=this.k.padding,d=this.uq,e=0,f=0,g=0,i=0;this.Ic.style.left=this.Ic.style.top=this.Ic.style.right=this.Ic.style.bottom="auto";this.Ia.style.left=this.Ia.style.top=this.Ia.style.right=this.Ia.style.bottom="auto";if(0==this.k.za.width&&0==this.k.za.height){switch(this.k.anchor){case Ub:this.Ic.style.left="0px";this.Ic.style.top="0px";break;case Vb:this.Ic.style.left=c+"px";this.Ic.style.top="0px";break;case Wb:this.Ic.style.top=c+"px";this.Ic.style.left="0px";break;case 3:this.Ic.style.top=c+"px", this.Ic.style.left=c+"px"}e=a-d;f=b-d;g=e-c-2*d;i=f-c-2*d;x.da.la&&"BackCompat"==document.compatMode&&(e+=1,f+=1,g+=2,i+=2)}else this.Ic.style.left=this.Ic.style.top=this.Ic.style.right=this.Ic.style.bottom=c+"px",e=a-2*d,f=b-2*d,g=e-2*c-2*d,i=f-2*c-2*d,(0!=this.k.za.width||0!=this.k.za.height)&&x.D.Ua(this.B,"withOffset"),x.da.la&&"BackCompat"==document.compatMode&&(e+=2,f+=2,g+=2,i+=2);0<e&&0<f&&Rg(this.B.children[0],[e,f]);0<g&&0<i&&Rg(this.Ic,[g,i]);this.UI();x.D.Sb(this.Ia,"BMap_omBtnClosed"); this.k.Wa||(this.B.style.width=this.xq+"px",this.B.style.height=this.wq+"px",x.da.la&&(this.ne.vT=this.Ia.style.top,this.ne.uT=this.Ia.style.left,this.Ia.style.left="0",this.Ia.style.top="0"),x.D.Ua(this.Ia,"BMap_omBtnClosed"))}},bU:function(){var a=this.B;if(a){var b=this.Eb;switch(this.k.anchor){case Ub:this.Eb=2;break;case Vb:this.Eb=1;break;case Wb:this.Eb=3;break;case 3:this.Eb=4}x.D.Sb(a,"quad"+b);x.D.Ua(a,"quad"+this.Eb)}},UI:function(){if(x.da.la){var a=this.xq,b=this.wq,c=this.k.size.width, d=this.k.size.height;this.Ia.style.left="auto";this.Ia.style.top="auto";this.Ia.style.right="auto";this.Ia.style.bottom="auto";switch(this.Eb){case 2:this.Ia.style.left="0px";this.Ia.style.top="0px";break;case 1:this.Ia.style.left=c-a+"px";this.Ia.style.top="0px";break;case 4:this.Ia.style.top=d-b+"px";this.Ia.style.left=c-a+"px";break;case 3:this.Ia.style.left="0px",this.Ia.style.top=d-b+"px"}}else switch(this.Eb){case 2:this.Ia.style.top="0";this.Ia.style.left="0";break;case 1:this.Ia.style.top= "0";this.Ia.style.right="0";break;case 4:this.Ia.style.bottom="0";this.Ia.style.right="0";break;case 3:this.Ia.style.bottom="0",this.Ia.style.left="0"}},cT:function(){this.ke&&this.ke.ta(this.C.Ka())},jT:function(){switch(this.Mn){case "dragMap":this.sB();this.Mn="";break;case "dragView":this.lb.style.display="none";this.Za.ui(this.C.Ka(),{duration:90});this.Mn="";break;default:this.Za&&this.Za.ui(this.C.Ka(),{duration:90})}},wI:function(){if(this.Za){var a=this;a.Ln=a.xH();setTimeout(function(){a.Za.Dd(a.C.Ka(), a.Ln);a.ke.ta(a.C.Ka());a.Jr()},100)}},kT:function(){"dragMap"!=this.Mn&&(this.sB(),this.Za.K.gD=o)},remove:function(){Tb.prototype.remove.call(this);this.Ia=this.mr=this.lb=this.WA=this.ke=this.vI=this.Ic=p;this.Av=q;this.Za=p},Wa:function(){return!this.B?q:this.k.Wa}});function Rg(a,b){var c=a.style;c.width=b[0]+"px";c.height=b[1]+"px"}S(jf,{changeView:jf.ne,setAnchor:jf.qc,setSize:jf.ye});x.object.extend(jb.prototype,{xf:function(){this.C&&this.Ee(this.C)},initialize:function(a){Tb.prototype.initialize.call(this,a);this.Aa();this.Jv();this.Zv();this.ca(a);return this.B},Jv:function(){this.qI={us:[264E5,132E5,1056E4,528E4,264E4,1056E3,528E3,264E3,132E3,105600,52800,26400,10560,5280,2E3,1E3,500,200,100,50,20,10,5],metric:[1E7,5E6,2E6,1E6,5E5,2E5,1E5,5E4,25E3,2E4,1E4,5E3,2E3,1E3,500,200,100,50,20,10,5,2,1]}},ca:function(a){var b=this;a.addEventListener("zoomend",function(){b.Zv()});a.addEventListener("moveend", function(){b.Zv()});a.addEventListener("maptypechange",function(){b.Jk(b.C.pa().vm())})},Aa:function(){Tb.prototype.Aa.call(this);x.D.Ua(this.B,"BMap_scaleCtrl");this.B.innerHTML=this.Pq();this.Jk(this.C.pa().vm());this.RI=this.B.children[0];Tb.prototype.Ir.call(this)},Pq:function(){var a=E.qa+"mapctrls.png";return\'<div class="BMap_scaleTxt" unselectable="on"></div><div class="BMap_scaleBar BMap_scaleHBar"><img style="border:none" src="\'+a+\'"/></div><div class="BMap_scaleBar BMap_scaleLBar"><img style="border:none" src="\'+ a+\'"/></div><div class="BMap_scaleBar BMap_scaleRBar"><img style="border:none" src="\'+a+\'"/></div>\'},Jk:function(a){this.k.color=a+"";if(this.B){this.B.children[0].style.backgroundColor="transparent";this.B.children[0].style.color=a;for(var b=1,c=this.B.children.length;b<c;b++)this.B.children[b].style.backgroundColor=a}},wF:function(a){this.k.cd=this.Zh[a]&&this.Zh[a].name||this.k.cd;this.C&&this.Zv()},YI:function(a,b){this.RI.innerHTML=a+"&nbsp;"+b},Zv:function(){if(this.C&&this.B){var a=new H(this.C.Ka().lng, this.C.Ka().lat+10),b=Math.abs(this.C.bc(this.C.Ka()).y-this.C.bc(a).y),a=R.To(this.C.Ka(),a)/b;if(!(0==a||isNaN(a))){var c=this.GQ(a,this.k.cd),a=0,b=this.Zh[this.k.cd].XL;this.C.fa();var d=this.qI[this.k.cd][this.C.fa()-1],a=d/c,c=d>=b?this.Zh[this.k.cd].DO:this.Zh[this.k.cd].CO;d>=b&&(d=Math.round(d/b));this.YI(d,c);0!=Math.round(a)%2&&6==x.da.la&&(a+=1);this.B.style.width=Math.round(a)+"px";this.C.Ib==Pa&&(this.B.style.width=3*Math.round(a)+"px",this.YI(3*d,c))}}},GQ:function(a,b){b=b||"metric"; return this.Zh[b]?a*this.Zh[b].lK:a}});S(kf,{setUnit:kf.wF});z.fz=[[-57,-179],[-45,-179]];z.fz.My=function(a){a=this[Number(a)];return a[0]+"px "+a[1]+"px"};var Sg=new String(z.ma+"images/mapctrls2d0.gif");Sg.My=function(a,b){return"transparent url("+this+") no-repeat "+("number"===typeof a?a+"px ":"")+("number"===typeof b?b+"px ":"")};z.pG={B_NORMAL_MAP:{oD:"B_SATELLITE_MAP",kF:"B_DIMENSIONAL_MAP",By:q},B_SATELLITE_MAP:{oD:"B_NORMAL_MAP",kF:"B_DIMENSIONAL_MAP",By:o},B_DIMENSIONAL_MAP:{oD:"B_NORMAL_MAP",kF:"B_SATELLITE_MAP",By:q}}; z.mP={B_DIMENSIONAL_MAP:Pa,B_SATELLITE_MAP:Za,B_NORMAL_MAP:Ma};z.az={B_DIMENSIONAL_MAP:{text:"\\u4e09\\u7ef4",title:"\\u663e\\u793a\\u4e09\\u7ef4\\u5730\\u56fe",file:Sg,x:0,y:-131,right:"0px"},B_SATELLITE_MAP:{text:"\\u536b\\u661f",title:"\\u663e\\u793a\\u536b\\u661f\\u5730\\u56fe",file:Sg,x:0,y:-177,right:"0px"},B_NORMAL_MAP:{text:"\\u5730\\u56fe",title:"\\u663e\\u793a\\u666e\\u901a\\u5730\\u56fe",file:Sg,x:0,y:-221,right:"0px"}};z.lG=o; x.extend(lb.prototype,{xf:function(){this.C&&this.Ee(this.C)},initialize:function(a){this.ES();Tb.prototype.initialize.call(this,a);Tb.prototype.Aa.call(this);Tb.prototype.Ir.call(this);switch(this.k.type){case 1:this.JQ();break;case 2:this.Sf={};this.KQ(a);break;default:this.IQ()}2!==this.k.type&&this.ca();this.yb(a);return this.B},ES:function(){this.Ef=[[Sa,Za,o]];this.fb=[];this.nv=[]},IQ:function(){for(var a=this.k.nh,b=0;b<a.length;b++)this.fr(this.il(a[b]))||this.QQ(a[b],b);for(b=0;b<a.length;b++)this.fr(this.il(a[b]))&& this.OQ(a[b],b);a=this.fb[0];a.firstChild.style.borderRadius="3px 0 0 3px";b=this.fb[this.fb.length-1];b.firstChild.style.borderRight="1px solid #8ba4dc";b.firstChild.style.borderRadius=a==b?"3px":"0 3px 3px 0";this.B.style.whiteSpace="nowrap";this.B.style.cursor="pointer"},fr:function(a){for(var b=0;b<this.k.nh.length;b++)if(this.k.nh[b]==a)return o;return q},il:function(a){for(var b=0;b<this.Ef.length;b++)if(this.Ef[b][0]==a)return this.Ef[b][1];return p},DH:function(a){for(var b=0;b<this.Ef.length;b++)if(this.Ef[b][0]== a)return this.Ef[b][2];return q},QQ:function(a,b){var c=this,d=M("div");wb(d);var e=d.style;e.boxShadow="2px 2px 3px rgba(0, 0, 0, 0.35)";e.borderLeft="1px solid #8ba4dc";e.borderTop="1px solid #8ba4dc";e.borderBottom="1px solid #8ba4dc";e.background="white";e.padding="2px 6px";e.font="12px "+E.fontFamily;e.lineHeight="1.3em";e.textAlign="center";e.whiteSpace="nowrap";d.innerHTML=a.getName();d.title=a.Ys();d.onclick=function(){c.C.Ag(c.fv(a))};e=M("div");wb(e);var f=e.style;x.da.la?f.styleFloat="left": f.cssFloat="left";e.appendChild(d);this.fb[b]=e;this.fb[b+1]?this.B.insertBefore(e,this.fb[b+1]):this.B.appendChild(e)},OQ:function(a,b){var c=this.il(a),d=this.dA(c),e=this.fb[d],f=this;e.onmouseover=function(){if((f.C.pa()==c||f.C.pa()==a)&&this.nl)this.xd&&(clearTimeout(this.xd),this.xd=p),this.nl&&x.D.show(this.nl)};e.onmouseout=function(){var a=this;this.xd&&(clearTimeout(this.xd),this.xd=p);this.xd=setTimeout(function(){a.nl&&x.D.U(a.nl)},1E3)};e.onmousedown=function(){this.xd&&(clearTimeout(this.xd), this.xd=p);this.nl&&x.D.show(this.nl)};e.Bq=a;var g=M("div");wb(g);labelContainerStyle=g.style;labelContainerStyle.position="absolute";labelContainerStyle.top=this.fb[d].offsetHeight+"px";var i=this.wD();if(1==this.QR())i==Ub||i==Wb?labelContainerStyle.left="0":labelContainerStyle.right="0";else if(0==d||d!=this.fb.length-1){for(var k=i=0;k<d;)this.fb[k]&&(i+=this.fb[k].offsetWidth),k++;labelContainerStyle.left=i+"px"}else labelContainerStyle.right="0";labelContainerStyle.zIndex="-1";labelContainerStyle.display= "none";d=this.DH(a)?\'checked="checked"\':"";g.innerHTML=\'<div title="\'+a.Ys()+\'" style="border-right:1px solid #8ba4dc;border-bottom:1px solid #8ba4dc;border-left:1px solid #8ba4dc;background:white;font:12px \'+E.fontFamily+\';padding:0 8px 0 6px;line-height:1.6em;box-shadow:2px 2px 3px rgba(0, 0, 0, 0.35)"><span \'+d+\'" class="BMap_checkbox"></span><label style="vertical-align: middle; cursor: pointer;">\'+(a.k.xE||a.getName())+"</label></div>";g.onclick=function(){f.C.Ag(f.fv(a))};g.onmouseover=function(a){e.xd&& (clearTimeout(e.xd),e.xd=p);x.D.show(this);na(a)};g.onmouseout=function(){var a=this;e.xd&&(clearTimeout(e.xd),e.xd=p);e.xd=setTimeout(function(){a&&x.D.U(a)},1E3)};e.Mg=this.nv[b]=g;e.appendChild(g);e.nl=g},JQ:function(){var a=M("div");wb(a);a.title="\\u66f4\\u6539\\u5730\\u56fe\\u7c7b\\u578b";var b=a.style;b.font="bold 12px/1.5em "+E.fontFamily;b.background="#fff";b.boxShadow="2px 2px 3px rgba(0, 0, 0, 0.35)";b.padding="0 6px";b.border="1px solid #8ba4dc";a.innerHTML=\'<span style="float:right;font-family:\'+ E.fontFamily+\'">\\u25bc</span>\'+this.C.pa().getName();this.pv=a;b=M("div");wb(b);dropDownStyle=b.style;dropDownStyle.position="relative";dropDownStyle.zIndex="-1";dropDownStyle.background="#fff";dropDownStyle.display="none";dropDownStyle.borderLeft=dropDownStyle.borderRight=dropDownStyle.borderBottom="1px solid #8ba4dc";for(var c=this.k.nh,d=0;d<c.length;d++)this.fr(this.il(c[d]))||this.RQ(c[d],d,b);d=M("div");d.style.borderTop="1px solid rgb(220, 220, 220)";d.style.margin="1px 4px";b.appendChild(d); for(d=0;d<c.length;d++)this.fr(this.il(c[d]))&&this.PQ(c[d],d,b);this.B.style.width="85px";this.B.style.whiteSpace="nowrap";this.B.style.cursor="pointer";this.B.appendChild(a);this.B.appendChild(b);a.fl=b;a.onclick=function(){this.Bf&&(clearTimeout(this.Bf),this.Bf=p);this.fl&&(this.fl.style.display="none"==this.fl.style.display?"":"none")};a.onmouseout=function(){this.Bf&&(clearTimeout(this.Bf),this.Bf=p);var a=this;this.Bf=setTimeout(function(){a.fl&&x.D.U(a.fl)},1E3)};b.onmouseover=function(){a.Bf&& (clearTimeout(a.Bf),a.Bf=p);x.D.show(this)};b.onmouseout=function(){a.Bf&&(clearTimeout(a.Bf),a.Bf=p);a.Bf=setTimeout(function(){a.fl&&x.D.U(a.fl)},1E3)}},RQ:function(a,b,c){var d=M("div");wb(d);var e=d.style;e.color="#000";e.font="12px/1.6em "+E.fontFamily;e.background="#fff";e.padding="1px 6px";8>x.da.la&&(e.zoom="1");d.innerHTML=a.getName();d.title=a.Ys();var f=this;d.onclick=function(){f.C.Ag(f.fv(a))};c.appendChild(d);this.fb[b]=d},PQ:function(a,b,c){var d=M("div");wb(d);var e=d.style;e.font= "12px/1.6em "+E.fontFamily;e.padding="1px 0 1px 4px";e.whiteSpace="nowrap";d.title=a.Ys();d.innerHTML="<span "+(this.DH(a)?\'checked="checked"\':"")+\' class="BMap_checkbox"></span><label style="vertical-align:middle;cursor:pointer">\'+(a.k.xE||a.getName())+"</label>";var f=this;d.onclick=function(){f.C.Ag(f.fv(a))};c.appendChild(d);this.nv[b]=d;b=this.fb[this.dA(this.il(a))];b.Bq=a;b.Mg=d},KQ:function(a){function b(a){na(a)}var c=z.cq,d={top:"2px",cursor:"pointer",width:"47px",height:"49px",zIndex:"800", display:"inline-block",position:"absolute",fontSize:"12px",border:"1px solid "+c.fq,backgroundColor:"#fff"},e={width:"41px",height:"43px",position:"absolute",margin:"2px",border:"1px solid "+c.fq},c={position:"absolute",top:"27px",width:"41px",height:"16px",backgroundColor:c.fq,opacity:"0.5",filter:"Alpha(opacity=50);"},f={position:"absolute",top:"29px",width:"41px",color:"white",textAlign:"center",lineHeight:"12px"};0<x.da.la&&8>=x.da.la&&(f.lineHeight="15px");x.extend(this.B.style,{cursor:"pointer", top:"10px",width:"120px",height:"60px"});this.B.style.background="url("+E.qa+"blank.gif)";var g=M("div");this.hg=g;x.extend(g.style,{position:"absolute",width:"71px",height:"21px",border:"1px solid #999",fontSize:"12px",bottom:"-26px",right:"-1px",backgroundColor:"white",display:"none"});var i=M("span");i.Cz=q;this.C&&"undefined"!==typeof this.C.Wn&&(i.Cz=!!this.C.Wn);var k=z.fz[1];g.Bz=i;x.extend(i.style,{background:Sg.My(k[0],k[1]),width:"11px",height:"11px",position:"absolute",cssFloat:"left", top:"5px",left:"4px"});g.appendChild(i);i=M("span");i.innerHTML="\\u663e\\u793a\\u8def\\u7f51";x.extend(i.style,{position:"absolute",top:"4px",marginLeft:"18px"});g.appendChild(i);i.onmouseover=b;i.onmouseout=b;g.onmouseover=b;g.onmouseout=b;this.B.appendChild(g);for(var l,m,n,t=this.k.XV,v=0,w=t.length;v<w;++v)g=t[v],k=z.az[g],i=M("span"),i.title=k.title,i.cf=g,x.extend(i.style,k),x.extend(i.style,d),n=M("span"),i.Fh=n,x.extend(n.style,c),n.onmouseover=b,n.onmouseout=b,m=M("span"),i.Vn=m,x.extend(m.style, e),l=Sg.My(k.x,k.y),m.style.background=l,l=M("span"),i.yz=l,l.innerHTML=k.text,x.extend(l.style,f),i.appendChild(m),m.appendChild(n),m.appendChild(l),l.onmouseover=b,this.B.appendChild(i),this.Sf[g]=i;i=p;this.fQ(a);this.select(this.Wq());this.BA===o?this.aO("B_DIMENSIONAL_MAP"):this.BA===q&&this.NL("B_DIMENSIONAL_MAP");return this.B},fQ:function(a){function b(g){if(g!==p){var g=window.event||g,g=g.target||g.srcElement,i=p;g.cf?i=g:g.parentNode.cf?i=g.parentNode:g.parentNode.parentNode.cf&&(i=g.parentNode.parentNode); "B_NORMAL_MAP"===i.cf?(Qg(d.B_SATELLITE_MAP),Pg(d.B_DIMENSIONAL_MAP)):"B_DIMENSIONAL_MAP"===i.cf&&(Qg(d.B_SATELLITE_MAP),Pg(d.B_NORMAL_MAP))}if(this.cf){var g=this.cf,i=z.pG[g],m=d[g],n=d[i.oD],t=d[i.kF];e.YQ=m;e.lH=n;e.El=t;m.style.display="none";m.qB=o;m.onmouseover=p;t.style.display="";t.style.right=f?"62px":"-54px";t.style.zIndex=99;t.qB=q;t.onmouseover=p;t.onmouseover=function(){Qg(t)};t.onmouseout=p;t.onmouseout=function(a){a=window.event||a;a=a.relatedTarget||a.toElement;a!==t&&(a!==t.yz&& a!==t.Fh&&a!==t.Vn)&&Pg(t)};x.M(t,"click",function(){b.call(t,p)});n.style.display="";n.style.right="4px";n.style.zIndex=100;n.qB=q;n.El=t;n.onmouseout=p;n.onmouseout=function(a){a=window.event||a;a=a.relatedTarget||a.toElement;a!==n&&(a!==n.yz&&a!==n.Fh&&a!==n.Vn)&&Pg(n)};var v=n.onmouseover=p;n.onmouseover=function(b){b=window.event||b;b=b.relatedTarget||b.fromElement;b===t||(b===n||b===n.Vn||b===n.Fh)||(v!==p&&(clearTimeout(v),v=p),v=setTimeout(function(){if(e.sv&&!e.Oj){if(z.lG)new rb({duration:200, jc:sb.ZC,va:function(b){var c=x.$(e).offsetLeft+60,d=a.Bb().width/2;if(c-d>=0)t.style.right=Math.round(b*58)+4+"px";else{f=q;t.style.right=-Math.round(b*58)+4+"px"}},finish:function(){e.Oj=o}});else{t.style.right=offsetX-centerX>=0?"62px":"-62px";e.Oj=o}c.dispatchEvent(new O("onSecondShow"))}},100),e.sv=o,Qg(n))};c.hg.style.display=i.By?"":"none";c.yU(g);"B_SATELLITE_MAP"==g&&("undefined"===typeof c.C.Wn?c.Jy(o):c.Jy(!!c.C.Wn));e.sv=q}}var c=this,d=this.Sf,e=this.B;e.Oj=q;var f=o,g;for(g in c.Sf)(function(a){x.M(a, "click",function(){b.call(a,p)})})(c.Sf[g]);x.M(e,"mouseover",function(a){a=window.event||a;c.XH(a.relatedTarget||a.toElement,o)||c.dispatchEvent(new O("onmouseover"))});var i=p;x.M(e,"mouseout",function(a){e.El&&(a=window.event||a,c.XH(a.relatedTarget||a.toElement,o)||(c.dispatchEvent(new O("onmouseout")),i!==p&&(clearTimeout(i),i=p),i=setTimeout(function(){if(!e.sv){if(z.lG)new rb({duration:200,jc:sb.ZC,va:function(a){e.El.style.right=f?Math.round((1-a)*58)+4+"px":-Math.round((1-a)*58)+4+"px"}, finish:function(){e.Oj=q}});else{e.El.style.right=f?"4px":"-4px";e.Oj=q}c.dispatchEvent(new O("onSecondHide"));Pg(e.El);Pg(e.lH)}},600),e.sv=q))});this.hg.onclick=function(){c.Jy(!this.Bz.Cz)};a.addEventListener("onmaptypechange",function(){2==c.k.type&&(c.select(c.Wq(a.Ib)),b.call(c.Sf[c.Wq(a.Ib)],p),c.B.El.style.right=f?(c.B.Oj?62:4)+"px":(c.B.Oj?-54:4)+"px")});this.PT=function(){b.call(this.Sf[this.Wq()],p);var a=this.B.El,c=this.B.lH;a.style.right="4px";Pg(a);Pg(c);this.B.Oj=q};this.PT()},Jy:function(a){var b= this.C;this.hg.Bz.Cz=b.Wn=a;this.hg.Bz.style.backgroundPosition=z.fz.My(a);var c=new O("onchangehybirdmapmode");c.mY=a;b.Wn=a;c.mY?b.Ag(Sa):b.Ag(Za);b.dispatchEvent(c)},yU:function(a){if(this.C.Ib.getName()!=this.IH(a).getName()){var b=0;""!==this.C.Wb&&(b=1);var c=new O("onbeforesetmaptype");c.aL=b;c.Ib=a;c.b2=this.C.Ib;this.C.dispatchEvent(c);this.k.xW&&(b||a!=Pa)&&this.select(a)}},select:function(a){if(a!=j){a instanceof Vc&&(a=this.Wq(a.getName()));var b=this.Sf[a];Qg(b);b.qB=o;this.C.Ag(this.IH(a))}}, remove:function(){for(var a=this.Sf,b=0,c=a.length;b<c;++b)a[b]=p;Tb.prototype.remove.call(this)},uk:function(){var a=parseInt(this.B.style.height);mapType=this.B.YQ.cf;z.pG[mapType].By&&(a+=Math.abs(parseInt(this.hg.style.bottom)));return a},N2:function(){return parseInt(this.B.style.right)},NL:function(a){if((a=this.Sf[a])&&a.style)a.style.visibility="hidden"},aO:function(a){if((a=this.Sf[a])&&a.style)a.style.visibility="visible"},ZL:function(a){var b=this.Sf[a];b||aa("Invalid Map Type:"+a);return"visible"=== b.style.visibility},W2:function(){this.Qa||this.show();this.ZL("B_DIMENSIONAL_MAP")&&(this.NL("B_DIMENSIONAL_MAP"),this.BA=q)},l4:function(){this.Qa||this.show();this.ZL("B_DIMENSIONAL_MAP")||(this.aO("B_DIMENSIONAL_MAP"),this.BA=o)},XH:function(a,b){var b=b||o,c;for(c in this.Sf){var d=this.Sf[c];if(a===d||(a==d.Vn||a===d.Fh||a===d.yz)||b&&a===this.B)return o}return q},Wq:function(){for(var a in z.az)if(this.C.Ib.getName()==z.az[a].text)return a},IH:function(a){return z.mP[a]},QR:function(){for(var a= 0,b=0;b<this.fb.length;b++)this.fb[b]&&a++;return a},dA:function(a){for(var b=0;b<this.k.nh.length;b++)if(this.k.nh[b]==a)return b;return-1},fv:function(a){for(var b=0;b<this.Ef.length;b++){if(this.Ef[b][0]==a&&this.C.pa()==a&&this.fr(this.Ef[b][1]))return this.Ef[b][1];if(this.Ef[b][1]==a){var c=this.nv[this.dA(this.Ef[b][0])];if(c)if(c=c.getElementsByTagName("span")[0],""==c.checked){ja.D.Sb(c,"checked");break}else return this.Ef[b][0]}}return a},KI:function(a){a=a.style;a.background="#8ea8e0"; a.color="#fff";a.fontWeight="bold"},NT:function(a){a=a.style;a.background="#fff";a.color="#000";a.fontWeight=""},ca:function(){var a=this;a.C.addEventListener("onmaptypechange",function(){a.yb()})},yb:function(){if(2!==this.k.type)switch(this.k.type){case 1:this.lR();break;default:this.kR()}},kR:function(){for(var a=this.C.pa(),b=0;b<this.k.nh.length;b++){var c=p;if(this.fb[b])if(a==this.k.nh[b])this.KI(this.fb[b].children[0]),this.fb[b].Bq&&this.fb[b].Mg&&(c=this.fb[b].Mg.getElementsByTagName("span")[0], c.checked="",ja.D.Sb(c,"checked"));else if(this.fb[b].Bq==a){this.KI(this.fb[b].children[0]);var d=this.fb[b].Mg,c=d.getElementsByTagName("span")[0];d&&(c.checked="checked",ja.D.Ua(c,"checked"))}else this.NT(this.fb[b].children[0]),this.fb[b].Mg&&(x.D.U(this.fb[b].Mg),clearTimeout(this.fb[b].xd),this.fb[b].xd=p)}},lR:function(){for(var a=this.C.pa(),b=q,c=q,d=0;d<this.k.nh.length;d++){var e=p;if(a==this.k.nh[d]&&this.fb[d]){if(b=o,this.pv.innerHTML=\'<span style="float:right;font-family:\'+E.fontFamily+ \'">\\u25bc</span>\'+this.C.pa().getName(),(e=this.fb[d])&&e.Bq&&e.Mg)x.D.show(e.Mg),e=e.Mg.getElementsByTagName("span")[0],e.checked="",ja.D.Sb(e,"checked")}else if(this.fb[d]&&this.fb[d].Bq==a){if(c=o,this.pv.innerHTML=\'<span style="float:right;font-family:\'+E.fontFamily+\'">\\u25bc</span>\'+this.il(a).getName(),e=this.fb[d].Mg)x.D.show(e),e=e.getElementsByTagName("span")[0],e.checked="checked",ja.D.Ua(e,"checked")}else this.fb[d]&&(e=this.fb[d].Mg)&&x.D.U(e)}!b&&!c&&(this.pv.innerHTML=\'<span style="float:right;font-family:\'+ E.fontFamily+\'">\\u25bc</span>\'+this.C.pa().getName())},remove:function(){this.fb=this.nv=[];this.pv=p;Tb.prototype.remove.call(this)}});x.extend(ac.prototype,{xf:function(){this.C&&this.Ee(this.C)},initialize:function(a){Tb.prototype.initialize.call(this,a);this.Aa();this.ca();x.M(this.B,"click",na);x.M(this.B,"dblclick",na);x.M(this.B,"mousewheel",na);x.M(this.B,"mouseup",function(a){a=window.event||a;2==a.button&&na(a)});window.addEventListener&&this.B.addEventListener("DOMMouseScroll",function(a){na(a)},o);this.Df=1;this.EA=q;return this.B},Aa:function(){var a=M("div");a.innerHTML=\'<span style="position:relative;top:33px;">\\u5168\\u666f</span>\'; a.title="\\u8fdb\\u5165\\u5168\\u666f";var b=a.style;b.width="49px";b.height="51px";b.color="#565656";b.background=\'url("\'+E.qa+\'st-control.png") no-repeat 0 0\';b.position="absolute";b.cursor="pointer";b.fontFamily="arial,sans-serif";b.fontSize="13px";b.textAlign="center";b.WebkitBoxShadow=b.qP=b.jV="0px 0px 3px rgba(0, 0, 0, 0.3)";this.B=a;this.C.Na().appendChild(a);a=this.Rg=M("div");b=a.style;b.position="absolute";b.width="24px";b.height="41px";b.cursor="pointer";b.backgroundImage=\'url("\'+E.qa+\'st-scout.png")\'; b.backgroundRepeat="no-repeat";b.backgroundPosition="-24px 0";b.overflow="hidden";b.display="none";6==x.da.la&&(b.background="",a.innerHTML="<div style=\\"position:absolute;left:-24px;top:0;width:24px;height:41px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'"+E.qa+"st-scout.png\')\\"></div>");this.C.Na().appendChild(a);a=this.Td=M("div");b=a.style;b.position="absolute";b.width="112px";b.height="119px";b.backgroundImage=\'url("\'+E.qa+\'st-infowindow.gif")\';b.backgroundRepeat="no-repeat"; b.backgroundPosition="0 0";b.display="none";b.cursor="pointer";b=this.Xi=M("img");a.appendChild(b);b.src=E.qa+"st-noresult.png";b.style.width="100px";b.style.height="75px";b.style.left=b.style.top="6px";b.style.position="absolute";b=this.Vi=M("div");b.style.position="absolute";b.style.top="85px";b.style.fontFamily="arial,sans-serif";b.style.fontSize="13px";b.style.paddingLeft="6px";a.appendChild(b);this.C.Na().appendChild(a)},ca:function(){var a=this;Va()&&(x.M(this.B,"mouseover",function(){a.EA= o;a.$v()}),x.M(this.B,"mouseout",function(){a.EA=q;a.$v()}));x.M(this.B,"click",function(){a.Qi?a.Gz():a.lT()});x.M(document,"mousemove",function(b){if(a.Qi){var b=window.event||b,c=zb(a.C.Va),b=new Q((b.pageX||b.clientX)-c.left,(b.pageY||b.clientY)-c.top),d=a.C.wb(b);if(a.Rg.style.display!=""&&Va()){a.Rg.style.display="";a.Td.style.display=""}a.Rg.style.left=b.x-12+"px";a.Rg.style.top=b.y-41-2+"px";a.CI=a.Jh;a.Jh=b;if(a.CI){b=b.x-a.CI.x;if(b>0){a.Rg.style.backgroundPosition="-48px 0";if(x.da.la== 6)a.Rg.children[0].style.left="-48px"}else if(b<0){a.Rg.style.backgroundPosition="0 0";if(x.da.la==6)a.Rg.children[0].style.left="0"}}a.Df=a.Jh.y<170?2:1;if(a.Jh.x<66)a.Df=3;if(a.Jh.x>a.C.Bb().width-56-10)a.Df=4;b=a.Df==1||a.Df==2?112:126;c=a.Df==1||a.Df==2?119:105;if(a.Df==1||a.Df==2){a.Td.style.left=a.Jh.x-Math.round(b/2)+"px";if(a.Df==1){a.Td.style.top=a.Jh.y-c-42+"px";a.Td.style.backgroundPosition="0 0";a.Xi.style.top="6px";a.Xi.style.bottom="";a.Vi.style.top="85px";a.Vi.style.bottom=""}else{a.Td.style.top= a.Jh.y+2+"px";a.Td.style.backgroundPosition="-112px 0";a.Xi.style.top="";a.Xi.style.bottom="6px";a.Vi.style.top="";a.Vi.style.bottom="85px"}a.Td.style.width="112px";a.Td.style.height="119px";a.Xi.style.left="6px";a.Vi.style.left="0"}if(a.Df==3||a.Df==4){a.Td.style.top=a.Jh.y-Math.round(c/2)-20+"px";if(a.Df==3){a.Td.style.left=a.Jh.x+12+"px";a.Td.style.backgroundPosition="0 -119px";a.Xi.style.left="20px";a.Vi.style.left="14px"}else{a.Td.style.left=a.Jh.x-12-b+"px";a.Td.style.backgroundPosition="-126px -119px"; a.Xi.style.left="6px";a.Vi.style.left="0"}a.Td.style.width="126px";a.Td.style.height="105px"}a.Td.style.backgroundImage=\'url("\'+E.qa+\'st-infowindow.gif")\';if(a.Uv){clearTimeout(a.Uv);a.Uv=p}a.Uv=setTimeout(function(){a.L0=d;a.Rg.style.backgroundPosition="-24px 0";if(x.da.la==6)a.Rg.children[0].style.left="-24px";a.AI.pj(d,function(b){if(b){a.Nz=b.id;a.Xi.src="http://pcsv0.map.bdimg.com/scape/?qt=pdata&sid="+b.id+"&pos=0_0&z=0";a.Vi.innerHTML=b.description}else{a.Nz=p;a.Xi.src=E.qa+"st-noresult.png"; a.Vi.innerHTML=""}})},200)}});this.C.addEventListener("click",function(b){if(a.Qi&&G()){var c=this.qm();a.AI.pj(b.point,function(b){if(b){c.rc(b.id);c.show();a.Gz();Ra(5043)}})}else if(a.Qi&&a.Nz){c=this.qm();c.rc(a.Nz);c.show();a.Gz();Ra(5043)}})},$v:function(){var a=this.B.style;this.Qi?(a.backgroundPosition="-49px 0",a.color="#fff"):this.EA?(a.backgroundPosition="-49px 0",a.color="#fff"):(a.backgroundPosition="0 0",a.color="#565656")},lT:function(){this.Qi||(this.Qi=o,this.C.Wg(this.zI),Va()&& (this.wT=this.C.K.Xb,this.xT=this.C.K.Fd,this.C.setDefaultCursor("pointer"),this.C.setDraggingCursor("pointer")));this.$v()},Gz:function(){this.Qi&&(this.C.xh(this.zI),Va()&&(this.Rg.style.display="none",this.Td.style.display="none",this.C.setDefaultCursor(this.wT),this.C.setDraggingCursor(this.xT)),this.Qi=q);this.$v()}}); ');
_jsload2&&_jsload2('draw', 'function rg(){}var sg=rg.prototype;sg.tF=s();sg.uo=function(){aa("addLine\\u63a5\\u53e3\\u6ca1\\u6709\\u5b9e\\u73b0")};sg.setAttribute=function(){aa("setAttribute\\u63a5\\u53e3\\u6ca1\\u6709\\u5b9e\\u73b0")};sg.he=function(){aa("setPath\\u63a5\\u53e3\\u6ca1\\u6709\\u5b9e\\u73b0")};sg.ep=u("Mb");z.Vy=rg; ');
_jsload2&&_jsload2('drawbycanvas', 'function xg(a){this.C=a;this.pQ={strokeweight:"lineWidth",strokecolor:"strokeStyle",fillcolor:"fillStyle",strokeopacity:"globalAlpha",fillopacity:"globalAlpha"};this.Mb="canvas"}xg.prototype=new z.Vy;var yg=xg.prototype;yg.uo=function(){if(!this.canvas||this.canvas&&!xb(this.canvas)){var a=this.canvas=M("canvas");this.C.Rf().vt.appendChild(a);a.style.position="absolute";a=a.getContext("2d");a.lineCap="round";a.lineJoin="round";a.save();this.$T(this.canvas)}return this.canvas}; yg.he=function(a,b,c){if(a&&0!==b[0].length){var d=a.getContext("2d");this.ta(a);var e=parseInt(a.style.top),f=parseInt(a.style.left);d.beginPath();x.kc.Gb(b,function(a){if(0!==a.length){d.moveTo(a[0].x-f,a[0].y-e);for(var b=1,c=a.length;b<c;b++)d.lineTo(a[b].x-f,a[b].y-e)}});this.hR(a,c);"dashed"===c.strokeStyle&&this.jR(d,b,f,e,c)}}; yg.jR=function(a,b,c,d,e){var f=this;a.beginPath();x.kc.Gb(b,function(b){if(0!==b.length){for(var i=[],k=0,l=b.length;k<l;k++)i.push({x:b[k].x-c,y:b[k].y-d});a.strokeStyle=e.strokeColor||"#3a6bdb";f.iR(a,i,{lineWidth:e.nc||5,interval:2*e.nc||10,lineLength:2*e.nc||10,strokeStyle:f.lS(a.strokeStyle,e.rd)})}})}; yg.iR=function(a,b,c){for(var c=c||{},d=c.Jx||10,e=c.lineWidth||5,f=c.m3||10,c=c.strokeStyle||"#3a6bdb",g=b.length-1,i=0,k=f+d,l=0,m=0;m<g;m++)var n=b[m].x,t=b[m].y,v=b[m+1].x,w=b[m+1].y,l=l+Math.sqrt((v-n)*(v-n)+(w-t)*(w-t));if(l<f)a.strokeStyle=c,a.lineWidth=e,a.lineJoin="round",a.lineCap="round",a.beginPath(),a.moveTo(b[0].x,b[0].y),a.lineTo(b[g].x,b[g].y),a.stroke();else for(l=0;l<g;l++){var n=b[l].x,t=b[l].y,v=b[l+1].x,w=b[l+1].y,m=Math.sqrt((v-n)*(v-n)+(w-t)*(w-t))+i+f,y=k-Math.abs(i);if(i<= k){var C=parseInt(m/k),A=d*(v-n)/m,D=d*(w-t)/m;xMove=f*(v-n)/m;yMove=f*(w-t)/m;startX=n+y*(v-n)/m;startY=t+y*(w-t)/m;tailX=n+(f-Math.abs(i))*(v-n)/m;tailY=t+(f-Math.abs(i))*(w-t)/m;a.beginPath();a.strokeStyle=c;a.lineJoin="round";a.lineCap="round";a.lineWidth=e;B?a.moveTo(B,F):a.moveTo(n,t);0>=i&&a.lineTo(n,t);a.lineTo(tailX,tailY);a.moveTo(startX,startY);B=0;for(F=2*C;B<F;B++)if(B%2)startX+=A,startY+=D,a.moveTo(startX,startY);else{startX+=xMove;startY+=yMove;if(0>(v-startX)*xMove)break;a.lineTo(startX, startY)}a.stroke()}var i=parseInt(m-k*C)-f,B=v-Math.abs(i)*(v-n)/m,F=w-Math.abs(i)*(w-t)/m;l===g-1&&0<i&&(a.beginPath(),a.strokeStyle=c,n=v-i*(v-n)/m,leftY=w-i*(w-t)/m,i<=f?(a.moveTo(n,leftY),a.lineTo(v,w)):(a.moveTo(n,leftY),a.moveTo(n+xMove,leftY+yMove)),a.stroke())}}; yg.lS=function(a,b){if(4===a.length)var c=parseInt(a.substr(1,1)+a.substr(1,1),16),d=parseInt(a.substr(2,1)+a.substr(2,1),16),e=parseInt(a.substr(3,1)+a.substr(3,1),16);else c=parseInt(a.substr(1,2),16),d=parseInt(a.substr(3,2),16),e=parseInt(a.substr(5,2),16);return c="rgba("+c+","+d+","+e+","+b+")"};yg.setAttribute=function(a,b,c){if(a){var d=a.getContext("2d"),e=this.Rq(b);try{d[e]=c}catch(f){}a.setAttribute("_"+b,c||"");d.save()}};yg.Rq=function(a){return this.pQ[a]||a}; yg.$T=function(a){var b=this.C,c=b.K.Vw,d=b.width+2*c,e=b.height+2*c,f=-b.offsetX-c,b=-b.offsetY-c,c=a.getContext("2d"),g={strokeStyle:c.strokeStyle,fillStyle:c.fillStyle,globalAlpha:c.globalAlpha,lineWidth:c.lineWidth,lineCap:"round",lineJoin:"round"};a.setAttribute("width",d);a.setAttribute("height",e);for(var i in g)c[i]=g[i];c.save();a=a.style;a.top=b+"px";a.left=f+"px"};yg.zQ=function(a){a.clearRect(0,0,9999,9999)}; yg.hR=function(a,b){var c=a.getContext("2d");c.globalAlpha=a.getAttribute("_fillopacity");0!==c.globalAlpha&&a.getAttribute("_fillcolor")&&c.fill();c.globalAlpha=a.getAttribute("_strokeopacity");0!==c.globalAlpha&&(a.getAttribute("_strokecolor")&&"dashed"!==b.strokeStyle)&&c.stroke()};yg.ta=function(a){var b=this.C,c=b.K.Vw,d=-b.offsetX-c,a=a.style;a.top=-b.offsetY-c+"px";a.left=d+"px"};z.cP=xg; ');
_jsload2&&_jsload2('drawbysvg', 'function tg(a){this.C=a;this.wG="http://www.w3.org/2000/svg";this.uU={strokeweight:"stroke-width",strokecolor:"stroke",fillcolor:"fill",strokeopacity:"stroke-opacity",fillopacity:"fill-opacity",strokestyle:"stroke-dasharray"};this.ff=this.Mz();this.Mb="svg"}tg.prototype=new z.Vy;var ug=tg.prototype; ug.Mz=function(){var a=this.ff=M("svg",{},this.wG);a.setAttribute("version","1.1");a.setAttribute("type","system");a.style.position="absolute";this.tF();this.C.Rf().vt.appendChild(a);x.M(a,G()?"touchstart":"mousedown",Ab);return a}; ug.tF=function(){if(this.ff){var a=this.ff,b=this.C,c=b.K.Vw,d=b.width+2*c,e=b.height+2*c,f=-b.offsetX-c,b=-b.offsetY-c;this.setAttribute(a,"x",d+"px");this.setAttribute(a,"y",e+"px");this.setAttribute(a,"viewBox",f+" "+b+" "+d+" "+e);a=a.style;a.top=b+"px";a.left=f+"px";a.width=d+"px";a.height=e+"px"}};ug.K2=u("ff");ug.setAttribute=function(a,b,c,d){if(a)return"strokestyle"==b&&(c="solid"==c?0:2*d),a.setAttributeNS(p,this.Rq(b),c||"none"),a};ug.Rq=function(a){return this.uU[a]||a}; ug.uo=function(){var a=M("path",{},this.wG);this.setAttribute(a,"stroke-linejoin","round");this.setAttribute(a,"stroke-linecap","round");this.setAttribute(a,"fill-rule","evenodd");this.ff.appendChild(a);return a};ug.he=function(a,b){var c=this.gA(b)||"M -9999,-9999";this.setAttribute(a,"d",c)};ug.gA=function(a){if(0==a.length)return"";var b=[];x.kc.Gb(a,function(a){if(!(2>a.length)){b.push("M "+a[0].x+" "+a[0].y+" L");for(var d=1,e=a.length;d<e;d++)b.push(a[d].x),b.push(a[d].y)}});return b.join(" ")}; z.CP=tg; ');
_jsload2&&_jsload2('drawbyvml', 'function vg(a){this.C=a;this.DU={strokeweight:"weight",strokecolor:"color",fillcolor:"color",strokeopacity:"opacity",fillopacity:"opacity",strokestyle:"dashstyle"};this.Mb="vml"}vg.iK={orange:"#ffa500"};vg.prototype=new z.Vy;var wg=vg.prototype; wg.setAttribute=function(a,b,c){a&&(0==b.indexOf("stroke")?a=a.getElementsByTagName("stroke")[0]:0==b.indexOf("fill")&&(a=a.getElementsByTagName("fill")[0]),0<b.indexOf("color")&&(c?(a.on=o,vg.iK[c]&&(c=vg.iK[c])):a.on=q),"strokestyle"==b&&(c="solid"==c?"solid":"4 2 1 2"),"strokeweight"==b&&(c+="px"),a[this.Rq(b)]=c||"")};wg.Rq=function(a){return this.DU[a]||a};wg.uo=function(){return yb(this.C.Rf().vt,\'<v:shape style="behavior:url(#default#VML);z-index:1;width:1px;height:1px;position:absolute;left:0;top:0;"coordsize="1,1" coordorigin="0,0" filled="t" fillcolor="white"><v:stroke style="behavior:url(#default#VML);" endcap="round" oned="true" /><v:fill style="behavior:url(#default#VML)" /></v:shape>\')}; wg.he=function(a,b){this.setAttribute(a,"path",this.gA(b));6==x.da.la&&(a.style.display="none",a.style.display="")};wg.gA=function(a){if(0==a.length)return"";var b=[];x.kc.Gb(a,function(a){if(!(2>a.length)){b.push("m "+a[0].x+" "+a[0].y+" l");for(var d=1,e=a.length;d<e;d++)b.push(a[d].x),b.push(a[d].y);b.push("e")}});return b.join(" ")||" "};z.FP=vg; ');
_jsload2&&_jsload2('poly', 'function kg(a,b){fb.call(this);this.point=a;this.type=b;this.z={}}x.lang.ua(kg,fb,"Vertex"); x.extend(kg.prototype,{initialize:function(a){this.map=a;var b="",b=this.type?"BMap_vectex BMap_vectex_nodeT":"BMap_vectex BMap_vectex_node",c=this.gH=this.V=document.createElement("div");c.className=b;a.Rf().PO.appendChild(c);this.uA();return c},draw:function(){var a=this.map.Te(this.point);this.gH.style.left=a.x-5+"px";this.gH.style.top=a.y-5+"px"},ta:function(a){a instanceof H&&(this.point=this.z.point=new H(a.lng,a.lat),this.draw())},ha:u("point"),uA:function(){function a(a,b){b.pixel=b.jb=a.jb; b.point=b.point=a.point;return b}function b(a){var b=a.clientX,c=a.clientY;a.changedTouches&&(b=a.changedTouches[0].clientX,c=a.changedTouches[0].clientY);return new Q(b,c)}if(this.V&&!this.V.Ji){this.V.Ji=o;var c=this.map,d=this,e=0,f=0,g=0,i={x:0,y:0};this.As=function(a){oa(a);if(2!=a.button){d.ml=o;var i=c.bc(d.point),m=b(a);e=m.x-i.x;f=m.y-i.y;g=ab();d.map.R.Yu=d;x.M(document,"mousemove",d.ij);x.M(document,"mouseup",d.hj);x.M(document,"touchmove",d.ij);x.M(document,"touchend",d.hj);d.V&&d.V.setCapture&& d.V.setCapture();d.V.style.cursor=d.z.Fd;"touchstart"==a.type&&na(a)}};this.ij=function(g){if(d.ml){g=b(g);i=g=new Q(g.x-e,g.y-f);d.Tz=g;var l=d.map.wb(g),m={jb:g,point:l};d.zl=d.Al=0;if(20>=g.x||g.x>=d.map.width-20||50>=g.y||g.y>=d.map.height-10){if(20>=g.x?d.zl=8:g.x>=d.map.width-20&&(d.zl=-8),50>=g.y?d.Al=8:g.y>=d.map.height-10&&(d.Al=-8),!d.De)d.De=setInterval(function(){c.xg(d.zl,d.Al,{noAnimation:o});var a=c.wb(d.Tz);d.ta(a)},30)}else d.De&&(clearInterval(d.De),d.De=p),d.ta(l);d.el||(d.dispatchEvent(a(m, new O("ondragstart"))),d.el=o);d.dispatchEvent(a(m,new O("ondragging")))}};this.hj=function(){d.V&&d.V.releaseCapture&&d.V.releaseCapture();d.ml=q;d.map.R.Yu=p;x.bd(document,"mousemove",d.ij);x.bd(document,"mouseup",d.hj);x.bd(document,"touchmove",d.ij);x.bd(document,"touchend",d.hj);e=f=0;d.De&&(clearInterval(d.De),d.De=p);if(100<=ab()-g&&(2<i.x||2<i.y))d.el=q,d.dispatchEvent(a({jb:d.map.bc(d.ha()),point:d.ha()},new O("ondragend"))),i.x=i.y=0;d.Ml();d.V&&(d.V.style.cursor=d.z.hf?"pointer":"")};x.M(this.V, "mousedown",this.As);x.M(this.V,"touchstart",this.As)}}});x.extend(sc.prototype,{jQ:function(a){return this.repeat?this.lQ(a):this.kQ(a)},lQ:function(a){var b=this.repeat,c=[],d,e,f;if(this.GI){d=Math.floor(1/this.repeat)+1;for(e=0;e<d;e++)c.push(lg(a,1-b*e,o))}else{f=a.Ui[a.Ui.length-1];d=Math.floor(f/b)+1;for(e=0;e<d;e++)c.push(lg(a,f-e*b,q))}return c},kQ:function(a){return[lg(a,this.Zj,this.FI)]},hide:function(){if(this.Uc&&0<this.Uc.length)for(var a=this.Uc.length-1;0<=a;a--)this.Uc[a].U()},show:function(){if(this.Uc&&0<this.Uc.length)for(var a=this.Uc.length- 1;0<=a;a--)this.Uc[a].show()}});function lg(a,b,c){var d=a.ia;if(c){if(0>=b)return{point:d[0],index:1};if(1<=b)return{point:d[d.length-1],index:d.length-1};c=a.NS*b;b=mg(c,a.Gl);a=(c-a.Gl[b-1])/(a.Gl[b]-a.Gl[b-1])}else{c=b;b=a.Ui[a.Ui.length-1];if(0>=c)return{point:d[0],index:1};if(c>=b)return{point:d[d.length-1],index:d.length-1};b=mg(c,a.Ui);a=(c-a.Ui[b-1])/(a.Ui[b]-a.Ui[b-1])}c=d[b-1];d=d[b];return{point:new H(c.lng+(d.lng-c.lng)*a,c.lat+(d.lat-c.lat)*a),index:b}} x.kc.indexOf=function(a,b,c){var d=a.length,c=c|0;for(0>c&&(c=Math.max(0,d+c));c<d;c++)if(c in a&&a[c]===b)return c;return-1};function mg(a,b){var c=ng(b.concat(a));return x.kc.indexOf(c,a)}function ng(a){if(2>a.length)return a;for(var b=Math.floor(a.length/2),c=a.slice(0,b),a=a.slice(b),c=ng(c),a=ng(a),b=[];0<c.length&&0<a.length;)c[0]>a[0]?b.push(a.shift()):b.push(c.shift());return b.concat(c).concat(a)};x.extend(oc.prototype,{initialize:function(a){a&&this.iv&&a.addEventListener("onmousemove",this.iv);a=fb.prototype.initialize.call(this,a);this.z.lf===o&&(this.mk(),this.Rl());return a},Hj:function(){this.V=(this.Pn=og.Ps(this.map)).uo()},ca:function(){function a(a,b){var c=a.srcElement||a.target,g=Bb(),i=a.pageX?a.pageX:a.clientX+g[1],g=a.pageY?a.pageY:a.clientY+g[0];if(a&&b&&i&&g&&c){var c=x.lang.Kc(c.ba).map,k=x.D.ha(c.Va);b.jb=new Q(i-k.left,g-k.top);b.point=c.wb(b.jb);b.pixel=b.jb;b.point=b.point}return b} var b=this.V,c=this;"canvas"!==og.Ps(this.map).ep()&&!G()&&(c.z.hf&&(b.style.cursor="pointer",x.M(b,"click",function(b){c.nI&&c.nI.nb(c.map.Ka())&&c.dispatchEvent(a(b,ma(new O("onclick"),b)))}),x.M(b,"dblclick",function(b){c.dispatchEvent(a(b,ma(new O("ondblclick"),b)))}),(!x.da.nf||4>x.da.nf)&&x.M(this.V,"contextmenu",function(b){c.dispatchEvent(a(b,ma(new O("onrightclick"),b)))})),x.M(b,"mousedown",function(b){c.dispatchEvent(a(b,ma(new O("onmousedown"),b)));c.nI=c.map.Ka()}),x.M(b,"mouseup",function(b){c.dispatchEvent(a(b, ma(new O("onmouseup"),b)))}),x.M(this.V,"mouseup",function(b){c.dispatchEvent(a(b,ma(new O("onmouseup"),b)));x.da.nf>=4&&(b.button===2&&c.z.hf)&&c.dispatchEvent(a(b,ma(new O("onrightclick"),b)))}));b=p;this.Ji||(this.Ji=o,this.iv=function(a){if(c.map&&!c.map.R.Yu){var b=c.kS(a.point),f=parseFloat(b.Ba),g;if(f<c.z.RM){g=c.Ra.Ox?new O("onmousemove"):new O("onmouseover");c.Ra.mM=q;c.Ra.Ox=o}else if(!c.Ra.mM&&c.Ra.Ox){g=new O("onmouseout");c.Ra.Ox=q;c.Ra.mM=o}if(g){if(!(c instanceof Dc)&&g.type==="onmousemove"&& c.Ra.Ox===o&&(f===0||f>c.z.RM)){g.pixel=g.jb=a.jb;g.point=g.point=a.point}else{g.point=g.point=this.nN(b.jb);g.pixel=g.jb=this.bc(g.point)}c.dispatchEvent(g)}}},this.map.addEventListener("onmousemove",this.iv),this.addEventListener("mouseover",s()),this.addEventListener("mouseout",s()))},draw:function(a){this.V&&this.Pn&&("canvas"===this.Pn.Mb&&this.Iv?(this.Iv(),this.Pn.he(this.V,this.Vq(this.ia),this.z)):this.Pn.he(this.V,this.Vq(this.ia)),this instanceof Dc&&this.z.ni&&this.mR(a))},yb:function(){this.map&& (this.initialize(this.map),this.V.style.WebkitUserSelect="none",this.draw())},Vq:function(a){var b=this.map,c=[],d=b.Hd(),e=this.Hd();if(!d.gt(e)||0===a.length||!this.V||!this.kh())return[c];this.z.lf||(d=this.rm(b.fa()),this.ef[d]?a=this.ef[d]:(a=pg(a,this.vk(b.fa())),a=this.ef[d]=a));d=this.z.V_;c.push(b.Te(a[0],p,d));for(var f=e=1,g=a.length;e<g;e++){var i=b.Te(a[e],p,d);i.nb(c[f-1])||(c.push(i),f++)}return[c]},rm:function(a){return this.z.rm?this.z.rm(a):6>a?0:10>a?1:15>a?2:3},vk:function(a){return this.z.vk? this.z.vk(a):oc.OE[this.rm(a)]},Hr:function(a){this.ef.length=0;a=oc.ix(a);this.po=a.slice(0,a.length-1);this.ia=a.slice(0);this.Eh();this.draw();this.dispatchEvent(new O("onlineupdate"))},he:function(a){this.Hr(a);this.z.lf===o&&(this.mk(),this.Rl())},dn:function(a,b){b&&this.ia[a]&&(this.ef.length=0,this.ia[a]=new H(b.lng,b.lat),this.Eh(),this.z.lf===o&&(this.mk(),this.Rl()),this.draw(),this.dispatchEvent(new O("onlineupdate")))},setStrokeColor:function(a){this.z&&(this.z.strokeColor=a);this.Il("strokecolor", a)},Op:function(a){0<a&&(this.z.nc=a,this.Il("strokeweight",a),"dashed"===this.BL()&&(this.map&&"svg"===og.Ps(this.map).ep())&&this.Il("strokestyle","dashed"))},Mp:function(a){a===j||(1<a||0>a)||(this.z.rd=a,this.map&&this.Il("strokeopacity",a))},Ot:function(a){1<a||0>a||(this.z.qg=a,this.Il("fillopacity",a))},Np:function(a){"solid"!==a&&"dashed"!==a||(this.z.strokeStyle=a,this.Il("strokestyle",a))},setFillColor:function(a){this.z.fillColor=a||"";this.Il("fillcolor",a)},Il:function(a,b){this.Pn&& (this.Pn.setAttribute(this.V,a,b||"",this.CL()),this.dispatchEvent(new O("onlineupdate")))},Rl:function(){var a=this;if(!a.oc.length)for(var b=this.HL(),c=function(b){a.xv(b)},d=s(),e=function(b){a.XA(b)},f=0,g=b.length;f<g;f++){var i=b[f],k=new kg(i.ub,i.oa);k.addEventListener("ondragging",c);k.addEventListener("ondragstart",d);k.addEventListener("ondragend",e);k.index=f;k.oa=i.oa;this.oc.push(k);this.map.Ja(k)}},mk:function(){for(var a;a=this.oc.pop();)this.map.Tb(a);this.oc.length=0},HL:function(){for(var a= [],b=0,c=this.ia.length;b<c;b++){var d=this.ia[b];a.push({ub:d,oa:0});if(b<c-1){var e=this.ia[b+1],d=new H((d.lng+e.lng)/2,(d.lat+e.lat)/2);a.push({ub:d,oa:1})}}return this.Rc=a},Z0:s(),XA:function(a){this.Ra.gj&&(this.map.Tb(this.Ra.gj),delete this.Ra.gj);this.Ra.wi&&(this.map.Tb(this.Ra.wi),delete this.Ra.wi);this.Ra.si&&(this.map.Tb(this.Ra.si),delete this.Ra.si);var b=a.point,a=a.currentTarget.index,c;if(0!==a%2){this.Oz(a);this.pq(a,b,0);var d=this.Rc[a-1].ub;c=this.Rc[a+1].ub;d=this.Ms(d,b); c=this.Ms(b,c);this.pq(a,d,1);this.pq(a+2,c,1);a=Math.ceil(a/2);c=this.ia.slice();a=c.splice(a,this.ia.length-a);c[c.length]=b;c=c.concat(a)}else this.Rc[a].ub=b,0<=a-2&&(d=this.Rc[a-2].ub,d=this.Ms(d,b),this.oc[a-1].show(),this.oc[a-1].ta(d)),a+2<this.Rc.length&&(c=this.Rc[a+2].ub,c=this.Ms(b,c),this.oc[a+1].show(),this.oc[a+1].ta(c)),this instanceof Cc&&this.Rc.length-1===a&&(this.Oz(0),this.pq(0,b,0),this.Oz(1),this.pq(1,this.Ms(this.Rc[0].ub,this.Rc[1].ub),1),this.oc[0].V.style.zIndex="-10000000"), a/=2,this.ia.splice(a,1,b),this instanceof Cc&&this.ia.length-1===a&&this.ia.splice(0,1,b),c=this.ia;b=0;for(a=this.oc.length;b<a;b++)this.oc[b].index=b;this.ia=c;this.Hr(c)},pq:function(a,b,c){var d=this;this.Rc.splice(a,0,{ub:b,oa:c});b=new kg(b,c);b.addEventListener("ondragging",function(a){d.xv(a)});b.addEventListener("ondragstart",s());b.addEventListener("ondragend",function(a){d.XA(a)});b.index=a;b.oa=c;this.oc.splice(a,0,b);this.map.Ja(b)},Oz:function(a){this.map.Tb(this.oc[a]);this.Rc.splice(a, 1);this.oc.splice(a,1)},Ms:function(a,b){return new H((a.lng+b.lng)/2,(a.lat+b.lat)/2)},kS:function(a){var b,c,d,e,f,g,i=[],k=this.map.Te(a),i=this.Vq(this.ia)[0],l=i.length;if(1<l){for(e=1;e<l;e++){var m=i[e-1],n=i[e];if(m&&n){m.x!==n.x?(f=(n.y-m.y)/(n.x-m.x),f=Math.abs(f*k.x+(n.y-f*n.x)-k.y)/Math.sqrt(f*f+1)):f=Math.abs(k.x-n.x);var t=Math.pow(n.y-m.y,2)+Math.pow(n.x-m.x,2),n=Math.pow(n.y-k.y,2)+Math.pow(n.x-k.x,2),m=Math.pow(m.y-k.y,2)+Math.pow(m.x-k.x,2),v=Math.pow(f,2);n-v+m-v>t&&(f=Math.sqrt(Math.min(n, m)));if(b==p||b>f)c=Math.sqrt(m-v)/Math.sqrt(t),d=Math.sqrt(n-v)/Math.sqrt(t),b=f,g=e;b=Math.min(b,f)}}if(!(this instanceof Dc)){f=k=0;t=this.ia;for(e=0;e<l;e++)k=e===l-1?0:k+1,t[e].lat!==t[k].lat&&((a.lat>=t[e].lat&&a.lat<t[k].lat||a.lat>=t[k].lat&&a.lat<t[e].lat)&&a.lng<(t[k].lng-t[e].lng)*(a.lat-t[e].lat)/(t[k].lat-t[e].lat)+t[e].lng)&&f++;b=Math.min(b,0<f%2?0:b)}1<c&&(c=1);1<d&&(c=0);a=i[g-1].y-i[g].y;e=i[g-1].x-(i[g-1].x-i[g].x)*c;f=i[g-1].y-a*c}return{jb:new Q(e,f),Ba:b}},show:function(){fb.prototype.show.call(this); this.draw();this.z.lf===o&&this.Rl()},U:function(){fb.prototype.U.call(this);this.z.lf===o&&this.mk()},remove:function(){kc.prototype.remove.call(this);this.z.lf===o&&this.mk()}});function qg(a,b){var c={top:0,bottom:0,right:0,left:0,all:0},d=a.x,e=a.y;e<b.PM?(c.top=8,c.all+=c.top):e>b.LM&&(c.bottom=4,c.all+=c.bottom);d>b.KM?(c.right=2,c.all+=c.right):d<b.OM&&(c.left=1,c.all+=c.left);return c} function pg(a,b){if(1>=a.length)return a;var c=a,d=b!==j?b*b:1,e=c.length,f=new ("undefined"!==typeof Uint8Array?Uint8Array:Array)(e),g=0,i=e-1,k=[],l=[],m,n,t,v;for(f[g]=f[i]=1;i;){n=0;for(m=g+1;m<i;m++){t=c[m];var w=c[g],y=c[i],C=w.lng,w=w.lat,A=y.lng-C,D=y.lat-w;if(0!==A||0!==D){var B=((t.lng-C)*A+(t.lat-w)*D)/(A*A+D*D);1<B?(C=y.lng,w=y.lat):0<B&&(C+=A*B,w+=D*B)}A=t.lng-C;D=t.lat-w;t=A*A+D*D;t>n&&(v=m,n=t)}n>d&&(f[v]=1,k.push(g,v,v,i));i=k.pop();g=k.pop()}for(m=0;m<e;m++)f[m]&&l.push(c[m]);return l} S(cf,{show:cf.show,hide:cf.U,remove:cf.remove,setPath:cf.he,setPositionAt:cf.dn,setStrokeColor:cf.setStrokeColor,setStrokeWeight:cf.Op,setStrokeOpacity:cf.Mp,setFillOpacity:cf.Ot,setStrokeStyle:cf.Np,setFillColor:cf.setFillColor});x.extend(Dc.prototype,{initialize:function(a){oc.prototype.initialize.call(this,a);this.SI=[0];this.Fr=[0];this.Gl=[0];for(var a=1,b=this.ia,c=b.length;a<c;a++){this.SI[a]=R.To(b[a],b[a-1]);var d=R.zb(b[a-1]),e=R.zb(b[a]);this.Fr[a]=90-180*Math.atan2(e.lat-d.lat,e.lng-d.lng)/Math.PI;this.Gl[a]=this.Gl[a-1]+this.SI[a]}this.NS=this.Gl[c-1];this.Iv();this.Hv={};return this.V},Iv:function(){this.setFillColor("");this.setStrokeColor(this.z.strokeColor);this.Op(this.z.nc);this.Np(this.z.strokeStyle);this.Mp(this.z.rd)}, Vq:function(a){var b=this.map,c=[],d=b.Hd(),e=this.Hd();if(!d.gt(e)||0==a.length||!this.V||!this.kh())return[c];!(G()&&5E3<a.length)&&!this.z.lf&&(d=this.rm(b.fa()),this.ef[d]?a=this.ef[d]:(e=pg(a,this.vk(b.fa())),a=this.ef[d]=e));c.push(b.Te(a[0]));for(var f=d=1,e=a.length;d<e;d++){var g=b.Te(a[d]);g.nb(c[f-1])||(c.push(g),f++)}a=[];d=b.offsetX;e=b.offsetY;f=b.K.Vw;b={OM:-d-f,PM:-e-f,KM:-d+f+b.width,LM:-e+f+b.height};d=0;for(e=c.length-1;d<e;d++){var i=c[d],k=c[d+1],f=b,l=g=q,m=q,i=new Q(i.x,i.y), k=new Q(k.x,k.y),n=qg(i,f),t=qg(k,f),v=j,w=j,y=j,C=f.OM,A=f.PM,D=f.KM,B=f.LM;do 0===n.all&&0===t.all?m=g=o:0!==(n.all&t.all)?m=o:(v=0!==n.all?n:t,v.top?(w=i.x+(k.x-i.x)*(A-i.y)/(k.y-i.y),y=A):v.bottom?(w=i.x+(k.x-i.x)*(B-i.y)/(k.y-i.y),y=B):v.right?(y=i.y+(k.y-i.y)*(D-i.x)/(k.x-i.x),w=D):v.left&&(y=i.y+(k.y-i.y)*(C-i.x)/(k.x-i.x),w=C),l=o,v.all===n.all)?(i.x=Math.round(w),i.y=Math.round(y),n=qg(i,f)):(k.x=Math.round(w),k.y=Math.round(y),t=qg(k,f));while(!m);f=g?{rN:new Q(i.x,i.y),sN:new Q(k.x,k.y), clip:l?o:q}:j;f&&a.push(f)}c=[[]];d=0;for(e=a.length;d<e;d++)a[d].clip?(c[c.length-1].push(a[d].rN),c[c.length-1].push(a[d].sN),a[d+1]&&a[d+1].clip&&c.push([])):(c[c.length-1].push(a[d].rN),d==a.length-1&&c[c.length-1].push(a[d].sN));return c},hide:function(){oc.prototype.U.call(this);if(this.z.ni&&0<this.z.ni.length)for(var a=0,b=this.z.ni.length;a<b;a++)this.z.ni[a].hide()},show:function(){oc.prototype.show.call(this);if(this.z.ni&&0<this.z.ni.length)for(var a=0,b=this.z.ni.length;a<b;a++)this.z.ni[a].show()}, mR:function(a){var b=this.nx(),c=b.fa(),d=b.Hd();icons=this.z.ni;displayPixels=oc.prototype.Vq.call(this,this.ia);if(this.Hv[c]&&0<this.Hv[c].length)this.Ui=this.Hv[c];else{for(var e=[0],f=1,g=displayPixels[0],i=g.length;f<i;f++)e[f]=e[f-1]+Cb(g[f],g[f-1]);this.Ui=this.Hv[c]=e}for(f=0;f<icons.length;f++){var e=icons[f],g=e.v_,k,l;e.Bv[c]&&0<e.Bv[c].length?l=e.Bv[c]:e.Bv[c]=l=e.jQ(this);if(1===l.length)d.cs(l[0].point)&&(e.Uc[0]&&(b.Tb(e.Uc[0]),e.Uc[0].remove()),e.$K||(7===g.Mb||5===g.Mb?g.Lp(-180+ this.Fr[l[0].index]):g.Lp(this.Fr[l[0].index])),e.Uc[0]=new T(l[0].point,{icon:g}),b.Ja(e.Uc[0]));else if(1<l.length){var m=[],n,t={};if(a&&"onzoomend"===a.type){for(var v in e.Uc)b.Tb(e.Uc[v]),e.Uc[v].remove();e.Uc=[]}else x.kc.Gb(e.Uc,function(a){d.cs(a.ha())?(n=""+a.ha().lat+(""+a.ha().lng),t[n]=o,m.push(a)):(b.Tb(a),a.remove())}),e.Uc=m;for(v=0;v<l.length;v++){k=l[v].index;var i=l[v].point,w=""+i.lat+(""+i.lng);d.cs(i)&&!t[w]&&(e.$K||(7===g.Mb||5===g.Mb?g.setRotation(-180+this.Fr[k]):g.setRotation(this.Fr[k])), i=new T(i,{icon:g}),e.Uc.push(i),b.Ja(i))}}}},xv:function(a){var b=a.currentTarget,c=a.point,d=b.index,e=this.Rc,f,g=a=p;if(0==d){var i=e[d+2].ub;f=[c,i];a=new H((i.lng+c.lng)/2,(i.lat+c.lat)/2);this.oc[d+1]&&this.oc[d+1].U()}else if(d==e.length-1){var k=e[d-2].ub;f=[k,c];a=new H((k.lng+c.lng)/2,(k.lat+c.lat)/2);this.oc[d-1]&&this.oc[d-1].U()}else k=e[d-1].ub,i=e[d+1].ub,f=[k,c,i],b.oa||(k=e[d-2].ub,i=e[d+2].ub,f=[k,c,i],a=new H((k.lng+c.lng)/2,(k.lat+c.lat)/2),g=new H((i.lng+c.lng)/2,(i.lat+c.lat)/ 2),this.oc[d-1]&&this.oc[d-1].U(),this.oc[d+1]&&this.oc[d+1].U());this.Ra.gj?(this.Ra.gj.he(f),this.Ra.gj.show()):(b=new Dc(f,{strokeStyle:"dashed",strokeColor:this.z.strokeColor,nc:this.z.nc,rd:this.z.rd}),this.map.Ja(b),b.U(),this.Ra.gj=b);!this.Ra.wi&&a?(this.Ra.wi=new kg(a,1),this.map.Ja(this.Ra.wi)):a&&this.Ra.wi.ta(a);!this.Ra.si&&g?(this.Ra.si=new kg(g,1),this.map.Ja(this.Ra.si)):g&&this.Ra.si.ta(g)}});x.kc.remove=function(a,b){for(var c=a.length;c--;)a[c]===b&&a.splice(c,1);return a};x.extend(Cc.prototype,{initialize:function(a){oc.prototype.initialize.call(this,a);this.setStrokeColor(this.z.strokeColor);this.Op(this.z.nc);this.Np(this.z.strokeStyle);this.setFillColor(this.z.fillColor);this.Mp(this.z.rd);this.Ot(this.z.qg);return this.V},dn:function(a,b){this.po[a]&&(this.ef.length=0,this.po[a]=new H(b.lng,b.lat),this.ia[a]=new H(b.lng,b.lat),0==a&&!this.ia[0].nb(this.ia[this.ia.length-1])&&(this.ia[this.ia.length-1]=new H(b.lng,b.lat)),this.Eh(),this.z.lf==o&&(this.mk(),this.Rl()), this.draw(),this.dispatchEvent(new O("onlineupdate")))},Iv:function(){this.setStrokeColor(this.z.strokeColor);this.Op(this.z.nc);this.Np(this.z.strokeStyle);this.setFillColor(this.z.fillColor);this.Mp(this.z.rd);this.Ot(this.z.qg)},containPoint:function(a){var b=this.ia,c=q;if(!(!a instanceof H)){if(this.Lu.cs(a)){for(var d=a.lat,a=a.lng,e=0,f=b.length-1;e<b.length;f=e++){var g=b[e].lat,i=b[e].lng,k=b[f].lat,f=b[f].lng;i>a!=f>a&&d<(k-g)*(a-i)/(f-i)+g&&(c=!c)}return c}return q}},xv:function(a){var b= a.currentTarget,c=a.point,d=b.index,e=this.Rc,f,g=a=p;if(0==d){var i=e[e.length-2].ub,k=e[d+2].ub;f=[i,c,k];b.oa||(a=new H((i.lng+c.lng)/2,(i.lat+c.lat)/2),g=new H((k.lng+c.lng)/2,(k.lat+c.lat)/2))}else d==e.length-1?(k=e[2].ub,i=e[d-2].ub,f=[i,c,k],b.oa||(a=new H((i.lng+c.lng)/2,(i.lat+c.lat)/2),g=new H((k.lng+c.lng)/2,(k.lat+c.lat)/2))):(i=e[d-1].ub,k=e[d+1].ub,f=[i,c,k],b.oa||(i=e[d-2].ub,k=e[d+2].ub,f=[i,c,k],a=new H((i.lng+c.lng)/2,(i.lat+c.lat)/2),g=new H((k.lng+c.lng)/2,(k.lat+c.lat)/2),this.oc[d- 1]&&this.oc[d-1].U(),this.oc[d+1]&&this.oc[d+1].U()));this.Ra.gj?this.Ra.gj.he(f):(b=new Dc(f,{strokeStyle:"dashed",strokeColor:this.z.strokeColor,nc:this.z.nc,rd:this.z.rd}),this.map.Ja(b),this.Ra.gj=b);!this.Ra.wi&&a?(this.Ra.wi=new kg(a,1),this.map.Ja(this.Ra.wi)):a&&this.Ra.wi.ta(a);!this.Ra.si&&g?(this.Ra.si=new kg(g,1),this.map.Ja(this.Ra.si)):g&&this.Ra.si.ta(g)}});S(ef,{setPositionAt:ef.dn});x.extend(Ec.prototype,{initialize:function(a){Cc.prototype.initialize.call(this,a);this.ia=this.ev(this.point,this.xa);this.Eh();return this.V},Wf:function(a,b){a&&(this.ef.length=0,b||(this.Rc=p),this.point=a,this.ia=this.ev(a,this.xa),this.Eh(),this.draw(),this.dispatchEvent(new O("onlineupdate")))},vf:function(a,b){isNaN(a)||(this.ef.length=0,b||(this.Rc=p),this.xa=Math.abs(a),this.ia=this.ev(this.point,this.xa),this.Eh(),this.draw(),this.dispatchEvent(new O("onlineupdate")))},vk:function(a){return this.z.vk? this.z.vk(a):Ec.OE[this.rm(a)]},xv:function(a){var b,a=a.currentTarget,c=this.Rc;b=c[0].ub;c=c[c.length-1].ub;0==a.index?(b=a.ha(),a=c):a=a.ha();this.vf(R.To(b,a),o);this.Wf(b,o)},XA:function(a){var a=a.currentTarget,b=a.index;this.Rc[0]={ub:this.point,oa:0};1==b&&(this.Rc[1]={ub:a.point,oa:0});this.mk();this.Rl()},HL:function(){if(!this.Rc){var a=[];a.push({ub:this.point,oa:0});a.push({ub:this.ia[Math.floor(3*this.ia.length/4)],oa:0});this.Rc=a}return this.Rc}});S(df,{setCenter:df.Wf,setRadius:df.vf});var og={Ps:function(a){og["_"+a.ba]||(og["_"+a.ba]={});switch(a.K.MK){case 1:return og.DL(a);case 2:return og.IL(a);case 3:return og.BD(a)}if(G()&&og.iM()&&4!==a.K.MK)return og.BD(a);if(og.qY())return og.DL(a);if(og.rY())return og.IL(a);if(og.iM())return og.BD(a)},DL:function(a){og["_"+a.ba].jJ||(og["_"+a.ba].jJ=new z.CP(a));return og["_"+a.ba].jJ},IL:function(a){og["_"+a.ba].uJ||(og["_"+a.ba].uJ=new z.FP(a));return og["_"+a.ba].uJ},BD:function(a){og["_"+a.ba].SG||(og["_"+a.ba].SG=new z.cP(a));return og["_"+ a.ba].SG},rY:function(){if(Eb(og.mO))return og.mO;var a=Jb();return og.mO=a},qY:function(){Eb(og.lO)||(og.lO=Kb());return og.lO},iM:function(){Eb(og.kO)||(og.kO=Nb());return og.kO}};z.bq=og; ');
_jsload2&&_jsload2('hotspot', 'z.Ue(function(a){function b(a){var b=this.R;b.Pe=[];if(this.Oh)for(var c in this.Oh)if(!(0==c.indexOf("vector_")&&!this.Vb()||0==c.indexOf("tile_")&&this.Vb())){var g=this.Oh[c],i;for(i in g){var k=g[i];if(!(k.Qh>this.fa()||k.Ff<this.fa())){var l=this.bc(k.ha());l.x<this.width&&l.y<this.height&&a.offsetX<l.x+k.wv[1]&&(a.offsetX>l.x-k.wv[3]&&a.offsetY>l.y-k.wv[0]&&a.offsetY<l.y+k.wv[2])&&b.Pe.push(k)}}}}function c(){a.R.GK&&0<a.R.Pe.length?(a.platform.style.cursor="pointer",a.R.GK=q):(a.R.Pe=[],a.platform.style.cursor= a.K.Xb)}a.R.bu=new uc("",{za:new N(15,-3),Rp:{border:"1px solid #aaa",background:"#fffec2",whiteSpace:"nowrap",font:"12px "+E.fontFamily,mozBoxShadow:"1px 2px 6px #666",webkitBoxShadow:"1px 2px 6px #666",boxShadow:"1px 2px 6px #666",padding:"2px 4px"}});a.addEventListener("mousemove",function(c){if(!(c.ab&&!(c.ab instanceof oc)||c.Cb)){var e=this.R,f=e.Pe.slice(0);b.call(this,c);for(var g=e.Pe.slice(0),i=0;i<f.length;i++)for(var k=0;k<g.length;k++)f[i]===g[k]&&(f.splice(i,1),i--,g.splice(k,1),k--); if(0<f.length){var l=new O("onhotspotout");l.spots=f.slice(0);this.dispatchEvent(l)}if(0==e.Pe.length&&!e.Nx)this.platform.style.cursor!=this.K.Xb&&(this.platform.style.cursor=this.K.Xb),e.Qp&&(clearTimeout(e.Qp),e.Qp=p),e.BF=setTimeout(function(){e.bu.U()},400);else if(0<g.length&&(this.platform.style.cursor="pointer",l=new O("onhotspotover"),l.spots=g.slice(0),this.dispatchEvent(l),e.Qp&&(clearTimeout(e.Qp),e.Qp=p),e.BF&&(clearTimeout(e.BF),e.BF=p),l.spots[0].UD()))e.Qp=setTimeout(function(){e.bu.ad(l.spots[0].UD()); e.bu.ta(c.point);e.bu.show();a.Ja(e.bu)},400)}});a.addEventListener("clickex",function(a){var c=this.R;a.overlay||(0==c.Pe.length&&b.call(this,a),0<c.Pe.length&&(a=new O("onhotspotclick"),a.spots=c.Pe.slice(0),a.spots.sort(function(a,b){return a.ha().lat-b.ha().lat}),this.dispatchEvent(a),c.Pe.length=0))});a.addEventListener("load",c);a.addEventListener("moveend",c);a.addEventListener("zoomend",c);a.addEventListener("dragend",function(){this.R.GK=o})}); ');
\ No newline at end of file
_jsload2&&_jsload2('infowindow', 'x.extend(tc.prototype,{initialize:function(a){var b=this.map=a.map;this.ab=a;this.va();this.ca();this.z.ah?this.ah():this.Uw();this.Tc()&&(this.map.La.iy.style.display="none",this.map.La.fy.style.display=this.z.hD?"block":"none");this.Cc(this.z.title);this.ad(this.content,o);this.z.YX&&this.WZ(o);this.ge(p,o);if(b=b.La)b.Km=a instanceof T?a:p},va:function(){var a=this.map,b=a.La,c=this.Di;if(!b){b=a.La={};a.Cb=a.La;var d=[\'<div class="BMap_shadow" style="position: absolute;display:none" type="infowindow_shadow">\']; d.push(\'<div><img onmousedown="return false" style="margin-left: -323px; margin-top: 0px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -393px; margin-top: 0px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -1033px; margin-top: 0px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-top: -30px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -360px; margin-top: -30px;" src="\'+ c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-top: -30px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -14px; margin-top: -310px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -255px; margin-top: -310px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -440px; margin-top: -310px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -255px; margin-top: -310px;" src="\'+ c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -754px; margin-top: -310px;" src="\'+c+\'iws3.png"/></div>\');d.push("</div>");d.push(\'<div class="BMap_pop" style="box-sizing:content-box;position:absolute;display:none;cursor:default">\');d.push(\'<div><div style="box-sizing:content-box;background:#fff;border-top:1px solid #ababab;border-left:1px solid #ababab;width:30px;height:30px;"></div></div>\');d.push(\'<div class="BMap_top"></div>\');d.push(\'<div><div style="box-sizing:content-box;position:absolute;top:0;left:-6px;background:#fff;border-top:1px solid #ababab;border-right:1px solid #ababab;width:30px;height:30px;"></div></div>\'); d.push(\'<div class="BMap_center"></div>\');d.push(\'<div><div style="box-sizing:content-box;position:absolute;top:-6px;left:0;background:#fff;border-bottom:1px solid #ababab;border-left:1px solid #ababab;width:30px;height:30px;"></div></div>\');d.push(\'<div class="BMap_bottom"></div>\');d.push(\'<div><div style="box-sizing:content-box;position:absolute;top:-6px;left:-6px;background:#fff;border-right:1px solid #ababab;border-bottom:1px solid #ababab;width:30px;height:30px;"></div></div>\');d.push(\'<div><img style="box-sizing:content-box;border:none;margin:0px;padding:0px;margin-left:-186px;margin-top:-691px;max-width:none; width:690px;height:786px;" src="\'+ c+\'iw3.png"/></div>\');d.push(\'<div style="box-sizing:content-box;overflow-y:hidde;overflow-x:hidde;width:auto;height:auto;position:absolute;left:16px; top:16px;z-index:10;"></div>\');d.push("</div>");b.xc=yb(a.platform,d.join(""));b.cc=b.xc.previousSibling;b.Tm=b.xc.children;b.Xt=b.cc.getElementsByTagName("div");b.ei=b.Tm[8];b.Tp=yb(b.Tm[8],\'<div class="BMap_bubble_title" style="display:block;overflow:hidden;height:24px;line-height:24px;white-space:nowrap"></div>\');b.og=yb(b.Tm[8],\'<div class="BMap_bubble_content" style="display:block"></div>\'); b.qi=yb(b.Tm[8],\'<div class="BMap_bubble_max_content" style="display:none;position:relative"></div>\');a=10;G()&&(a=15);b.Fw=yb(b.xc,\'<img style="position:absolute;top:12px;width:\'+a+"px;height:"+a+\'px;-moz-user-select:none;cursor:pointer;z-index:10000;" src="\'+c+\'iw_close1d3.gif"/>\');b.fy=yb(b.xc,\'<img style="position:absolute;top:12px;width:\'+a+"px;height:"+a+\'px;-moz-user-select:none;cursor:pointer;z-index:10000;display:none" src="\'+c+\'quanjing.png" title="\\u8fdb\\u5165\\u5168\\u666f"/>\');b.iy=yb(b.xc, \'<img style="position:absolute;top:10px;width:9px;height:14px;-moz-user-select:none;cursor:pointer;z-index:10000;display:none;" src="\'+c+\'phone.png" title="\\u53d1\\u9001\\u5230\\u624b\\u673a"/>\');b.ee=yb(b.xc,\'<img style="position:absolute;top:12px;width:\'+a+"px;height:"+a+\'px;-moz-user-select:none;cursor:pointer;z-index:10000;display:none" src="\'+c+\'iw_plus1d3.gif"/>\');b.Bx=yb(b.xc,\'<div style="position:absolute;top:0px;left:0;-moz-user-select:none;z-index:10000;"></div>\');this.YS(b)}b.ba=b.xc.ba=this.ba}, YS:function(a){if(x.da.la&&!(6<x.da.la)){for(var b=a.xc.getElementsByTagName("IMG"),c=0;c<b.length;c++)0>b[c].src.indexOf(".png")||(b[c].style.cssText+=";FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+b[c].src+",sizingMethod=crop)",b[c].src=this.Di+"blank.gif");a=a.cc.getElementsByTagName("IMG");for(c=0;c<a.length;c++)a[c].style.cssText+=";FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+a[c].src+",sizingMethod=crop)",a[c].src=this.Di+"blank.gif"}},ca:function(){function a(a){d.be? d.restore():d.Ux();oa(a)}function b(a){var b=z.url.proto+z.url.domain.iw_pano+"/scape/",c=(new Date).getTime(),d="Pano"+c;z[d]=function(a){var b=e.qm(),a=a.content[0];b.rc(a.poiinfo.PID);b.show();b.Mc({heading:a.poiinfo.Dir,pitch:a.poiinfo.Pitch})};c=(new Date).getTime();pa(b+("?qt=poi&udt=20131021&uid="+a+"&t="+c+"&fn=BMap."+d),q)}function c(a){d.dispatchEvent(new O("onclickclose"));d.ab&&d.ab.Wc();oa(a)}var d=this,e=d.map,f=e.La,g=f.Fw,i=f.xc;g.onclick=c;x.kc.Gb("touchstart touchmove touchend gesturestart gesturechange mousedown mouseout mouseover click mousewheel keydown selectstart".split(" "), function(a){x.M(i,a,na)});x.M(i,"dblclick",oa);x.M(i,"contextmenu",oa);4<=x.da.nf&&x.M(i,"mouseup",function(a){2==a.button&&oa(a)});window.addEventListener&&i.addEventListener("DOMMouseScroll",oa,q);f.iy.onclick=function(a){Ra(6E3,{operate:"phone_click"});e.pop||(e.pop=new zg);e.Ja(e.pop);e.pop.QW(d);oa(a)};f.fy.onclick=function(){b(d.street_id);Ra(5053)};f.ee.onclick=a;G()&&(x.M(g,"touchend",c),x.M(f.ee,"touchend",a));i=g=f=p},wB:function(a,b){this.map.La.Bx.style.width=a+"px";var c=this.z,a=a|| c.width,b=b||c.height;0>b&&(b=0);var d=c.za.width,e=c.za.height,c=[25,-1,25,-1,25,-1,25,34],f=[25,-1,25,-1,25,-1,25,50];c[1]=a-c[0]-c[2];c[3]=x.da.la&&"CSS1Compat"!=document.compatMode?a:a-2;c[5]=a-c[4]-c[6];f[1]=f[0];f[3]=b-f[0]-f[4];f[5]=x.da.la&&"CSS1Compat"!=document.compatMode?f[4]:f[4]-1;var g=[0,c[0],a-c[2],0,0,c[4],a-c[6],Math.ceil((a-c[7])/2)],i=[0,0,0,f[0],b-c[4],b-c[4],b-c[4],b-c[4]];this.HG=d-Math.round((a-c[7])/2);this.IG=e-b-24;var k=Math.floor((b+f[7])/2.03)+30,l=[70,-1,70,-1,-1,-1, 50,-1,140,-1,70],m=[30,30,30,25,25,25,60,60,60,60,60];l[7]=Math.round((a+80-(l[6]+l[8]+l[10])-50)/2);l[9]=l[7]+50;l[1]=l[6]+l[7]+l[8]+l[9]+l[10]-l[0]-l[2]-29;l[5]=l[3]=k-m[0]-m[6]+70;m[3]=m[4]=m[5]=k-m[0]-m[6];l[4]=l[0]+l[1]+l[2]+m[3]+29-l[5]-l[3];var n=[k-60-1,k-60-1+l[0],k-60-1+l[0]+l[1],29,29+l[3],29+l[3]+l[4],0,l[6],l[6]+l[7],l[6]+l[7]+l[8],l[6]+l[7]+l[8]+l[9]],t=[0,0,0,m[0],m[0],m[0],m[0]+m[3],m[0]+m[3],m[0]+m[3],m[0]+m[3],m[0]+m[3]];this.JG=d-l[6]-l[7]-70;this.KG=e-k+30;d=323-k+90;shadowRightImageLeft= 740+d;if((e=this.map.La)&&e.Tm)for(k=0;8>k;k++)e.Tm[k].style.cssText="box-sizing:content-box;overflow: hidden; z-index: 1; position: absolute; left:"+g[k]+"px; top:"+i[k]+"px; width:"+c[k]+"px; height:"+f[k]+"px";if(e&&e.Xt){for(k=0;k<e.Xt.length;k++)e.Xt[k].style.cssText="box-sizing:content-box;overflow: hidden; z-index: 1; position: absolute; left:"+n[k]+"px; top:"+t[k]+"px; width:"+l[k]+"px; height:"+ m[k]+"px;";e.Xt[3].firstChild.style.marginLeft="-"+(0>d?0:d)+"px";e.Xt[5].firstChild.style.marginLeft="-"+shadowRightImageLeft+"px"}this.ta()},Bh:function(a){a*=1;if(!(!a&&0!=a||isNaN(a)||0>a))if(0!=a&&(220>a&&(a=220),730<a&&(a=730)),this.z.width=a,this.Tc()&&this.Wa()){var b=this;this.ge(function(){b.Lk()})}},zh:function(a){a*=1;if(!(!a&&0!=a||isNaN(a)||0>a))if(0!=a&&(60>a&&(a=60),650<a&&(a=650)),this.z.height=a,a=this.map,this.Tc()&&this.Wa()){0!=this.z.width&&(a.La.og.style.width=this.z.width+ "px");var b=this;this.ge(function(){b.Lk()})}},SN:function(a){a*=1;!a&&0!=a||(isNaN(a)||0>a)||(0!=a&&(220>a&&(a=220),730<a&&(a=730)),this.z.maxWidth=a,this.be&&this.ge())},Cc:function(a){this.z.title=a;if(this.Tc()){var b=this.map.La.Tp;a?($a(a)?b.innerHTML=a:(b.innerHTML="",b.appendChild(a)),x.D.show(b)):x.D.U(b);var c=this;this.ge(function(){c.Lk()})}},ad:function(a,b){this.content=a;if(this.Tc()&&!this.be){var c=this.map,d=c.La.og,e=c.La.qi;$a(a)?d.innerHTML=a:(d.innerHTML="",d.appendChild(a)); if(this.z.jD){var f=this.SD();d.appendChild(f)}0!=this.z.width&&(d.style.width=this.z.width+"px");e.style.display="none";d.style.display="";if(!b){var g=this;this.ge(function(){g.Lk()})}c.La.Bx.innerHTML=this.z.Bx}},Rt:function(a){a?this.z.FE=a:a=this.z.FE;var b=this.map;this.Tc()&&(b=b.La,b.qi.innerHTML=a,this.be&&(b.og.style.display="none",b.qi.style.display=""))},ge:function(a,b){if(this.Tc()&&(b||this.Wa())){var c=this,d=c.map.La,e=0,a=a||s();"none"!=d.Tp.style.display&&(e=24);var f=7,g=20;G()&& (f=5,g=20);if(this.be)m=c.z.maxWidth,setTimeout(function(){var b=e+d.qi.scrollHeight,b=b>c.map.height?c.map.height-60:b;m=m<220?220:m;m=m>730?730:m;b=b<55?55:b;b=b>650?650:b;c.wB(m+32,b+32);d.ei.style.width=m+"px";d.ei.style.height=b+"px";d.Fw.style.left=m+f+"px";if(c.z.RK){d.ee.style.left=m-2*g+f+"px";d.iy.style.left=m-g+f+"px"}else d.ee.style.left=m-g+f+"px";if(c.z.hD){d.ee.style.left=m-3*g+f+"px";d.fy.style.left=m-2*g+f+"px"}d.ei.style.overflow="hidden";if(c.z.dD)d.ei.style.overflow="auto";c.dispatchEvent(new O("onresize")); a()},1);else{var i=d.og.style,k=d.Tp.style,l=d.ei.style;i.width=l.width=k.width="auto";i.height=l.height=k.height="auto";i.whiteSpace="nowrap";"none"==d.xc.style.display&&this.show();d.xc.style.visibility="hidden";d.cc.style.visibility="hidden";var m=d.ei.clientWidth||0,m=0==c.z.width?m:c.z.width,m=m>c.map.width?c.map.width-60:m,m=220>m?220:m,m=730<m?730:m;l.width=m+"px";h=d.ei.scrollHeight||0;h=0==c.z.height?h:c.z.height;c.wB(m+32,h+32);setTimeout(function(){i.whiteSpace="";l.overflow="hidden";if(c.z.dD)l.overflow= "auto";h=d.ei.scrollHeight||0;h=c.z.height==0?h:c.z.height;h=h>c.map.height-92?c.map.height-92:h;h=h<55?55:h;h=h>650?650:h;c.wB(m+32,h+32);d.xc.style.visibility="";d.cc.style.visibility="";l.height=h+"px";d.Fw.style.left=m+f+"px";if(c.z.RK){d.ee.style.left=m-2*g+f+"px";d.iy.style.left=m-g+f+"px"}else d.ee.style.left=m-g+f+"px";if(c.z.hD){d.ee.style.left=m-3*g+f+"px";d.fy.style.left=m-2*g+f+"px"}c.dispatchEvent(new O("onresize"));a()},1)}}},ta:function(){if(this.Tc()){var a=this.map.La,b=this.ab,c= this.map.Te(b.ha()),d=b.Uo(),b=new Q(c.x-d.anchor.width+d.infoWindowAnchor.width+b.Qf().width,c.y-d.anchor.height+d.infoWindowAnchor.height+b.Qf().height);this.HG!=j&&(this.IG!=j&&this.JG!=j&&this.KG!=j)&&(a.xc.style.left=this.HG+b.x+"px",a.xc.style.top=this.IG+b.y+"px",a.cc.style.left=this.JG+b.x+"px",a.cc.style.top=this.KG+b.y+"px")}},Lk:function(a){var b=this;setTimeout(function(){b.ZZ()},a||200)},ZZ:function(){if(this.ab&&this.ab.ha()&&this.z.Es&&this.Tc()){var a=this.map,b=a.La,c=b.Tm,d=b.xc; if(c&&d){var b=parseInt(c[3].style.width)+2,c=parseInt(c[1].style.height)+parseInt(c[3].style.height)+parseInt(c[7].style.height),e=parseInt(d.style.left)+this.map.offsetX,f=parseInt(d.style.top)+this.map.offsetY,d=new Q(e,f),e=new Q(b+e,c+f);0!=this.z.height&&document.all&&(a.R.Gx||(a.R.Gx=-1),f=-a.R.Gx,a.R.Gx=-a.R.Gx);var g=f=0,i=this.z.margin[0],k=this.z.margin[1],l=this.z.margin[2],m=this.z.margin[3];d.x<m&&(f=-d.x+m);d.y<i&&(g=-d.y+i);e.x>a.width-k&&(f=a.width-e.x-k);e.y>a.height-l&&(g=a.height- e.y-l);this.PS();i=this.z.kC;d.x<i[0][0]&&d.y<i[0][1]&&(Math.abs(-d.x+i[0][0])<Math.abs(-d.y+i[0][1])?f=-d.x+i[0][0]:a.height-i[0][1]-i[3][1]<c?f=-d.x+i[0][0]:g=-d.y+i[0][1],a.width-i[0][0]-i[1][0]<b&&d.y<i[1][1]&&(g=-d.y+i[1][1]));e.x>a.width-i[1][0]&&d.y<i[1][1]&&(Math.abs(-e.x+a.width-i[1][0])<Math.abs(-d.y+i[1][1])&&a.width-i[0][0]-i[1][0]>=b?f=-e.x+a.width-i[1][0]:(g=-d.y+i[1][1],a.width-i[0][0]-i[1][0]<b&&a.width-i[0][0]<b&&(f=-d.x+i[0][0])));d.x<i[3][0]&&e.y>a.height-i[3][1]&&(Math.abs(-d.x+ i[3][0])<Math.abs(-e.y+a.height-i[3][1])&&(Math.abs(-d.x+i[3][0])<Math.abs(g)&&0!=g||0==g)&&a.width-i[3][0]>=b?f=-d.x+i[3][0]:g=-e.y+a.height-i[3][1],a.height-i[0][1]-i[3][1]<c&&d.x<i[0][0]&&(f=-d.x+i[0][0]));e.x>a.width-i[2][0]&&e.y>a.height-i[2][1]&&(Math.abs(-e.x+a.width-i[2][0])<Math.abs(-e.y+a.height-i[2][1])&&(Math.abs(-e.x+a.width-i[2][0])<Math.abs(g)&&0!=g||0==g)&&a.width-i[0][0]-i[1][0]>=b?f=-e.x+a.width-i[2][0]:(g=a.height-i[1][1]-i[2][1]>=c?-e.y+a.height-i[2][1]:-d.y+i[1][1],a.width-i[0][0]- i[2][0]<b&&(f=-d.x+i[0][0])));(0!=f||0!=g)&&a.xg(f,g)}}},PS:function(){if(this.map)for(var a=this.map.Va,b=0,c=a.children.length;b<c;b++){var d,e,f=!(!Eb(a.children[b].Hi)||!a.children[b].Zj);if(a.children[b].hr&&a.children[b].hr instanceof Tb&&a.children[b].hr.XJ==o)d=a.children[b];else if(f)d=a.children[b];else continue;var g=d.offsetWidth,i=d.offsetHeight,k=d.hr;if(!k||f)if(Eb(d.Hi)&&d.Zj&&"none"!=Wa(d).display&&"hidden"!=Wa(d).visibility)f=d.Zj,d=d.Hi;else continue;else{if(k.kh()==q)continue; f=k.Qf();d=k.wD()}switch(d){case Ub:e=0;break;case Vb:e=1;break;case Wb:e=3;break;case 3:e=2}g=g+f.width+10;i=i+f.height+10;f=this.z.kC[e];this.z.kC[e]=[g>f[0]?g:f[0],i>f[1]?i:f[1]]}},ah:function(){this.z.ah=o;this.Tc()&&(this.map.La.ee.style.display="block")},Uw:function(){this.z.ah=q;this.Tc()&&(this.map.La.ee.style.display="none")},show:function(){if(this.Tc()){var a=this.map.La;"none"==a.xc.style.display&&(Gb(this.content)&&(a.og.appendChild(this.content),this.z.jD&&a.og.appendChild(this.SD())), Gb(this.z.title)&&a.Tp.appendChild(this.z.title),x.D.show(a.xc),x.D.show(a.cc),a=new O("onopen"),a.point=a.point=this.ha(),this.dispatchEvent(a),this.ge())}},U:function(){if(!this.Tc())return q;var a=this.map.La;if("none"==a.xc.style.display||this.z.TY()==q)return q;Gb(this.content)&&(a.og.removeChild(this.content),this.z.jD&&a.og.removeChild(this.SD()));Gb(this.z.title)&&a.Tp.removeChild(this.z.title);x.D.U(a.xc);x.D.U(a.cc);this.be&&(this.be=q,a.qi.style.display="none",a.og.style.display="",a.ee.src= this.Di+"iw_plus1d3.gif");a=new O("onclose");a.point=a.point=this.ha();this.dispatchEvent(a);this.map.R.Tu?(clearTimeout(this.map.R.Tu),this.map.R.Tu=p):(this.map.removeEventListener("click",this.map.R.Ez),this.map.R.Dz=q);x.lang.Rw(this.ba);return o},Ux:function(){if(this.map&&(this.Wa()&&this.z.ah&&!this.be)&&this.Tc()){var a=this.map.La.ee;this.be=o;a.src=this.Di+"iw_minus1d3.gif";this.Rt();this.map.La.qi.style.display="block";this.ge();this.dispatchEvent(new O("onmaximize"));this.Lk()}},restore:function(){this.map&& (this.Wa()&&this.be)&&this.Tc()&&(this.be=q,this.map.La.ee.src=this.Di+"iw_plus1d3.gif",this.ad(this.content,o),this.map.La.qi.style.display="none",this.ge(),this.dispatchEvent(new O("onrestore")),this.Lk())},e1:function(){if(this.Tc()){this.be=q;var a=this.map.La;a.Tp.innerHTML="";a.og.innerHTML="";a.qi.innerHTML="";a.ee.src=this.Di+"iw_plus1d3.gif"}},XI:function(){var a=this.map;if(this.Tc()){var a=a.La,b=a.ei.style;a.yv=b.overflowX;a.zv=b.overflowY;b.overflowX="hidden";b.overflowY="hidden";this.z.dD&& (b.overflowX="auto",b.overflowY="auto",a.yv=b.overflowX,a.zv=b.overflowY)}},MI:function(){var a=this.map;if(this.Tc()&&a.La.yv&&a.La.zv){var a=a.La,b=a.ei.style;b.overflowX=a.yv;b.overflowY=a.zv;delete a.yv;delete a.zv}},Wa:function(){if(!this.map)return q;var a=this.map.R.ob;return!a||!this.Tc()?q:a&&a.ab===this.ab&&this.map.La&&"none"==this.map.La.xc.style.display?q:o},WZ:function(a){if(this.Tc()){var b=this.map.La;b.ee.style.display="block";var c=b.ee;!!a!=!!this.be&&(a?(this.be=o,c.src=this.Di+ "iw_minus1d3.gif",this.Rt(),b.qi.style.display="block"):(this.be=q,c.src=this.Di+"iw_plus1d3.gif",this.ad(this.content,o),b.qi.style.display="none"),this.ge())}},yb:function(){this.Qa==o&&this.ab&&this.ab.Nb(this)},Tc:function(){return this.map&&this.map.La&&this.map.La.ba==this.ba},SD:function(){this.map.jF?this.map.jF.reset(this):this.map.jF=new Ag(this);return this.map.jF.Id()}}); fb.prototype.Nb=function(a){var b=this.map;if(b&&this.V&&!(this.kh()==q||!a instanceof tc)){var c=b.R;c.ob&&(c.ob.ab&&c.ob.ab.CR)&&b.Wc();if(c.ob===a&&c.ob.Wa()&&c.ob.ab===this)a.Lk();else{b.Wc();this.Cb=a;c.ob==p||c.ob!=a?(b.La&&(b.La.Fw.onclick=p,b.La.ee.onclick=p),c.ob=a,a.initialize(this)):a.ge(p,o);x.lang.Ca.call(a,a.ba);c.Ez||(c.Ez=function(a){if(!a.ab&&b.R.ob&&b.R.ob.z.cD){b.Wc();b.removeEventListener("click",arguments.callee);c.Dz=q}});c.Dz||(c.Tu=setTimeout(function(){b.addEventListener("click", c.Ez);c.Dz=o;c.Tu=p},200));c.ll&&delete c.ll;a.ab=this;var d=b.La;this.map.Rf().qD.appendChild(d.xc);this.map.Rf().bL.appendChild(d.cc);a.Lk();this.dispatchEvent(new O("oninfowindowopen"))}}};fb.prototype.Wc=function(){if(this.map&&this.map.La&&this.Cb&&this.Cb.ba==this.map.La.ba)try{this.Cb.U()==o&&(this.dispatchEvent(new O("oninfowindowclose")),this.map.R.ob=this.Cb=p)}catch(a){}};S(Ye,{openInfoWindow:Ye.Nb,closeInfoWindow:Ye.Wc}); S(bf,{redraw:bf.ge,setTitle:bf.Cc,setPosition:bf.ta,setWidth:bf.Bh,setMaxWidth:bf.SN,setHeight:bf.zh,setContent:bf.ad,setMaxContent:bf.Rt,enableMaximize:bf.ah,disableMaximize:bf.Uw,isOpen:bf.Wa,show:bf.show,hide:bf.U,maximize:bf.Ux,restore:bf.restore});var Bg=z.Ac;function zg(){}zg.prototype=new kc; x.extend(zg.prototype,{initialize:function(a){this.C=a;this.Va=this.KW();this.C.Na().appendChild(this.Va);this.dY();this.bind();this.yX();this.rw=0;return this.Va},draw:s(),K:{JZ:Bg+"ws/message?method=send",KU:Bg+"ws/message?method=activate",xV:Bg+"ws/message?method=ckActivate",g_:z.url.proto+z.url.domain.message+"/?"},KW:function(){var a=document.createElement("div"),b=this.C.Bb(),c=0,d=0;450<b.width&&(d=(b.width-450)/2);260<b.height&&(c=(b.height-260)/2);c="position:absolute;background:#fff;width:480px;height:260px;top:"+ c+"px;left:"+d+"px;ovflow:hidden;";G()&&(c+="-webkit-transform:translate(-"+b.width/4+"px,0px) scale(0.6);");a.style.cssText=c;a.innerHTML=[\'<div style="height: 35px; background: #FCFCFC; position: relative; z-index: 20; font-size:12px; font-weight:bold; line-height:35px; padding-left:10px;"><span>\\u53d1\\u9001\\u5230\\u624b\\u673a</span><span id="BMapLib_sms_tip" style="display:none;color: red; padding-left:20px;"></span></div><div id="BMapLib_sms_pnl_phone" style="display: block;position: relative; z-index: 10; padding: 10px 15px 10px 15px; border-top: solid 1px #F2F2F2; font-size:12px;"><div id="pnl_phone_left" style="display: block;float: left; width: 263px; height: 172px; overflow-x: hidden; overflow-y: auto;"><table border="0" style="border-spacing:0;border-collapse:collapse;border:none;display:table-cell;"><tr><td style="line-height:18px;height:18px;font-size:12px;margin:0;border:none;padding:0;background:none;display:table-cell;text-align:right; font-weight:normal;">\\u53d1\\u9001\\u65b9\\u624b\\u673a\\u53f7&nbsp;</td><td style="line-height:18px;height:18px;font-size:12px;margin:0;border:none;padding:0;background:none;display:table-cell;"><input type="text" bid="" id="BMapLib_phone_0" maxlength="11" style="ime-mode:disabled;width:90px;" /><span id="BMapLib_activateTip" style="padding-left:5px; color: red;"></span></td></tr><tr id="BMapLib_activateBox" style="display:none;"><td style="line-height:18px;height:18px;font-size:12px;margin:0;border:none;padding:0;background:none;display:table-cell;text-align:right; font-weight:normal;">\\u6fc0\\u6d3b\\u7801&nbsp;</td><td style="line-height:18px;height:18px;font-size:12px;margin:0;border:none;padding:0;background:none;display:table-cell;"><input type="text" id="BMapLib_activate" style="ime-mode:disabled;width:35px;" maxlength="4"/><input type="button" value="\\u83b7\\u53d6" id="BMapLib_activate_btn" bid="activate" style="width:40px;"/><input type="button" value="59" id="BMapLib_time_surplus" disabled="disabled" style="width:105px;height:24px;display:none;"/></tr><tr><td style="line-height:18px;height:18px;font-size:12px;margin:0;border:none;padding:0;background:none;display:table-cell;vertical-align:top;padding-top:4px;text-align:right; font-weight:normal;">\\u63a5\\u6536\\u65b9\\u624b\\u673a\\u53f7&nbsp;</td><td style="line-height:18px;height:18px;font-size:12px;margin:0;border:none;padding:0;background:none;display:table-cell;"><div><input type="text" id="BMapLib_phone_1" style="ime-mode:disabled;width:90px;" maxlength="11"/><input type="checkbox" id="BMapLib_is_remember_phone"/>\\u8bb0\\u4f4f\\u6b64\\u53f7</div><div id="BMapLib_add_phone_con"></div><div><a href="javascript:void(0)" id="BMapLib_add_phone_btn" bid="addPhone">\\u65b0\\u589e</a></div></td></tr><tr><td style="line-height:18px;height:18px;font-size:12px;margin:0;border:none;padding:0;background:none;display:table-cell;"></td><td style="line-height:18px;height:18px;font-size:12px;margin:0;border:none;padding:0;background:none;display:table-cell;"><input type="text" id="BMapLib_ver_input" maxlength="4" style="width:67px;border: 1px solid #a5acb2;vertical-align: middle;height:18px;" tabindex="5" placeholder="\\u9a8c\\u8bc1\\u7801"><img width="69" height="20" id="BMapLib_ver_image" style="border: 1px solid #d5d5d5;vertical-align:middle;margin-left: 5px;" alt="\\u70b9\\u51fb\\u66f4\\u6362\\u6570\\u5b57" title="\\u70b9\\u51fb\\u66f4\\u6362\\u6570\\u5b57"></td></tr><tr><td style="line-height:18px;height:18px;font-size:12px;margin:0;border:none;padding:0;background:none;display:table-cell;"></td><td style="line-height:18px;height:18px;font-size:12px;margin:0;border:none;padding:0;background:none;display:table-cell;"><input type="button" style="margin:5px;" value="\\u514d\\u8d39\\u53d1\\u9001\\u5230\\u624b\\u673a" bid="sendToPhoneBtn"/></td></tr></table></div><div id="pnl_phone_right" style="display: block;background:#f6f6f6; padding:10px; height:152px; overflow-x:hidden; overflow-y:auto;"><div style="font-weight:bold; height:18px; line-height:18px; padding-bottom:5px;">\\u77ed\\u4fe1\\u5185\\u5bb9\\uff1a</div><div id="BMapLib_msgContent" style="font-size:12px: line-height:16px; word-break:break-all; \\u3000\\u3000word-wrap:break-word;"></div></div><div style="clear:both;"></div><p id="BMapLib_sms_declare_phone" style="color: #707070;">\\u6211\\u4eec\\u4fdd\\u8bc1\\u4e0d\\u5411\\u4efb\\u4f55\\u7b2c\\u4e09\\u65b9\\u63d0\\u4f9b\\u8f93\\u5165\\u7684\\u624b\\u673a\\u53f7\\u7801</p></div>\', \'<button style="padding:10px; background: url(\'+z.Ac+\'/images/iw_close1d3.gif) no-repeat center center transparent; border: 0 none; cursor: pointer; height: 13px; position: absolute; right: 8px; top: 8px; width: 14px; z-index: 50;" bid="close"></button>\',\'<div id="BMapLib_success_tip" style="display:none;font-size: 12px; text-align: center; padding: 50px 0 20px 0 ; color: red;">\\u60a8\\u7684\\u77ed\\u4fe1\\u5df2\\u7ecf\\u53d1\\u9001\\u5230\\u60a8\\u7684\\u624b\\u673a\\uff0c\\u8bf7\\u6ce8\\u610f\\u67e5\\u6536!</div>\'].join(""); return a},dY:function(){this.D={cO:x.$("BMapLib_sms_tip"),DJ:x.$("BMapLib_activate_btn"),mm:x.$("BMapLib_phone_0"),LF:x.$("BMapLib_phone_1"),fM:x.$("BMapLib_is_remember_phone"),m_:x.$("BMapLib_sms_pnl_phone"),t_:x.$("BMapLib_success_tip"),LJ:x.$("BMapLib_add_phone_con"),n1:x.$("BMapLib_add_phone_btn"),KB:x.$("BMapLib_activateBox"),Vr:x.$("BMapLib_activateTip"),kw:x.$("BMapLib_activate"),qO:x.$("BMapLib_time_surplus"),OO:x.$("BMapLib_ver_image"),b0:x.$("BMapLib_ver_input")}},j_:function(){this.D.qO.style.display= "";this.D.DJ.style.display="none";this.qK(59)},qK:function(a){var b=this.D.qO;b.value="\\u91cd\\u65b0\\u83b7\\u53d6("+(10>a?"0"+a:a)+"\\u79d2)";var c=this;this.HF&&clearTimeout(this.HF);this.HF=setTimeout(function(){c.qK(--a)},1E3);0==a&&(clearTimeout(this.HF),b.style.display="none",this.D.DJ.style.display="")},Yt:function(a){var b=a.error,c={PHONE_NUM_INVALID:"\\u624b\\u673a\\u53f7\\u7801\\u65e0\\u6548",SMS_SEND_SUCCESS:"\\u53d1\\u9001\\u5230\\u624b\\u673a\\u6210\\u529f",AK_INVALID:"\\u4f60\\u6240\\u4f7f\\u7528\\u7684key\\u65e0\\u6548", INTERNAL_ERROR:"\\u670d\\u52a1\\u5668\\u9519\\u8bef",OVER_MAX_ACTIVATE_TIME:"\\u4eca\\u5929\\u5df2\\u8d85\\u8fc7\\u53d1\\u9001\\u6fc0\\u6d3b\\u7801\\u6700\\u5927\\u6b21\\u6570",SMS_ACTIVATE_SUCCESS:"\\u6fc0\\u6d3b\\u7801\\u5df2\\u53d1\\u9001\\u5230\\u60a8\\u7684\\u624b\\u673a\\uff0c\\u8bf7\\u6ce8\\u610f\\u67e5\\u6536\\uff01",ACTIVATE_FAIL:"\\u624b\\u673a\\u6fc0\\u6d3b\\u7801\\u65e0\\u6548",SMS_LACK:"\\u4eca\\u5929\\u60a8\\u8fd8\\u80fd\\u5f805\\u4e2a\\u624b\\u673a\\u53d1\\u9001\\u77ed\\u4fe1",PARAM_INVALID:"\\u8bf7\\u586b\\u5b8c\\u6240\\u6709\\u9009\\u9879",SEND_ACTIVATE_FAIL:"\\u6fc0\\u6d3b\\u7801\\u53d1\\u9001\\u5931\\u8d25", VCODE_VERITY_FAIL:"\\u9a8c\\u8bc1\\u7801\\u6821\\u9a8c\\u5931\\u8d25"}[b];"SMS_LACK"==b&&(a=a.res_sms,c="\\u4eca\\u5929\\u60a8\\u8fd8\\u80fd\\u5f80"+a+"\\u4e2a\\u624b\\u673a\\u53d1\\u9001\\u77ed\\u4fe1",this.rw=a-1);c&&(this.D.cO.innerHTML=c,this.D.cO.style.display="inline");this.cF();"SMS_SEND_SUCCESS"==b&&(this.mZ(),this.IZ())},bind:function(){var a=this;x.M(this.Va,"click",function(b){b=b.target||b.srcElement;switch(b.getAttribute("bid")){case "close":a.BV();break;case "sendToPhoneBtn":a.GZ();break;case "activate":a.JU(); break;case "addPhone":a.MU();break;case "deletePhone":a.$V(b)}});x.M(this.Va,"keypress",function(a){var a=a||window.event,a=a.which||a.keyCode,c=q;if(48<=a&&57>=a||44==a||8==a)c=o;return c});x.M(this.D.mm,"blur",function(){x.kt(a.D.mm.value)?a.eK():(a.D.Vr.innerHTML="",a.D.KB.style.display="none")});x.M(this.D.kw,"blur",function(){x.jY(a.D.kw.value)&&a.eK()});a.cF();x.M(this.D.OO,"click",function(){a.cF()})},cF:function(){var a=this;this.bb(z.url.proto+z.url.domain.baidumap+"/maps/services/captcha?", {cbName:"cb"},function(b){a.MO=b.content.vcode;a.D.OO.src=z.url.proto+z.url.domain.baidumap+"/maps/services/captcha/image?vcode="+a.MO})},eK:function(){var a=this;this.bb(this.K.xV,{phone:this.D.mm.value,activate:this.D.kw.value,cbName:"callback"},function(b){!b||b.isactivate==q?(a.D.KB.style.display="table-row",a.D.Vr.style.color="red",a.D.Vr.innerHTML="\\u672a\\u6fc0\\u6d3b"):(a.D.KB.style.display="none",a.D.Vr.style.color="green",a.D.Vr.innerHTML="\\u5df2\\u6fc0\\u6d3b")})},JU:function(){var a=this, b={phone:this.D.mm.value,ak:qa,cbName:"callback"};x.kt(b.phone)?this.bb(this.K.KU,b,function(b){b&&a.Yt(b);(b.error="SMS_ACTIVATE_SUCCESS")&&a.j_()}):this.Yt({error:"PHONE_NUM_INVALID"})},BV:function(){this.C.Tb(this)},F2:s(),GZ:function(){var a=this;if(this.$_()){tophoneStr=x.$("BMapLib_phone_1").value;for(var b=this.D.LJ.getElementsByTagName("input"),c=0,d=b.length;c<d;c++)if(x.kt(b[c].value))tophoneStr+=","+b[c].value;else{this.Yt({error:"PHONE_NUM_INVALID"});return}b=this.C.getKey();c=this.EY; this.tE.z.message||(c=this.D.mm.value+"\\u5206\\u4eab\\u4e00\\u4e2a\\u4f4d\\u7f6e\\u7ed9\\u60a8\\uff0c"+c);c=encodeURIComponent(c);this.bb(this.K.JZ,{fromphone:this.D.mm.value,tophone:tophoneStr,ak:b,activate:this.D.kw.value,content:c,cbName:"callback",vcode:this.MO,code_input:this.D.b0.value},function(b){b&&a.Yt(b)})}},$_:function(){var a=o;if(!x.kt(this.D.mm.value)||!x.kt(this.D.LF.value))a=q,this.Yt({error:"PHONE_NUM_INVALID"});return a},QW:function(a){this.tE=a;var a=this.tE.ha(),b=this;(new Gd).Vo(a, function(a){a&&a.addressComponents&&(a=a.addressComponents,b.address=a.province+a.city+a.district+a.street+a.streetNumber,b.LW())})},LW:function(){var a=x.$("BMapLib_msgContent"),b="",c=this.tE,d=c.ha(),e=c.getTitle(),f=c.tk(),e=x.lang.tg(e)?e.replace(/<\\/?[^>]*>/g,""):e.innerHTML.replace(/<\\/?[^>]*>/g,""),e=e.replace(/\\u8be6\\u60c5&raquo;/g,""),f=x.lang.tg(f)?f.replace(/<\\/?[^>]*>/g,""):f.innerHTML.replace(/<\\/?[^>]*>/g,"");c.z.message?b+=c.z.message:(this.X_&&(b+=this.X_+"\\u5206\\u4eab\\u4e00\\u4e2a\\u4f4d\\u7f6e\\u7ed9\\u60a8\\uff0c"), e&&(b+="\\u540d\\u79f0\\u4e3a\\uff1a"+e+"\\uff0c"),this.address&&(b+="\\u5927\\u81f4\\u4f4d\\u7f6e\\u5728"+this.address+"\\uff0c"));var g="http://api.map.baidu.com/marker?location="+d.lat+","+d.lng+"&title="+encodeURIComponent(e)+"&content="+encodeURIComponent(f)+"&output=html&operate=jsapi_message",i=this;this.bb(this.K.g_,{url:encodeURIComponent(g),t:(new Date).getTime(),cbName:"callback"},function(c){b=b+(" \\u67e5\\u770b\\u5730\\u56fe "+(c.url?c.url:g));i.EY=b;a.innerHTML=b})},mZ:function(){this.D.fM.checked? x.cookie.set("BMapLib_phone",this.D.LF.value,{path:"/",bh:2592E6}):x.cookie.remove("BMapLib_phone",{path:"/"})},yX:function(){var a=x.cookie.get("BMapLib_phone");a&&(this.D.LF.value=a,this.D.fM.checked=o)},IZ:function(){this.D.m_.style.display="none";this.D.t_.style.display="block";var a=this;setTimeout(function(){a.C.Tb(a)},1500)},MU:function(){if(!(4<=this.rw)){var a=document.createElement("div");a.innerHTML=\'<input type="text" style="ime-mode:disabled;width:90px;" maxlength="11"/><a href="javascript:void(0);" style="margin-left:5px;" bid="deletePhone">\\u5220\\u9664</a>\'; this.D.LJ.appendChild(a);this.rw++}},$V:function(a){a.parentNode.parentNode.removeChild(a.parentNode);this.rw--},bb:function(a,b,c){var d=(1E5*Math.random()).toFixed(0);window.BMap["BMap_cbk"+d]=function(a){c&&c(a);delete window.BMap["BMap_cbk"+d]};for(var e in b)"cbName"!=e&&(a+="&"+e+"="+b[e]);a+="&"+b.cbName+"=BMap.BMap_cbk"+d;pa(a)}});function Ag(a){this.ra(a)}x.lang.ua(Ag,x.lang.Ca,"SearchTool"); x.extend(Ag.prototype,{K:{qa:E.qa+"iw_bg.png",XB:E.qa+"blank.gif"},ra:function(a){var b=this;this.eM=o;var c=a.map,d=this.D=M("div",{style:"font-size:12px;"});this.UM=this.AM=p;var e="border:0;width:47px;height:25px;line-height:25px;margin:0 0 0 5px;vertical-align:bottom;background:url("+this.K.qa+") repeat-x 0 -87px;",f=this.VM=M("span",{style:"float:left;text-align:center;line-height:18px;padding:6px 0;border-left:1px solid #dadada;"}),g=this.sO=M("span",{style:"float:left;text-align:center;line-height:18px;padding:6px 0;border-left:1px solid #dadada;"}), i=this.cL=M("span",{style:"float:left;text-align:center;line-height:18px;padding:6px 0;border-left:1px solid #dadada;"});f.style.borderLeft="";f.innerHTML="<img src=\'"+this.K.XB+"\' style=\'border:none;vertical-align:-3px;margin-right:5px;_vertical-align:0;width:14px;height:14px;background:url("+this.K.qa+") no-repeat -30px -136px;\'/>\\u5728\\u9644\\u8fd1\\u627e";g.innerHTML="<img src=\'"+this.K.XB+"\' style=\'border:none;vertical-align:-3px;margin-right:5px;_vertical-align:0;width:10px;height:15px;background:url("+ this.K.qa+") no-repeat -15px -136px;\'/>\\u5230\\u8fd9\\u91cc\\u53bb";i.innerHTML="<img src=\'"+this.K.XB+"\' style=\'border:none;vertical-align:-3px;margin-right:5px;_vertical-align:0;width:10px;height:15px;background:url("+this.K.qa+") no-repeat 0px -136px;\'/>\\u4ece\\u8fd9\\u91cc\\u51fa\\u53d1";x.M(f,"click",function(){b.Dy("near")});x.M(g,"click",function(){b.Dy("toHere")});x.M(i,"click",function(){b.Dy("fromHere")});var k=M("div",{style:"margin-top:5px;overflow:hidden;background:url("+this.K.qa+") repeat-x 0 0;*zoom:1;"}); k.appendChild(f);k.appendChild(g);k.appendChild(i);f=this.EZ=M("div",{style:"padding:10px 5px 0 5px;"});localSearchDiv=M("div",{style:"margin-top: 4px;margin-right: 3px;-margin-right: 2px;white-space: nowrap;float: left;"});hotelLink=M("a",{style:"margin-top: 4px;margin-right: 3px;-margin-right: 2px;white-space: nowrap;float: left;",filter:"query",style:"color: #3d6dcc;text-decoration: none;margin-left: 6px;margin-left: 0"});hotelLink.innerHTML="\\u9152\\u5e97";localSearchDiv.appendChild(hotelLink); caterLink=M("a",{style:"margin-top: 4px;margin-right: 3px;-margin-right: 2px;white-space: nowrap;float: left;",filter:"query",style:"color: #3d6dcc;text-decoration: none;margin-left: 6px;"});caterLink.innerHTML="\\u9910\\u9986";localSearchDiv.appendChild(caterLink);bankLink=M("a",{style:"margin-top: 4px;margin-right: 3px;-margin-right: 2px;white-space: nowrap;float: left;",filter:"query",style:"color: #3d6dcc;text-decoration: none;margin-left: 6px;"});bankLink.innerHTML="\\u94f6\\u884c";localSearchDiv.appendChild(bankLink); hostpLink=M("a",{style:"margin-top: 4px;margin-right: 3px;-margin-right: 2px;white-space: nowrap;float: left;",filter:"query",style:"color: #3d6dcc;text-decoration: none;margin-left: 6px;"});hostpLink.innerHTML="\\u533b\\u9662";localSearchDiv.appendChild(hostpLink);busLink=M("a",{style:"margin-top: 4px;margin-right: 3px;-margin-right: 2px;white-space: nowrap;float: left;",filter:"query",style:"color: #3d6dcc;text-decoration: none;margin-left: 6px;"});busLink.innerHTML="\\u516c\\u4ea4\\u7ad9";localSearchDiv.appendChild(busLink); localSearchInput=M("input",{style:"height:22px;line-height:22px;padding:0;margin:0;border:1px solid #A5ACB2;width:85px;",type:"text"});localSearchBtn=M("input",{style:e+"width:50px;",type:"button",value:"\\u641c\\u7d22"});f.appendChild(localSearchDiv);f.appendChild(localSearchInput);f.appendChild(localSearchBtn);var l=c.Vb()?"vector":"tile";x.M(localSearchBtn,"click",function(){var a="http://api.map.baidu.com/place/search?query="+localSearchInput.value+"&location="+b.position.lat+","+b.position.lng+ "&radius=1000&output=html&src=jsapi&operate=searchtool&clicktype"+l+"&region="+b.sk();window.open(a,"_blank")});c=this.NY=M("div",{style:"padding:10px 5px 0 5px;"});x.D.U(c);navSearchLabel=this.OY=M("span",{style:"margin-right:5px;"});navSearchLabel.innerHTML="\\u8d77\\u70b9";navSearchInput=M("input",{style:"height:22px;line-height:22px;padding:0;margin:0;border:1px solid #A5ACB2;width:125px;",type:"text"});transitSearchBtn=M("input",{style:e,type:"button",value:"\\u516c\\u4ea4"});drivingSearchBtn=M("input", {style:e,type:"button",value:"\\u9a7e\\u8f66"});navBtn=M("input",{style:e,type:"button",value:"\\u5bfc\\u822a"});c.appendChild(navSearchLabel);c.appendChild(navSearchInput);c.appendChild(transitSearchBtn);c.appendChild(drivingSearchBtn);c.appendChild(navBtn);x.M(transitSearchBtn,"click",function(){b.AO("transit")});x.M(drivingSearchBtn,"click",function(){b.AO("driving")});x.M(navBtn,"click",function(){window.open("http://wuxian.baidu.com/map/navi.html","_blank")});d.appendChild(k);d.appendChild(f);d.appendChild(c); x.kc.Gb([hostpLink,hotelLink,caterLink,busLink,bankLink],function(a){x.M(a,"mouseover",function(){x.$(this).style.textDecoration="underline";x.$(this).style.cursor="pointer"});x.M(a,"mouseout",function(){x.$(this).style.textDecoration="none";x.$(this).style.cursor="defult"})});x.kc.Gb([hostpLink,hotelLink,caterLink,busLink,bankLink],function(c){x.M(c,"click",function(){Ra(6002);var c=b.map.Vb()?"vector":"tile",d=a.ha(),c="http://api.map.baidu.com/place/search?query="+this.innerHTML+"&location="+d.lat+ ","+d.lng+"&radius=1000&output=html&src=jsapi&operate=searchtool&clicktype"+c+"&region="+b.sk();window.open(c,"_blank")})});this.reset(a);this.dV(a,localSearchInput,navSearchInput)},reset:function(a){this.map=a.map;this.Cb=a;this.position=a.ha();this.Dy("near");this.SU()},SU:function(){var a=this;setTimeout(function(){var b=a.Cb.z.width,c=Math.floor((b-2)/3);a.VM.style.width=c+"px";a.sO.style.width=c+"px";a.cL.style.width=b-2-2*c+"px"},100)},dV:function(a,b,c){var d=this;a.addEventListener("open", function(){d.AM==p&&(d.AM=new Ld({input:b,location:a.map}));d.UM==p&&(d.UM=new Ld({input:c,location:a.map}))})},sk:function(){return this.map.Yg},Id:u("D"),AO:function(a){var b=this.position.lat+","+this.position.lng,c=navSearchInput.value,d=this.sk(),e;if(e=this.Cb.getTitle())e=x.lang.tg(e)?e.replace(/<\\/?[^>]*>/g,""):e.innerHTML.replace(/<\\/?[^>]*>/g,""),e=e.replace(/\\u8be6\\u60c5&raquo;/g,""),b="name:"+e+"|latlng:"+b;this.eM?(e=b,b=c):e=c;c=this.map.Vb()?"vector":"tile";window.open("http://api.map.baidu.com/direction?origin="+ e+"&destination="+b+"&mode="+a+"&output=html&src=jsapi&operate=searchtool&clicktype"+c+"&region="+d,"_blank")},Dy:function(a){var b=this.VM,c=this.sO,d=this.EZ,e=this.OY,f=this.NY,g=this.cL;x.kc.Gb([b,c,g],function(a){a.style.background="";a.style.cursor="pointer"});var i="url("+this.K.qa+") repeat-x 0 -44px",k=p;switch(a){case "near":k=b;x.D.show(d);x.D.U(f);break;case "toHere":k=c;x.D.U(d);x.D.show(f);e.innerHTML="\\u8d77\\u70b9";this.cK("destination");break;case "fromHere":k=g,x.D.U(d),x.D.show(f), e.innerHTML="\\u7ec8\\u70b9",this.cK("origin")}k.style.background=i},cK:function(a){this.eM="origin"==a?o:q}}); ');
This source diff could not be displayed because it is too large. You can view the blob instead.
_jsload2&&_jsload2('markeranimation', 'Fc[1]={options:{duration:400},Am:[{ac:0,translate:[0,-500],hc:"ease-in"},{ac:0.5,translate:[0,0],hc:"ease-out"},{ac:0.75,translate:[0,-20],hc:"ease-in"},{ac:1,translate:[0,0],hc:"ease-out"}],Wt:[{ac:0,translate:[375,-375],hc:"ease-in"},{ac:0.5,translate:[0,0],hc:"ease-out"},{ac:0.75,translate:[15,-15],hc:"ease-in"},{ac:1,translate:[0,0],hc:"ease-out"}]}; Fc[2]={options:{duration:700,loop:tb},Am:[{ac:0,translate:[0,0],hc:"ease-out"},{ac:0.5,translate:[0,-20],hc:"ease-in"},{ac:1,translate:[0,0],hc:"ease-out"}],Wt:[{ac:0,translate:[0,0],hc:"ease-out"},{ac:0.5,translate:[15,-15],hc:"ease-in"},{ac:1,translate:[0,0],hc:"ease-out"}]};Fc[3]={options:{duration:200,HO:o},Am:[{ac:0,translate:[0,0],hc:"ease-in"},{ac:1,translate:[0,-20],hc:"ease-out"}],Wt:[{ac:0,translate:[0,0],hc:"ease-in"},{ac:1,translate:[15,-15],hc:"ease-out"}]}; Fc[4]={options:{duration:500,HO:o},Am:[{ac:0,translate:[0,-20],hc:"ease-in"},{ac:0.5,translate:[0,0],hc:"ease-out"},{ac:0.75,translate:[0,-10],hc:"ease-in"},{ac:1,translate:[0,-0.0],hc:"ease-out"}],Wt:[{ac:0,translate:[15,-15],hc:"ease-in"},{ac:0.5,translate:[0,0],hc:"ease-out"},{ac:0.75,translate:[8,-8],hc:"ease-in"},{ac:1,translate:[0,0],hc:"ease-out"}]}; ');
\ No newline at end of file
_jsload2&&_jsload2('menu', 'x.object.extend(dc.prototype,{ra:function(a,b){if(this.B)return q;this.C=a;this.wl=b||p;this.Aa();var c=this,d=a.K.Xb;b&&b.z.hf&&(d="pointer");this.B.style.cursor=d;this.Ad&&(this.Ad.style.cursor=d);x.M(document,"mousedown",function(){c.B&&c.U()});x.M(this.B,"click",function(a){c.U();na(a)});d=this.k.Va;d||(d=a.Va);this.wl?this.wl.addEventListener("rightclick",function(a){c.B&&c.dJ(a)}):a.addEventListener("rightclickex",function(a){c.B&&(!a.ab&&!a.Cb)&&c.dJ(a)});for(var d=0,e=this.ya.length;d<e;d++)"menuitem"== this.ya[d].Mb&&this.ya[d].ra(a,this),"divider"==this.ya[d].Mb&&(this.Ce[this.ya[d].Nj].D=yb(this.B,"<div class=\'BMap_cmDivider\'></div>"));this.Tr()},yb:function(){this.C&&(this.ra(this.C,this.wl),this.Ph&&(this.Ph=q,this.show()))},remove:function(){this.B&&(this.B.parentNode.removeChild(this.B),this.B=p);this.Ad&&(this.Ad.parentNode.removeChild(this.Ad),this.Ad=p);for(var a=0,b=this.ya.length;a<b;a++)"menuitem"==this.ya[a].Mb&&(this.ya[a].B=p);this.C=this.wl=p},Aa:function(){this.B=yb(this.C.Va,"<div unselectable=\'on\'></div>"); this.B.className="BMap_contextMenu";var a=this.B.style;a.font="12px "+E.fontFamily;9>x.da.la?this.Ad=yb(this.C.Va,"<div class=\'BMap_cmShadow\'></div>"):a.jV=a.qP=a.WebkitBoxShadow="1px 2px 6px #666";return this.B},qw:function(a){if(a&&!("menuitem"!=a.Mb||""==a.Tg||0>=a.Zi)){for(var b=0,c=this.ya.length;b<c;b++)if(this.ya[b]===a)return;this.ya.push(a);this.If.push(a);this.C&&(a.ra(this.C,this),x.D.Ua(a.Id(),"BMap_cmLstItem"),1<this.ya.length?"menuitem"==this.ya[this.ya.length-2].Mb&&x.D.Sb(this.ya[this.ya.length- 2].Id(),"BMap_cmLstItem"):"menuitem"==this.ya[0].Mb&&x.D.Ua(this.ya[0].Id(),"BMap_cmFstItem"),this.Tr())}},removeItem:function(a){if(a&&"menuitem"==a.Mb){for(var b=0,c=this.ya.length;b<c;b++)this.ya[b]===a&&(this.ya[b].remove(),this.ya.splice(b,1),c--);b=0;for(c=this.If.length;b<c;b++)this.If[b]===a&&(this.If[b].remove(),this.If.splice(b,1),c--);this.B&&(0<this.ya.length&&"menuitem"==this.ya[this.ya.length-1].Mb&&x.D.Ua(this.ya[this.ya.length-1].Id(),"BMap_cmLstItem"),this.Tr())}},PB:function(){this.ya.push({Mb:"divider", Nj:this.Ce.length});this.Ce.push({D:p});this.B&&(this.Ce[this.Ce.length-1].D=yb(this.B,"<div class=\'BMap_cmDivider\'></div>"),this.Tr())},bF:function(a){if(this.Ce[a]){this.Ce[a].D&&this.Ce[a].D.parentNode&&this.Ce[a].D.parentNode.removeChild(this.Ce[a].D);for(var b=0,c=this.ya.length;b<c;b++)this.ya[b]&&("divider"==this.ya[b].Mb&&this.ya[b].Nj==a)&&(this.ya.splice(b,1),c--),this.ya[b]&&("divider"==this.ya[b].Mb&&this.ya[b].Nj>a)&&this.ya[b].Nj--;this.Ce.splice(a,1);this.Tr()}},ta:function(a,b){this.B.style.left= a+"px";this.B.style.top=b+"px";this.Ad&&(this.Ad.style.left=a+1+"px",this.Ad.style.top=b+2+"px")},show:function(){if(this.Ph!=o&&0!=this.If.length){this.Ph=o;this.B&&(this.B.style.visibility="visible");this.Ad&&(this.Ad.style.visibility="visible");var a=new O("onopen");a.point=this.Pw;a.pixel=this.hs;this.dispatchEvent(a)}},U:function(){if(this.Ph!=q){this.Ph=q;this.B&&(this.B.style.visibility="hidden");this.Ad&&(this.Ad.style.visibility="hidden");var a=new O("onclose");a.point=this.Pw;a.pixel=this.hs; this.dispatchEvent(a)}},NZ:function(a){if(a&&(this.k.cursor=a,this.B&&(this.B.style.cursor=this.k.cursor),this.Ad))this.Ad.style.cursor=this.k.cursor},Tr:function(){this.B&&this.Ad&&(this.Ad.style.width=this.B.offsetWidth+"px",this.Ad.style.height=this.B.offsetHeight+"px")},dJ:function(a){if(0!=this.If.length){this.hs=a.jb;this.Pw=this.C.wb(this.hs);var b=this.Id().offsetHeight,c=this.Id().offsetWidth,d=a.jb.x,e=a.jb.y;a.jb.x+c>this.C.width&&(d=a.jb.x-c);a.jb.y+b>this.C.height&&(e=a.jb.y-b);this.ta(d, e);this.show()}}});S(pf,{addItem:pf.qw,removeItem:pf.removeItem,addSeparator:pf.PB,removeSeparator:pf.bF});x.object.extend(gc.prototype,{ra:function(a,b){if(this.B)return q;this.C=a;this.Hh=b;b.Id()&&(this.Aa(),this.ca(),this.Lh||(this.Lh=o,this.disable()));return o},remove:function(){this.B&&(this.B.parentNode.removeChild(this.B),this.B=p);this.C=this.Hh=p},yb:function(){this.Hh&&this.C&&this.ra(this.C,this.Hh)},Aa:function(){var a=this.k.Bm?"<div"+(this.k.id?" id=\'"+this.k.id+"\'":"")+" unselectable=\'on\'><div style=\'width: 17px;height: 17px;margin-right: 3px;display: inline-block;zoom: 1;*display: inline;vertical-align: middle;background: url("+ this.k.Bm+") no-repeat;\'></div><span style=\'vertical-align: middle;\'>"+this.Tg+"</span></div>":"<div"+(this.k.id?" id=\'"+this.k.id+"\'":"")+" unselectable=\'on\'><span>"+this.Tg+"</span></div>";this.B=yb(this.Hh.Id(),a);this.k.Bm?(this.lv=this.B.firstChild,this.Pr=this.B.lastChild):this.Pr=this.B;a=this.B.style;a.padding="2px 6px";a.margin="0 2px";a.fontSize="14px";a.MozUserSelect="none";a.lineHeight="17px";a.width=this.k.width+"px";this.Lh?(a.color="#000",a.cursor="pointer"):(a.color="#aaa",a.cursor= this.C.K.Xb);return this.B},ca:function(){var a=this;x.M(this.B,"click",function(b){a.Lh?a.xz&&a.xz.call&&a.xz.call(a,a.Hh.Pw,a.Hh.hs,a.Hh.wl):na(b)});x.M(this.B,"mousedown",function(a){na(a)});x.M(this.B,"mouseover",function(){a.Lh&&(a.B.style.color="#6688cc")});x.M(this.B,"mouseout",function(){a.Lh&&(a.B.style.color="#000")})},Ut:function(a){a&&(this.Tg=a+"",this.Pr&&(this.Pr.innerHTML="<span>"+this.Tg+"</span>"))},Ub:function(a){a&&(this.k.Bm=a,this.lv?this.lv.style.background="url("+a+")":(this.B.innerHTML= "<div"+(this.k.id?" id=\'"+this.k.id+"\'":"")+" unselectable=\'on\'><div style=\'width: 17px;height: 17px;margin-right: 3px;display: inline-block;zoom: 1;*display: inline;vertical-align: middle;background: url("+this.k.Bm+") no-repeat;\'></div><span style=\'vertical-align: middle;\'>"+this.Tg+"</span></div>",this.lv=this.B.firstChild,this.Pr=this.B.lastChild))},enable:function(){this.Lh=o;this.B&&(this.B.style.color="#000",this.B.style.cursor="pointer")},disable:function(){this.Lh=q;this.B&&(this.B.style.color= "#aaa",this.B.style.cursor=this.C.K.Xb)}});S(qf,{setIcon:qf.Ub,setText:qf.Ut,enable:qf.enable,disable:qf.disable}); ');
_jsload2&&_jsload2('newvectordrawlib', 'function Gf(a){this.$H=o;this.k=x.object.extend(a||{},{Ch:o});Hc.call(this,this.k);this.yg={};this.loaded=q;this.Et=p;this.WB=q}Gf.prototype=new Hc; Gf.prototype.ra=function(a){if(!this.loaded){this.loaded=o;var b=this;b.map=a;b.cb=b.map.cb;b.map=a;this.Ib=this.map.pa();this.Pb=this.Ib.k.Pb;this.yc=this.map.K.devicePixelRatio;b.Tw=q;b.vK=p;b.Qe=b.k.style||"normal";b.hn=b.k.styleStr||p;b.aq=200;b.ze=p;b.Zd=0;b.xb=this.cb.Kn(0);b.cb.ld.appendChild(this.xb);b.cb.xb=b.xb;b.Jb=new z.NewVectorDrawLib(a);b.Jb.Pb=this.Ib.k.Pb;b.fs="";b.Jb.lC=b.Qe;b.Xl();b.Qe&&"normal"!==b.Qe||b.hn&&0<b.hn.length?b.Nt(b.Qe,b.hn,function(){b.map.addEventListener("click", function(a){b.Zd++;if(1===b.Zd)b.ze=setTimeout(function(){b.qu(a);b.Zd=0},b.aq);else return clearTimeout(b.ze),b.Zd=0,q});b.xb.innerHTML="";b.$d(o)}):(b.$d(),b.map.addEventListener("click",function(a){b.Zd++;if(1===b.Zd)a.ab||(b.ze=setTimeout(function(){b.qu(a);b.Zd=0},b.aq));else return clearTimeout(b.ze),b.Zd=0,q}));b.map.K.lj&&(G()&&b.Gf==j)&&(b.Gf=new z.sG(b.map),b.map.Ja(b.Gf))}}; x.extend(Gf.prototype,{Xl:function(){var a=this;setTimeout(function(){a.map.addEventListener("moveend",function(b){"centerAndZoom"!=b.jH&&a.$d()});a.map.addEventListener("zoomend",function(){a.Tw=q;a.$d()});a.map.addEventListener("onresize",function(){a.$d()});Va()&&(a.map.addEventListener("onmoving",function(){a.$d()}),a.map.addEventListener("onmaptypechange",function(){a.$d()}));a.map.addEventListener("mousemove",function(b){a.map.Vb()&&a.DC(b)})},1);a.map.addEventListener("setcustomstyles",function(b){a.mC(b.target)})}, Nt:function(a,b,c){if(this.map.Vb()){var d=this,e=z.Ac+"custom/",f;b&&0<b.length?(f="setStyle_"+b.length,e+="mapstyle?styles="+encodeURIComponent(b)):(f="setStyle_"+a,e+="getstyle?customid="+a);f+=this.map.ba;window[f]=function(b,e){var k=x.extend({},d.Jb.nz);d.Jb.Fb=x.extend(k,b);k=z.Db.re(d.Jb.Fb["3181"][1]);d.map.K.xo=k;d.map.Na().style.backgroundColor=k;c(a);d.map.dispatchEvent(new O("onsetmapstylesuccess",e));delete window[f]};pa(e+("&callback="+f+"&udt=20150526"),q)}},Ip:function(a){var b=this; b.Nt(a.style,a.styleStr,function(a){b.Qe=a;b.Jb.lC=b.Qe;var a=b.Jb.Ks,d;for(d in a)delete a[d];b.XE()})},$d:function(){this.map.fa();this.map.Vb()?(this.xb.style.display="block",this.Jb.Bs(this.wm())):(this.xb.style.display="none",this.xb.innerHTML="")},wm:function(){var a=this.map,b=this.Ib,c=a.fa(),d=a.mc,e=b.Bc(c),f=b.$D(c),b=a.ba.replace(/^TANGRAM_/,""),g=Math.ceil(d.lng/f);column=Math.ceil(d.lat/f);var i=this.Pb,k=[g,column,(d.lng-g*f)/f*i,(d.lat-column*f)/f*i],f=k[0]-Math.ceil((a.width/2-k[2])/ i),l=k[1]-Math.ceil((a.height/2-k[3])/i),m=k[0]+Math.ceil((a.width/2+k[2])/i),n=k[1]+Math.ceil((a.height/2+k[3])/i);for(this.Qc?this.Qc.length=0:this.Qc=[];f<m;f++)for(g=l;g<n;g++)this.Qc.push([f,g]);this.Qc.sort(function(a){return function(b,c){return 0.4*Math.abs(b[0]-a[0])+0.6*Math.abs(b[1]-a[1])-(0.4*Math.abs(c[0]-a[0])+0.6*Math.abs(c[1]-a[1]))}}([k[0]-1,k[1]-1]));d=[Math.round(-d.lng/e),Math.round(d.lat/e)];f=-a.offsetY+a.height/2;e=this.xb;e.style.left=-a.offsetX+a.width/2+"px";e.style.top= f+"px";this.Me?this.Me.length=0:this.Me=[];f=0;for(a=e.childNodes.length;f<a;f++)g=e.childNodes[f],g.er=q,this.Me.push(g);if(f=this.Pm)for(var t in f)delete f[t];else this.Pm={};this.Ne?this.Ne.length=0:this.Ne=[];f=0;for(a=this.Qc.length;f<a;f++){t=this.Qc[f][0];k=this.Qc[f][1];g=0;for(l=this.Me.length;g<l;g++)if(m=this.Me[g],m.id==b+"_"+t+"_"+k+"_"+c){m.er=o;this.Pm[m.id]=m;break}}f=0;for(a=this.Me.length;f<a;f++)m=this.Me[f],m.er||(m.Xd=p,delete m.Xd,this.Ne.push(m));this.kn=[];g=i*this.yc;f=0; for(a=this.Qc.length;f<a;f++)t=this.Qc[f][0],k=this.Qc[f][1],l=t*i+d[0],m=(-1-k)*i+d[1],n=b+"_"+t+"_"+k+"_"+c,cvs=this.Pm[n],cvsStyle=p,cvs?(cvsStyle=cvs.style,cvsStyle.left=l+"px",cvsStyle.top=m+"px",cvs.Ze||(cvs.Xd=p,delete cvs.Xd,this.kn.push([t,k,cvs]))):(0<this.Ne.length?(cvs=this.Ne.shift(),cvs.getContext("2d").clearRect(0,0,g,g),cvsStyle=cvs.style):(cvs=document.createElement("canvas"),cvsStyle=cvs.style,cvsStyle.position="absolute",cvsStyle.background="#F5F3F0",cvsStyle.width=i+"px",cvsStyle.height= i+"px",this.Mx()&&(cvsStyle.WebkitTransform="scale(1.001)"),cvs.setAttribute("width",g),cvs.setAttribute("height",g),e.appendChild(cvs)),cvs.id=n,cvsStyle.left=l+"px",cvsStyle.top=m+"px",this.kn.push([t,k,cvs])),cvs.style.visibility="";f=0;for(a=this.Ne.length;f<a;f++)this.Ne[f].style.visibility="hidden";return this.kn},XE:function(){for(var a=this.xb,b=0,c=a.childNodes.length;b<c;b++)a.childNodes[b].Ze=q;this.$d()},qu:function(a){this.map.K.lj&&(a=this.qs(a),this.map.K.xw?this.map.K.xw(a):this.Nb(a))}, Nb:function(a){a?(Va()&&this.Pz(a),G()&&this.Gf&&this.Gf.switchTo(a)):G()&&this.Gf&&this.Gf.U()},DC:function(a){this.map.K.lj&&(this.qs(a)?(this.map.platform.style.cursor="pointer",this.map.R.Nx=o):(this.map.R.Nx=q,this.map.platform.style.cursor!=this.map.K.Xb&&0==this.map.R.Pe.length&&(this.map.platform.style.cursor=this.map.K.Xb)))},Pz:function(a){var b=a.uid;if(b){var c=this;dd.bb(function(d){c.UG(b,d,a)},{qt:"inf",uid:b,operate:"mapclick",clicktype:"vector"})}},UG:function(a,b,c){var d=this;if(b&& b.content){var e=b.content,f=e.pano||0,c=d.map.wb(c.point);if(!g)var g={};g.isFromMPC=o;var i=e.addr,g=e.street_id||"";if(1==e.poiType||3==e.poiType)i=P.unique(i.split(";")).join("; ");var k=e.tel;k&&(k=k.replace(/,/g,", "));d.Sq(e.cla);var l=M("div",{style:"font-size:12px;padding:5px 0;overflow:hidden;*zoom:1;"}),b=q;f&&(360>d.map.height?b=o:(f=[],f.push("<div class=\'panoInfoBox\' id=\'panoInfoBox\' title=\'"+e.name+"\\u5916\\u666f\' title=\'\\u67e5\\u770b\\u5168\\u666f\' >"),f.push("<img filter = \'pano_thumnail_img\' class=\'pano_thumnail_img\' width=323 height=101 border=\'0\' alt=\'"+ e.name+"\\u5916\\u666f\' src=\'"+(z.url.proto+z.url.domain.pano[0]+"/pr/?qt=poiprv&uid="+g+"&width=323&height=101&quality=80&fovx=200")+"\' id=\'pano_"+a+"\'/>"),f.push("<div filter = \'panoInfoBoxTitleBg\' class=\'panoInfoBoxTitleBg\'></div><a href=\'javascript:void(0)\' filter=\'panoInfoBoxTitleContent\' class=\'panoInfoBoxTitleContent\' >\\u8fdb\\u5165\\u5168\\u666f&gt;&gt;</a>"),f.push("</div>"),l.innerHTML=f.join("")));i&&(f=M("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;"}),f.innerHTML= "\\u5730\\u5740\\uff1a"+i,l.appendChild(f));k&&(f=M("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;"}),f.innerHTML="\\u7535\\u8bdd\\uff1a"+k,l.appendChild(f));e.tag&&(k=M("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;color:#7f7f7f;"}),k.innerHTML="\\u6807\\u7b7e\\uff1a"+e.tag,l.appendChild(k));a="http://api.map.baidu.com/place/detail?uid="+a+"&output=html&source=jsapi&operate=mapclick&clicktype=vector";k="<div style=\'height:26px;\'><a href=\'"+a+"\' target=\'_blank\' style=\'font-size:14px;color:#4d4d4d;font-weight:bold;text-decoration:none;\' onmouseover=\'this.style.textDecoration=\\"underline\\";this.style.color=\\"#3d6dcc\\"\' onmouseout =\'this.style.textDecoration=\\"none\\";this.style.color=\\"#4d4d4d\\"\'>"+ e.name+"</a>";a=new tc(l,{width:322,enableSearchTool:o,title:k+("<a href=\'"+a+"\' target=\'_blank\' style=\'font-size:12px;color:#3d6dcc;margin-left:5px;text-decoration:none;\' onmouseover=\'this.style.textDecoration=\\"underline\\"\' onmouseout =\'this.style.textDecoration=\\"none\\"\'>\\u8be6\\u60c5&raquo;</a>")+"</div>",enableParano:b});b&&(a.street_id=g);a.addEventListener("open",function(){var a=x.$("panoInfoBox");if(a){var b=e.street_id||"";Pb(function(){Ra(5052);d.Aq(b)},a,"pano_thumnail_img|panoInfoBoxTitleBg|panoInfoBoxTitleContent")}}); this.map.Nb(a,c)}},Aq:function(a){var b=z.sg("pano","scape/")[0],c=this,d=(new Date).getTime(),e="Pano"+d;z[e]=function(a){var b=c.map.qm(),a=a.content[0];b.rc(a.poiinfo.PID);b.show();b.Mc({heading:a.poiinfo.Dir,pitch:a.poiinfo.Pitch})};d=(new Date).getTime();pa(b+("?qt=poi&udt=20131021&uid="+a+"&t="+d+"&fn=BMap."+e),q)},Sq:function(a){for(var b=[],c=0,d=a.length;c<d;c++)b.push(a[c][1]),c<d-1&&b.push(", ");return b.join("")},qs:function(a){var b=this.xb.getElementsByTagName("canvas"),c=a.offsetX, d=a.offsetY,e=j,f=j;this.map.Bb();for(var f=this.map.pa().k.Pb,g=0,i=b.length;g<i;g++){var k=this.Qf(b[g]);if(c>k.left&&c<=k.left+f&&d>k.top&&d<=k.top+f){e=b[g];break}}if(e==j||e.Xd==j)return q;f=e.Xd;b=0;for(i=f.length;b<i;b++){var c=f[b],d=c[0],g=c[1],l=this.Jb.Fb[c[3]]||window.Fb[c[3]],m=l[0],l=this.Jb.Ss(l,this.Jb.Fb[c[4]]||window.Fb[c[4]])[1],n=c[5]||{};if(l==j||"empty"==l)break;if(2!=m&&(3!=m&&4!=m&&0<l.length&&n.u)&&(iconX=g[0]+k.left,iconY=g[1]+k.top,a.offsetX>=iconX-15&&a.offsetX<=iconX+ 15&&a.offsetY>=iconY-15&&a.offsetY<=iconY+15))return{type:c[5].c||"",name:d,uid:n.u||"",point:{x:iconX,y:iconY},clickFea:{tileId:e.id,tile:e,fea:c}}}return q},Mx:function(){return/M040/i.test(navigator.userAgent)},Qf:function(a){for(var b=a.offsetLeft,c=a.offsetTop,a=a.offsetParent;a&&a!=this.map.Na();)b+=a.offsetLeft,c+=a.offsetTop,a=a.offsetParent;return{top:c,left:b}},mC:function(a){if(this.map.Vb()){this.map.pa().k.$b=18;var a=this.Et=a,b;for(b in a)switch(b){case "style":this.Ip(a);break;case "styleStr":this.Ip(a); break;case "features":this.NN(a[b]);break;case "poiElements":this.VN(a[b])}}},aE:function(){this.nu();"dark"==this.Qe?x.D.Ua(this.xb,"light_gray_background"):x.D.Ua(this.xb,"gray_background")},nu:function(){x.D.Sb(this.xb,"gray_background");x.D.Sb(this.xb,"light_gray_background")}});window.VectorLayer=Gf;var Hf=1,If=2,Jf=3,Kf=4,Lf=5; function Mf(a){this.Gm=q;this.ct=[z.url.proto+z.url.domain.TILE_ONLINE_URLS[1]+"/"];this.QF=[z.url.proto+z.url.domain.TILE_ONLINE_URLS[1]+"/gvd/?",z.url.proto+z.url.domain.TILE_ONLINE_URLS[2]+"/gvd/?",z.url.proto+z.url.domain.TILE_ONLINE_URLS[3]+"/gvd/?",z.url.proto+z.url.domain.TILE_ONLINE_URLS[4]+"/gvd/?"];this.cb=p;this.pk={};this.map=a;this.We=this.jj=0;this.bi=p;this.Fb=window.Fb;this.nz=x.extend({},window.Fb);this.cm={dark:{backColor:"#2D2D2D",textColor:"#bfbfbf",iconUrl:"vector/dicons"},normal:{backColor:"#F3F1EC", textColor:"#c61b1b",iconUrl:"vector/nicons_hd"},light:{backColor:"#EBF8FC",textColor:"#017fb4",iconUrl:"vector/licons"}};this.Ks={};this.lp=o;this.nk=p;this.Yl=/.*GT-I9300.*Version\\/\\d+.*Safari\\/\\d+\\.\\d+$/ig.test(navigator.userAgent)||/baiduboxapp/ig.test(navigator.userAgent)} Mf.prototype={Bs:function(a){var b=this.map,c=b.fa();this.We=a.length;this.jj=0;this.yc=this.map.K.devicePixelRatio;this.jz=this.kz=this.iz=this.Hu=0;b=b.Ka();new H(b.lng,b.lat);this.map.dispatchEvent(new O("onvectorbegin"));for(var b=0,d=this.We;b<d;b++){var e=a[b][2],f=a[b][0],g=a[b][1];e.Ze=q;e.nq=+new Date;this.gy(f,g,c,e)}},gK:function(){for(var a in this.pk)delete this.pk[a]},gy:function(a,b,c,d){var e=this,f=e.map,g=e.QF,i=Math.abs(parseInt(a,10)+parseInt(b,10))%g.length,k="x="+a+"&y="+b+"&z="+ c,l="_"+(0>a?"_":"")+(0>b?"$":"")+parseInt(Math.abs(a)+""+Math.abs(b)+""+c,10).toString(36),g=g[i]+"qt=lgvd&layers=bg,df&"+k+"&styles=pl&f=jsapi&v=002&udt=20150526",g=g+("&fn=BMap."+l),f=f.Ka(),m=new H(f.lng,f.lat),n=e.map.fa();z[l]=function(f){if(f=f.content){d.lq=(new Date).getTime();var g=e.map,i=g.Ka(),g=g.fa();if(!i.nb(m)||g!=n){delete z[l];return}f=(f.bg||[]).concat(f.df||[]);d.Xd=f;d.Ya="#c"+a+"r"+b+"z"+c;f&&e.Io(f,d,m,n)}delete z[l]};pa(g)},nj:function(a){var a=a.getContext("2d"),b=this.Pb* this.yc;this.Yl||(a.save(),a.clearRect(0,0,b,b),a.restore())},TC:function(a,b,c){a.fillStyle=c||"#F5F3F0";a.fillRect(0,0,b,b)},Io:function(a,b,c,d){function e(){b.NP=+new Date;var e=i.map.Ka(),f=i.map.fa();if(e.nb(c)&&f==d){for(i.map.K.NF&&a.L_&&i.P1(g,a.L_);l<k;l++){var e=i.NE(a[l]),f=m[e[3]],n=m[e[4]],t=f[0];e.tc=f;e.Pc=n;t==Jf?i.Ww(g,e,d):t==If?i.pe(g,e[1],f,n,e[2]):t==Kf?i.SC(g,e):i.UC(g,e)}b.Ze=o;b.JP=+new Date;i.iz+=b.HP-b.LP;i.kz+=b.IP-b.MP;i.jz+=b.JP-b.NP;i.Hu=i.iz+i.kz+i.jz;i.jj++;i.We== i.jj&&(i.lp&&(i.lp=q,e={},4E3<+new Date-PDC.OP&&(e.FirstScreenTime=+new Date-PDC.OP,e.FST_V_B=+new Date-PDC.E0,e.VectorDrawTime=i.Hu,e.userAgent=navigator.userAgent,Ra(8080,e)),z.An("cus.fire","time",{z_vectorfirstdrawtime:i.Hu})),e=new O("onvectorloaded"),e.R1=i.Hu,e.Q1=i.jj,i.map.dispatchEvent(e),i.map.dispatchEvent(new O("ontilesloaded")))}}function f(){b.MP=+new Date;var e=i.map.Ka(),f=i.map.fa();if(e.nb(c)&&f==d){for(;l<k;l++){var e=a[l],f=m[e[3]],n=m[e[4]];17<=d&&(f[5]&&0<f[5].length&&1==f[5][0]&& 6==f[5][1])&&(f[5].length=0,f[6]=0,n[6]=0);5<=d&&(9>=d&&f[5]&&0<f[5].length)&&(f[1]="115,115,115,0.3",f[5].length=0);e.tc=f;e.Pc=n;if(f[0]==If)i.NE(e);else break}i.dF(g,a,w,l,d);b.IP=+new Date}}b.LP=+new Date;var g=b.getContext("2d");1<this.yc&&!b.lg&&(g.scale(this.yc,this.yc),b.lg=o);g.textBaseline="bottom";this.TC(g,this.Pb,this.map.K.xo);for(var i=this,k=a.length,l=0,m=this.Fb;l<k;l++){var n=a[l],t=m[n[3]]||window.Fb[n[3]],v=m[n[4]]||window.Fb[n[4]];n.tc=t;n.Pc=v;if(t[0]==Jf)i.Ww(g,i.NE(n),d); else break}b.HP=+new Date;var w=l;i.g3===o?(f(),e()):(window.setTimeout(f,1),window.setTimeout(e,1))},NE:function(a){for(var b=a[1],c=0,d=0,e=0,f=b.length;e<f;e+=2)c+=b[e]/10,d+=b[e+1]/10,b[e]=c,b[e+1]=d;return a},Ww:function(a,b,c){var d=b.tc,e=d[2],b=b[1];a.fillStyle=z.Db.re(d[1]);a.beginPath();a.moveTo(b[0],b[1]);for(var d=2,f=b.length;d<f;d+=2)a.lineTo(b[d],b[d+1]);a.closePath();a.fill();0<e.length&&(a.strokeStyle=a.fillStyle,a.lineWidth=12<=c?3:e[3],a.stroke())},pe:function(a,b,c,d){if(c||d){var e= z.Db.re,f=z.Db.lx,g=z.Db.mx;if(this.it(c,d))firstColor=backColor=(e=d&&d[5]&&0<d[5].length?o:q)?z.Db.re(c[1]):"rgba(0, 0, 0, 0)",backLineWidth=c[2],foreLineWidth=e?d[2]:c[2],intervalLen=e?d[5][0]:c[5][0],intervalColor=z.Db.re(e?d[1]:c[1]),z.Db.rW(a,b,intervalLen,backLineWidth,foreLineWidth,firstColor,p,backColor,intervalColor);else if(1==c[7])a.strokeStyle=e(c[1]),a.fillStyle=a.strokeStyle,a.lineWidth=c[2],a.lineCap=f(c[3]),a.lineJoin=g(c[4]),z.Db.JK(a,b,a.lineWidth);else{a.beginPath();a.moveTo(b[0], b[1]);for(var i=2,k=b.length;i<k;i+=2)a.lineTo(b[i],b[i+1]);a.strokeStyle=e(c[1]);a.lineCap=f(c[3]);a.lineJoin=g(c[4]);a.lineWidth=c[2];a.stroke();d&&(a.strokeStyle=e(d[1]),a.lineWidth=d[2],a.lineCap=f(d[3]),a.lineJoin=g(d[4]),a.stroke())}}},SC:function(a,b){var c=b[1],d=b.tc,e=z.Db.re,f=e(d[1]),g=e(d[2]),i=d[4],e=e(i[1]),i=i[2],d=d[5];z.Db.WC(a,c,0,d,0,f,g,e,i)},UC:function(a,b){a.save();var c=b[1],d=b[0],e=b[2],f=this.Ss(b.tc,b.Pc),g=f[1],i=0;if(!("undefined"==typeof g||"number"==typeof g)){var k= -1<g.indexOf("biaopai");g.indexOf("ditie");if(0<g.length){var l="undefined"!=typeof TVC?TVC.QJ.a0:{},l=this.ct[g.length%this.ct.length]+this.cm.normal.iconUrl+"/"+g+".png?v="+(l.version?l.version:"002")+"&udt="+(l.ou?l.ou:"20150601"),m=new Image,n=c[0],t=c[1];2<c.length&&(i+=2);var v=this;m.onload=function(){var b=this.width,l=this.height;a.drawImage(this,n-b/4,t-l/4,b/2,l/2);k&&v.Cs(a,c,f,e,d,g,i,k);m.onload=p;delete m.onload;m=p};m.src=l}!k&&(f[2]&&0<f[2].length)&&this.Cs(a,c,f,e,d,g,i,k)}a.restore()}, Cs:function(a,b,c,d,e,f,g,i){var k=z.Db.re,l=c[2];if(e&&0<l.length){var m=[],c=l[2],n=l[3],t=l[4],l=l[5];m.push(z.Db.rL(t));x.platform.mE?(m.push("bold"),m.push(c+"px"),m.push("arial,\\u9ed1\\u4f53")):(m.push(c+"px"),m.push("\\u9ed1\\u4f53"));i||m.push("Helvetica Neue,Arial,Hiragino Sans GB,\\u9ed1\\u4f53,sans-serif");a.font=m.join(" ");a.fillStyle=k(n);if(m=z.Db.bM(t))a.strokeStyle=k(l),a.lineWidth=i?0.5:2;for(var f=-1<f.indexOf("biaopai_xiandao"),n=e.split("\\\\"),v=0,w=n.length,y=b.length;v<w&&g<y;v++){var C= b[g],A=b[g+1],e=n[v],e=a.measureText(e).width,D=c,g=g+2;10<d&&350>d&&this.OF(a,C,A,d);var B=1;z.Db.aM(t)&&(z.Db.XK(a,C-e/2,A-D/2,e,D,{fillStyle:k(l)}),B=0);f?(a.save(),a.scale(0.9,0.9),m&&a.strokeText(n[v],(C-e/2+1)/0.9,(A+D/2+1)/0.9),a.fillText(n[v],(C-e/2+1)/0.9,(A+D/2+1)/0.9),a.restore()):(B=i?2:B,m&&a.strokeText(n[v],C-e/2,A+D/2+B),a.fillText(n[v],C-e/2,A+D/2+B))}}},Ss:function(a,b){var c=[Hf,"",[]];a&&(a[0]==Lf?c[2]=a:c=a);b&&(b[0]==Lf?c[2]=b:c[1]=b[1]);return c},OF:function(a,b,c,d){d=d/180* Math.PI;cv=Math.cos(d);sv=Math.sin(d);yy=xx=cv;xy=sv;yx=-sv;x0=b-b*cv-c*sv;y0=c+b*sv-c*cv;a.transform(xx,yx,xy,yy,x0,y0)},dF:function(a,b,c,d,e){if(16>=e)for(var f=c;f<d;){for(var g=b[f],i=this.Ws(g.tc,g.Pc),c=f+1;c<d;c++){var k=b[c];if(i!=this.Ws(k.tc,k.Pc))break}for(g=f;g<c;g++){var l=b[g],m=l[1],i=l.tc,k=l.Pc;this.it(i,k)?l.jE=o:10<=e&&13>=e?"228,218,201,1"!=i[1]&&this.pe(a,m,i,q):this.pe(a,m,i,q)}for(g=f;g<c;g++)l=b[g],m=l[1],i=l.tc,k=l.Pc,l.jE?this.pe(a,m,i,k,l[2],o):(10<=e&&13>=e&&"228,218,201,1"== i[1]&&(k[1]="231,231,157,1"),this.pe(a,m,k,q));f=c}else{for(f=c;f<d;f++)g=b[f],i=g.tc,k=g.Pc,e=i[6]&1?o:q,k&&!e&&(e=k[6]&1?o:q),e?g.sE=o:this.pe(a,g[1],i,q);for(f=c;f<d;f++)g=b[f],i=g.tc,k=g.Pc,g.sE?this.pe(a,g[1],i,k,g[2]):this.pe(a,g[1],k,q)}},Ws:function(a,b){if(!b)return 0;var c=a[6],d=b[6];if(1==c||1==d)return 1;switch(c){case 2:return 2==d?1:0;case 4:case 6:case 8:case 10:return 4<=d&&10>=d?1:0;default:return 0}},it:function(a,b){return a&&0<a.length&&0<a[5].length||b&&0<b.length&&0<b[5].length? o:q}};z.NewVectorDrawLib=Mf; ');
_jsload2&&_jsload2('opmb', 'var Lg=q,Mg=p; z.Ue(function(a){function b(){e&&(e=q,f=p,g||a.dispatchEvent(k))}function c(c){e=o;k=ma(new O("ontouch"),c);f=new Q(c.changedTouches[0].clientX,c.changedTouches[0].clientY);var g=d("onclickex",c);setTimeout(function(){b();a.dispatchEvent(g)},a.K.lW);Lg||a.dispatchEvent(d("onclick",c))}function d(b,c){for(var d=new O(b),e=c.target,f=p,g=p;e&&e!==a.Va;){if(e.ba){var i=x.lang.Kc(e.ba);i instanceof fb&&"canvas"!==e.nodeName.toLowerCase()&&(f=i);i instanceof tc&&(g=i)}e=e.offsetParent}for(var e=c.changedTouches[0].pageX, i=c.changedTouches[0].pageY,k=a.Va;k&&k!=document.body;)e-=k.offsetLeft,i-=k.offsetTop,k=k.offsetParent;d.offsetX=e;d.offsetY=i;d.pixel=d.jb=new Q(d.offsetX,d.offsetY);d.point=d.point=a.wb(d.jb);d.overlay=d.ab=f;d.infoWindow=g;return d}a.K.lW=500;var e=q,f,g=q,i=q,k;x.M(a.Na(),"touchmove",function(b){a.K.Yb&&b.preventDefault()});x.M(a.platform,"touchstart",function(b){Lg=q;Mg=setTimeout(function(){Lg=o;a.dispatchEvent(ma(d("onlongpress",b),b))},1E3);a.K.Yb&&oa(b);i=q;a.dispatchEvent(ma(d("ontouchstart", b),b));a.K.Yb&&Ab(b)});x.M(a.platform,"touchmove",function(b){a.K.Yb&&oa(b);i=o;a.dispatchEvent(ma(d("ontouchmove",b),b))});x.M(a.platform,"touchend",function(k){clearTimeout(Mg);a.K.Yb&&Ab(k);i||(e?(g=o,Lg||a.dispatchEvent(d("onclick",k)),20>Cb(f,new Q(k.changedTouches[0].clientX,k.changedTouches[0].clientY))?(a.dispatchEvent(d("ondblclick",k)),a.dispatchEvent(ma(new O("ondbltouch"),k))):a.dispatchEvent(ma(d("ontouchend",k),k)),b(),g=q):c(k));a.dispatchEvent(ma(d("ontouchend",k),k))});x.M(a.platform, "gesturestart",function(b){b.preventDefault();a.dispatchEvent(ma(new O("ongesturestart"),b))});x.M(a.platform,"gesturechange",function(b){b.preventDefault();a.dispatchEvent(ma(new O("ongesturechange"),b))});x.M(a.platform,"gestureend",function(b){b.preventDefault();a.dispatchEvent(ma(new O("ongestureend"),b))})}); z.Ue(function(a){function b(a){a&&(B.WebkitTransform="");k=i=0;l=1;m[0].x=m[0].y=m[1].x=m[1].y=0;y=q}function c(){if(x.platform.Fm)if(/Nexus/.test(navigator.userAgent))a.K.Yb&&(B.left=a.offsetX+i+"px",B.top=a.offsetY+k+"px");else{if(a.K.Yb&&(B.left=a.offsetX+i*l+"px",B.top=a.offsetY+k*l+"px"),1!=l)B.WebkitTransform=a.K.Fs?"scale("+l+") ":""}else B.WebkitTransform=(a.K.Yb?"translate("+i*l+"px, "+k*l+"px) ":"")+(a.K.Fs?"scale("+l+") ":"")}function d(){var b=0,c=0;Ng&&(c=b=0);B.WebkitTransformOrigin= a.K.Yb?(m[0].x+m[1].x)/2-a.offsetX-b+"px "+((m[0].y+m[1].y)/2-a.offsetY-c)+"px":Math.round(a.width/2)+"px "+Math.round(a.height/2)+"px"}function e(b,c){var d=new O(b),e=f(c.changedTouches[0].pageX,c.changedTouches[0].pageY);d.offsetX=e.x;d.offsetY=e.y;d.jb=new Q(d.offsetX,d.offsetY);d.point=a.wb(d.jb);return d}function f(b,c){for(var d=a.Va;d&&d!=document.body;)b-=d.offsetLeft,c-=d.offsetTop,d=d.offsetParent;return new Q(b,c)}function g(a){for(var b=[],c,d=0,e=a.touches.length;d<e;d++)c=a.touches[d], b.push({x:c.pageX,y:c.pageY});return b}var i=0,k=0,l=1,m=[{x:0,y:0},{x:0,y:0}],n=0,t=0,v=q,w=q,y=q,C=p,A,D,B=a.platform.style;a.addEventListener("touchstart",function(b){if(!(b.ab instanceof T)){A=g(b);var c=b.targetTouches.length;n+=c;2<n&&(n=2);var d=a.R;2==c&&(d.cI=o);d.mb&&d.mb.stop();1==n?(this.R.qU=i,this.R.rU=k,b=f(b.targetTouches[0].pageX,b.targetTouches[0].pageY),m[0].x=b.x,m[0].y=b.y):2==n&&(b=f(b.touches[c-1].pageX,b.touches[c-1].pageY),m[1].x=b.x,m[1].y=b.y)}});a.addEventListener("touchmove", function(b){if(4<=x.OJ&&2<=b.changedTouches.length){D=g(b);var B=2==A.length&&2==D.length?Cb(D[0],D[1])/Cb(A[0],A[1]):1;0<Math.abs(1-B)&&(l=B,w=o,clearTimeout(Mg),d())}if(w&&!(2>b.changedTouches.length)){for(B=b.target;B&&B!=a.Va;)B.Ax&&x.lang.Kc(B.Ax),B=B.offsetParent;for(var B=[],L=0;2>L;L++){for(var K=b.changedTouches[L].pageX,W=b.changedTouches[L].pageY,ea=a.Va;ea&&ea!=document.body;)K-=ea.offsetLeft,W-=ea.offsetTop,ea=ea.offsetParent;B[L]={x:K,y:W}}C=new Q((B[0].x+B[1].x)/2,(B[0].y+B[1].y)/2)}B= b.targetTouches.length;K=f(b.touches[0].pageX,b.touches[0].pageY);1==n&&2!=t&&(i+=K.x-m[0].x,k+=K.y-m[0].y,m[0].x=K.x,m[0].y=K.y,c(),y=o);if(2==n){var W=m[0].x,ea=m[0].y,fa=m[1].x,Ea=m[1].y;if(y){for(K=0;K<B;K++)L=f(b.touches[K].pageX,b.touches[K].pageY),Cb(L,new Q(m[0].x,m[0].y))<Cb(L,new Q(m[1].x,m[1].y))?(m[0].x=L.x,m[0].y=L.y):(m[1].x=L.x,m[1].y=L.y);i+=(m[0].x-W+m[1].x-fa)/2;k+=(m[0].y-ea+m[1].y-Ea)/2;c()}else if(L=new Q(m[0].x,m[0].y),1==B&&(30>Cb(L,K)?(m[0].x=K.x,m[0].y=K.y):(y=o,m[1].x=K.x, m[1].y=K.y)),2==B)W=f(b.touches[1].pageX,b.touches[1].pageY),30>Cb(K,W)?(m[0].x=W.x,m[0].y=W.y):(Cb(L,K)<Cb(L,W)?(m[0].x=K.x,m[0].y=K.y,m[1].x=W.x,m[1].y=W.y):(m[1].x=K.x,m[1].y=K.y,m[0].x=W.x,m[0].y=W.y),y=o)}if(1==n&&2==t){for(K=0;K<B;K++)L=f(b.touches[K].pageX,b.touches[K].pageY),Cb(L,new Q(m[0].x,m[0].y))<Cb(L,new Q(m[1].x,m[1].y))?(i+=L.x-m[0].x,k+=L.y-m[0].y,m[0].x=L.x,m[0].y=L.y):(i+=L.x-m[1].x,k+=L.y-m[1].y,m[1].x=L.x,m[1].y=L.y);c()}1==n&&this.K.Yb&&(B=this.R,B.Yj||(B.Yj=o,b=e("ondragstart", b),a.dispatchEvent(b),a.dispatchEvent(new O("onmovestart")),B.QC=b.jb,B.RC=ab(),v=o),B.nt=ab(),a.dispatchEvent(new O("ondragging")))});a.addEventListener("touchend",function(c){d();t=n;this.R.cI?(n=c.targetTouches.length,delete this.R.cI):n--; -1==n&&(n=0);x.platform.Fm&&(n=0);if(0==n){if(w){var f=0,g=a.fa();a.Lc=a.Oa;this.K.Fs&&(f=Math.round(Math.log(l)/Math.log(2)),g=Math.max(Math.min(a.fa()+f,a.K.$b),a.K.gc));var y=a.pa().Bc(g),A=C;A||(A=new Q((m[0].x+m[1].x)/2,(m[0].y+m[1].y)/2));var B;B=A;var D= a.mc,Ea=a.pa().Bc(a.Lc);B=new H(D.lng+Ea*(B.x-a.width/2),D.lat-Ea*(B.y-a.height/2));y=new H(B.lng+(a.width/2-A.x)*y,B.lat-(a.height/2-A.y)*y);y=R.Ab(y);y=a.bc(y);f=new Q(y.x-i*l/Math.pow(2,f),y.y-k*l/Math.pow(2,f));y=a.K.Yb?a.wb(f):a.Ka();if(f=a.hh())if(f=f.ha())f=a.bc(f,a.Lc),a.hk(a.width/2-f.x,a.height/2-f.y,a.wb(f,a.Lc),o);a.Dd(y,g)}if(i!=this.R.qU||k!=this.R.rU)v&&!w&&(c=e("ondragend",c),Og(a,c,c.jb,{x:i,y:k}),v=q),w?b(o):b(q);w=a.R.Yj=q;t=0}});a.addEventListener("gesturechange",function(a){l= a.scale;w=o;clearTimeout(Mg);d()})}); function Og(a,b,c,d){var e=a.platform.style;if(a.K.Yw){var f=a.R,g=ab();if(140<g-f.nt)setTimeout(function(){e.WebkitTransform=""},0),setTimeout(function(){a.Je(a.offsetX+d.x,a.offsetY+d.y)},0),window.setTimeout(function(){a.dispatchEvent(new O("onmoveend"));f.Yj=q},0),window.setTimeout(function(){a.dispatchEvent(b)},0);else{var i=f.QC,k=[0<c.x-i.x?1:-1,0<c.y-i.y?1:-1],g=Cb(i,c)/((g-f.RC)/1E3)/2,l=g/1.6,m=0.5*l*g/1E3,n=Math.abs(i.x-c.x),t=0,v=0;0==Math.abs(i.y-c.y)?t=n:(c=Math.abs(i.x-c.x)/Math.abs(i.y- c.y),v=Math.round(Math.sqrt(m*m/(1+c*c))),t=Math.round(c*v));-1==k[0]&&(t=-t);-1==k[1]&&(v=-v);f.mb&&f.mb.stop();var w=g/1E3,y=a.offsetX,C=a.offsetY;f.mb=new rb({duration:l,Gc:25,jc:function(a){a=a*w/1.6;return w*a-0.8*a*a},va:function(b){b=b*3.2/(w*w);if(x.platform.Fm){e.left=a.offsetX+d.x+Math.round(b*t)+"px";e.top=a.offsetY+d.y+Math.round(b*v)+"px"}else e.WebkitTransform="translate("+(d.x+Math.round(b*t))+"px ,"+(d.y+Math.round(b*v))+"px)"},finish:function(){f.mb=p;setTimeout(function(){e.WebkitTransform= ""},0);setTimeout(function(){a.Je(y+d.x+Math.round(t),C+d.y+Math.round(v))},0);setTimeout(function(){a.dispatchEvent(new O("onmoveend"))},0);window.setTimeout(function(){a.dispatchEvent(b)},0)},Bt:function(b){f.mb=p;b=b*3.2/(w*w);setTimeout(function(){e.WebkitTransform=""},0);setTimeout(function(){a.Je(y+d.x+Math.round(b*t),C+d.y+Math.round(b*v))},0);setTimeout(function(){a.dispatchEvent(new O("onmoveend"))},0)}})}}else window.setTimeout(function(){e.WebkitTransform=""},0),window.setTimeout(function(){a.Je(a.offsetX+ d.x,a.offsetY+d.y)},0),window.setTimeout(function(){a.dispatchEvent(new O("onmoveend"))},0)}var Ng=-1<navigator.userAgent.indexOf("iPhone OS 5_")?o:q; ');
\ No newline at end of file
_jsload2&&_jsload2('pointcollection', 'x.extend(zc.prototype,{ra:function(a){var b=this;b.map=this.C=a;b.wc=document.createElement("canvas");b.wc.style.cssText="position: absolute; left: 0; top: 0;";b.V=b.wc;a=b.map.Bb();b.wc.width=a.width;b.wc.height=a.height;b.wc.id="myCanvasElement";b.map.Rf().vt.appendChild(b.wc);b.Ay=new Of;b.hi();b.map.addEventListener("click",function(a){a=Pf(b.Ay,a.offsetX,a.offsetY);a!==p&&b.dispatchEvent("click",{point:a.point})});b.Nk=p;b.map.addEventListener("mousemove",function(a){for(var d=b.map.tx(),e=d.length, f=p,g=0;g<e&&!(d[g]instanceof z.PointCollection&&(f=Pf(d[g].Ay,a.offsetX,a.offsetY),f!==p));g++);f===p?(b.Nk!==p&&(b.dispatchEvent("mouseout",{point:b.Nk.point}),b.Nk=p),b.wc.style.cursor=""):(b.Nk===p?(b.dispatchEvent("mouseover",{point:f.point}),b.Nk=f):b.Nk!==f&&(b.dispatchEvent("mouseout",{point:b.Nk.point}),b.dispatchEvent("mouseover",{point:f.point}),b.Nk=f),b.wc.style.cursor="pointer")});return b.wc},hi:function(){this.Ay.data.xF=[];var a=this.map.Bb();this.wc.width=a.width;this.wc.height= a.height;this.wc.style.left=this.map.ve.style.left;this.wc.style.top=this.map.ve.style.top;if(this.ea.ia&&this.ea.ia.length){this.wc.getContext("2d").clearRect(0,0,this.wc.width,this.wc.height);-1!==document.location.href.indexOf(".local")&&(console&&console.time)&&console.time("\\u904d\\u5386\\u7ed8\\u5236\\u9ebb\\u70b9");this.wc.getContext("2d").beginPath();for(var b=0,c;c=this.ea.ia[b];b++){var d=this.map.bc(c);if(!(0>d.x||0>d.y||d.x>a.width||d.y>a.height)){var e;switch(this.z.shape){case 1:e=new Qf; break;case 2:e=new Rf;break;case 4:e=new Sf;break;case 5:e=new Tf;break;case wc:e=new Uf;break;default:e=new Uf}switch(this.z.size){case 1:("circle"===e.type||"star"===e.type)&&e.vf(1);if("rectangle"===e.type||"rhombus"===e.type)e.Bh(2),e.zh(2);break;case 2:("circle"===e.type||"star"===e.type)&&e.vf(2);if("rectangle"===e.type||"rhombus"===e.type)e.Bh(4),e.zh(4);break;case 3:("circle"===e.type||"star"===e.type)&&e.vf(4);if("rectangle"===e.type||"rhombus"===e.type)e.Bh(8),e.zh(8);break;case xc:("circle"=== e.type||"star"===e.type)&&e.vf(5);if("rectangle"===e.type||"rhombus"===e.type)e.Bh(10),e.zh(10);break;case 5:("circle"===e.type||"star"===e.type)&&e.vf(8);if("rectangle"===e.type||"rhombus"===e.type)e.Bh(16),e.zh(16);break;case 6:("circle"===e.type||"star"===e.type)&&e.vf(10);if("rectangle"===e.type||"rhombus"===e.type)e.Bh(20),e.zh(20);break;case 7:("circle"===e.type||"star"===e.type)&&e.vf(15);if("rectangle"===e.type||"rhombus"===e.type)e.Bh(30),e.zh(30);break;default:if(("circle"===e.type||"star"=== e.type)&&e.vf(5),"rectangle"===e.type||"rhombus"===e.type)e.Bh(10),e.zh(10)}this.z.color&&("circle"===e.type||"star"===e.type||"rectangle"===e.type||"rhombus"===e.type)&&e.Jk(this.z.color);e.Jo(this.wc.getContext("2d"),d.x,d.y);e.point=c;this.Ay.data.xF.push(e)}}this.wc.getContext("2d").fillStyle=this.z.color;this.wc.getContext("2d").fill();-1!==document.location.href.indexOf(".local")&&(console&&console.timeEnd)&&console.timeEnd("\\u904d\\u5386\\u7ed8\\u5236\\u9ebb\\u70b9")}},b_:function(a){this.ea.ia= a;this.hi()},xi:function(a){a.color&&(this.z.color=a.color);a.size&&(this.z.size=a.size);a.shape&&(this.z.shape=a.shape);this.hi()},clear:function(){this.ea.ia=[];this.hi()},remove:function(){this.clear();this.wc&&this.wc.parentNode&&this.wc.parentNode.removeChild(this.wc);this.dispatchEvent(new O("onremove"))}});zc.prototype.initialize=zc.prototype.ra;zc.prototype.draw=zc.prototype.hi;zc.prototype.setPoints=zc.prototype.b_;zc.prototype.setStyles=zc.prototype.xi;zc.prototype.clear=zc.prototype.clear; zc.prototype.remove=zc.prototype.remove;function Of(){this.data={xF:[]}}function Pf(a,b,c){for(var d=0,e;e=a.data.xF[d];d++)if(e.uk(),b>e.position.x-e.fp()/2&&b<e.position.x+e.fp()/2&&c>e.position.y-e.uk()/2&&c<e.position.y+e.uk()/2)return e;return p}function Rf(){this.type="waterdrop";this.position={x:0,y:0}}var Vf=document.createElement("img"),Wf=q;Vf.onload=function(){Wf=o};Vf.src=z.ma+"images/point-collection/red-marker-10x13.png";var Xf=document.createElement("img");Xf.onload=s(); Xf.src=z.ma+"images/point-collection/blue-marke-15x16.png";Rf.prototype.Jo=function(a,b,c){var d=this;Wf===q?setTimeout(function(){d.Jo(a,b,c)},10):(d.G1=a,d.position.x=b,d.position.y=c,a.save(),a.translate(b-Vf.width/2,c-Vf.height/2),a.drawImage(Vf,0,0,Vf.width,Vf.height,0,0,Vf.width,Vf.height),a.restore())};Rf.prototype.ha=u("position");Rf.prototype.fp=function(){return Vf.width};Rf.prototype.uk=function(){return Vf.height}; function Uf(a){this.type="circle";a=a||{};this.K={xa:a.radius||10,color:a.color||"#fa937e"};this.position={x:0,y:0}}da=Uf.prototype;da.Jo=function(a,b,c){this.position.x=b;this.position.y=c;a.save();a.translate(b,c);a.beginPath();a.fillStyle=this.K.color;a.arc(0,0,this.K.xa,0,2*Math.PI,q);a.fill();a.restore()};da.vf=function(a){this.K.xa=a};da.xL=function(){return this.K.xa};da.Jk=function(a){this.K.color=a};da.ha=u("position");da.fp=function(){return 2*this.K.xa};da.uk=function(){return 2*this.K.xa}; function Qf(a){this.type="star";a=a||{};this.K={xa:a.radius||10,TE:a.pointsNumber||5,GW:a.fraction||0.4,color:a.color||"#fa937e"};this.position={x:0,y:0}}da=Qf.prototype;da.Jo=function(a,b,c){this.position.x=b;this.position.y=c;a.save();a.fillStyle=this.K.color;a.beginPath();a.translate(b,c);a.moveTo(0,0-this.K.xa);for(b=0;b<this.K.TE;b++)a.rotate(Math.PI/this.K.TE),a.lineTo(0,0-this.K.xa*this.K.GW),a.rotate(Math.PI/this.K.TE),a.lineTo(0,0-this.K.xa);a.fill();a.restore()}; da.vf=function(a){this.K.xa=a};da.Jk=function(a){this.K.color=a};da.ha=u("position");da.fp=function(){return 2*this.K.xa};da.uk=function(){return 2*this.K.xa};function Sf(a){this.type="rectangle";a=a||{};this.K={width:a.width||10,height:a.height||10,color:a.color||"#fa937e"};this.position={x:0,y:0}}da=Sf.prototype;da.Jo=function(a,b,c){this.position.x=b;this.position.y=c;a.save();a.translate(b-this.K.width/2,c-this.K.height/2);a.fillStyle=this.K.color;a.fillRect(0,0,this.K.width,this.K.height);a.restore()}; da.Bh=function(a){this.K.width=a};da.fp=function(){return this.K.width};da.zh=function(a){this.K.height=a};da.uk=function(){return this.K.height};da.Jk=function(a){this.K.color=a};da.ha=u("position");function Tf(a){this.type="rhombus";a=a||{};this.K={width:a.width||10,height:a.height||10,color:a.color||"#fa937e"};this.position={x:0,y:0}}da=Tf.prototype; da.Jo=function(a,b,c){this.position.x=b;this.position.y=c;a.save();a.fillStyle=this.K.color;a.translate(b-this.K.width/2,c-this.K.height/2);a.beginPath();a.moveTo(0+0.5*this.K.width,0);a.lineTo(0,0+0.5*this.K.height);a.lineTo(0+0.5*this.K.width,0+this.K.height);a.lineTo(0+this.K.width,0+0.5*this.K.height);a.lineTo(0+0.5*this.K.width,0);a.closePath();a.fill();a.restore()};da.Bh=function(a){this.K.width=a};da.fp=function(){return this.K.width};da.zh=function(a){this.K.height=a};da.uk=function(){return this.K.height}; da.Jk=function(a){this.K.color=a};da.ha=u("position"); ');
\ No newline at end of file
_jsload2&&_jsload2('route', 'var jh={web:"http://api.map.baidu.com/direction?",android:"bdapp://map/direction?",ios:"baidumap://map/direction?"};function kh(a){this.city=a.city;this.Ov=a.start;this.$u=a.end;this.sr=a.Ft;this.moreResultsUrl=a.url;this.taxiFare=a.nO||p;this.pU=a.gO||jd;this.tR=a.TK||jd}x.extend(kh.prototype,{rj:u("Ov"),gh:u("$u"),BX:u("pU"),YW:u("tR"),qx:function(){return this.sr.length},qf:function(a){if(this.sr[a])return this.sr[a]}});function lh(a){kh.call(this,a);this.policy=a.$c}x.ua(lh,kh,"DrivingRouteResult"); function mh(a){kh.call(this,a)}x.ua(mh,kh,"WalkingRouteResult");function nh(a){kh.call(this,a);this.policy=a.$c}x.ua(nh,kh,"TransitRouteResult");var oh=kh.prototype;S(oh,{getStart:oh.rj,getEnd:oh.gh,getStartStatus:oh.BX,getEndStatus:oh.YW,getNumPlans:oh.qx,getPlan:oh.qf});function ph(a){this.dk=a.fF.slice(0);this.cg=a.md||0;this.Mq=a.duration||0;this.cR=a.nW||[]}x.extend(ph.prototype,{ih:function(a){if(this.dk[a])return this.dk[a]},Vs:function(){return this.dk.length},Re:function(a){return a===q?this.cg:qh(this.cg)},Qs:function(a){return a===q?this.Mq:rh(this.Mq,"nav")},WW:u("cR")});var sh=ph.prototype;S(sh,{getNumRoutes:sh.Vs,getRoute:sh.ih,getDistance:sh.Re,getDuration:sh.Qs,getDragPois:sh.WW});function th(a){ph.call(this,a);this.Ri=a.zY;this.dl=a.description;this.Mq=a.duration||0}x.ua(th,ph,"TransitRoutePlan"); x.extend(th.prototype,{px:function(){return this.Ri.length},LD:function(a){if(this.Ri[a])return this.Ri[a]},fh:function(a){return a===q?P.AN(this.dl):this.dl},Qs:function(a){return a===q?this.Mq:rh(this.Mq,"bustime")},hX:function(){for(var a="",b=this.Ri.length-1,c=0;c<b;c++)this.Ri[c]&&this.Ri[c].title&&(a+=this.iL(this.Ri[c].title)+" \\u2192 ");return a+=this.iL(this.Ri[b].title)},iL:function(a){return a.substring(0,a.indexOf("("))},NX:function(){for(var a=0,b=this.dk.length,c=0;c<b;c++)a+=this.dk[c].Re(q); return qh(a)}});var uh=th.prototype;S(uh,{getNumLines:uh.px,getLine:uh.LD,getNumRoutes:uh.Vs,getRoute:uh.ih,getDistance:uh.Re,getDuration:uh.Qs,getDescription:uh.fh});function vh(a){this.Nr=a.Aj&&a.Aj.slice(0)||[];this.cg=a.md||0;this.Sj=a.index||0;this.ur=a.ia.slice(0);this.bB=a.PE||0;this.WT=a.qy;0===this.cg&&2<this.ur.length&&(this.ur.length=2)}x.extend(vh.prototype,{sx:function(){return this.Nr.length},AL:function(a){if(this.Nr[a])return this.Nr[a]},Re:function(a){return a===q?this.cg:qh(this.cg)},JD:u("Sj"),$o:u("Ti"),qe:u("ur"),bp:u("WT"),sX:u("bB")});var wh=vh.prototype; S(wh,{getNumSteps:wh.sx,getStep:wh.AL,getDistance:wh.Re,getIndex:wh.JD,getPolyline:wh.$o,getPath:wh.qe,getRouteType:wh.bp});function xh(a){this.title=a.title;this.uid=a.uid;this.type=a.type;this.Wi=a.o_.slice(0);this.ur=a.ia.slice(0);this.cg=a.md||0;this.gT=a.RY||0;this.Bd=a.status||{}}x.extend(xh.prototype,{nX:u("gT"),HD:function(){return this.Wi[0]},GD:function(){return this.Wi[1]},qe:u("ur"),$o:u("Ti"),Re:function(a){return a===q?this.cg:qh(this.cg)},cp:u("title")});var yh=xh.prototype;S(yh,{getNumViaStops:yh.nX,getGetOnStop:yh.HD,getGetOffStop:yh.GD,getPath:yh.qe,getPolyline:yh.$o,getDistance:yh.Re,getTitle:yh.cp});function zh(a){this.Uh=a.point;this.Sj=a.index;this.dl=a.description;this.cg=a.md||0;this.TT=a.b4||0;this.bB=a.PE||0}x.extend(zh.prototype,{ha:u("Uh"),JD:u("Sj"),fh:function(a){return a===q?P.AN(this.dl):this.dl},Re:function(a){return a===q?this.cg:qh(this.cg)},O2:u("TT"),sX:u("bB")});var Ah=zh.prototype;S(Ah,{getPosition:Ah.ha,getIndex:Ah.JD,getDescription:Ah.fh,getDistance:Ah.Re});x.extend(Cd.prototype,{va:function(a){window.RouteAddrInst=this;var b={},a=this.fc=this.dZ(this.fc,a);if(a.result){var c=this.ae=a.content.tpList.length+1,d=a.content,e=[],f=[],g=["sel_n","sel_n1","sel_y","sel_x","sel_x1"],i=[-1,-1],k=[],f=[];this.hu=[a.current_city.code,a.current_city.code];tempCode=a.current_city.code;for(var l=0;l<c+1;l++){var m=p;e.push([]);k.push("");f.push("");0==l?a.result.start_city&&(this.hu[0]=a.result.start_city.code||a.result.start_city[0].code,tempCode=this.hu[0]):a.result.end_city&& (this.hu[l]=a.result.end_city.code||a.result.end_city[l-1].code,tempCode=this.hu[l]);m=this.ki(l);if(0<a.result.count[l]&&1!=a.result.city_list[l]){13!=a.result.type&&24!=a.result.type&&(f[l]=\'<a href="javascript:void(0)" ></a>\');e[l].push(\'<div id="RADiv_ResItem\'+l+\'" class="sel_body_body_div sel_body_resitem">\');var n=[0,9];10>m.length&&(n[1]=m.length-1);e[l].push(this.HM(l,n));10<a.result.count[l]&&(e[l].push(\'<div id="RADiv_PAGE\'+l+\'" style="height:20px;" class="sel_body_body_page"></div>\'),this.wO[l]= Math.ceil(a.result.count[l]/10),this.gs[l]=1);e[l].push("</div>");1==a.result.prio_flag[l]?(i[l]=2,this.Ma[l].n=m[0].name,this.Ma[l].c=tempCode,this.Ma[l].u=m[0].uid,n=R.zb(P.vb(m[0].geo,o).point),this.Ma[l].x=n.lng,this.Ma[l].y=n.lat,this.Ma[l].t=m[0].poiType,this.wg=n=this.FJ(this.k.ka.map,n,m[0].name,l),this.AE.push(n.point),k[l]=m[0].name):i[l]=0}}for(var t,v,l=0;l<i.length;l++)if(m=i[l],3==m&&!t)this.fj=l,v&&(i[v-1]=1),t=l+1;else if(t){if(0==m||3==m)i[l]=m+1}else 0==m&&!v?(this.fj=l,v=l+1):v&& 0==m&&(i[l]=1);b.startPointClass=g[i[0]];this.Hy=a.result.s_query?a.result.s_query:a.result.s_wd;b.startPoint=""==k[0]?this.Hy:k[0];b.startBody=e[0].join("");b.endPointClass=g[i[c]];this.$w=a.result.e_query?"string"==typeof a.result.e_query?a.result.e_query:a.result.e_query[c-1]:"string"==typeof a.result.e_wd?a.result.e_wd:a.result.e_wd[c-1];b.endPoint=""==k[c]?this.$w:k[c];b.endBody=e[c].join("");b.startButton=f[0];b.endIndex=c;b.endButton=f[c];this.yO=[];t=[""];for(l=0;l<d.tpList.length;l++)v=l+ 1,c=k[v],""==c&&(c=a.result.U1[l]),this.yO.push(c),t.push([\'<div id="RouteAddress_DIV\'+v+\'" class="\'+g[i[v]]+\'">\',\' <div class="sel_body">\',\' <div class="sel_body_top" onclick="RouteAddrInst.showLst(\'+v+\')">\',\' <div class="sel_body_title">\\n <div class="sel_body_sign"></div>\',\' <div class="sel_body_name">\\u9014\\u7ecf\\u70b9\'+v+\'\\uff1a<b id="B_PointName\'+v+\'">\'+c+"</b></div>"," </div>",\' <div id="RD_TOP_BUT\'+v+\'" class="sel_body_button">\'+f[v]+"</div>"," </div>",\' <div class="sel_body_body" id="RADIV_BODY\'+ v+\'">\'+e[v].join("")+"</div>"," </div>\\n</div>"].join("\\n"));b.tpList=t.join("");return this.z_(b)}},VB:function(){var a;x.$("RouteAddress_DIV0")&&(a=x.$("RouteAddress_DIV0").getElementsByTagName("tr"),this.JN(a));x.$("RouteAddress_DIV1")&&(a=x.$("RouteAddress_DIV1").getElementsByTagName("tr"),this.JN(a));var b=this;this.Cb&&this.Cb.addEventListener("open",function(){var a=x.$("selInfoWndBtn");x.M(a,"click",function(){var c=a.getAttribute("data-uid").split("_");b.itmSelect(c[0],c[1])});x.M(a,"mouseover", function(){b._selBtnOver(a)});x.M(a,"mousedown",function(){b._selBtnDown(a)});x.M(a,"mouseout",function(){b._selBtnOut(a)})});var c,d;x.$("RouteAddress_DIV0")&&(c=x.$("RouteAddress_DIV0").firstChild.firstChild,x.M(c,"click",function(){var a=c.getAttribute("data-uid");b.showLst(a)}));x.$("RouteAddress_DIV1")&&(d=x.$("RouteAddress_DIV1").firstChild.firstChild,x.M(d,"click",function(){var a=d.getAttribute("data-uid");b.showLst(a)}))},JN:function(a){var b=this;this.Gb(a,function(a,d){x.M(d,"mouseover", function(a){var c=d.getAttribute("data-uid").split("_");n2=parseInt(c[1],10);gg=parseInt(c[2],10);b._lstMouseOver(this,0,c[0],gg-n2,a)});x.M(d,"mouseout",function(a){var c=d.getAttribute("data-uid").split("_");n2=parseInt(c[1],10);gg=parseInt(c[2],10);b._lstMouseOut(this,0,c[0],gg-n2,a)});x.M(d,"click",function(a){var c=d.getAttribute("data-uid").split("_"),e=parseInt(c[0],10);n2=parseInt(c[1],10);gg=parseInt(c[2],10);b.select(e,gg,a)});var e=d.childNodes[2].getElementsByTagName("div")[0];x.M(e,"click", function(){var a=e.getAttribute("data-uid").split("_");b.itmSelect(a[0],a[1])});x.M(e,"onmouseover",function(){b._selBtnOver(e)});x.M(e,"onmouseout",function(){b._selBtnOut(e)});x.M(e,"onmousedown",function(){b._selBtnDown(e)})})},dZ:function(a,b){a.content||(a.content={start:[],end:[]});a.content.tpList=[];if(19==a.result.type){this.eZ(a,b);var c=a.content,d=[],e=c.length;a.content={start:[],end:[]};if(2<e)for(var f=1;f<e-1;f++)d.push(c[f]);a.content.end=c[e-1];a.content.tpList=d;a.content.start= c[0]}return a},eZ:function(a,b){var c={},d,e=0,f=0,g=[],i,k=a.result;d=[];c.city_list=[];c.count=[];c.current_null=[];c.e_query=[];c.e_wd=[];c.end_city=[];c.wd2=[];c.prio_flag=[];c.sug_index=[];c.total=[];c.s_wd="";c.s_query="";this.zw=[];k.e_wd||(k.e_wd=[],k.e_query=[]);d=this.qN(b.start);i=d.type;c.s_wd=1==i?d.tb:k.s_wd;c.s_query=1==i?d.tb:k.s_query;1==i&&(this.Ma[e].o=c.s_wd,this.Ma[e].x=d.point.split(",")[0],this.Ma[e].y=d.point.split(",")[1]);this.zw.push(2==i);c.total.push(1==i?1:k.total[f]); c.count.push(1==i?1:k.count[f]);c.current_null.push(1==i?0:k.current_null[f]);c.prio_flag.push(1==i?1:k.prio_flag[f]);c.sug_index.push(1==i?"":k.sug_index[f]);g.push(1==i?[{name:d.tb,geo:"1|"+d.point+";"+d.point+"|"+d.point+";"}]:a.content[f]);c.city_list.push(1==i?0:k.city_list[f]);c.wd2.push(1==i?"":k.wd2[f]);2==i&&f++;e++;d=decodeURIComponent(b.end).split("to:");for(var l=0,m;m=d[l];l++){m=this.qN(m);i=m.type;2==i&&m.uid&&m.point&&(i=1);this.zw.push(2==i);var n=2==i?m.tb:0==f?k.s_wd:k.e_wd[f-1]; c.e_wd.push(n);c.e_query.push(n);c.end_city.push(1==i?a.current_city:0==f?k.start_city:k.end_city[f-1]);1==i&&(this.Ma[e].o=c.s_wd,this.Ma[e].x=m.point.split(",")[0],this.Ma[e].y=m.point.split(",")[1]);m.vj&&(this.iY(e-1,{ly:c.e_wd[e-1],Wr:c.wd2[e],point:1==i?P.wL(m.point):p,uid:m.uid}),this.ju.push({ly:c.e_wd[e-1],Wr:c.wd2[e],point:1==i?P.wL(m.point):p,uid:m.uid}));c.total.push(1==i?1:k.total[f]);c.count.push(1==i?1:k.count[f]);c.current_null.push(1==i?0:k.current_null[f]);c.prio_flag.push(1==i? 1:k.prio_flag[f]);c.sug_index.push(1==i?"":k.sug_index[f]);g.push(1==i?[{name:m.tb,geo:"1|"+m.point+";"+m.point+"|"+m.point+";"}]:a.content[f]);c.city_list.push(1==i?0:k.city_list[f]);c.wd2.push(1==i?"":k.wd2[f]);2==i&&f++;e++}x.extend(a.result,c);a.content=g},iY:function(a,b){var c=x.extend({},b);if(this.iu.length>a)this.iu[a]=b;else if(this.iu.length==a)this.iu.push(b);else return;this.iu[a]=c},qN:function(a){a=decodeURIComponent(a);a=a.split("$$");return{type:a[0],uid:a[1],point:a[2],tb:a[3],b3:a[4], k3:a[5],c2:a[6],vj:a[7]}},ki:function(a){return 0==a?this.fc.content.start:a==this.ae?this.fc.content.end:this.fc.content.tpList[a-1]},HM:function(a,b,c){this.fi=-1;var c=c?c:this.ki(a),d=[];d.push(\'<div id="RA_ResItem_\'+a+\'"><table border="0" cellspacing="0" cellpadding="0" style="width:100%">\');for(var e=b[0];e<=b[1];e++){d.push(\'<tr onmouseover="RouteAddrInst._lstMouseOver(this, 0,\'+a+", "+(e-b[0])+\', event)" onmouseout="RouteAddrInst._lstMouseOut(this, 0,\'+a+", "+(e-b[0])+\', event)" onclick="RouteAddrInst.select(\'+ a+","+e+\', event)" filter = "item" data-uid="\'+a+"_"+b[0]+"_"+e+\'" ><th><div title="\\u5728\\u56fe\\u4e0a\\u663e\\u793a\\u8be5\\u70b9" class="icon iconbg" id="no_\'+a+"_"+(e-b[0]+1)+\'"></div></th>\');var f=0==a?"\\u9009\\u4e3a\\u8d77\\u70b9":a==this.ae?"\\u9009\\u4e3a\\u7ec8\\u70b9":"\\u9009\\u4e3a\\u9014\\u7ecf\\u70b9";d.push(\'<td style="word-break:break-all;padding-right:24px">\');d.push(\'<a href="javascript:void(0)">\'+c[e].name+"</a>");c[e].addr&&""!=c[e].addr&&(d.push("<div>"),0==c[e].poiType?d.push(\'<span style="color:#999">\\u5730\\u5740: \'+ c[e].addr+"</span>"):1==c[e].poiType?d.push(\'<span style="color:#999">\\u9014\\u7ecf\\u516c\\u4ea4\\u8f66\\uff1a</span>\'+c[e].addr.split(";").join("; ")):3==c[e].poiType&&d.push(\'<span style="color:#999">\\u9014\\u7ecf\\u5730\\u94c1\\uff1a</span>\'+c[e].addr.split(";").join("; ")),d.push("</div>"));d.push("</td>");d.push(\'<td style="vertical-align:middle;width:106px"><div tid="selBtn_\'+a+"_"+e+\'" class="selBtn" onclick="RouteAddrInst.itmSelect(\'+a+","+e+\');return false;" onmouseover="RouteAddrInst._selBtnOver(this)" onmouseout="RouteAddrInst._selBtnOut(this)" onmousedown="RouteAddrInst._selBtnDown(this)" data-uid = "\'+ a+"_"+e+\'" >\'+f+"</div>");d.push(\'<a data-uid="\'+c[e].uid+\'" href="javascript:void(0);" class="list_street_view_poi" style="visibility:hidden"><img src="/static/images/transparent.gif" ></a>\');d.push("</td>");d.push("</tr>")}d.push("</table></div>");return d.join("")},FJ:function(a,b,c,d,e){0==d?a=U.to(a,b,c,Bh):d==this.ae?a=U.to(a,b,c,Ch):(c=this.ju[d-1],c.point=b,e&&(c.uid=e),a=U.KJ(a,b,d-1));return a},z_:function(a){var b=[];b.push(\'<div class="RouteAddressOuterBkg">\');b.push(\'<div class="RouteAddressTip"><span>\\u8bf7\\u9009\\u62e9\\u51c6\\u786e\\u7684\\u8d77\\u70b9\\u3001\\u9014\\u7ecf\\u70b9\\u6216\\u7ec8\\u70b9</span></div>\'); b.push(\'<div class="RouteAddressInnerBkg">\');b.push(\'<div id="pos5" style="display:none"></div>\');b.push(\'<div id="RouteAddress_DIV0" class="\'+a.startPointClass+\'"> \');b.push(\'<div class="sel_body">\');b.push(\'<div class="sel_body_top" data-uid="0" onclick="RouteAddrInst.showLst(0)" >\');b.push(\'<div class="sel_body_title">\');b.push(\'<div class="sel_body_sign"></div>\');b.push(\'<div class="sel_body_name">\\u8d77\\u70b9\\uff1a<b id="B_PointName0">\'+a.startPoint+"</b></div>");b.push("</div>");b.push(\'<div id="RD_TOP_BUT0" class="sel_body_button">\'+ a.startButton+"</div>");b.push("</div>");b.push(\'<div class="sel_body_body" id="RADIV_BODY0">\'+a.startBody+"</div>");b.push("</div>");b.push("</div>");b.push(a.tpList);b.push(\'<div id="RouteAddress_DIV\'+a.endIndex+\'" class="\'+a.endPointClass+\'">\');b.push(\'<div class="sel_body">\');b.push(\'<div class="sel_body_top" data-uid=\'+a.endIndex+\' onclick="RouteAddrInst.showLst(\'+this.ae+\')" >\');b.push(\'<div class="sel_body_title">\');b.push(\'<div class="sel_body_sign"></div>\');b.push(\'<div class="sel_body_name">\\u7ec8\\u70b9\\uff1a<b id="B_PointName\'+ a.endIndex+\'">\'+a.endPoint+"</b></div>");b.push("</div>");b.push(\'<div id="RD_TOP_BUT\'+a.endIndex+\'" class="sel_body_button">\'+a.endButton+"</div>");b.push("</div>");b.push(\'<div class="sel_body_body" id="RADIV_BODY\'+a.endIndex+\'">\'+a.endBody+"</div>");b.push("</div>");b.push("</div>");b.push(\'<div id="pos6" style="display:none"></div>\');b.push("</div>");b.push("</div>");return b.join("")},showLst:function(a){this.fj=a;var b=this.fc.content.tpList.length+1,c=this.ki(a);if(!c||!(1==c.length&&c[0].cE&& 1==c[0].cE)){var d=this.gs,e=x.$("RouteAddress_DIV"+a).className;if(!("sel_n"==e||"sel_x"==e||this.zw&&!this.zw[a])){if("sel_n1"==e||"sel_y"==e||"sel_x1"==e){for(var f=0;f<=b;f++){var g=x.$("RouteAddress_DIV"+f);ja.Dc("B_PointName"+f).innerHTML=this.UW(f);"sel_x"==g.className?g.className="sel_x1":"sel_n"==g.className&&(g.className="sel_n1")}this.hC();this.wg&&(this.map.Tb(this.wg),this.wg=p);"sel_y"==e&&(this.Ma[a]={o:"",Cd:0,mn:0,x:0,y:0,oa:-1},this.Cp[a]=0);0>=this.fc.result.count[a]?x.$("RouteAddress_DIV"+ a).className="sel_x":(x.$("RouteAddress_DIV"+a).className="sel_n",1!=this.fc.result.city_list[a]&&(b=10*(d[a]-1)+9,c.length<b+1&&(b=c.length-1),this.vo(a,[10*(d[a]-1),b])))}this.fi=-1}}},pB:function(a,b){var c;x.$("RA_ResItem_"+a)&&(c=x.$("RA_ResItem_"+a).childNodes[0]);if(c&&(c=c.rows[b]))c.style.backgroundColor="#F4F4F4",c.getElementsByTagName("td")[1].childNodes[0].style.visibility="visible",c.getElementsByTagName("th")[0].childNodes[0].style.backgroundPosition=24*-b+"px -32px";this.Tf.length> b&&(this.Tf[b].Ub(new qc(E.YF,E.ZO,{offset:E.YO,imageOffset:new N(-E.WO*b,-E.XO),infoWindowOffset:E.XF})),this.$I(this.Tf[b],o,o))},_lstMouseOver:function(a,b,c,d){a=this.k.ka.map;this.fi!=d&&(a.Wc(),this.pB(c,d))},_lstMouseOut:function(a,b,c,d){this.fi!=d&&this.Yv(c,d)},Yv:function(a,b){var c=p;x.$("RA_ResItem_"+a)&&(c=x.$("RA_ResItem_"+a).childNodes[0]);c&&(c=c.rows[b],c.style.backgroundColor="#ffffff",c.getElementsByTagName("td")[1].childNodes[0].style.visibility="",c.getElementsByTagName("th")[0].childNodes[0].style.backgroundPosition= 24*-b+"px -64px");this.Tf.length>b&&(this.Tf[b].Ub(new qc(E.YF,E.aG,{offset:E.p0,imageOffset:new N(-E.$F*b,-E.ZF),infoWindowOffset:E.o0})),this.$I(this.Tf[b],q))},$I:function(a,b,c){a&&a.yi&&(b&&!a.YH&&a.Yc&&a.Yc.style?(a.YH=o,c?a.yi(o,1000100):a.yi(o)):!b&&(a.Yc&&a.Yc.style)&&(delete a.YH,a.yi(q)))},select:function(a,b,c){if(2<arguments.length&&(c=c||window.T1,"selBtn"==(c.srcElement||c.target).className))return;var d=this.ki(a);this.map.Wc();d&&(this.Bp[0]!=this.Bp[1]&&this.wg&&this.map&&this.map.Ah(this.Sm), this.lU(d,a,b),-1!=this.fi&&this.Yv(a,this.fi),this.fi=b%10,this.pB(a,this.fi))},hC:function(){var a=this;(function c(){0!==a.Tf.length&&(a.map.Tb(a.Tf.shift()),c())})();(function d(){0!==a.Sm.length&&(a.Sm.shift(),d())})()},itmSelect:function(a,b){var c=this.map,d=this.ki(a);this.Ma[a].n=d[b].name;this.Ma[a].c=this.Bp[a];this.Ma[a].u=d[b].uid;var e=R.zb(P.vb(d[b].geo_base64||d[b].geo,o).point);this.Ma[a].x=e.lng;this.Ma[a].y=e.lat;this.Ma[a].t=d[b].poiType;x.$("B_PointName"+a)&&(x.$("B_PointName"+ a).innerHTML=d[b].name);this.wg=this.FJ(c,e,d[b].name,a);0!=a&&a!=this.ae&&(this.ju[a-1].ly=d[b].name);this.hC();if(this.kY())this.wg&&(c.Tb(this.wg),this.wg=p),this.submit();else{x.$("RouteAddress_DIV"+a)&&(x.$("RouteAddress_DIV"+a).className="sel_y");for(c=0;1<=this.ae;){c=(a+1)%(this.ae+1);x.$("RouteAddress_DIV"+c)&&x.$("RouteAddress_DIV"+c);break}if(0==this.Cp[c]){x.$("RouteAddress_DIV"+c)&&(x.$("RouteAddress_DIV"+c).className="sel_n");var d=this.gs[c],e=10*(d-1)+9,f=this.ki(c);f.length<e+1&& (e=f.length-1);this.vo(c,[10*(d-1),e]);this.select(c,0)}else 2==this.Cp[c]?x.$("RouteAddress_DIV"+c)&&(x.$("RouteAddress_DIV"+c).className="sel_n"):x.$("RouteAddress_DIV"+c)&&(x.$("RouteAddress_DIV"+c).className="sel_x");this.fj=c}},submit:function(){var a=this.map,b=this.Ma[0].c,c=this.Ma[this.ae].c;if(b==c)var d=b;var e={},f=new O("onpoiselected");if(13==this.fc.result.type||23==this.fc.result.type||24==this.fc.result.type)23==this.fc.result.type&&b!=c?(e.c=d||this.fc.current_city.code,e.sc=b,e.ec= c,e.sn="1$$$$"+this.Ma[0].x+","+this.Ma[0].y+"$$"+this.Ma[0].n+"$$$$$$",e.en="1$$$$"+this.Ma[1].x+","+this.Ma[1].y+"$$"+this.Ma[1].o+"$$$$$$"):(e.c=d||this.fc.current_city.code,e.sc=b,e.ec=c,e.sn="1$$"+this.Ma[0].u+"$$"+this.Ma[0].x+","+this.Ma[0].y+"$$"+this.Ma[0].n+"$$$$$$",e.en="1$$"+this.Ma[1].u+"$$"+this.Ma[1].x+","+this.Ma[1].y+"$$"+this.Ma[1].n+"$$$$$$");else{for(var g=d="",i=this.ae,k=0,l=this.ju.length;k<l;k++)d+=this.xx(this.ju[k]),g+=this.Ma[k+1].c+"+to:";e.sc=b;e.ec=g+c;e.sn="1$$$$"+this.Ma[0].x+ ","+this.Ma[0].y+"$$"+this.Ma[0].n+"$$$$$$";e.en=d+"1$$$$"+this.Ma[i].x+","+this.Ma[i].y+"$$"+this.Ma[i].n+"$$$$$$"}e.sq=this.Hy;e.eq=this.$w;f.paramInfo=e;f.sType=this.ty;a.dispatchEvent(f)},xx:function(a,b){var c=2,d="",e="",f="",g="0",i="";if(a.point||a.xN)c=1,e=a.point?a.point.lng+","+a.point.lat:a.xN.lng+","+a.xN.lat,a.uid&&(c=2,d=a.uid);a.ly&&(f=a.ly);a.Wr&&(g="1",i=a.Wr);isNaN(b)||(c=b);return c+"$$"+d+"$$"+e+"$$"+f+"$$"+g+"$$"+i+"$$$$1$$+to:"},kY:function(){for(var a=0;a<=this.ae;a++)if(""== this.Ma[a].n&&!this.Ma[a].x&&!this.Ma[a].y||this.Ma[a].n==j)return q;return o},_selBtnOver:function(a){a.style.backgroundPosition="-100px -81px"},_selBtnOut:function(a){a.style.backgroundPosition="-21px -81px"},_selBtnDown:function(a){a.style.backgroundPosition="-220px -81px";a.style.fontWeight="bold"},ra:function(){var a=this,b=this.ae;this.YN(this.fc);a.UN();for(var c=0;c<=b;c++)x.$("RADiv_PAGE"+c)&&(pg0=new ud("RADiv_PAGE"+c,function(b){var c=a.fj,d=[10*(b-1),10*b-1];a.Jt[c]<d[1]+1&&(d[1]=a.Jt[c]- 1);x.D.remove=function(a){var a=x.$(a),b=a.parentNode;b&&b.removeChild(a)};x.$("RA_ResItem_"+c)&&(x.D.remove(x.$("RA_ResItem_"+c)),ja.D.Ix(x.$("RADiv_ResItem"+c),"AFTERBEGIN",a.HM(c,d)));a.vo(c,d,o);x.$("RADiv_ResItem"+c).scrollTop=0;a.gs[c]=b},{Vf:5,Jd:a.wO[c],page:a.gs[d]}));var d=[0,9],c=this.fj,e=ja.Dc("RouteAddress_DIV"+c),f=this.ki(c);"sel_n"==e.className?this.fc.content&&(this.fc.result.city_list&&1!=this.fc.result.city_list[c]&&f&&0<f.length)&&(f.length<d[1]+1&&(d[1]=f.length-1),a.vo(c,d), a.select(c,0)):this.wg&&"sel_x"==e.className&&this.map.Ah(this.AE);for(var d=0;d<=b;d++)"sel_y"==x.$("RouteAddress_DIV"+d).className&&(c=this.ki(d),0<c.length&&(c[0].cE&&1==c[0].cE)&&(ja.U3(ja.Dc("RD_TOP_BUT"+d),"sel_body_button"),x.$("RD_TOP_BUT"+d).innerHTML=""))},UO:function(){var a=this.ae;this.YN(this.fc);this.UN();for(var b=0;b<=a;b++){var c=this.fj,d=[0,9];this.Jt[c]<d[1]+1&&(d[1]=this.Jt[c]-1);this.vo(c,d,o)}a=[0,9];b=this.fj;ja.Dc("RouteAddress_DIV"+b);c=this.ki(b);1==b?this.fc.content&& (this.fc.result.city_list&&1!=this.fc.result.city_list[b]&&c&&0<c.length)&&(c.length<a[1]+1&&(a[1]=c.length-1),this.vo(b,a)):this.wg&&0==b&&this.map&&this.map.Ah(this.AE);this.select(b,0)},YN:function(a){var b=this.map;if(a.VV&&!(a.result.Z3&1)&&(29==a.result.type||13==a.result.type)){var a=a.VV,c=["country","province","city","area"],c=a.type!=p?modelConfig.ug[c[a.type]]:j,a=a.Gd!=p?a=P.vb(a.Gd,o).point:j;b.vW?(c&&b.Dg(c),a&&b.Wf(a)):(b.vW=o,b.Dd(a||b.Ka(),c||b.fa()))}},UN:function(){this.Bp=this.hu; for(var a=0;a<=this.ae;a++)0<this.fc.result.count[a]?0==this.fc.result.city_list[a]?(this.Cp[a]=1==this.fc.result.prio_flag[a]?1:0,this.Jt[a]=this.fc.result.count[a]):this.Cp[a]=2:this.Cp[a]=3},vo:function(a,b){var c=this,d=this.ki(a),e=c.map;c.hC();if(d){for(var f=b[0];f<=b[1];f++){var g=P.vb(d[f].geo_base64||d[f].geo,o);c.Tf.push(U.PU(g.ia[0],f-b[0],d[f].name,e));c.Sm.push(g.ia[0])}d=c.Sm;c.wg&&c.Bp[0]==c.Bp[1]&&d.push(c.wg.point);if(this.map.pa()==Pa){var g=Vc[Pa].C1[e.Wb][1],i=getPointsBounds(d), k=e.Zs(i).zoom;g.gt(i)?(15>=k&&(k=15),e.Dd(d[0],k)):e&&e.Ah(d)}else e&&e.Ah(d);11==c.Sm.length&&c.Sm.pop();for(var l=this.Tf,f=b[0];f<=b[1];f++)(function(){var d=f;l[f-b[0]]&&(l[f-b[0]].addEventListener("click",function(){c.select(a,d)}),l[f-b[0]].addEventListener("mouseover",function(){var b=d%10;c.fi!=b&&c.pB(a,b)}),l[f-b[0]].addEventListener("mouseout",function(){var b=d%10;c.fi!=b&&c.Yv(a,b)}))})()}},lU:function(a,b,c){var d=this,e=a[c],a="<span class=\'iw_poi_title\' title=\'"+e.name+"\'>"+e.name+ "</span>",f=[],g="";e.addr&&""!=e.addr&&(0==e.poiType?g="\\u5730\\u5740: "+e.addr:1==e.poiType?g="\\u9014\\u7ecf\\u516c\\u4ea4\\u8f66\\uff1a"+e.addr.split(";").join("; "):3==e.poiType&&(g="\\u9014\\u7ecf\\u5730\\u94c1\\uff1a"+e.addr.split(";").join("; ")));f.push("<div style=\'padding:11px 11px 6px 11px;line-height:20px;word-break:break-all\'>"+g+"</div>");f.push("<div style=\'line-height:180%;margin-bottom:10px;\'>");e="\\u9009\\u4e3a\\u9014\\u7ecf\\u70b9";0==b&&(e="\\u9009\\u4e3a\\u8d77\\u70b9");b==this.ae&&(e="\\u9009\\u4e3a\\u7ec8\\u70b9"); f.push("<div style=\'text-align:center;\'><div id=\'selInfoWndBtn\' class=\'selInfoWndBtn\' data-uid = \'"+b+"_"+c+"\' />"+e+"</div>");f.push("</div>");this.Cb?(this.Cb.Cc(a),this.Cb.ad(f.join(""))):(this.Cb=new tc(f.join(""),{title:a,height:0,width:280,margin:[0,0,0,0]}),this.Cb.addEventListener("open",function(){var a=x.$("selInfoWndBtn");x.M(a,"click",function(){var b=a.getAttribute("data-uid").split("_");d.itmSelect(b[0],b[1])});x.M(a,"mouseover",function(){d._selBtnOver(a)});x.M(a,"mousedown",function(){d._selBtnDown(a)}); x.M(a,"mouseout",function(){d._selBtnOut(a)})}),this.Cb.addEventListener("close",function(){d.Yv(b,i)}));var i=c%10;this.Tf&&this.Tf[i]&&this.Tf[i].Nb(this.Cb)},UW:function(a){a==j&&(a=this.fj);return 0==a?this.Hy:a==this.ae?this.$w:this.yO[a-1]},Gb:function(a,b){for(var c=0,d=a.length;c<d;c++)b(c,a[c])}});wd.rH=function(a,b,c){var d="";0===c&&(d+=";border-top:1px solid #e4e6e7");var e="nav-ed";0===c&&(e="nav-st");c=["<div style=\'"+d+"\'><div style=\'cursor:pointer;padding:8px 0 8px 10px;line-height:15px\'"];c.push("onclick=\'"+b+"\'>");c.push("<span class=\'navtrans-navlist-icon "+e+"\'></span>");c.push("<div style=\'overflow:hidden;line-height:20px;\'>"+a);c.push("</div></div></div>");return c.join("")}; wd.qH=function(a,b,c){return\'<h1 style="margin:0;border-top:1px solid #e4e6e7;\'+(c?"border-bottom:1px solid #e4e6e7;padding:10px 0 10px 7px;":"padding:10px 0 9px 7px;")+"font:bold 16px "+E.fontFamily+\'"> \'+b+"\\u524d\\u5f80 "+a+" \\u7684\\u8def\\u7ebf</h1>"}; x.extend(wd.prototype,{search:function(a,b){return!a||!b?(this.Oe(),this.sb(5),this.Sa(V.Sc),q):o},Oe:function(){delete this.ja;delete this.ga;delete this.Fa;delete this.vq;delete this.Fl;var a=this.k.ka;this.sb();a.Ha&&(a.Ha.innerHTML="");a.map&&a.map.Wc();this.Kj();this.kb=-1},$e:function(a,b){var c,b=b||{};"string"===typeof a?c=[2,"","",a,0,""]:a instanceof H?(c=R.zb(a),c=[1,"",c.lng+","+c.lat,b.J4||"",0,""]):(c=R.zb(a.point),c=[1,""+a.uid,c.lng+","+c.lat,a.title,0,""]);return c.join("$$")+"$$"}, Mh:function(a,b){var c;"string"===typeof a?c=a:(c=a instanceof H?a:a.point,c=c.lat+","+c.lng);"string"!==typeof a&&(b&&""!==b&&"string"===typeof b)&&(c="name:"+b+"|latlng:"+c);return c},xx:function(a){return this.$e(a)+"$$1$$"},V0:function(){var a;"string"===typeof dest?a=dest:(a=dest instanceof H?dest:dest.point,a=a.lat+","+a.lng);return a}});var Bh=0,Ch=1; function qh(a){"string"===typeof a&&(a=parseFloat(a));a=!a||0>a?"0\\u7c73":10>=a?"10\\u7c73":1E3>a?10*Math.round(a/10)+"\\u7c73":(a/1E3).toFixed(1)+"\\u516c\\u91cc";"1000\\u7c73"===a&&(a="1.0\\u516c\\u91cc");return a} function rh(a,b){if(!a||isNaN(a))return"";var c="",d=Math.ceil(a/60);if("bustime"===b)var e=d%10,f=parseInt(d/10,10),d=0!==e?5<e?10*++f:f?10*f:5:d;e=parseInt(d/1440,10);d%=1440;f=parseInt(d/60,10);d%=60;1<=e&&(c+=e+"\\u5929");1<=f&&(c+=f+"\\u5c0f\\u65f6");if(1<=d&&(!b||!("nav"===b&&1<=e)))c+=d+"\\u5206\\u949f";return c}S(sf,{clearResults:sf.Oe});x.extend(xd.prototype,{Qd:function(){for(var a=0,b=this.Pa.length;a<b;a++){var c=this.Pa[a];this[c.method].apply(this,c.arguments)}delete this.Pa;var d=this;this.k.ka.map&&this.k.ka.map.addEventListener("onpoiselected",function(a){d.WE(a)})},AA:function(a,b){function c(a){var a=a.split("$$"),b=a[0],c=p;/[0-2]/.test(b)&&7===a.length&&(c=a[+b+1]);return c}var d=this;this.Jg(this.yd,function(e){e={qt:d.ud,c:e,sn:a,X1:b,sy:d.k.$c||0,ext:1};4===e.sy&&(e.f="[0,2,4,7,5,8,9,10,11]");var f=c(a),g=c(b);dd.bb(function(a, b){d.Kf(a,b)},e,{start:f,end:g})})},search:function(a,b){if(wd.prototype.search.call(this,a,b)===o){var c=this;this.Jg(this.yd,function(d){d||(this.sb(5),this.Sa(V.Sc));var e;"object"===typeof a&&"string"===typeof b||"string"===typeof a&&"object"===typeof b?"string"===typeof a?e={qt:"bse",c:d,isSingle:o,wd:a,en:c.$e(b),sy:c.k.$c||0,ex:1}:"string"===typeof b&&(e={qt:"bse",c:d,isSingle:o,wd:b,sn:c.$e(a),sy:c.k.$c||0,ex:1}):e={qt:c.ud,c:d,sn:c.$e(a),en:c.$e(b),sy:c.k.$c||0,ex:1};4===e.sy&&(e.f="[0,2,4,7,5,8,9,10,11]"); dd.bb(function(a,b){c.Kf(a,b)},e,{start:a,end:b,pH:"search"})})}},WE:function(a){if(a.sType===this.ud){a=a.paramInfo;a.qt=this.ud;var b=this;a.sy=b.k.$c||0;var c={start:a.sq,end:a.eq,pH:"preciseSearch"};this.k.ed&&(c.EN=z.qp+"mobile/webapp/interface/wiseBus/",c.Gs=o);dd.bb(function(a){b.Kf(a,c)},a,c)}},Kf:function(a,b){var c=this.k.ka.map;this.Oe();this.Fa=a;var d=a.result;this.ga=b;if(0!==d.error||d.type!==this.Cu||!a.content)23===d.type&&this.k.ka.map?(c=new Cd(a,{ka:this.k.ka,ty:this.ud}),d=M("div", {style:"font:12px "+E.fontFamily+";background:#fff"}),d.innerHTML=c.va(),this.k.ka.Ha?(this.k.ka.Ha.appendChild(d),c.ra()):c.UO(),c.VB()):(this.ja=new nh({city:a.current_city.name,Ft:[],$c:d.sy,gO:j,TK:j}),this.sb(3),this.Sa(V.Sc,this.ja));else if(this.k.ed&&"search"===b.pH){var e=new O("onpoiselected"),f={};f.qt=this.ud;f.sy=this.k.$c||0;f.sq=b.start;f.eq=b.end;f.sn=d.sn?d.sn:this.$e(d.start.wd);f.en=d.en?d.en:this.$e(d.end.wd);f.c=d.c;e.paramInfo=f;e.sType=this.ud;c.dispatchEvent(e)}else this.Cl(), this.Dl(),this._selectPlan(0)},oS:function(a,b){var c=jd;0===b&&(c=0<a?2:1);return c},Cl:function(){var a=this.Fa.result,b=this.Fa.content,c=this.Fa.current_city,d={},e={};if("object"===typeof this.ga.start&&!(this.ga.start instanceof H))x.extend(d,this.ga.start);else{d.title=a.start.wd||"\\u8d77\\u70b9";d.uid=a.start.uid;d.url=V.Nh(d.uid,c.code);if(this.k.ed){var f=a.start.pt.split(",");d.point=R.Ab(new H(parseFloat(f[0]),parseFloat(f[1])))}else d.point=P.vb(a.start.pt,o).point;d.city=c.name}"object"=== typeof this.ga.end&&!(this.ga.end instanceof H)?x.extend(e,this.ga.end):(e.title=a.end.wd||"\\u7ec8\\u70b9",e.uid=a.end.uid,e.url=V.Nh(e.uid,c.code),this.k.ed?(f=a.end.pt.split(","),e.point=R.Ab(new H(parseFloat(f[0]),parseFloat(f[1])))):e.point=P.vb(a.end.pt,o).point,e.city=c.name);var f=[],g=0;this.vq=[];for(var i=0;i<b.length&&!(g>this.k.Ek-1);i++)for(var k=0,l=b[i]&&b[i].stops&&b[i].stops.length;k<l&&!(g>this.k.Ek-1);k++){this.vq[g]=[];for(var m=b[i].stops[k],n=b[i].lines[k],t=0,v=0,w=n.length;v< w;v++)"object"===typeof n[v]&&t++;for(var t=n[t+1],v=[],w=[],y=0,C="<table class=\'trans-plan-content\'>",A=0;A<m.length-1&&n[A].geo;A++){var D=m[A].getOn,D={title:D.name,uid:D.uid,url:V.Nh(D.uid,c.code),city:c.name,point:P.vb(D.geo,o).point},B=m[A+1].getOff,B={title:B.name,uid:B.uid,url:V.Nh(B.uid,c.code),city:c.name,point:P.vb(B.geo,o).point},F=[];if(0===A)0<m[A].walk.distance&&m[A].walk.geo&&(F=P.vb(m[A].walk.geo,o).ia.concat(D.point));else if(0<m[A].walk.distance&&m[A].walk.geo)var F=P.vb(m[A].getOff.geo, o).point,J=P.vb(m[A].getOn.geo,o).point,F=[F].concat(P.vb(m[A].walk.geo,o).ia).concat(J);w.push(new vh({md:m[A].walk.distance,ia:F.slice(0),qy:ed,index:A,PE:i}));y+=m[A].walk.distance;A===m.length-2&&(0<m[A+1].walk.distance&&m[A+1].walk.geo&&(F=[B.point].concat(P.vb(m[A+1].walk.geo,o).ia)),w.push(new vh({md:m[A+1].walk.distance,ia:F.slice(0),qy:ed,index:A+1,PE:i})),y+=m[A+1].walk.distance);F=P.vb(n[A].geo,o);J=[];if(this.k.ed&&n[A].link_color&&0<n[A].link_color.length)for(var L=0,K=0,W=n[A].link_color, ea=W.length;L<ea;L++){var fa=W[L],Ea=fa.status,Ua=F.ia.slice(K,K+fa.geo_cnt+1);J.push({ia:Ua,status:Ea});K+=fa.geo_cnt}v.push(new xh({title:n[A].name,uid:n[A].uid,md:n[A].distance,ia:F.ia,status:J,o_:[D,B],type:this.aS(n[A].type),RY:n[A].station_num}));J=F.hb;F=J.se();J=J.of();F=[F,J];this.vq[g].push(F[0],F[1]);y+=n[A].distance;m[A].walk.distance&&(C+="<tr><td><span class=\'navtrans-bus-icon walk\'></span><div class=\'navtrans-bus-desc\'>\\u6b65\\u884c\\u7ea6"+qh(m[A].walk.distance)+"\\uff0c\\u5230\\u8fbe<span class=\'navtrans-busstation\'>"+ D.title+"</span></div></td></tr>");C+="<tr><td><span class=\'navtrans-bus-icon bus\'></span><div class=\'navtrans-bus-desc\'>\\u4e58\\u5750<span class=\'navtrans-busstation\'>"+this.iU(n[A].name)+"</span>\\uff0c\\u7ecf\\u8fc7"+n[A].station_num+"\\u7ad9\\uff0c\\u5230\\u8fbe<span class=\'navtrans-busstation\'>"+B.title+"</span></div></td></tr>";A<m.length-2?C+="":m[A+1].walk.distance&&(C+="<tr><td><span class=\'navtrans-bus-icon walk\'></span><div class=\'navtrans-bus-desc\'>\\u6b65\\u884c\\u7ea6"+qh(m[A+1].walk.distance)+ "\\uff0c\\u5230\\u8fbe<span class=\'navtrans-busstation\'>"+m[A+1].getOn.name+"</span></div></td></tr>")}C+="</table>";if(0===y)break;f.push(new th({fF:w,md:y,duration:t,zY:v,description:C}));g++}b=z.Ac+"direction?"+Db({region:c.name,origin:this.Mh(this.ga.start,this.ga.start.title?this.ga.start.title:this.ga.start),destination:this.Mh(this.ga.end,this.ga.end.title?this.ga.end.title:this.ga.end)})+"&output=html&mode=transit&src=baidu_map_jsapi";this.ja=new nh({city:c.name,Ft:f,start:d,end:e,url:b,$c:a.sy}); this.sb(0);this.Sa(V.Sc,this.ja)},KT:function(a){var b=this.k.ka.map,c=[],d=this;if(b){var e=this.ja.qf(a);if(e){var f=this.ja.rj(),g=this.ja.gh(),i=U.to(b,f.point,f.title,Bh);f.marker=i;i.addEventListener("click",function(){d._select(0)});this.wa.push(i);i=U.to(b,g.point,g.title,Ch);g.marker=i;this.wa.push(i);i.addEventListener("click",function(){d._selectLast()});this.vq[a].push(f.point,g.point);for(var k=0,i=e.px();k<i;k++){var l=e.LD(k),m=U.uo(b,l.qe()),n=[];if(this.k.ed&&0<l.Bd.length){for(var t= 0,v=l.Bd.length;t<v;t++){var w=l.Bd[t];w.status&&(w=U.HJ(b,w.ia,w.status),n.push(w),this.wa.push(w))}l.a1=n}l.Ti=m;this.wa.push(m);m=l.HD();c.push(m);var y=U.JJ(b,m.point,l.type,m.title);m.marker=y;this.wa.push(y);m=l.GD();c.push(m);var C=U.JJ(b,m.point,l.type,m.title);m.marker=C;(function(){var a=k;y.addEventListener("click",function(){d._select(2*(a+1)-1)});C.addEventListener("click",function(){d._select(2*(a+1))})})();this.wa.push(C);l=e.ih(k);0<l.Re(q)&&(m=U.Ql(b,l.qe(),l.bp()),l.Ti=m,this.wa.push(m))}l= e.ih(k);m=U.Ql(b,l.qe(),l.bp());l.Ti=m;this.wa.push(m);d=this;this.k.ka.Xg&&b.Ah(this.vq[a],{margins:[30,30,30,30]});this.Sa(V.wu,e.Ri,e.dk);this.Sa(V.Xp,[f,g],c)}}},Dl:function(){if(this.k.ka.Ha&&this.k.ka.Ha.appendChild&&this.ja&&0<this.ja.qx()){for(var a=M("div",{style:"font:12px "+E.fontFamily+";background:#fff"}),b=wd.qH(this.ja.gh().title,"\\u4e58\\u516c\\u5171\\u4ea4\\u901a\\u5de5\\u5177"),c=this.sH(this.ja.rj().title,\'Instance("\'+this.ba+\'")["_select"](0)\',0),d=this.sH(this.ja.gh().title,\'Instance("\'+ this.ba+\'")["_selectLast"]()\',1),e=["<table style=\'font:12px "+E.fontFamily+";border-collapse:collapse;width:100%;\' cellpadding=\'0\' cellspacing=\'0\' border=\'0\'>"],f=0,g=this.ja.qx();f<g;f++){var i=this.ja.qf(f),k=i.Re().replace(/(\\d+(?:.\\d+)?)/,"$1 "),l=i.Qs().replace(/(\\d+)/,"$1 "),m=i.NX();bg="";var n="<p style=\'margin:0px 0px 5px 0px;font-size:14px;color: #36c;\'>"+i.hX()+"</p>",k="<p style=\'margin:5px 0px;font-size:12px;\'>"+k+" &nbsp;|&nbsp; "+l+" &nbsp;|&nbsp; \\u6b65\\u884c"+m+"</p>";e.push("<tr class=\'tranroute-plan-list\' style=\\"cursor:pointer"+ bg+\'" onclick=\\\'Instance("\'+this.ba+\'")._selectPlan(\'+f+")\'>");e.push("<td style=\'vertical-align:top;line-height:18px\' ><div style=\'margin:3px 0px;border:1px solid #e4e6e7;\'><div class=\'trans-title\' style=\'padding: 5px 10px;\'>"+n+k+"</div><div class=\'trans_plan_desc\' style=\'padding:0px 8px;margin:0px;display:none;position:relative;\'>"+c+i.fh()+d+"</div></div></td>");e.push("</tr>")}e.push("</table>");c="<div style=\'border-bottom:1px solid #ccc;margin-bottom:10px;color:#7777cc;background:#e5ecf9;overflow:hidden;padding:2px;text-align:right\'>"; this.ja.moreResultsUrl&&(c+="<a style=\'color:#7777cc\' href=\'"+this.ja.moreResultsUrl+"\' target=\'_blank\'>\\u5230\\u767e\\u5ea6\\u5730\\u56fe\\u67e5\\u770b&#187;</a>");a.innerHTML=b+e.join("")+(c+"&nbsp;</div>");this.k.ka.Ha.appendChild(a);this.Sa(V.xu,a)}},_select:function(a,b){var c=this.k.ka.map;if(c){var b=b||window.event,d=this.ja.qf(this.kb);if(d){var e=this,f=2*d.px();if(0===a||a===f+1){var g=0===a?this.ja.rj():this.ja.gh(),i=U.Kw({content:"<b>"+g.title+"</b>",total:f,Nw:a,Zx:function(a){e._select(a)}}); i.addEventListener("open",function(){e.Sa(V.yn,g,U.Rs(c))});var k=0===a?0:1,e=this;c.K.km?be.jp(i,c.getCurrentCity().code,{panoInstance:c.P,lngLat:g.point,titleTip:g.title,type:"busline",beforeDomId:"trans_nav"},function(){e.wa[k].Nb(i)}):e.wa[k].Nb(i)}else{var d=d.LD(Math.floor((a+1)/2)-1),l,m=d.cp();1===a%2?(l=d.HD(),d=m+"<b>"+l.title+"\\u7ad9\\u4e0a\\u8f66</b>"):(l=d.GD(),d=m+"<b>"+l.title+"\\u7ad9\\u4e0b\\u8f66</b>");i=U.Kw({content:d,total:f,Nw:a,Zx:function(a){e._select(a)}});i.addEventListener("open", function(){e.Sa(V.yn,l,U.Rs(c))});e=this;c.K.km?be.jp(i,c.getCurrentCity().code,{panoInstance:c.P,lngLat:l.point,titleTip:l.title,type:"busline",beforeDomId:"trans_nav"},function(){l.marker.Nb(i)}):l.marker.Nb(i)}na(b)}}},_selectLast:function(a){a=a||window.event;if(this.ja&&-1<this.kb){var b=this.ja.qf(this.kb);if(!b)return;this._select(2*b.px()+1)}na(a)},_selectPlan:function(a){if(this.ja||this.d1.qf(a)){this.ja.qf(a);var b=this.k.ka.map;b&&(b.Wc(),this.Kj(),this.KT(a));if(this.k.ka.Ha){var c=this.k.ka.Ha.getElementsByTagName("table")[0]; if(!c)return;for(var b=x.getElementsByClassName(c,"tranroute-plan-list"),c=x.getElementsByClassName(c,"trans_plan_desc"),d=0;d<c.length;d++)d!==a&&(c[d].style.display="none");for(c=0;c<b.length;c++)x.Sb(b[c],"expand");c=x.getElementsByClassName(b[a],"trans_plan_desc")[0];"none"===c.style.display?(c.style.display="block",x.Ua(b[a],"expand")):c.style.display="none"}this.kb=a}},Kj:function(){for(var a=0;a<this.wa.length;a++)this.wa[a]&&this.wa[a].YA&&(this.wa[a].YA.remove(),this.wa[a].YA=p),this.wa[a]&& this.wa[a].remove(),this.wa[a]=p;this.wa.length=0},aS:function(a){return xd.lP[a]},sH:function(a,b,c){var d="";0===c&&(d+="padding-top:5px;");var e="nav-ed";0===c&&(e="nav-st");c=["<div style=\'"+d+"\'><div style=\'cursor:pointer;padding:2px 0 2px 0px;line-height:15px\'"];c.push("onclick=\'"+b+"\'>");c.push("<span class=\'navtrans-navlist-icon "+e+"\'></span>");c.push("<div style=\'overflow:hidden;line-height:20px;\'>"+a);c.push("</div></div></div>");return c.join("")}});yd=xd.prototype;S(yd,{_internalSearch:yd.AA});zd.oP=20;zd.iP=50;zd.hP=10; x.extend(zd.prototype,{iE:function(){this.aa={xp:[],Kb:[],Ci:[],$g:[],ie:p,qd:p,OC:q,Aw:p,Bo:p,hM:q,Mw:p,PC:1,NC:1,bK:"\\u8d77\\u70b9",aK:"\\u7ec8\\u70b9",Wx:q,os:[]}},Qd:function(){this.iE();for(var a=0,b=this.Pa.length;a<b;a++){var c=this.Pa[a];this[c.method].apply(this,c.arguments)}delete this.Pa;var d=this;this.k.ka.map&&this.k.ka.map.addEventListener("onpoiselected",function(a){d.WE(a)})},search:function(a,b,c){this.aa.hM=q;var c=c||{},d=c.waypoints;"[object Array]"==Object.prototype.toString.call(d)||(d= []);this.SO=d;if(wd.prototype.search.call(this,a,b)===o){var e=this;this.Jg(this.yd,function(f){var f=f||1,g;if(("object"===typeof a&&"string"===typeof b||"string"===typeof a&&"object"===typeof b)&&0===d.length&&!e.k.ed)"string"===typeof a?g={qt:"nse",c:f,isSingle:o,wd:a,en:e.$e(b),sy:e.k.$c||0}:"string"===typeof b&&(g={qt:"nse",c:f,isSingle:o,wd:b,sn:e.$e(a),sy:e.k.$c||0}),this.ud=e.k.ed?e.ud:"nse",f={start:a,end:b,Gs:e.k.ed};else{var i=e.$e(a);en="";if(0<d.length){for(var k=0;k<d.length;k++)en+= e.xx(d[k])+"+to:";en+=e.$e(b)}else en=e.$e(b);g={qt:e.ud,c:f,sn:i,en:en,sy:e.k.$c||0};f={start:i,end:en,Gs:e.k.ed}}0<d.length&&(f.GO=o);c.startCity&&(g.sc=c.startCity);if(c.endCity){i="";if(0<d.length){for(k=0;k<d.length;k++)i+=c.endCity+"+to:";i+=c.endCity}else i=c.endCity;g.ec=i}e.k.ed&&(g.route_traffic=1,g.version=4,g.mrs=0<e.SO.length?0:1);dd.bb(function(a,b){e.Kf(a,b)},g,f)})}},Sz:function(a,b){var c=this;c.aa.hM=o;c.Jg(c.yd,function(d){for(var d=d||1,e=R.zb(c.aa.Kb[0]),e="1$$$$"+e.lng+","+e.lat+ "$$$$",f=c.aa.PC||d,g="",i="",k=1,l=c.aa.Kb.length;k<l;k++){var m=c.aa.Kb[k];k===l-1?(g+=c.$e(m),i+=c.aa.NC||d):(g=m.vj?g+(c.xx(m)+"+to:"):g+(c.$e(m)+"+to:"),i+="0 +to:")}d={qt:c.ud,c:d,drag:1,sc:f,ec:i,sn:e,en:g,sy:c.k.$c||0};c.k.ed&&(d.route_traffic=1,d.version=4,d.mrs=0);e={start:a,end:b,Gs:c.k.ed};x.extend(e,{GO:o});dd.bb(function(a,b){c.Kf(a,b)},d,e)})},WE:function(a){var b=this;if(a.sType===this.ud){a=a.paramInfo;a.qt=this.ud;var b=this,c={start:a.sq,end:a.eq,Gs:b.k.ed};a.sy=b.k.$c||0;b.k.ed&& (a.route_traffic=1,a.version=4,a.mrs=0<b.SO.length?0:1);dd.bb(function(a){b.Kf(a,c)},a,c)}},Kf:function(a,b){this.Oe();this.Fa=a;var c=a.result;this.ga=b;if(0!==c.error||c.type!==this.Cu)if(23===c.type||19===c.type){var c=new Cd(a,{ka:this.k.ka,ty:this.ud}),d=M("div",{style:"font:12px "+E.fontFamily+";background:#fff"});d.innerHTML=c.va(b);this.k.ka.Ha?(this.k.ka.Ha.appendChild(d),c.ra()):c.UO()}else this.ja=this.Wu({city:a.current_city.name,Ft:[],$c:c.sy,gO:j,TK:j}),this.sb(3),this.Sa(V.Sc,this.ja); else this.k.ed?this.ET():this.Cl(),this.JT(),this.Dl()},oS:function(a,b){var c=jd;0===b&&(c=0<a?2:1);return c},BB:function(){this.aa.qd&&this.aa.qd.IC();for(var a=0,b=this.aa.$g.length;a<b;a++){var c=this.aa.$g[a];c instanceof T&&c.IC()}},ET:function(){var a=this.Fa.result,b=this.Fa.content,c=this.Fa.current_city,d=a.waypoints,e=b.taxis&&b.taxis[0]&&b.taxis[0].total_price||0,f=[],g=[],i=0,k=0,l=b.routes[0].legs,m=b.steps,n=b.stepts,t=[],v=[];this.Fl=[];var w=this.aa.Ci.slice(0);this.aa.Ci.length= 0;var y={},C={},A=[],b=[],D=[],B=[];if("object"===typeof this.ga.start&&!(this.ga.start instanceof H))x.extend(y,this.ga.start);else{y.title=a.start.wd||"\\u8d77\\u70b9";y.uid=a.start.uid;y.url=V.Nh(y.uid,a.start_city.code);var F=a.start.pt.split(",");y.point=R.Ab(new H(parseFloat(F[0]),parseFloat(F[1])));y.city=a.start_city.cname}this.aa.PC=a.start_city.code;if("object"===typeof this.ga.end&&!(this.ga.end instanceof H))x.extend(C,this.ga.end);else{var J,F=a.end[a.end.length-1];J=a.end_city[a.end_city.length- 1];this.aa.NC=J.code;C.title=F.wd||"\\u7ec8\\u70b9";C.uid=F.uid;"null"===C.uid&&(C.uid="");C.url=V.Nh(F.uid,J.code);F=F.pt.split(",");C.point=R.Ab(new H(parseFloat(F[0]),parseFloat(F[1])));C.city=J.cname}J=F=0;for(var L=l.length;J<L;J++){var K=l[J],i=i+K.distance,k=k+K.duration;f.push(K.distance);g.push(K.duration);for(var W=[],ea=[],fa=[],Ea=[],K=K.stepis,Ua=0,Qa=K.length;Ua<Qa;Ua++){for(var Aa=K[Ua],lc=Aa.s,Aa=Aa.n,pe=m.slice(lc,Aa+lc),nf=n.slice(lc,Aa+lc),fd=0;fd<Aa;fd++){for(var Lb=pe[fd],mc=nf[fd], qe=mc.end,re=mc.status,Mc=P.vb(Lb.path,o).ia,gd=0,se=[],hd=0,of=qe.length;hd<of;hd++){var te=qe[hd];se[hd]=Mc.slice(gd,gd+te+1);gd+=te}this.Fl[F]=Mc;ea=ea.concat(Mc);fa.push(Mc);Ea.push(re);Lb.hy=Mc;Lb.z4=mc;Lb.NF=re;Lb.M_=se;F++}W=W.concat(pe);v=v.concat(n.slice(lc,Aa+lc+1))}t.push(W);D.push(fa);B.push(Ea);b.push(ea)}l=[];J=0;for(g=b.length;J<g;J++)m=new vh({Aj:t[J],md:f[J],index:J,ia:D[J],NF:B[J],qy:this.Du}),l.push(m);J=new ph({fF:l,md:i,duration:k});f="";i={};D=p;D=k="string";t=this.k.ka.map; this.ga.start instanceof H&&(k="point");this.ga.end instanceof H&&(D="point");"point"===k&&"string"===D||"string"===k&&"point"===D?(D="nse",t.Hd(),x.extend(i,{region:c.name,zoom:t.fa()}),"string"===k?(i.origin=this.ga.start,i.destination=this.Mh(this.ga.end,this.ga.end.title?this.ga.end.title:this.ga.end)):(i.destination=this.ga.end,i.origin=this.Mh(this.ga.start,this.ga.start.title?this.ga.start.title:this.ga.start))):(D=ld,i.region=c.name,i.origin_region=a.start_city.cname,i.destination_region= a.end_city[0].cname,i.origin=this.Mh(this.ga.start,this.ga.start.title?this.ga.start.title:this.ga.start),i.destination=this.Mh(this.ga.end,this.ga.end.title?this.ga.end.title:this.ga.end));D!==p&&(f=z.Ac+"direction?"+Db(i)+"&output=html&mode=driving&src=baidu_map_jsapi");this.ja=this.Wu({city:c.name,Ft:[J],start:y,end:C,url:f,$c:a.sy,nO:e});this.aa.Kb.length=0;this.aa.xp.length=0;c=1;for(J=0;J<d.length;J++)e=d[J],f=(e.pt?e.pt:a.end[J].pt).split(","),f=R.Ab(new H(parseFloat(f[0]),parseFloat(f[1]))), f.vj=e.if_wp?e.if_wp:a.end[J].pt,A.push(f),this.aa.Ci.push({title:e.wd?e.wd:w[J]&&w[J].title?w[J].title:"\\u672a\\u77e5\\u8def\\u6bb5",curNo:c,point:f}),c++;this.aa.Kb.push(y.point);J=0;for(g=A.length;J<g;J++)this.aa.Kb.push(A[J]);this.aa.Kb.push(C.point);J=0;for(g=b.length;J<g;J++)a=b[J],a.Qk=J,a.kj=J+1,this.aa.xp.push(a);this.sb(0);this.Sa(V.Sc,this.ja)},Cl:function(){var a=this.Fa.result,b=this.Fa.content,c=this.Fa.current_city,d=b.kps,e=b.rss,f=a.waypoints,g={},i={};"object"===typeof this.ga.start&& !(this.ga.start instanceof H)?x.extend(g,this.ga.start):(g.title=a.start.wd||"\\u8d77\\u70b9",g.uid=a.start.uid,g.url=V.Nh(g.uid,a.start_city.code),g.point=P.vb(a.start.pt,o).point,g.city=a.start_city.cname);this.aa.PC=a.start_city.code;if("object"===typeof this.ga.end&&!(this.ga.end instanceof H))x.extend(i,this.ga.end);else{var k,l;k=a.end[a.end.length-1];l=a.end_city[a.end_city.length-1];this.aa.NC=l.code;i.title=k.wd||"\\u7ec8\\u70b9";i.uid=k.uid;"null"===i.uid&&(i.uid="");i.url=V.Nh(k.uid,l.code); i.point=P.vb(k.pt,o).point;i.city=l.cname}var m=[],n=[],t=[],v=0,w=[];this.Fl=[];l=[];k=[];var y=[],C=0;this.aa.Ci.length=0;for(var A=1,D=0,B=d.length-1;D<B;D++){var F=d[D],J=d[D+1],L=e[D],K=e[D-1]||{},W=e[D+1],ea=P.vb(F.pt,o).point,fa=P.vb(L.g,o);fa&&(y=y.concat(fa.ia));v+=W.d;3===F.rt?(1===f[A-1].if_wp&&(ea.vj=1),l.push(ea),k.push(y.slice(0)),y=[],m.push(n.slice(0)),n=[],t.push(v),v=0,this.aa.Ci.push({title:K.n||W.n||"\\u672a\\u77e5\\u8def\\u6bb5",curNo:A,point:ea}),A++):(n.push(new zh({point:ea,index:n.length, description:this.TR(F,L,W,D,B,K,J),md:W.d})),fa&&(this.Fl[C]=1<D?[w[w.length-1]].concat(fa.ia):fa.ia,w=w.concat(fa.ia)),C++)}0<y.length&&k.push(y);0<n.length&&m.push(n);0<v&&t.push(v);d=[];D=0;for(B=k.length;D<B;D++)e=new vh({Aj:m[D],md:t[D],index:D,ia:k[D],qy:this.Du}),d.push(e);D=b.time;this.ud===md&&(D=Math.round(b.dis/1.35));b=new ph({fF:d,md:b.dis,duration:D,nW:this.aa.Ci});D="";B={};f=p;f=d="string";e=this.k.ka.map;this.ga.start instanceof H&&(d="point");this.ga.end instanceof H&&(f="point"); "point"===d&&"string"===f||"string"===d&&"point"===f?(f="nse",e.Hd(),x.extend(B,{region:c.name,zoom:e.fa()}),"string"===d?(B.origin=this.ga.start,B.destination=this.Mh(this.ga.end,this.ga.end.title?this.ga.end.title:this.ga.end)):(B.destination=this.ga.end,B.origin=this.Mh(this.ga.start,this.ga.start.title?this.ga.start.title:this.ga.start))):(f=ld,B.region=c.name,B.origin_region=a.start_city.cname,B.destination_region=a.end_city[0].cname,B.origin=this.Mh(this.ga.start,this.ga.start.title?this.ga.start.title: this.ga.start),B.destination=this.Mh(this.ga.end,this.ga.end.title?this.ga.end.title:this.ga.end));f!==p&&(D=z.Ac+"direction?"+Db(B)+"&output=html&mode=driving&src=baidu_map_jsapi");this.ja=this.Wu({city:c.name,Ft:[b],start:g,end:i,url:D,$c:a.sy,nO:this.qS()});this.aa.Kb.length=0;this.aa.xp.length=0;this.aa.Kb.push(g.point);D=0;for(B=l.length;D<B;D++)this.aa.Kb.push(l[D]);this.aa.Kb.push(i.point);D=0;for(B=k.length;D<B;D++)a=k[D],a.Qk=D,a.kj=D+1,this.aa.xp.push(a);this.sb(0);this.Sa(V.Sc,this.ja)}, uH:function(){for(var a=0,b=this.ja.qf(0),c=0,d=b.Vs();c<d;c++)var e=b.ih(c),a=a+e.sx();return a},Uq:function(a){for(var b=0,c=this.ja.qf(0),d=0,e=c.Vs();d<e;d++)for(var f=c.ih(d),g=0,i=f.sx();g<i;g++){var k=f.AL(g);if(b===a)return k;b++}},TR:function(a,b,c,d,e,f,g){var i="",i=parseInt(b.d,10),k=b.poi;k&&(i-=k.pd);var i=qh(i),f=this.lA(f.t,f.n),k=this.lA(b.t,b.n),l=this.lA(b.t,c.n),m=this.AH(a.dw)||"",m=a.dr?m+"<span>"+a.dr+"</span>\\uff0c":"";3===g.rt&&(m+="\\u5230\\u8fbe<span>"+this.kA(g.rt)+"</span>\\uff0c"); c=k===l?"":this.mS(c.t,c.n)+"<span>"+l+"</span>";g=this.MH(a.ett||a.extt||a.tt);i=g+"<div class=\'navtrans-navlist-content\'>"+((""!==k&&f===k?"\\u7ee7\\u7eed":"")+this.nS(b.t,b.n))+k+this.kA(a.rt)+i+"\\uff0c"+this.jS(b)+this.rS(a)+m;0===d?i=g+"<div class=\'navtrans-navlist-content\'>\\u4ece\\u8d77\\u70b9\\u5411"+this.gv(a.ett||a.extt||a.tt)+"\\u51fa\\u53d1</div>":0<d&&d<e-1?((a=this.gv(a.ett||a.extt||a.tt))||(a=this.gv(1)),i=i+a+c+"</div>"):i+="\\u5230\\u8fbe\\u7ec8\\u70b9</div>";return i},IS:function(a,b,c){if(b&& c&&0<c.length)for(var d=0,e=c.length;d<e;d++){var f=a.bc(c[d]);if(U.VW(b,f)<=zd.oP)return o}return q},JT:function(){this.k.ka.map&&this.ja&&(this.OT(),this.LT())},LT:function(){for(var a=this.k.ka.map,b=this.ja.qf(0),c=b.ih(0),d=this.ja.rj(),e=this.ja.gh(),f=this,g=this.aa.Kb.length,i=[],k=[],l,m=0,n=this.aa.xp.length;m<n;m++){var t=this.aa.xp[m];l=U.Ql(a,t,c.bp());b.dk[m].Ti=l;l.Qk=t.Qk;l.kj=t.kj;t=l.Hd();i.push(t.se());i.push(t.of());this.Uz&&g<zd.hP+2&&(l.addEventListener("mousemove",function(b){f.aa.Wx? f.aa.qd&&f.aa.qd.U():(f.aa.Mw=this,f.aa.qd?f.IS(a,b.pixel,f.aa.Kb)?f.aa.qd.U():(f.aa.qd.show(),f.aa.qd.ta(b.point),f.aa.ie.ad("\\u62d6\\u52a8\\u4ee5\\u66f4\\u6539\\u8def\\u7ebf"),f.aa.ie.show(),f.aa.qd.an(f.aa.ie)):(f.aa.qd=U.EJ(a,b.point),f.aa.qd.Yb(),f.aa.qd.addEventListener("dragging",function(){f.LI(this,a,f.aa.Mw.Qk,f.aa.Mw.kj)}),f.aa.qd.addEventListener("dragend",function(){var a=f.aa.Aw,b=a.name,c=f.aa.Mw.kj;a.vj=p;f.aa.Kb.splice(c,0,a);f.aa.Ci.splice(c,0,{title:b?b:"\\u672a\\u77e5\\u8def\\u6bb5",curNo:c, point:a});this.ta(a);f.BB();f.Sz(d,e)}),f.aa.ie||(f.aa.ie=U.sK()),a.Ja(f.aa.qd)))}),l.addEventListener("mouseout",function(){f.aa.qd&&f.aa.qd.U()}));f.aa.$g.push(l);if(this.k.ed){c=b.ih(m);l=0;for(t=c.Nr.length;l<t;l++)for(var v=c.Nr[l],w=v.M_,v=v.NF,y=0,C=w.length;y<C;y++){if(v[y])var A=U.HJ(a,w[y],v[y]);k.push(A);f.aa.$g.push(A)}c.m1=k}}this.k.ka.Xg&&a.Ah(i,{margins:[30,30,30,30]});this.Sa(V.wu,b.dk)},OT:function(){var a=this.k.ka.map;this.ja.qf(0);for(var b=this.ja.rj(),c=this.ja.gh(),d=this,e= 0,f=0,g=this.aa.Kb.length;f<g;f++){var i=this.aa.Kb[f];if(0===f)i=U.to(a,i,b.title,Bh),b.marker=i,i.addEventListener("click",function(){d._select(0)}),this.wa.push(i);else if(f===this.aa.Kb.length-1)i=U.to(a,i,c.title,Ch),c.marker=i,i.addEventListener("click",function(){d._select(d.uH()+1)}),this.wa.push(i);else{i.vj?(i=U.KJ(a,i,e),e++,i.vj=1):i=U.EJ(a,i);this.aa.Ci[f-1].Km=i;var k=new dc;k.qw(new gc("\\u5220\\u9664\\u8be5\\u70b9",function(a,b,c){d._delVia(c.Ow)},{width:60}));i.so(k);d.aa.os.push(k)}i.Ow= f;this.Uz&&(i.Yb(),i.addEventListener("mouseover",function(){d.aa.Wx=o;d.aa.ie?(d.aa.ie.ad("\\u62d6\\u52a8\\u4ee5\\u66f4\\u6539\\u8def\\u7ebf"),d.aa.ie.show()):d.aa.ie=U.sK();this.an(d.aa.ie)}),i.addEventListener("mouseout",function(){this.KD()&&this.KD().U();d.aa.Wx=q}),i.addEventListener("dragging",function(){d.LI(this,a)}),i.addEventListener("dragend",function(){var a=d.aa.Aw,e=this.Ow;this.vj&&(a.vj=1);d.aa.Kb[e]=a;this.ta(a);var a=d.aa.Kb[0],f=d.aa.Kb[d.aa.Kb.length-1];0===e&&(b.point=a,b.title=d.aa.bK); e===d.aa.Kb.length-1&&(c.point=f,c.title=d.aa.aK);d.BB();d.Sz(b,c)}));d.aa.$g.push(i)}e=[b];e=e.concat(this.aa.Ci);e=e.concat([c]);this.Sa(V.Xp,e)},LI:function(a,b,c,d){var e=this;if(e.aa.OC!==o){e.aa.OC=o;setTimeout(function(){e.aa.OC=q},zd.iP);var f;f=R.zb(a.ha());var g=b.fa(),i=a.Ow,k=e.k.$c;if("undefiend"!==typeof c&&"undefined"!==typeof d){var l=e.aa.Kb[c],l=R.zb(l),i=e.aa.Kb[d],i=R.zb(i);f={qt:"drag",pt:f.lng+","+f.lat,sn:l.lng+","+l.lat,en:i.lng+","+i.lat,r:5E3,st:1,et:1,sy:k,l:g}}else 0=== i?(i=e.aa.Kb[i+1],i=R.zb(i),f={qt:"drag",pt:f.lng+","+f.lat,sn:"",en:i.lng+","+i.lat,r:5E3,st:1,et:1,sy:k,l:g}):i===this.aa.Kb.length-1?(l=e.aa.Kb[i-1],l=R.zb(l),f={qt:"drag",pt:f.lng+","+f.lat,sn:l.lng+","+l.lat,en:"",r:5E3,st:1,et:1,sy:k,l:g}):(l=e.aa.Kb[i-1],l=R.zb(l),i=e.aa.Kb[i+1],i=R.zb(i),f={qt:"drag",pt:f.lng+","+f.lat,sn:l.lng+","+l.lat,en:i.lng+","+i.lat,r:5E3,st:1,et:1,sy:k,l:g});dd.bb(function(a,b){e.RT(a,b)},f,{UV:a,map:b,Qk:c,kj:d})}},RT:function(a,b){if(a&&a.content){this.aa.Aw=P.vb(a.content.dragpt, o).point;var c,d=b.map,e=b.Qk,f=b.kj,g=b.UV.Ow;"undefiend"!==typeof e&&"undefined"!==typeof f?c=P.oN(a.content.geo).ia:0===g?(c=P.vb(a.content.geo,o).ia,this.aa.bK=a.content.name?a.content.name:"\\u8d77\\u70b9"):g===this.aa.Kb.length-1?(c=P.vb(a.content.geo,o).ia,this.aa.aK=a.content.name?a.content.name:"\\u7ec8\\u70b9"):c=P.oN(a.content.geo).ia;c&&(this.AQ(g,d,e,f),this.aa.Bo?this.aa.Bo.he(c):(e=this.ja.qf(0).ih(0),this.aa.Bo=U.Ql(d,c,e.bp())));c=a.content.name?a.content.name:"\\u672a\\u77e5\\u8def\\u6bb5"; this.aa.Aw.name=c;d="("+qh(a.content.dis)+")";this.aa.ie&&this.aa.ie.show();this.aa.ie&&this.aa.ie.ad(c+d)}},AQ:function(a,b,c,d){for(var e=0,f=this.aa.$g.length;e<f;e++){var g=this.aa.$g[e];if(g instanceof Dc)if("undefiend"!==typeof c&&"undefined"!==typeof d){if(g.Qk===c&&g.kj===d){b.Tb(g);break}}else(g.Qk===a||g.kj===a)&&b.Tb(g)}this.dg&&this.dg.U()},_select:function(a){var b=this.kb,c=this.k.ka;if(c.Ha){var d=c.Ha.getElementsByTagName("table"),d=d[d.length-1].getElementsByTagName("tr");0<=b-1&& d[b-1]&&(d[b-1].style.background="");0<=a-1&&d[a-1]&&(d[a-1].style.background="#f0f0f0")}var e=c.map;if(e){var b=this.ja.qf(0).ih(0),d=this.uH(),f=this;e.Wc();if(0===a||a===d+1){var g=0===a?this.ja.rj():this.ja.gh(),i=U.Kw({content:"<b>"+g.title+"</b>",total:d,Nw:a,Zx:function(a){f._select(a)},TX:1===c.bt?q:o});i.addEventListener("open",function(){f.Sa(V.yn,g,U.Rs(e))});i.addEventListener("close",function(){if(f.k.ka.Ha){var a=c.Ha.getElementsByTagName("table");if(a=a[a.length-1])a=a.getElementsByTagName("tr"), 0<=f.kb-1&&a[f.kb-1]&&(a[f.kb-1].style.background="")}f.kb=-1});var k=0===a?0:1,f=this;e.K.km?be.jp(i,e.getCurrentCity().code,{panoInstance:e.P,lngLat:g.point,titleTip:g.title,type:"busline",beforeDomId:"trans_nav"},function(){f.wa[k].Nb(i)}):f.wa[k].Nb(i);this.dg&&this.dg.U()}else{var l=c.bt;if(1===l){var m=this.Uq(a-1),i=U.Kw({content:m.fh()?m.fh(q):m.instructions,total:d,Nw:a,Zx:function(a){f._select(a)}});i.addEventListener("open",function(){f.Sa(V.yn,m,U.Rs(e))});i.addEventListener("close",function(){if(f.k.ka.Ha){var a= c.Ha.getElementsByTagName("table");if(a=a[a.length-1])a=a.getElementsByTagName("tr"),0<=f.kb-1&&a[f.kb-1]&&(a[f.kb-1].style.background="")}f.kb=-1});var n=m.ha?m.ha():m.hy[m.hy.length-1],f=this;e.K.km?be.jp(i,e.getCurrentCity().code,{panoInstance:e.P,lngLat:n,titleTip:m.fh?m.fh(q):m.instructions,type:"driving",beforeDomId:"trans_nav"},function(){e.Nb(i,n)}):e.Nb(i,n)}else if(2===l)if(1===a&&!this.k.ed)m=this.Uq(0),e.Wf(m.ha?m.ha():m.hy[m.hy.length-1]),c.Xg&&e.Nc(17),this.dg&&this.dg.U();else if(this.Fl[a- 1]&&(this.dg?(this.dg.he(this.Fl[a-1]),this.dg.show()):this.dg=U.Ql(e,this.Fl[a-1],b.bp()+2),c.Xg))b=e.Zs(this.dg.Hd()),17<b.zoom&&(b.zoom=17),e.Ah(b)}}this.kb=a},_toggle:function(){var a=this.k.ka;if(a.Ha){var b=x.getElementsByClassName(a.Ha,"navtrans-res");b&&0<b.length&&(b=b[0],b.style.display=b&&"none"===b.style.display?"":"none");if((a=x.getElementsByClassName(a.Ha,"navtrans-view"))&&0<a.length)a=a[0],x.D.D_(a)}},Kj:function(){var a=this.k.ka.map;if(a){for(var b=0,c=this.wa.length;b<c;b++)a.Tb(this.wa[b]), this.wa[b]=p;this.wa.length=0;a.Tb(this.dg);this.dg=p;if(this.aa){this.aa.qd&&(a.Tb(this.aa.qd),this.aa.qd=p);this.aa.ie&&(a.Tb(this.aa.ie),this.aa.ie=p);b=0;for(c=this.aa.$g.length;b<c;b++)a.Tb(this.aa.$g[b]),this.aa.$g[b]=p;this.aa.$g.length=0;this.aa.Bo&&(a.Tb(this.aa.Bo),this.aa.Bo=p);b=0;for(c=this.aa.os.length;b<c;b++)a.zp(this.aa.os[b]),this.aa.os[b]=p;this.aa.os.length=0;this.aa.Wx=q}}},_delVia:function(a){if(this.ja){var b=this.ja.rj(),c=this.ja.gh();this.aa.Kb.splice(a,1);this.BB();this.Sz(b, c)}},Dl:function(){if(this.k.ka.Ha&&this.k.ka.Ha.appendChild&&this.ja&&0<this.ja.qx()){var a=this.ja.qf(0),b=M("div",{style:"font:12px "+E.fontFamily+";background:#fff"}),c=this.aa.Ci,d=c.length,e=[],f=this.ud===ld,f=wd.qH(this.ja.gh().title,f?"\\u9a7e\\u8f66":"\\u6b65\\u884c",0<d);if(0<d){e.push("<table style=\'width:100%;margin-left:4px;font:12px "+E.fontFamily+";border-collapse:collapse\' cellpadding=\'0\' cellspacing=\'0\' border=\'0\'>");for(var g=0;g<d;g++)e.push("<tr>"),0===g&&(1===d?e.push(\'<td style="padding:2px 5px;line-height:20px">\\u9014\\u7ecf\\u70b9</td>\'): e.push(\'<td valign="top" rowspan="\'+d+\'" style="padding:2px 5px;line-height:18px">\\u9014\\u7ecf\\u70b9</td>\')),e.push(\'<td style="padding:2px 5px;line-height:20px">\'+c[g].title+"</td>"),e.push(\'<td style="padding:2px 10px;line-height:20px;cursor:pointer;color:#0000ff" onclick=\\\'Instance("\'+this.ba+\'")._delVia(\'+c[g].curNo+")\'>\\u5220\\u9664</td>"),e.push("</tr>");e.push("</table>")}for(var c=wd.rH(this.ja.rj().title,\'Instance("\'+this.ba+\'")._select(0)\',0),d=["<table class=\'navtrans-table\' style=\'width:100%;font:12px "+ E.fontFamily+";border-collapse:collapse\' cellpadding=\'0\' cellspacing=\'0\' border=\'0\'>"],i=0,k=0,l=a.Vs();k<l;k++)for(var m=a.ih(k),g=0,m=m.sx();g<m;g++){var n="";this.kb===i+1&&(n=";background:#f0f0f0");d.push(\'<tr style="cursor:pointer\'+n+\'" onclick=\\\'Instance("\'+this.ba+\'")._select(\'+(i+1)+")\'>");d.push("<td style=\'border-bottom:1px solid #E4E6E7;padding:10px;line-height:20px;\' >"+(this.Uq(i).fh?this.Uq(i).fh():this.Uq(i).instructions)+"</td>");d.push("</tr>");i++}d.push("</table>");g=wd.rH(this.ja.gh().title, \'Instance("\'+this.ba+\'")._select(\'+(i+1)+")",1);a="<div class=\'navtrans-view expand\' style=\'position:relative;color:#7777cc;background:#e5ecf9;height:53px;overflow:hidden;text-align:right\' onclick=\'Instance(\\""+this.ba+"\\")._toggle()\'><span class=\'suggest-plan\'>\\u63a8\\u8350</span><div class=\'suggest-plan-des\'>"+a.Re().replace(/(\\d+(?:.\\d+)?)/,"$1 ")+"&nbsp;&nbsp;|&nbsp;&nbsp;"+a.Qs().replace(/(\\d+)/,"$1 ")+"</div>";this.ja.moreResultsUrl&&(a+="<a style=\'color:#7777cc;position:absolute;top:5px;right:20px;\' href=\'"+ this.ja.moreResultsUrl+"\' target=\'_blank\'>\\u5230\\u767e\\u5ea6\\u5730\\u56fe\\u67e5\\u770b&#187;</a>");b.innerHTML=f+(a+"&nbsp;<span class=\'navtrans-arrow\'></span></div>")+("<div class=\'navtrans-res\'>"+e.join("")+c+d.join("")+g+"</div>");this.k.ka.Ha.appendChild(b);this.Sa(V.xu,b)}},lA:function(a,b){if(""===b||!b)if(9===a||12===a||1===a||16===a)b=zd.zP[a];return b},jS:function(a){var b="",c=a.poi;c&&(b=this.JH(c.ps)||"",b=(this.KH(c.pw)||"")+b+"<b>"+c.pn+"</b>"+(c.pd<(13===a.oa||4===a.oa?1E3:50)?"":"\\u7ea6"+ qh(c.pd)+"\\u540e")+(""===b?"":"\\uff0c"));return b},rS:function(a){var b=a.iw;return!a.ic?"":(this.FH(b)||"")+"<b>"+a.ic+"</b>"+(this.GH(b)||"")},nS:function(a,b){var c="\\u6cbf";if(0===a||!b&&1!==a&&16!==a&&9!==a&&12!==a)c="";return c},mS:function(a,b){var c="\\u8fdb\\u5165";if(!b&&(9===a||12===a))c="\\u4e0a";else if(0===a||!b&&1!==a&&16!==a)c="";return c},qS:function(){if(this.Fa&&this.Fa.content&&this.Fa.content.taxi){var a=this.Fa.content.taxi,b={distance:a.dis,remark:a.remark};if(a.detail[0]){var c= a.detail[0];b.day={initialFare:parseFloat(c.startPrice),unitFare:parseFloat(c.kmPrice),totalFare:parseFloat(c.totalPrice)}}a.detail[1]&&(a=a.detail[1],b.night={initialFare:parseFloat(a.startPrice),unitFare:parseFloat(a.kmPrice),totalFare:parseFloat(a.totalPrice)});return b}return p}});Ad.hz=" \\u76f4\\u884c \\u53f3\\u524d\\u65b9\\u8f6c\\u5f2f \\u53f3\\u8f6c \\u53f3\\u540e\\u65b9\\u8f6c\\u5f2f \\u8c03\\u5934 \\u5de6\\u540e\\u65b9\\u8f6c\\u5f2f \\u5de6\\u8f6c \\u5de6\\u524d\\u65b9\\u8f6c\\u5f2f \\u9760\\u5de6 \\u76f4\\u884c \\u9760\\u53f3 \\u6b63\\u5317\\u65b9\\u5411 \\u4e1c\\u5317\\u65b9\\u5411 \\u6b63\\u4e1c\\u65b9\\u5411 \\u4e1c\\u5357\\u65b9\\u5411 \\u6b63\\u5357\\u65b9\\u5411 \\u897f\\u5357\\u65b9\\u5411 \\u6b63\\u897f\\u65b9\\u5411 \\u897f\\u5317\\u65b9\\u5411".split(" "); Ad.ez=["","\\u4ece\\u8d77\\u70b9\\u51fa\\u53d1","\\u5230\\u8fbe\\u76ee\\u7684\\u5730","\\u9014\\u7ecf\\u70b9","\\u884c\\u9a76"];Ad.hq="s-1 s-1 s-2 s-3 s-4 s-5 s-6 s-7 s-8 s-9 s-1 s-10 ".split(" ");Ad.Zy=["\\u5728","\\u4ece","\\u4ece"];Ad.$y=["","","\\u79bb\\u5f00"];Ad.dz=["\\u8fc7","\\u5728"];Ad.cz=["\\u5de6\\u4fa7\\u7684","\\u53f3\\u4fa7\\u7684",""];Ad.Uy=["","\\u671d"]; x.extend(Ad.prototype,{Wu:function(a){return new lh(a)},gv:function(a){return Ad.hz[a]},MH:function(a){return\'<span class="navtrans-navlist-icon \'+(Ad.hq[a]?Ad.hq[a]:"")+\'"></span>\'},kA:function(a){return Ad.ez[a]},FH:function(a){return Ad.Zy[a]},GH:function(a){return Ad.$y[a]},KH:function(a){return Ad.dz[a]},JH:function(a){return Ad.cz[a]},AH:function(a){return Ad.Uy[a]}});Bd.hz=" \\u76f4\\u8d70 \\u5411\\u53f3\\u524d\\u65b9\\u8f6c \\u53f3\\u8f6c \\u5411\\u53f3\\u540e\\u65b9\\u8f6c \\u5411\\u540e\\u8f6c \\u5411\\u5de6\\u540e\\u65b9\\u8f6c \\u5de6\\u8f6c \\u5411\\u5de6\\u524d\\u65b9\\u8f6c \\u5de6\\u8f6c\\u7a7f\\u8fc7\\u9a6c\\u8def\\u5e76\\u7ee7\\u7eed\\u5411\\u524d \\u53f3\\u8f6c\\u7a7f\\u8fc7\\u9a6c\\u8def\\u5e76\\u7ee7\\u7eed\\u5411\\u524d \\u5de6\\u8f6c\\u7a7f\\u8fc7\\u9a6c\\u8def\\u5e76\\u5f80\\u56de\\u8d70 \\u53f3\\u8f6c\\u7a7f\\u8fc7\\u9a6c\\u8def\\u5e76\\u5f80\\u56de\\u8d70 \\u6b63\\u5317\\u65b9\\u5411 \\u4e1c\\u5317\\u65b9\\u5411 \\u6b63\\u4e1c\\u65b9\\u5411 \\u4e1c\\u5357\\u65b9\\u5411 \\u6b63\\u5357\\u65b9\\u5411 \\u897f\\u5357\\u65b9\\u5411 \\u6b63\\u897f\\u65b9\\u5411 \\u897f\\u5317\\u65b9\\u5411 ".split(" "); Bd.hq="s-1 s-1 s-2 s-3 s-4 s-5 s-6 s-7 s-8 s-7 s-3 s-7 s-3 ".split(" ");Bd.ez=["","\\u4ece\\u8d77\\u70b9\\u51fa\\u53d1","\\u5230\\u8fbe\\u76ee\\u7684\\u5730","\\u9014\\u7ecf\\u70b9","\\u8d70"];Bd.Zy=["\\u5728","\\u4ece","\\u4ece"];Bd.$y=["","","\\u79bb\\u5f00"];Bd.dz=["\\u8fc7","\\u5728"];Bd.cz=["\\u5de6\\u4fa7\\u7684","\\u53f3\\u4fa7\\u7684",""];Bd.Uy=["","\\u671d"]; x.extend(Bd.prototype,{Wu:function(a){delete a.url;return new mh(a)},gv:function(a){return Bd.hz[a]},MH:function(a){return\'<span class="navtrans-navlist-icon \'+(Bd.hq[a]?Bd.hq[a]:"")+\'"></span>\'},kA:function(a){return Bd.ez[a]},FH:function(a){return Bd.Zy[a]},GH:function(a){return Bd.$y[a]},KH:function(a){return Bd.dz[a]},JH:function(a){return Bd.cz[a]},AH:function(a){return Bd.Uy[a]}});x.extend(Fd.prototype,{Qd:function(a,b,c){this.KL("web",this.GL(a,b,c))},KN:function(a,b,c){this.KL("web",this.GL(a,b,c))},WN:function(a,b){var c=this.rh,d="";a&&a.tM&&a.name?(d=a.tM,d="latlng:"+d.lat+","+d.lng,d+="|name:"+a.name):d=(d=a.tM)?d.lat+","+d.lng:a.name?a.name:"";c[b]=d},GL:function(a,b,c){this.WN(a,"origin");this.WN(b,"destination");var c=this.rh=x.object.extend(this.rh,c),a=[],d="";if("undefined"===typeof c.origin||""===c.origin)c.origin="";var b={destination:q,mode:q},e;for(e in c)d= e+"="+c[e],a.push(d),"undefined"!==typeof b[e]&&(b[e]=o);this.mode=c.mode;b.mode===q&&(this.mode="driving",a.push("mode=driving"),b.mode=o);e=o;for(var f in b)e=e&&b[f];return e?a.join("&"):q},KL:function(a,b,c){b&&(b=jh[a]+b+"&src=baidu|jsapi",Ra(7E3,{mode:this.mode}),"web"===a&&(b+="&output=html"),location.href=b,c&&c())}}); ');
\ No newline at end of file
_jsload2&&_jsload2('vectordrawlib', 'function Gf(a){this.$H=o;this.k=x.object.extend(a||{},{Ch:o});Hc.call(this,this.k);this.yg={};this.loaded=q;this.Et=p;this.WB=q;this.VJ={road:"rd",water:"wt",building:"bd",land:"ld",government:"gv",point:"pts"};this.QE={market:"mt",food:"fd",communications:"cm",hotel:"ht",attractions:"at",recreation:"rc"}}Gf.prototype=new Hc; Gf.prototype.ra=function(a){if(!this.loaded){this.loaded=o;var b=this;b.map=a;b.cb=b.map.cb;b.map=a;b.Tw=q;b.vK=p;b.oe="df";b.k.poiElements&&b.k.poiElements.name&&(b.oe=b.QE[b.k.poiElements.name]);b.Qe=b.k.style||"normal";b.hn=b.k.styleStr||p;b.aq=200;b.ze=p;b.Zd=0;b.xb=this.cb.Kn(0);b.Nd=this.cb.Kn(10);b.cb.ld.appendChild(this.xb);b.cb.ld.appendChild(this.Nd);b.cb.xb=b.xb;b.cb.Nd=this.Nd;b.Jb=new z.VectorDrawLib;b.fs="";b.k.features&&(b.fs=b.SW(b.k.features));b.Jb.lC=b.Qe;b.Xl();b.Qe&&"normal"!== b.Qe||b.hn&&0<b.hn.length?b.Nt(b.Qe,b.hn,function(){b.map.addEventListener("click",function(a){b.Zd++;if(b.Zd===1)b.ze=setTimeout(function(){b.qu(a);b.Zd=0},b.aq);else{clearTimeout(b.ze);b.Zd=0;return q}});b.xb.innerHTML="";b.Nd.innerHTML="";b.$d(o)}):(b.$d(),b.map.addEventListener("click",function(a){b.Zd++;if(b.Zd===1){if(!a.ab)b.ze=setTimeout(function(){b.qu(a);b.Zd=0},b.aq)}else{clearTimeout(b.ze);b.Zd=0;return q}}));b.map.K.lj&&(G()&&b.Gf==j)&&(b.Gf=new z.sG(b.map),b.map.Ja(b.Gf))}}; x.extend(Gf.prototype,{Xl:function(){var a=this;setTimeout(function(){a.map.addEventListener("poilayervisiblechange",function(b){a.rV(b)});a.map.addEventListener("moveend",function(){a.$d()});a.map.addEventListener("zoomend",function(){a.my();a.Tw=q;a.$d(o)});a.map.addEventListener("onresize",function(){a.$d()});Va()&&(a.map.addEventListener("onmoving",function(){a.$d()}),a.map.addEventListener("onmaptypechange",function(){a.$d()}));a.map.addEventListener("mousemove",function(b){a.map.Vb()&&a.DC(b)})}, 1);a.map.addEventListener("setcustomstyles",function(b){a.mC(b.target)})},SW:function(a){for(var b="",c=0,d=a.length;c<d;c++)b=b+this.VJ[a[c]]+",";b&&(this.Jb.bi=b);return b},Nt:function(a,b,c){if(this.map.Vb()){var d=this,e=z.Ac+"custom/",f;b&&0<b.length?(f="setStyle_"+b.length,e+="mapstyle?styles="+encodeURIComponent(b)):(f="setStyle_"+a,e+="getstyle?customid="+a);f+=this.map.ba;window[f]=function(b,e){var k=x.extend({},d.Jb.nz);d.Jb.Fb=x.extend(k,b);k=z.Db.re(d.Jb.Fb["3181"][1]);d.map.K.xo=k;d.map.Na().style.backgroundColor= k;c(a);d.map.dispatchEvent(new O("onsetmapstylesuccess",e));delete window[f]};pa(e+("&callback="+f+"&udt=20150116"),q)}},NN:function(a){if(this.map.Vb()){for(var b="",c=0,d=a.length;c<d;c++)b=b+(this.VJ[a[c]]||"")+",";b==this.fs&&""==!b||(""==b&&(b="no"),this.fs=b,this.Jb.bi=b,this.Jb.Bs({bg:this.fx(this.xb),poi:this.fx(this.Nd)},this.cb,this.oe))}},VN:function(a){if(a.name&&this.QE[a.name]){var b=this.QE[a.name];if(a.styles.visibility==o&&this.oe!==b&&-1<this.fs.indexOf("pts")){this.oe=b;if(this.Nd)for(var c= [],d=[],a=this.Nd.childNodes,b=0,e=a.length;b<e;b++){var f=a[b].id.split("_");c.push([f[1],f[2]]);d.push(a[b])}this.Jb.VC(c,d,this.oe,this.cb,p)}}},Ip:function(a){var b=this;b.Nt(a.style,a.styleStr,function(a){b.Qe=a;b.my();b.Jb.lC=b.Qe;var a=b.Jb.Ks,d;for(d in a)delete a[d];"df"!==b.oe&&b.aE();b.XE()})},V3:function(a){var b=this,c=[],d=[],e=a.clickFea;b.vK=e;if(a.type){var f=x.$(e.tileId),g=e.tileId;if(b.oe==a.type){var i=Math.pow(2,18-b.map.Oa);b.f0();b.yg[g]={canvas:f,fea:e.fea};b.YK(e,i);var c= this.yg,k;for(k in c)d=x.$(k).getContext("2d"),b.Jb.jm(d,c[k].fea,i,o);return}b.my();b.oe=a.type;b.yg[g]={canvas:f,fea:e.fea};b.YK(e,i)}else{b.nu();if("df"==b.oe)return;b.my();b.oe="df"}if(b.Nd){i=b.Nd.childNodes;k=0;for(a=i.length;k<a;k++)f=i[k].id.split("_"),c.push([f[f.length-3],f[f.length-2]]),d.push(i[k])}b.WB||(b.map.addEventListener("onclickicondrawed",function(a){var c=a.tarPoi.id;b.Tw=o;b.yg&&b.yg[c]&&(b.yg[c].fea=a.tarPoi.fea)}),b.WB=o);"df"==b.oe?b.nu():b.aE();b.Jb.VC(c,d,b.oe,b.cb,e)}, f0:function(){var a=this.yg,b=Math.pow(2,18-this.map.Oa),c;for(c in a)this.Jb.jm(a[c].canvas.getContext("2d"),a[c].fea,b,q);for(var d in a)delete a[d]},my:function(){var a=this.yg;try{for(var b in a)delete a[b]}catch(c){}},YK:function(a){var b=a.tileId.split("_"),c=b.length,d=parseInt(b[c-3]),e=parseInt(b[c-2]),c=parseInt(b[c-1]),f=d-1,g=d+1,i=e-1,k=e+1,l=this.map.ba.replace(/^TANGRAM_/,""),b=x.$(l+"_poi_"+f+"_"+e+"_"+c),e=x.$(l+"_poi_"+g+"_"+e+"_"+c),m=x.$(l+"_poi_"+d+"_"+i+"_"+c),d=x.$(l+"_poi_"+ d+"_"+k+"_"+c),n=x.$(l+"_poi_"+f+"_"+i+"_"+c),f=x.$(l+"_poi_"+f+"_"+k+"_"+c),i=x.$(l+"_poi_"+g+"_"+i+"_"+c),c=x.$(l+"_poi_"+g+"_"+k+"_"+c);b&&this.lk(b,a.fea);e&&this.lk(e,a.fea);m&&this.lk(m,a.fea);d&&this.lk(d,a.fea);n&&this.lk(n,a.fea);f&&this.lk(f,a.fea);i&&this.lk(i,a.fea);c&&this.lk(c,a.fea)},lk:function(a,b){var c=this.sQ(a.Xd,b[5].u);c&&(this.yg[a.id]={canvas:a,fea:c})},sQ:function(a,b){try{if(a.length)for(var c=0,d=a.length;c<d;c++){var e=a[c];if(e[5]&&e[5].u&&e[5].u==b)return e}}catch(f){}}, rV:function(a){a.visible==q?(this.cb.ld.removeChild(this.Nd),this.oe=""):(this.cb.ld.appendChild(this.Nd),a=this.cb.wm(this.Nd),this.Jb.VC(a.r4,a.q4,this.oe,this.cb))},$d:function(a){this.map.fa();if(this.map.Vb()){this.xb.style.display="block";this.Nd.style.display="block";this.S_(this.xb,this.Nd);this.cb.wK={};var b=this.cb.wm(this.xb,"bg");poiVectorObj=this.cb.wm(this.Nd,"poi");for(var c in this.yg)x.$(c)||delete this.yg[c];this.Jb.Bs({bg:b,poi:poiVectorObj,isZoomMap:a?o:q},this.cb,this.oe)}else{a= this.xb;b=this.Nd;a.style.display="none";b.style.display="none";c=a.childNodes.length;for(c-=1;0<=c;c--){var d=a.childNodes[c];a.removeChild(d)}c=b.childNodes.length;for(c-=1;0<=c;c--)d=b.childNodes[c],b.removeChild(d)}},fx:function(a){if(a){for(var b=[],a=a.childNodes,c=0,d=a.length;c<d;c++){var e=a[c].id.split("_");b.push([e[e.length-3],e[e.length-2],a[c]])}return b}},XE:function(){this.map.Vb()&&this.Jb.Bs({bg:this.fx(this.xb),poi:this.fx(this.Nd)},this.cb,this.oe)},S_:function(a,b){var c=q;if(a)for(var d= a.childNodes,e=0,f=d.length;e<f;e++)if(d[e].Ze==o){c=o;break}if(!c){c=b.childNodes;d=0;for(f=c.length;d<f;d++)c[d].Ze=q}},qu:function(a){this.map.K.lj&&(a=this.qs(a),this.map.K.xw?this.map.K.xw(a):this.Nb(a))},Nb:function(a){a?(Va()&&this.Pz(a),G()&&this.Gf&&this.Gf.switchTo(a)):G()&&this.Gf&&this.Gf.U()},DC:function(a){this.map.K.lj&&(this.qs(a)?(this.map.platform.style.cursor="pointer",this.map.R.Nx=o):(this.map.R.Nx=q,this.map.platform.style.cursor!=this.map.K.Xb&&0==this.map.R.Pe.length&&(this.map.platform.style.cursor= this.map.K.Xb)))},Pz:function(a){(a=a.uid)&&dd.bb(s(),{qt:"inf",uid:a,operate:"mapclick",clicktype:"vector"})},UG:function(a,b,c){var d=this;if(b&&b.content){var e=b.content,f=e.pano||0,c=d.map.wb(c.point);if(!g)var g={};g.isFromMPC=o;var i=e.addr,g=e.street_id||"";if(1==e.poiType||3==e.poiType)i=P.unique(i.split(";")).join("; ");var k=e.tel;k&&(k=k.replace(/,/g,", "));d.Sq(e.cla);var l=M("div",{style:"font-size:12px;padding:5px 0;overflow:hidden;*zoom:1;"}),b=q;f&&(360>d.map.height?b=o:(f=[],f.push("<div class=\'panoInfoBox\' id=\'panoInfoBox\' title=\'"+ e.name+"\\u5916\\u666f\' title=\'\\u67e5\\u770b\\u5168\\u666f\' >"),f.push("<img filter = \'pano_thumnail_img\' class=\'pano_thumnail_img\' width=323 height=101 border=\'0\' alt=\'"+e.name+"\\u5916\\u666f\' src=\'"+(z.url.proto+z.url.domain.pano[0]+"/pr/?qt=poiprv&uid="+g+"&width=323&height=101&quality=80&fovx=200")+"\' id=\'pano_"+a+"\'/>"),f.push("<div filter = \'panoInfoBoxTitleBg\' class=\'panoInfoBoxTitleBg\'></div><a href=\'javascript:void(0)\' filter=\'panoInfoBoxTitleContent\' class=\'panoInfoBoxTitleContent\' >\\u8fdb\\u5165\\u5168\\u666f&gt;&gt;</a>"), f.push("</div>"),l.innerHTML=f.join("")));i&&(f=M("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;"}),f.innerHTML="\\u5730\\u5740\\uff1a"+i,l.appendChild(f));k&&(f=M("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;"}),f.innerHTML="\\u7535\\u8bdd\\uff1a"+k,l.appendChild(f));e.tag&&(k=M("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;color:#7f7f7f;"}),k.innerHTML="\\u6807\\u7b7e\\uff1a"+e.tag,l.appendChild(k));a="http://api.map.baidu.com/place/detail?uid="+ a+"&output=html&source=jsapi&operate=mapclick&clicktype=vector";k="<div style=\'height:26px;\'><a href=\'"+a+"\' target=\'_blank\' style=\'font-size:14px;color:#4d4d4d;font-weight:bold;text-decoration:none;\' onmouseover=\'this.style.textDecoration=\\"underline\\";this.style.color=\\"#3d6dcc\\"\' onmouseout =\'this.style.textDecoration=\\"none\\";this.style.color=\\"#4d4d4d\\"\'>"+e.name+"</a>";a=new tc(l,{width:322,enableSearchTool:o,title:k+("<a href=\'"+a+"\' target=\'_blank\' style=\'font-size:12px;color:#3d6dcc;margin-left:5px;text-decoration:none;\' onmouseover=\'this.style.textDecoration=\\"underline\\"\' onmouseout =\'this.style.textDecoration=\\"none\\"\'>\\u8be6\\u60c5&raquo;</a>")+ "</div>",enableParano:b});b&&(a.street_id=g);a.addEventListener("open",function(){var a=x.$("panoInfoBox");if(a){var b=e.street_id||"";d.ZV("click",function(){Ra(5052);d.Aq(b)},a,"pano_thumnail_img|panoInfoBoxTitleBg|panoInfoBoxTitleContent")}});this.map.Nb(a,c)}},Aq:function(a){var b=z.sg("pano","scape/")[0],c=this,d=(new Date).getTime(),e="Pano"+d;z[e]=function(a){var b=c.map.qm(),a=a.content[0];b.rc(a.poiinfo.PID);b.show();b.Mc({heading:a.poiinfo.Dir,pitch:a.poiinfo.Pitch})};d=(new Date).getTime(); pa(b+("?qt=poi&udt=20131021&uid="+a+"&t="+d+"&fn=BMap."+e),q)},Sq:function(a){for(var b=[],c=0,d=a.length;c<d;c++)b.push(a[c][1]),c<d-1&&b.push(", ");return b.join("")},qs:function(a){var b=this.Nd.getElementsByTagName("canvas"),c=a.offsetX,d=a.offsetY,e=j,f=j;this.map.Bb();for(var f=this.map.pa().k.Pb,g=0,i=b.length;g<i;g++){var k=this.Qf(b[g]);if(c>k.left&&c<=k.left+f&&d>k.top&&d<=k.top+f){e=b[g];break}}if(e==j||e.Xd==j)return q;f=e.Xd;b=0;for(i=f.length;b<i;b++){var c=f[b],d=c[0],g=c[1],l=this.Jb.Fb[c[3]]|| window.Fb[c[3]],m=l[0],l=this.Jb.Ss(l,this.Jb.Fb[c[4]]||window.Fb[c[4]])[1],n=c[5]||{};if(l==j||"empty"==l)break;if(2!=m&&(3!=m&&4!=m&&0<l.length&&n.u)&&(iconX=g[0]+k.left,iconY=g[1]+k.top,a.offsetX>=iconX-15&&a.offsetX<=iconX+15&&a.offsetY>=iconY-15&&a.offsetY<=iconY+15))return{type:c[5].c||"",name:d,uid:n.u||"",point:{x:iconX,y:iconY},clickFea:{tileId:e.id,tile:e,fea:c}}}return q},Mx:function(){return/M040/i.test(navigator.userAgent)},Qf:function(a){for(var b=a.offsetLeft,c=a.offsetTop,a=a.offsetParent;a&& a!=this.map.Na();)b+=a.offsetLeft,c+=a.offsetTop,a=a.offsetParent;return{top:c,left:b}},mC:function(a){if(this.map.Vb()){this.map.pa().k.$b=18;var a=this.Et=a,b;for(b in a)switch(b){case "style":this.Ip(a);break;case "styleStr":this.Ip(a);break;case "features":this.NN(a[b]);break;case "poiElements":this.VN(a[b])}}},aE:function(){this.nu();"dark"==this.Qe?x.D.Ua(this.xb,"light_gray_background"):x.D.Ua(this.xb,"gray_background")},nu:function(){x.D.Sb(this.xb,"gray_background");x.D.Sb(this.xb,"light_gray_background")}, ZV:function(a,b,c,d){var e=this;c.Lm||(c.Lm=[],c.handle={});c.Lm.push({filter:d,lm:b});c.handle[a]||(c.addEventListener(a,function(a){for(var b=a.target;b!=c;){e.Gb(c.Lm,function(c,d){RegExp(d.filter).test(b.getAttribute("filter"))&&d.lm.call(b,a,b.getAttribute("filter"))});b=b.parentNode}},q),c.handle[a]=o)},Gb:function(a,b){for(var c=0,d=a.length;c<d;c++)b(c,a[c])}});window.VectorLayer=Gf;Hf=1;If=2;Jf=3;Kf=4;Lf=5; function Nf(){this.Gm=q;this.ct=[z.url.proto+z.url.domain.TILE_ONLINE_URLS[1]+"/"];this.QF=[z.url.proto+z.url.domain.TILE_ONLINE_URLS[1]+"/gvd/?",z.url.proto+z.url.domain.TILE_ONLINE_URLS[2]+"/gvd/?",z.url.proto+z.url.domain.TILE_ONLINE_URLS[3]+"/gvd/?",z.url.proto+z.url.domain.TILE_ONLINE_URLS[4]+"/gvd/?"];this.cb=p;this.pk={};this.map=p;this.We=this.jj=0;this.bi=p;this.Fb=window.Fb;this.nz=x.extend({},window.Fb);this.cm={dark:{backColor:"#2D2D2D",textColor:"#bfbfbf",iconUrl:"vector/dicons"},normal:{backColor:"#F3F1EC", textColor:"#c61b1b",iconUrl:"vector/nicons_hd"},light:{backColor:"#EBF8FC",textColor:"#017fb4",iconUrl:"vector/licons"}};this.Ks={};this.lp=o;this.nk=p;this.Yl=/.*GT-I9300.*Version\\/\\d+.*Safari\\/\\d+\\.\\d+$/ig.test(navigator.userAgent)||/baiduboxapp/ig.test(navigator.userAgent)} Nf.prototype={Bs:function(a,b,c){this.fO=(new Date).getTime();var d=a.bg,e=a.poi;this.FF=d.length;this.jj=0;this.We=d.length;this.gK();this.Gm||(this.Gm=o,this.map=b.map,this.cb=b,this.yc=this.map.K.devicePixelRatio,0<this.We&&(this.Pb=parseInt(d[0][2].style.width,10)));this.map.Bb();this.hO=0;this.SE=c;b=this.map.Oa;this.Ym=Math.pow(2,18-b);this.Gj?this.Gj.length=0:this.Gj=[];this.map.dispatchEvent(new O("onvectorbegin"));if(this.FF<=e.length)var f=0,g=this.We;else f=0,g=e.length;for(;f<g;f++)d[f][2].Ze= q,e[f][2].Ze=q,d[f][2].nq=(new Date).getTime(),e[f][2].nq=(new Date).getTime(),this.gy(d[f][0],d[f][1],d[f][2],b,e[f][2]||p,c,a.isZoomMap)},gK:function(){for(var a in this.pk)delete this.pk[a]},VC:function(a,b,c,d,e){this.Gj?this.Gj.length=0:this.Gj=[];this.fO=(new Date).getTime();var d=this.map.Oa,f=this.map.Ka(),f=new H(f.lng,f.lat);this.SE=c;this.nk=e;for(var e=0,g=a.length;e<g;e++){b[e].nq=(new Date).getTime();var i=a[e][0],k=a[e][1],l="_"+parseInt(i+""+k+""+d).toString(36);"df"==c&&this.pk[l]? (i=this.pk[l],b[e].Xd=i,this.nj(b[e]),this.Io(i,b[e],d,p,f,d)):this.gy(i,k,b[e],d,p,c)}},gy:function(a,b,c,d,e,f){var g=this,i=g.QF,k=Math.abs(parseInt(a,10)+parseInt(b,10))%i.length,l="x="+a+"&y="+b+"&z="+d,m=g.map.ba.replace(/^TANGRAM_/,""),n="undefined"!=typeof TVC?TVC.QJ.I4:{},t=n.version?n.version:"002",n=n.ou?n.ou:"20150601",v="",w=m+(0>a?"_":"")+(0>b?"$":"")+parseInt(Math.abs(a)+""+Math.abs(b)+""+d,10).toString(36);if(c&&e)if(g.bi)if("no"==g.bi)v="&layers=&features="+g.bi,c.Xd=p,e.Xd=p,this.Yl? (f=c.getContext("2d"),a=e.getContext("2d"),f.canvas.width=f.canvas.width,a.canvas.width=a.canvas.width,a=f=p):(g.nj(c),g.nj(e)),g.We=0;else if(-1<g.bi.indexOf("pts"))if("pts,"==g.bi)c.Xd=p,this.Yl?(v=c.getContext("2d"),v.canvas.width=v.canvas.width,v=p):g.nj(c),v="&layers="+f;else{g.We<2*g.FF&&(g.We*=2);a=g.bi.split(",");b="";v=0;for(m=a.length;v<m;v++)"pts"!=a[v]&&""!=a[v]&&(b=a[v]+","+b);v="&layers=bg,"+f+"&features="+b;b=a=p}else e.Xd=p,this.Yl?(v=e.getContext("2d"),v.canvas.width=v.canvas.width, v=p):g.nj(e),v="&layers=bg&features="+g.bi;else v="&layers=bg,"+f;else v="&layers="+f;var i=(i[k]?i[0]:i[k])+"qt=lgvd&"+l+"&styles=pl"+v+"&f=mwebapp&v="+t+"&udt="+n+"&fn=BMap."+w,k=g.map.Ka(),y=new H(k.lng,k.lat),C=g.map.fa();z[w]=function(a){var b=a.content;if(b){c.lq=(new Date).getTime();e&&(e.lq=(new Date).getTime());var f=g.map,a=f.Ka(),f=f.fa();if(!a.nb(y)||f!=C){delete z[w];return}var a={},i;for(i in b)"df"==i&&(g.pk[w]=b[i]),a[i]=b[i];for(var k in a){i=a;for(var b=k,f=a[k],l=0,m=f.length;l< m;l++)for(var n=f[l][1],t=0,v=0,Ea=0,Ua=n.length/2;Ea<Ua;Ea++)t+=n[2*Ea]/10,v+=n[2*Ea+1]/10,n[2*Ea]=t,n[2*Ea+1]=v;i[b]=f;"bg"==k?c.mq=(new Date).getTime():e?e.mq=(new Date).getTime():c.mq=(new Date).getTime()}for(var Qa in a)"bg"==Qa?(c.Xd=a[Qa],c&&g.nj(c),g.Io(a[Qa],c,d,p,y,C)):e!==p?(e.Xd=a[Qa],g.nj(e),g.Io(a[Qa],e,d,p,y,C)):(c.Xd=a[Qa],c&&g.nj(c),g.Io(a[Qa],c,d,p,y,C))}delete z[w]};pa(i)},nj:function(a){var a=a.getContext("2d"),b=this.Pb*this.yc;this.Yl||(a.save(),a.clearRect(0,0,b,b),a.restore())}, TC:function(a,b,c){a.fillStyle=c;a.fillRect(0,0,b,b)},Io:function(a,b,c,d,e,f){b.WU=(new Date).getTime();var g=b.getContext("2d"),i=0;this.Yl?(g.canvas.width=g.canvas.width,g.scale(this.yc,this.yc)):1<this.yc&&!b.lg&&(g.scale(this.yc,this.yc),b.lg=o);g.textBaseline="bottom";-1<b.id.indexOf("bg")&&this.map.K.xo&&this.TC(g,this.Pb,this.map.K.xo);for(var k=this.lp,l=a.length,d=0,m=this.Fb;d<l;d++){var n=a[d],t=m[n[3]]||window.Fb[n[3]],v=m[n[4]]||window.Fb[n[4]];n.tc=t;n.Pc=v;if(t[0]==Jf)i++,this.jm(g, n,p,f);else break}b.VU=(new Date).getTime();n=this.map.Ka();c=this.map.fa();if(n.nb(e)&&c==f){b.wZ=(new Date).getTime();for(var w=[];d<l;d++){var n=a[d],t=m[n[3]]||window.Fb[n[3]],v=m[n[4]]||window.Fb[n[4]];n.tc=t;n.Pc=v;17<=c&&(t[5]&&0<t[5].length&&1==t[5][0]&&6==t[5][1]&&v&&0<v.length)&&(t[5].length=0,t[6]=0,v[6]=0);if(t[0]==If)i++,w.push(n);else break}this.dF(g,w,c,this.Ym);b.vZ=(new Date).getTime();n=this.map.Ka();c=this.map.fa();if(n.nb(e)&&c==f){for(b.WY=(new Date).getTime();d<l;d++)n=a[d], t=m[n[3]]||window.Fb[n[3]],v=m[n[4]]||window.Fb[n[4]],n.tc=t,n.Pc=v,n[5]&&n[5].u&&this.nk&&n[5].c==this.nk.fea[5].c?("df"!==this.nk.fea[5].c?this.jm(g,n,this.Ym,o,f):n[5].u==this.nk.fea[5].u?this.jm(g,n,this.Ym,o,f):this.jm(g,n,this.Ym,q,f),n[5].u==this.nk.fea[5].u&&(c=new O("onclickicondrawed"),c.tarPoi={id:b.id,fea:n,equal:this.DV(n[1],this.nk.fea[1])},this.map.dispatchEvent(c))):this.jm(g,n,this.Ym,q,f),i++;b.Ze=o;this.oZ();a=(new Date).getTime();b.VY=a;b.BG=a;a=b.lq-b.nq;f=b.mq-b.lq;__drawTime= b.BG-b.mq;this.Gj.push({id:b.id,downLoadTime:a,parseDataTime:f,drawTime:__drawTime,restRate:i+"/"+d,areaTime:b.VU-b.WU,roadTime:b.vZ-b.wZ,otherTime:b.VY-b.WY,timeline:{start:b.nq,downLoadComplete:b.lq,parseComplete:b.mq,drawComplete:b.BG}});this.hO++;1==this.hO&&this.map.dispatchEvent(new O("onfirstvectorloaded"));if(this.We==this.jj){if(k){this.lp=q;for(d=b=0;i=this.Gj[d];d++)b+=i.drawTime;this.map.Bb();z.An("cus.fire","time",{z_vectorfirstdrawtime:b})}d=(new Date).getTime()-this.fO;c=new O("onvectorloaded"); c.FF=this.We;c.s4=d;c.n4=this.Gj;this.map.dispatchEvent(c);this.map.dispatchEvent(new O("ontilesloaded"))}}}},oZ:function(){this.jj++;2>=this.We-this.jj&&this.map.dispatchEvent(new O("onallvectorloaded"))},DV:function(a,b){var c=q;if(a.length&&b.length&&a.length==b.length){for(var d=0,e=a.length;d<e&&a[d]===b[d];d++);d==e&&(c=o)}return c},jm:function(a,b,c,d,e){switch(b.tc[0]){case Jf:this.Ww(a,b,e);break;case If:this.pe(a,b[1],b.tc,b.Pc,b[2],c);break;case Kf:this.SC(a,b);break;default:this.UC(a, b,d)}},Ww:function(a,b,c){var d=b.tc,e=d[2],b=b[1];a.fillStyle=z.Db.re(d[1]);a.beginPath();a.moveTo(b[0],b[1]);for(var d=2,f=b.length;d<f;d+=2)a.lineTo(b[d],b[d+1]);a.closePath();a.fill();0<e.length&&(a.strokeStyle=a.fillStyle,a.lineWidth=12<=c?3:e[3],a.stroke())},pe:function(a,b,c,d,e,f){if(c||d){var g=z.Db.re,i=z.Db.lx,k=z.Db.mx;if(this.it(c,d))firstColor=backColor=(g=d&&d[5]&&0<d[5].length?o:q)?z.Db.re(c[1]):"rgba(0, 0, 0, 0)",backLineWidth=c[2],foreLineWidth=g?d[2]:c[2],intervalLen=g?d[5][0]: c[5][0],intervalColor=z.Db.re(g?d[1]:c[1]),c=Math.round(e/f),z.Db.pW(a,b,intervalLen,backLineWidth,foreLineWidth,firstColor,c,backColor,intervalColor);else if(1==c[7])a.strokeStyle=g(c[1]),a.fillStyle=a.strokeStyle,a.lineWidth=c[2],a.lineCap=i(c[3]),a.lineJoin=k(c[4]),z.Db.JK(a,b,a.lineWidth);else{a.beginPath();a.moveTo(b[0],b[1]);e=2;for(f=b.length;e<f;e+=2)a.lineTo(b[e],b[e+1]);a.strokeStyle=g(c[1]);a.lineCap=i(c[3]);a.lineJoin=k(c[4]);a.lineWidth=c[2];a.stroke();d&&(a.strokeStyle=g(d[1]),a.lineWidth= d[2],a.lineCap=i(d[3]),a.lineJoin=k(d[4]),a.stroke())}}},SC:function(a,b){var c=b[1],d=b.tc,e=z.Db.re,f=e(d[1]),g=e(d[2]),i=d[4],e=e(i[1]),i=i[2],d=d[5];z.Db.WC(a,c,0,d,0,f,g,e,i)},UC:function(a,b,c){a.save();var d=b[1],e=b[0],f=b[2],b=this.Ss(b.tc,b.Pc),g=b[1],i=0;if(!("undefined"==typeof g||"number"==typeof g)){var k=-1<g.indexOf("biaopai");g.indexOf("ditie");if(0<g.length){var l="undefined"!=typeof TVC?TVC.QJ.a0:{},l=this.ct[g.length%this.ct.length]+this.cm.normal.iconUrl+"/"+g+".png?v="+(l.version? l.version:"002")+"&udt="+(l.ou?l.ou:"201500601"),m=new Image,n=d[0],t=d[1];2<d.length&&(i+=2);var v=this;if(k)(function(a,b,c,d,e,f,g,i,k,l,n){m.onload=function(){c.drawImage(this,a-this.width/4,b-this.height/4,this.width/2,this.height/2);v.Cs(c,d,e,f,g,i,k,l,n);m.onload=p;delete m.onload;m=p}})(n,t,a,d,b,f,e,g,i,k,c),m.src=l;else{var w=v.Ks[g];w?a.drawImage(w,n-w.width/4,t-w.height/4,w.width/2,w.height/2):(function(b,c,d){m.onload=function(){a.drawImage(this,b-this.width/4,c-this.height/4,this.width/ 2,this.height/2);d&&(v.Ks[g]=m);m.onload=p;delete m.onload;m=p}}(n,t,v.lp),m.src=l)}}!k&&(b[2]&&0<b[2].length)&&this.Cs(a,d,b,f,e,g,i,k,c)}a.restore()},Cs:function(a,b,c,d,e,f,g,i,k){var l=z.Db.re,m=c[2];if(e&&0<m.length){var n=[],c=m[2],t=m[3],v=m[4],m=m[5];n.push(z.Db.rL(v));n.push(c+"px");i||n.push("Helvetica Neue,Arial,Hiragino Sans GB,\\u9ed1\\u4f53,sans-serif");a.font=n.join(" ");a.fillStyle=k?"#c61b1b":l(t);if(k=z.Db.bM(v))a.strokeStyle=l(m),a.lineWidth=i?0.5:2;for(var f=-1<f.indexOf("biaopai_xiandao"), n=e.split("\\\\"),t=0,w=n.length,y=b.length;t<w&&g<y;t++){var C=b[g],A=b[g+1],e=n[t],e=a.measureText(e).width,D=c,g=g+2;10<d&&350>d&&this.OF(a,C,A,d);var B=1;z.Db.aM(v)&&(z.Db.XK(a,C-e/2,A-D/2,e,D,{fillStyle:l(m)}),B=0);f?(a.save(),a.scale(0.9,0.9),k&&a.strokeText(n[t],(C-e/2+1)/0.9,(A+D/2+1)/0.9),a.fillText(n[t],(C-e/2+1)/0.9,(A+D/2+1)/0.9),a.restore()):(B=i?2:B,k&&a.strokeText(n[t],C-e/2,A+D/2+B),a.fillText(n[t],C-e/2,A+D/2+B))}}},Ss:function(a,b){var c=[Hf,"",[]];a&&(a[0]==Lf?c[2]=a:c=a);b&&(b[0]== Lf?c[2]=b:c[1]=b[1]);return c},OF:function(a,b,c,d){d=d/180*Math.PI;cv=Math.cos(d);sv=Math.sin(d);yy=xx=cv;xy=sv;yx=-sv;x0=b-b*cv-c*sv;y0=c+b*sv-c*cv;a.transform(xx,yx,xy,yy,x0,y0)},dF:function(a,b,c,d){if(16>=c)for(var c=0,e=b.length;c<e;){for(var f=b[c],g=this.Ws(f.tc,f.Pc),f=c+1;f<e;f++){var i=b[f];if(g!=this.Ws(i.tc,i.Pc))break}for(var k=c;k<f;k++){var l=b[k],m=l[1],g=l.tc,i=l.Pc;this.it(g,i)?l.jE=o:this.pe(a,m,g,q)}for(k=c;k<f;k++)l=b[k],l.jE?this.pe(a,l[1],l.tc,l.Pc,l[2],d):this.pe(a,l[1],l.Pc, q);c=f}else{c=0;for(e=b.length;c<e;c++)f=b[c],g=f.tc,i=f.Pc,k=g[6]&1?o:q,i&&!k&&(k=i[6]&1?o:q),k?f.sE=o:this.pe(a,f[1],g,q);c=0;for(e=b.length;c<e;c++)f=b[c],g=f.tc,i=f.Pc,f.sE?this.pe(a,f[1],g,i,f[2],d):this.pe(a,f[1],i,q)}},Ws:function(a,b){if(!b)return 0;var c=a[6],d=b[6];if(1==c||1==d)return 1;switch(c){case 2:return 2==d?1:0;case 4:case 6:case 8:case 10:return 4<=d&&10>=d?1:0;default:return 0}},it:function(a,b){return a&&0<a.length&&0<a[5].length||b&&0<b.length&&0<b[5].length?o:q}}; z.VectorDrawLib=Nf; ');
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="git" content="https://github.com/muxfe/bmap-offline-for-web" />
<meta name="author" content="https://github.com/muxfe" />
<meta name="keywords" content="BMap,bmap,offline,web,tile,baidu" />
<title>百度地图Web离线版 - Demo</title>
<link rel="stylesheet" type="text/css" href="css/BMap.css"/>
<link rel="stylesheet" type="text/css" href="css/DrawingManager_1.4.css"/>
<style type="text/css">
html {
height: 100%;
}
body {
height: 100%;
margin: 0px;
padding: 0px;
}
#container {
width: 100%;
height: 100%;
}
</style>
</head>
<body onload="init()">
<div id="container"></div>
<script>
window.__BMAP_EXTRA_CONFIG__ = {
enable: true,
host: '', // exmaple in nginx container
path: '',
tilePath: 'tiles/tile',
satellitePath: 'tiles/it',
roadPath: 'tiles/road'
};
</script>
<script type="text/javascript" src="js/BaiduApi_2.0.js"></script>
<script type="text/javascript" src="js/DrawingManager_1.4.js"></script>
<script type="text/javascript" src="js/CurveLine_1.5.min.js"></script>
<script type="text/javascript">
var map;
function init() {
map = new BMap.Map("container", {
mapType: BMAP_NORMAL_MAP,
minZoom: 14,
maxZoom: 19
});
// # var x1 = 120.745789, y1 = 32.138572 // 起始点坐标(左上角)
// # var x2 = 120.898716, y2 = 31.952977 // 终点坐标(右下角)
var point = new BMap.Point(120.745789,32.138572);
map.centerAndZoom(point, 14);
map.addControl(new BMap.NavigationControl());
map.enableScrollWheelZoom();
map.addControl(new BMap.MapTypeControl({
mapTypes:[
BMAP_NORMAL_MAP,
BMAP_HYBRID_MAP
],
anchor: BMAP_ANCHOR_BOTTOM_RIGHT
}));
const styleOptions = {
strokeColor: 'blue',
fillColor: 'blue',
strokeWeight: 3,
strokeDasharray: 'none',
strokeOpacity: 0.2,
fillOpacity: 0.1,
strokeStyle: 'solid',
}
new BMapLib.DrawingManager(map, {
isOpen: false,
enableDrawingTool: true,
drawingToolOptions: {
anchor: BMAP_ANCHOR_TOP_RIGHT,
offset: new BMap.Size(5, 5),
drawingModes: [
BMAP_DRAWING_CIRCLE,
BMAP_DRAWING_RECTANGLE,
],
},
circleOptions: styleOptions,
polygonOptions: styleOptions,
rectangleOptions: styleOptions,
})
// curve line
var point1 = new BMap.Point(108.922517,34.240008);
var point2 = new BMap.Point(108.926308,34.239232);
var point3 = new BMap.Point(108.923945,34.236822);
var points = [point1, point2, point3];
var curve = new BMapLib.CurveLine(points, {strokeColor: 'blue', strokeWeight: 5, strokeOpacity: 0.5});
map.addOverlay(curve);
}
</script>
</body>
</html>
This source diff could not be displayed because it is too large. You can view the blob instead.
var BMapLib=window.BMapLib=BMapLib||{};(function(){BMapLib.CurveLine=CurveLine;function CurveLine(points,opts){var self=this;var curvePoints=getCurvePoints(points);var polyline=new BMap.Polyline(curvePoints,opts);polyline.addEventListener("lineupdate",function(){if(this.isEditing){this.enableEditing()}});polyline.cornerPoints=points;polyline.editMarkers=[];polyline.enableEditing=function(){var self=this;if(self.map){self.disableEditing();for(var i=0;i<self.cornerPoints.length;i++){var marker=new BMap.Marker(self.cornerPoints[i],{icon:new BMap.Icon("http://api.map.baidu.com/library/CurveLine/1.5/src/circle.png",new BMap.Size(16,16)),enableDragging:true,raiseOnDrag:true});marker.addEventListener("dragend",function(){self.cornerPoints.length=0;for(var i=0;i<self.editMarkers.length;i++){self.cornerPoints.push(self.editMarkers[i].getPosition())}var curvePoints=getCurvePoints(self.cornerPoints);self.setPath(curvePoints)});marker.index=i;self.editMarkers.push(marker);self.map.addOverlay(marker)}}self.isEditing=true};polyline.disableEditing=function(){this.isEditing=false;for(var i=0;i<this.editMarkers.length;i++){this.map.removeOverlay(this.editMarkers[i]);this.editMarkers[i]=null}this.editMarkers.length=0};polyline.getPath=function(){return curvePoints};return polyline}function extend(child,parent){for(var p in parent){if(parent.hasOwnProperty(p)){child[p]=parent[p]}}return child}function getCurvePoints(points){var curvePoints=[];for(var i=0;i<points.length-1;i++){var p=getCurveByTwoPoints(points[i],points[i+1]);if(p&&p.length>0){curvePoints=curvePoints.concat(p)}}return curvePoints}function getCurveByTwoPoints(obj1,obj2){if(!obj1||!obj2||!(obj1 instanceof BMap.Point)||!(obj2 instanceof BMap.Point)){return null}var B1=function(x){return 1-2*x+x*x};var B2=function(x){return 2*x-2*x*x};var B3=function(x){return x*x};curveCoordinates=[];var count=30;var isFuture=false;var t,h,h2,lat3,lng3,j,t2;var LnArray=[];var i=0;var inc=0;if(typeof(obj2)=="undefined"){if(typeof(curveCoordinates)!="undefined"){curveCoordinates=[]}return}var lat1=parseFloat(obj1.lat);var lat2=parseFloat(obj2.lat);var lng1=parseFloat(obj1.lng);var lng2=parseFloat(obj2.lng);if(lng2>lng1){if(parseFloat(lng2-lng1)>180){if(lng1<0){lng1=parseFloat(180+180+lng1)}}}if(lng1>lng2){if(parseFloat(lng1-lng2)>180){if(lng2<0){lng2=parseFloat(180+180+lng2)}}}j=0;t2=0;if(lat2==lat1){t=0;h=lng1-lng2}else{if(lng2==lng1){t=Math.PI/2;h=lat1-lat2}else{t=Math.atan((lat2-lat1)/(lng2-lng1));h=(lat2-lat1)/Math.sin(t)}}if(t2==0){t2=(t+(Math.PI/5))}h2=h/2;lng3=h2*Math.cos(t2)+lng1;lat3=h2*Math.sin(t2)+lat1;for(i=0;i<count+1;i++){curveCoordinates.push(new BMap.Point((lng1*B1(inc)+lng3*B2(inc))+lng2*B3(inc),(lat1*B1(inc)+lat3*B2(inc)+lat2*B3(inc))));inc=inc+(1/count)}return curveCoordinates}})();
\ No newline at end of file
var BMapLib = window.BMapLib = BMapLib || {};
var BMAP_DRAWING_MARKER = "marker",
BMAP_DRAWING_POLYLINE = "polyline",
BMAP_DRAWING_CIRCLE = "circle",
BMAP_DRAWING_RECTANGLE = "rectangle",
BMAP_DRAWING_POLYGON = "polygon";
(function() {
var b = b || {
guid: "$BAIDU$"
};
(function() {
window[b.guid] = {};
b.extend = function(i, g) {
for (var h in g) {
if (g.hasOwnProperty(h)) {
i[h] = g[h]
}
}
return i
};
b.lang = b.lang || {};
b.lang.guid = function() {
return "TANGRAM__" + (window[b.guid]._counter++).toString(36)
};
window[b.guid]._counter = window[b.guid]._counter || 1;
window[b.guid]._instances = window[b.guid]._instances || {};
b.lang.Class = function(g) {
this.guid = g || b.lang.guid();
window[b.guid]._instances[this.guid] = this
};
window[b.guid]._instances = window[b.guid]._instances || {};
b.lang.isString = function(g) {
return "[object String]" == Object.prototype.toString.call(g)
};
b.lang.isFunction = function(g) {
return "[object Function]" == Object.prototype.toString.call(g)
};
b.lang.Class.prototype.toString = function() {
return "[object " + (this._className || "Object") + "]"
};
b.lang.Class.prototype.dispose = function() {
delete window[b.guid]._instances[this.guid];
for (var g in this) {
if (!b.lang.isFunction(this[g])) {
delete this[g]
}
}
this.disposed = true
};
b.lang.Event = function(g, h) {
this.type = g;
this.returnValue = true;
this.target = h || null;
this.currentTarget = null
};
b.lang.Class.prototype.addEventListener = function(j, i, h) {
if (!b.lang.isFunction(i)) {
return
}!this.__listeners && (this.__listeners = {});
var g = this.__listeners,
k;
if (typeof h == "string" && h) {
if (/[^\w\-]/.test(h)) {
throw ("nonstandard key:" + h)
} else {
i.hashCode = h;
k = h
}
}
j.indexOf("on") != 0 && (j = "on" + j);
typeof g[j] != "object" && (g[j] = {});
k = k || b.lang.guid();
i.hashCode = k;
g[j][k] = i
};
b.lang.Class.prototype.removeEventListener = function(i, h) {
if (b.lang.isFunction(h)) {
h = h.hashCode
} else {
if (!b.lang.isString(h)) {
return
}
}!this.__listeners && (this.__listeners = {});
i.indexOf("on") != 0 && (i = "on" + i);
var g = this.__listeners;
if (!g[i]) {
return
}
g[i][h] && delete g[i][h]
};
b.lang.Class.prototype.dispatchEvent = function(k, g) {
if (b.lang.isString(k)) {
k = new b.lang.Event(k)
}!this.__listeners && (this.__listeners = {});
g = g || {};
for (var j in g) {
k[j] = g[j]
}
var j, h = this.__listeners,
l = k.type;
k.target = k.target || this;
k.currentTarget = this;
l.indexOf("on") != 0 && (l = "on" + l);
b.lang.isFunction(this[l]) && this[l].apply(this, arguments);
if (typeof h[l] == "object") {
for (j in h[l]) {
h[l][j].apply(this, arguments)
}
}
return k.returnValue
};
b.lang.inherits = function(m, k, j) {
var i, l, g = m.prototype,
h = new Function();
h.prototype = k.prototype;
l = m.prototype = new h();
for (i in g) {
l[i] = g[i]
}
m.prototype.constructor = m;
m.superClass = k.prototype;
if ("string" == typeof j) {
l._className = j
}
};
b.dom = b.dom || {};
b._g = b.dom._g = function(g) {
if (b.lang.isString(g)) {
return document.getElementById(g)
}
return g
};
b.g = b.dom.g = function(g) {
if ("string" == typeof g || g instanceof String) {
return document.getElementById(g)
} else {
if (g && g.nodeName && (g.nodeType == 1 || g.nodeType == 9)) {
return g
}
}
return null
};
b.insertHTML = b.dom.insertHTML = function(j, g, i) {
j = b.dom.g(j);
var h, k;
if (j.insertAdjacentHTML) {
j.insertAdjacentHTML(g, i)
} else {
h = j.ownerDocument.createRange();
g = g.toUpperCase();
if (g == "AFTERBEGIN" || g == "BEFOREEND") {
h.selectNodeContents(j);
h.collapse(g == "AFTERBEGIN")
} else {
k = g == "BEFOREBEGIN";
h[k ? "setStartBefore" : "setEndAfter"](j);
h.collapse(k)
}
h.insertNode(h.createContextualFragment(i))
}
return j
};
b.ac = b.dom.addClass = function(n, o) {
n = b.dom.g(n);
var h = o.split(/\s+/),
g = n.className,
m = " " + g + " ",
k = 0,
j = h.length;
for (; k < j; k++) {
if (m.indexOf(" " + h[k] + " ") < 0) {
g += (g ? " " : "") + h[k]
}
}
n.className = g;
return n
};
b.event = b.event || {};
b.event._listeners = b.event._listeners || [];
b.on = b.event.on = function(h, k, m) {
k = k.replace(/^on/i, "");
h = b._g(h);
var l = function(o) {
m.call(h, o)
},
g = b.event._listeners,
j = b.event._eventFilter,
n, i = k;
k = k.toLowerCase();
if (j && j[k]) {
n = j[k](h, k, l);
i = n.type;
l = n.listener
}
if (h.addEventListener) {
h.addEventListener(i, l, false)
} else {
if (h.attachEvent) {
h.attachEvent("on" + i, l)
}
}
g[g.length] = [h, k, m, l, i];
return h
};
b.un = b.event.un = function(i, l, h) {
i = b._g(i);
l = l.replace(/^on/i, "").toLowerCase();
var o = b.event._listeners,
j = o.length,
k = !h,
n, m, g;
while (j--) {
n = o[j];
if (n[1] === l && n[0] === i && (k || n[2] === h)) {
m = n[4];
g = n[3];
if (i.removeEventListener) {
i.removeEventListener(m, g, false)
} else {
if (i.detachEvent) {
i.detachEvent("on" + m, g)
}
}
o.splice(j, 1)
}
}
return i
};
b.getEvent = b.event.getEvent = function(g) {
return window.event || g
};
b.getTarget = b.event.getTarget = function(g) {
var g = b.getEvent(g);
return g.target || g.srcElement
};
b.preventDefault = b.event.preventDefault = function(g) {
var g = b.getEvent(g);
if (g.preventDefault) {
g.preventDefault()
} else {
g.returnValue = false
}
};
b.stopBubble = b.event.stopBubble = function(g) {
g = b.getEvent(g);
g.stopPropagation ? g.stopPropagation() : g.cancelBubble = true
};
b.browser = b.browser || {};
if (/msie (\d+\.\d)/i.test(navigator.userAgent)) {
b.browser.ie = b.ie = document.documentMode || +RegExp["\x241"]
}
})();
var d = BMapLib.DrawingManager = function(h, g) {
if (!h) {
return
}
c.push(this);
g = g || {};
this._initialize(h, g)
};
b.lang.inherits(d, b.lang.Class, "DrawingManager");
d.prototype.open = function() {
if (this._isOpen == true) {
return true
}
f(this);
this._open()
};
d.prototype.close = function() {
if (this._isOpen == false) {
return true
}
var g = this;
this._close();
setTimeout(function() {
g._map.enableDoubleClickZoom()
}, 2000)
};
d.prototype.setDrawingMode = function(g) {
if (this._drawingType != g) {
f(this);
this._setDrawingMode(g)
}
};
d.prototype.getDrawingMode = function() {
return this._drawingType
};
d.prototype.enableCalculate = function() {
this._enableCalculate = true;
this._addGeoUtilsLibrary()
};
d.prototype.disableCalculate = function() {
this._enableCalculate = false
};
d.prototype._initialize = function(h, g) {
this._map = h;
this._opts = g;
this._drawingType = g.drawingMode || BMAP_DRAWING_MARKER;
if (g.enableDrawingTool) {
var i = new a(this, g.drawingToolOptions);
this._drawingTool = i;
h.addControl(i)
}
if (g.enableCalculate === true) {
this.enableCalculate()
} else {
this.disableCalculate()
}
this._isOpen = !!(g.isOpen === true);
if (this._isOpen) {
this._open()
}
this.markerOptions = g.markerOptions || {};
this.circleOptions = g.circleOptions || {};
this.polylineOptions = g.polylineOptions || {};
this.polygonOptions = g.polygonOptions || {};
this.rectangleOptions = g.rectangleOptions || {};
this.controlButton = g.controlButton == "right" ? "right" : "left"
},
d.prototype._open = function() {
this._isOpen = true;
if (!this._mask) {
this._mask = new e()
}
this._map.addOverlay(this._mask);
this._setDrawingMode(this._drawingType)
};
d.prototype._setDrawingMode = function(g) {
this._drawingType = g;
if (this._isOpen) {
this._mask.__listeners = {};
switch (g) {
case BMAP_DRAWING_MARKER:
this._bindMarker();
break;
case BMAP_DRAWING_CIRCLE:
this._bindCircle();
break;
case BMAP_DRAWING_POLYLINE:
case BMAP_DRAWING_POLYGON:
this._bindPolylineOrPolygon();
break;
case BMAP_DRAWING_RECTANGLE:
this._bindRectangle();
break
}
}
if (this._drawingTool && this._isOpen) {
this._drawingTool.setStyleByDrawingMode(g)
}
};
d.prototype._close = function() {
this._isOpen = false;
if (this._mask) {
this._map.removeOverlay(this._mask)
}
if (this._drawingTool) {
this._drawingTool.setStyleByDrawingMode("hander")
}
};
d.prototype._bindMarker = function() {
var i = this,
j = this._map,
h = this._mask;
var g = function(l) {
var k = new BMap.Marker(l.point, i.markerOptions);
j.addOverlay(k);
i._dispatchOverlayComplete(k)
};
h.addEventListener("click", g)
};
d.prototype._bindCircle = function() {
var m = this,
h = this._map,
o = this._mask,
i = null,
k = null;
var j = function(p) {
if (m.controlButton == "right" && (p.button == 1 || p.button == 0)) {
return
}
k = p.point;
i = new BMap.Circle(k, 0, m.circleOptions);
h.addOverlay(i);
o.enableEdgeMove();
o.addEventListener("mousemove", n);
b.on(document, "mouseup", l)
};
var n = function(p) {
i.setRadius(m._map.getDistance(k, p.point))
};
var l = function(q) {
var p = m._calculate(i, q.point);
m._dispatchOverlayComplete(i, p);
k = null;
o.disableEdgeMove();
o.removeEventListener("mousemove", n);
b.un(document, "mouseup", l)
};
var g = function(p) {
b.preventDefault(p);
b.stopBubble(p);
if (m.controlButton == "right" && p.button == 1) {
return
}
if (k == null) {
j(p)
}
};
o.addEventListener("mousedown", g)
};
d.prototype._bindPolylineOrPolygon = function() {
var k = this,
m = this._map,
h = this._mask,
j = [],
n = null;
overlay = null,
isBinded = false;
var l = function(o) {
if (k.controlButton == "right" && (o.button == 1 || o.button == 0)) {
return
}
j.push(o.point);
n = j.concat(j[j.length - 1]);
if (j.length == 1) {
if (k._drawingType == BMAP_DRAWING_POLYLINE) {
overlay = new BMap.Polyline(n, k.polylineOptions)
} else {
if (k._drawingType == BMAP_DRAWING_POLYGON) {
overlay = new BMap.Polygon(n, k.polygonOptions)
}
}
m.addOverlay(overlay)
} else {
overlay.setPath(n)
}
if (!isBinded) {
isBinded = true;
h.enableEdgeMove();
h.addEventListener("mousemove", i);
h.addEventListener("dblclick", g)
}
};
var i = function(o) {
overlay.setPositionAt(n.length - 1, o.point)
};
var g = function(p) {
b.stopBubble(p);
isBinded = false;
h.disableEdgeMove();
h.removeEventListener("mousedown", l);
h.removeEventListener("mousemove", i);
h.removeEventListener("dblclick", g);
if (k.controlButton == "right") {
j.push(p.point)
} else {
if (b.ie <= 8) {} else {
j.pop()
}
}
overlay.setPath(j);
var o = k._calculate(overlay, j.pop());
k._dispatchOverlayComplete(overlay, o);
j.length = 0;
n.length = 0;
k.close()
};
h.addEventListener("mousedown", l);
h.addEventListener("dblclick", function(o) {
b.stopBubble(o)
})
};
d.prototype._bindRectangle = function() {
var k = this,
n = this._map,
h = this._mask,
i = null,
j = null;
var m = function(p) {
b.stopBubble(p);
b.preventDefault(p);
if (k.controlButton == "right" && (p.button == 1 || p.button == 0)) {
return
}
j = p.point;
var o = j;
i = new BMap.Polygon(k._getRectanglePoint(j, o), k.rectangleOptions);
n.addOverlay(i);
h.enableEdgeMove();
h.addEventListener("mousemove", l);
b.on(document, "mouseup", g)
};
var l = function(o) {
i.setPath(k._getRectanglePoint(j, o.point))
};
var g = function(p) {
var o = k._calculate(i, i.getPath()[2]);
k._dispatchOverlayComplete(i, o);
j = null;
h.disableEdgeMove();
h.removeEventListener("mousemove", l);
b.un(document, "mouseup", g)
};
h.addEventListener("mousedown", m)
};
d.prototype._calculate = function(j, i) {
var h = {
data: 0,
label: null
};
if (this._enableCalculate && BMapLib.GeoUtils) {
var k = j.toString();
switch (k) {
case "[object Polyline]":
h.data = BMapLib.GeoUtils.getPolylineDistance(j);
break;
case "[object Polygon]":
h.data = BMapLib.GeoUtils.getPolygonArea(j);
break;
case "[object Circle]":
var g = j.getRadius();
h.data = Math.PI * g * g;
break
}
if (!h.data || h.data < 0) {
h.data = 0
} else {
h.data = h.data.toFixed(2)
}
h.label = this._addLabel(i, h.data)
}
return h
};
d.prototype._addGeoUtilsLibrary = function() {
if (!BMapLib.GeoUtils) {
var g = document.createElement("script");
g.setAttribute("type", "text/javascript");
var host = window.BMAP_LOCALIZE_STATIC_TILE_PATH || '';
g.setAttribute("src", host + "/assets/js/GeoUtils_min.js");
document.body.appendChild(g)
}
};
d.prototype._addLabel = function(g, i) {
var h = new BMap.Label(i, {
position: g
});
this._map.addOverlay(h);
return h
};
d.prototype._getRectanglePoint = function(h, g) {
return [new BMap.Point(h.lng, h.lat), new BMap.Point(g.lng, h.lat), new BMap.Point(g.lng, g.lat), new BMap.Point(h.lng, g.lat)]
};
d.prototype._dispatchOverlayComplete = function(h, i) {
var g = {
"overlay": h,
"drawingMode": this._drawingType
};
if (i) {
g.calculate = i.data || null;
g.label = i.label || null
}
this.dispatchEvent(this._drawingType + "complete", h);
this.dispatchEvent("overlaycomplete", g)
};
function e() {
this._enableEdgeMove = false
}
e.prototype = new BMap.Overlay();
e.prototype.dispatchEvent = b.lang.Class.prototype.dispatchEvent;
e.prototype.addEventListener = b.lang.Class.prototype.addEventListener;
e.prototype.removeEventListener = b.lang.Class.prototype.removeEventListener;
e.prototype.initialize = function(i) {
var h = this;
this._map = i;
var j = this.container = document.createElement("div");
var g = this._map.getSize();
j.style.cssText = "position:absolute;background:url(about:blank);cursor:crosshair;width:" + g.width + "px;height:" + g.height + "px";
this._map.addEventListener("resize", function(k) {
h._adjustSize(k.size)
});
this._map.getPanes().floatPane.appendChild(j);
this._bind();
return j
};
e.prototype.draw = function() {
var i = this._map,
g = i.pixelToPoint(new BMap.Pixel(0, 0)),
h = i.pointToOverlayPixel(g);
this.container.style.left = h.x + "px";
this.container.style.top = h.y + "px"
};
e.prototype.enableEdgeMove = function() {
this._enableEdgeMove = true
};
e.prototype.disableEdgeMove = function() {
clearInterval(this._edgeMoveTimer);
this._enableEdgeMove = false
};
e.prototype._bind = function() {
var l = this,
g = this._map,
h = this.container,
m = null,
n = null;
var k = function(p) {
return {
x: p.clientX,
y: p.clientY
}
};
var j = function(r) {
var q = r.type;
r = b.getEvent(r);
point = l.getDrawPoint(r);
var s = function(t) {
r.point = point;
l.dispatchEvent(r)
};
if (q == "mousedown") {
m = k(r)
}
var p = k(r);
if (q == "click") {
if (Math.abs(p.x - m.x) < 5 && Math.abs(p.y - m.y) < 5) {
if (!n || !(Math.abs(p.x - n.x) < 5 && Math.abs(p.y - n.y) < 5)) {
s("click");
n = k(r)
} else {
n = null
}
}
} else {
s(q)
}
};
var o = ["click", "mousedown", "mousemove", "mouseup", "dblclick"],
i = o.length;
while (i--) {
b.on(h, o[i], j)
}
b.on(h, "mousemove", function(p) {
if (l._enableEdgeMove) {
l.mousemoveAction(p)
}
})
};
e.prototype.mousemoveAction = function(n) {
function g(s) {
var r = s.clientX,
q = s.clientY;
if (s.changedTouches) {
r = s.changedTouches[0].clientX;
q = s.changedTouches[0].clientY
}
return new BMap.Pixel(r, q)
}
var h = this._map,
o = this,
i = h.pointToPixel(this.getDrawPoint(n)),
k = g(n),
l = k.x - i.x,
j = k.y - i.y;
i = new BMap.Pixel((k.x - l), (k.y - j));
this._draggingMovePixel = i;
var p = h.pixelToPoint(i),
m = {
pixel: i,
point: p
};
this._panByX = this._panByY = 0;
if (i.x <= 20 || i.x >= h.width - 20 || i.y <= 50 || i.y >= h.height - 10) {
if (i.x <= 20) {
this._panByX = 8
} else {
if (i.x >= h.width - 20) {
this._panByX = -8
}
}
if (i.y <= 50) {
this._panByY = 8
} else {
if (i.y >= h.height - 10) {
this._panByY = -8
}
}
if (!this._edgeMoveTimer) {
this._edgeMoveTimer = setInterval(function() {
h.panBy(o._panByX, o._panByY, {
"noAnimation": true
})
}, 30)
}
} else {
if (this._edgeMoveTimer) {
clearInterval(this._edgeMoveTimer);
this._edgeMoveTimer = null
}
}
};
e.prototype._adjustSize = function(g) {
this.container.style.width = g.width + "px";
this.container.style.height = g.height + "px"
};
e.prototype.getDrawPoint = function(l) {
var k = this._map,
j = b.getTarget(l),
h = l.offsetX || l.layerX || 0,
m = l.offsetY || l.layerY || 0;
if (j.nodeType != 1) {
j = j.parentNode
}
while (j && j != k.getContainer()) {
if (!(j.clientWidth == 0 && j.clientHeight == 0 && j.offsetParent && j.offsetParent.nodeName == "TD")) {
h += j.offsetLeft || 0;
m += j.offsetTop || 0
}
j = j.offsetParent
}
var i = new BMap.Pixel(h, m);
var g = k.pixelToPoint(i);
return g
};
function a(h, g) {
this.drawingManager = h;
g = this.drawingToolOptions = g || {};
this.defaultAnchor = BMAP_ANCHOR_TOP_LEFT;
this.defaultOffset = new BMap.Size(10, 10);
this.defaultDrawingModes = [BMAP_DRAWING_MARKER, BMAP_DRAWING_CIRCLE, BMAP_DRAWING_POLYLINE, BMAP_DRAWING_POLYGON, BMAP_DRAWING_RECTANGLE];
if (g.drawingModes) {
this.drawingModes = g.drawingModes
} else {
this.drawingModes = this.defaultDrawingModes
}
if (g.anchor) {
this.setAnchor(g.anchor)
}
if (g.offset) {
this.setOffset(g.offset)
}
}
a.prototype = new BMap.Control();
a.prototype.initialize = function(i) {
var h = this.container = document.createElement("div");
h.className = "BMapLib_Drawing";
var g = this.panel = document.createElement("div");
g.className = "BMapLib_Drawing_panel";
if (this.drawingToolOptions && this.drawingToolOptions.scale) {
this._setScale(this.drawingToolOptions.scale)
}
h.appendChild(g);
g.innerHTML = this._generalHtml();
this._bind(g);
i.getContainer().appendChild(h);
return h
};
a.prototype._generalHtml = function(m) {
var h = {};
h["hander"] = "拖动地图";
h[BMAP_DRAWING_MARKER] = "画点";
h[BMAP_DRAWING_CIRCLE] = "画圆";
h[BMAP_DRAWING_POLYLINE] = "画折线";
h[BMAP_DRAWING_POLYGON] = "画多边形";
h[BMAP_DRAWING_RECTANGLE] = "画矩形";
var n = function(o, i) {
return '<a class="' + o + '" drawingType="' + i + '" href="javascript:void(0)" title="' + h[i] + '" onfocus="this.blur()"></a>'
};
var k = [];
k.push(n("BMapLib_box BMapLib_hander", "hander"));
for (var j = 0, g = this.drawingModes.length; j < g; j++) {
var l = "BMapLib_box BMapLib_" + this.drawingModes[j];
if (j == g - 1) {
l += " BMapLib_last"
}
k.push(n(l, this.drawingModes[j]))
}
return k.join("")
};
a.prototype._setScale = function(j) {
var i = 390,
g = 50,
k = -parseInt((i - i * j) / 2, 10),
h = -parseInt((g - g * j) / 2, 10);
this.container.style.cssText = ["-moz-transform: scale(" + j + ");", "-o-transform: scale(" + j + ");", "-webkit-transform: scale(" + j + ");", "transform: scale(" + j + ");", "margin-left:" + k + "px;", "margin-top:" + h + "px;", "*margin-left:0px;", "*margin-top:0px;", "margin-left:0px\\0;", "margin-top:0px\\0;", "filter: progid:DXImageTransform.Microsoft.Matrix(", "M11=" + j + ",", "M12=0,", "M21=0,", "M22=" + j + ",", "SizingMethod='auto expand');"].join("")
};
a.prototype._bind = function(g) {
var h = this;
b.on(this.panel, "click", function(k) {
var j = b.getTarget(k);
var i = j.getAttribute("drawingType");
h.setStyleByDrawingMode(i);
h._bindEventByDraingMode(i)
})
};
a.prototype.setStyleByDrawingMode = function(h) {
if (!h) {
return
}
var j = this.panel.getElementsByTagName("a");
for (var k = 0, g = j.length; k < g; k++) {
var m = j[k];
if (m.getAttribute("drawingType") == h) {
var l = "BMapLib_box BMapLib_" + h + "_hover";
if (k == g - 1) {
l += " BMapLib_last"
}
m.className = l
} else {
m.className = m.className.replace(/_hover/, "")
}
}
};
a.prototype._bindEventByDraingMode = function(g) {
var i = this;
var h = this.drawingManager;
if (g == "hander") {
h.close();
h._map.enableDoubleClickZoom()
} else {
h.setDrawingMode(g);
h.open();
h._map.disableDoubleClickZoom()
}
};
var c = [];
function f(g) {
var h = c.length;
while (h--) {
if (c[h] != g) {
c[h].close()
}
}
}
})();
\ No newline at end of file
const fs = require('fs-extra')
const path = require('path')
const constants = require('./constants')
if (constants.APP_ENV !== 'dev') {
fs.emptyDirSync(path.join(__dirname, `../dist/${constants.APP_ENV}`))
}
const path = require('path')
const constants = require('./constants')
// website domain
const INDEX_DOMAIN = 'https://starter.jackple.com'
// static resource domain(CDN)
const STATICDOMAIN = constants.APP_ENV === 'prod' ? '.' : ''
module.exports = {
index: path.resolve(__dirname, `./../dist/${constants.APP_ENV}/index.html`),
assetsRoot: path.resolve(__dirname, `./../dist/${constants.APP_ENV}`),
assetsPublicPath: constants.APP_ENV === 'dev' ? '/' : `/${constants.APP_ENV}/`,
assetsSubDirectory: 'static',
// domain for workbox
indexDomain: INDEX_DOMAIN,
// id you use CDN, change it!!!
assetsDomain: `${INDEX_DOMAIN}/static`,
// production sourceMap for monitoring
sourceMap:
constants.APP_ENV === 'dev' ? 'source-map' : constants.APP_ENV === 'prod' ? 'cheap-module-source-map' : false,
extractCss: constants.APP_ENV !== 'dev',
// Run the build command with an extra argument to
// View the bundle analyzer report after build finishes:
// `npm run build --report`
// Set to `true` or `false` to always turn it on or off
bundleAnalyzerReport: process.env.npm_config_report
}
const APP_ENV = process.env.APP_ENV || 'prod'
const FILE_EXTENSIONS = ['.ts', '.tsx', '.js', '.jsx']
module.exports = {
APP_ENV,
FILE_EXTENSIONS
}
{
"dev": {
"BASEURL": "http://61.147.239.22:18080/zhs"
},
"qa": {
"BASEURL": "http://61.147.239.22:18080/zhs"
},
"prod": {
"BASEURL": "http://61.147.239.22:18080/zh"
},
"guanyinshan": {
"BASEURL": "http://61.147.239.22:18080/zhs"
}
}
const constants = require('./constants')
const config = require('./config')
const TerserPlugin = require('terser-webpack-plugin')
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')
module.exports =
constants.APP_ENV === 'dev'
? {}
: {
runtimeChunk: {
name: 'manifest'
},
splitChunks: {
cacheGroups: {
default: false,
commons: {
test: /[\\/]node_modules[\\/]/,
name: 'split-vendor',
chunks: 'all'
}
}
},
minimizer: [
new TerserPlugin({
cache: true,
parallel: true,
sourceMap: Boolean(config.sourceMap)
}),
new OptimizeCSSAssetsPlugin({
cssProcessor: require('cssnano'),
cssProcessorOptions: {
reduceIdents: false,
autoprefixer: false
}
})
]
}
const webpack = require('webpack')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const MomentLocalesPlugin = require('moment-locales-webpack-plugin')
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin')
const WorkboxPlugin = require('workbox-webpack-plugin')
const constants = require('./constants')
const config = require('./config')
const { assetsPath } = require('./utils')
const env = require('./env.json')
const oriEnv = env[constants.APP_ENV]
Object.assign(oriEnv, {
APP_ENV: constants.APP_ENV
})
// 照旧将webpack下发变量置于process.env
const defineEnv = {}
for (let key in oriEnv) {
defineEnv[`process.env.${key}`] = JSON.stringify(oriEnv[key])
}
const basePlugins = [
new webpack.DefinePlugin(defineEnv),
new MomentLocalesPlugin({
localesToKeep: ['es-us', 'zh-cn']
})
]
const devPlugins = [
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'build/tpl/index.html',
inject: true
}),
new CaseSensitivePathsPlugin()
]
const prodPlugins = [
new webpack.WatchIgnorePlugin([/css\.d\.ts$/]),
new HtmlWebpackPlugin({
filename: config.index,
template: 'build/tpl/index.html',
inject: true,
minify: {
removeComments: true,
collapseWhitespace: true,
removeAttributeQuotes: true
// more options:
// https://github.com/kangax/html-minifier#options-quick-reference
},
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
chunksSortMode: 'dependency',
channel: constants.APP_ENV || 'prod'
}),
new MiniCssExtractPlugin({
// Options similar to the same options in webpackOptions.output
// both options are optional
filename: assetsPath('css/[name].[contenthash].css'),
chunkFilename: assetsPath('css/[name].[id].[contenthash].css')
}),
new WorkboxPlugin.GenerateSW({
cacheId: 'ts-react-webpack',
clientsClaim: true,
skipWaiting: true,
offlineGoogleAnalytics: false,
// do not use google cdn
importWorkboxFrom: 'local',
// precache ignore
exclude: [/index\.html$/],
// dynamic update
runtimeCaching: [
{
// match html
urlPattern: new RegExp(config.indexDomain),
handler: 'networkFirst'
},
{
// match static resource
urlPattern: new RegExp(config.assetsDomain),
handler: 'staleWhileRevalidate'
}
]
})
]
if (config.bundleAnalyzerReport) {
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer')
prodPlugins.push(new BundleAnalyzerPlugin())
}
module.exports = basePlugins.concat(constants.APP_ENV === 'dev' ? devPlugins : prodPlugins)
const { assetsPath, resolve } = require('./../utils')
const { threadLoader, cacheLoader } = require('./loaders')
function getUrlloader(assetsPrefix) {
return {
loader: 'url-loader',
options: {
limit: 10000,
name: assetsPath(`${assetsPrefix}/[name].[hash:7].[ext]`)
}
}
}
module.exports = [
{
test: /\.(png|jpe?g|gif|mp4)(\?.*)?$/,
use: [getUrlloader('img')]
},
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
use: [getUrlloader('fonts')]
},
{
test: /\.svg$/,
loader: [cacheLoader, threadLoader(), '@svgr/webpack'],
include: [resolve('src')]
}
]
const { resolve } = require('./../utils')
const { cacheLoader, threadLoader } = require('./loaders')
module.exports = [
{
test: /\.(j|t)sx?$/,
include: [resolve('src')],
use: [
cacheLoader,
threadLoader(),
{
loader: 'babel-loader',
options: {
babelrc: false,
presets: [['@babel/preset-env'], '@babel/preset-typescript', '@babel/preset-react'],
plugins: [
['import', { libraryName: 'antd', libraryDirectory: 'lib', style: true }],
['@babel/plugin-proposal-decorators', { legacy: true }],
['@babel/plugin-proposal-class-properties', { loose: true }],
'@babel/plugin-syntax-dynamic-import',
'react-hot-loader/babel'
]
}
}
],
exclude: /node_modules/
}
]
const constants = require('./../constants')
const { resolve } = require('./../utils')
const cacheLoader = {
loader: 'cache-loader',
options: {
// provide a cache directory where cache items should be stored
cacheDirectory: resolve('.cache-loader')
}
}
// node-sass 中有个来自 Node.js 线程池的阻塞线程的 bug。 当使用 thread-loader 时,需要设置 workerParallelJobs: 2
// https://webpack.docschina.org/guides/build-performance/#sass
const threadLoader = workerParallelJobs => {
const options = { workerParallelJobs }
if (constants.APP_ENV === 'dev') {
Object.assign(options, { poolTimeout: Infinity })
}
return { loader: 'thread-loader', options }
}
module.exports = {
cacheLoader,
threadLoader
}
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const config = require('./../config')
const { resolve } = require('./../utils')
const theme = require('./../../theme')
const { threadLoader, cacheLoader } = require('./loaders')
const cssLoader = modules => ({
loader: 'css-loader',
options: { modules }
})
const sassLoader = {
loader: 'sass-loader',
options: {
includePaths: [require('bourbon').includePaths, resolve('src/styles')]
}
}
const lessLoader = {
loader: 'less-loader',
options: {
javascriptEnabled: true,
modifyVars: theme
}
}
const baseLoaders = (workerParallelJobs, modules) => {
const loaders = [
config.extractCss ? MiniCssExtractPlugin.loader : 'style-loader',
cacheLoader,
cssLoader(modules),
'postcss-loader'
]
if (module) {
loaders.splice(2, 0, 'css-modules-typescript-loader')
}
if (workerParallelJobs !== 0) {
loaders.splice(2, 0, threadLoader(workerParallelJobs))
}
return loaders
}
module.exports = [
{
test: /\.css$/,
include: [resolve('node_modules')],
use: baseLoaders(undefined, false)
},
{
test: /\.scss$/,
include: [resolve('src')],
use: [...baseLoaders(0, true), sassLoader]
},
{
// for ant design
test: /\.less$/,
// less do not use threadLoader
// https://github.com/webpack-contrib/thread-loader/issues/10
use: [...baseLoaders(0, false), lessLoader]
}
]
const webpack = require('webpack')
const WebpackDevServer = require('webpack-dev-server')
const config = require('./config.base.js')
config.entry.unshift("webpack-dev-server/client?http://localhost:8080/")
config.entry.unshift("webpack/hot/dev-server")
var compiler = webpack(config)
var server = new WebpackDevServer(compiler, {
hot: true,
publicPath: config.output.publicPath,
historyApiFallback: true
})
server.listen(8080)
\ No newline at end of file
<!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">
<!-- <link rel="stylesheet" type="text/css" href="./baidumapv2.0.2/css/bmap.css"/> -->
<link rel="stylesheet" type="text/css" href="./bmap/css/BMap.css"/>
<link rel="stylesheet" type="text/css" href="./bmap/css/DrawingManager_1.4.css"/>
<title>指挥室</title>
<style>
.loading-wrap {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 999;
text-align: center;
}
.loading-gif {
display: inline-block;
margin-top: 50px;
}
</style>
</head>
<body>
<div id="app">
<div class="loading-wrap">
<div class="loading-gif">
<img src="data:image/gif;base64,R0lGODlhQAFAAff/AHR0sXJzrlFJnWVjqImMu4yRvBQBfGJhpmFZpUk+mYiivH6BtVZNoJyixUY7l4ikuzUojV1VpFVSnoOFuCUVhUlBmYaJuiwdiZWZwUQ5lpCVvj0xkkE1lVBGnTotkYCDtk1FmlVNnlhOoSkZhqOqyU5FnHZ4smVdqHBsrVlVoV1VojQmjR4MgU1Jm2FdpqqxzBQBe31+tUU9l15ZpJKWwRgGfhoJfm5wrGhlqUxBmikZiBYEfTEijDcrjlVRoGlpqS4gijgqkG1trRQCfEI4lSIRhGhhqRwKgDIkjG5prV1ZolRKnlJNnSERgk1Dm3l1s2ZZqZiew3h5sTwuknNvsHl9sSAOgj40kjAhi7rC1V9WpT4xlFVKoGJZqGReprS80RoIgIOIt4ekum1lrVxSpEAylV9dpVpR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PDDEI9ZcI0BAQAh+QQFBAD/ACyhACsAAQABAAAIBADjBAQAIfkEBQQA/wAsAAAAAAEAAQAACAQA/wUEACH5BAUEAP8ALAAAAAABAAEAAAgEAP8FBAAh+QQFBAD/ACwAAAAAAQABAAAIBAD/BQQAIfkEBQQA/wAsAAAAAAEAAQAACAQA/wUEACH5BAUEAP8ALAAAAAABAAEAAAgEAP8FBAA7" alt="loading...">
</div>
</div>
</div>
<script>
window.__BMAP_EXTRA_CONFIG__ = {
enable: true,
host: '', // exmaple in nginx container
path: '/guanyinshan/bmap/',
tilePath: 'tiles/tile',
satellitePath: 'tiles/it',
roadPath: 'tiles/road'
};
</script>
<!-- <script type="text/javascript" src="./baidumapv2.0.2/js/apiv2.0.min.js"></script> -->
<script type="text/javascript" src="./bmap/js/BaiduApi_2.0.js"></script>
<script type="text/javascript" src="./bmap/js/DrawingManager_1.4.js"></script>
<script type="text/javascript" src="./bmap/js/CurveLine_1.5.min.js"></script>
</body>
</html>
\ No newline at end of file
const path = require('path')
const config = require('./config')
exports.assetsPath = function(_path) {
return path.posix.join(config.assetsSubDirectory, _path)
}
exports.resolve = function(dir) {
return path.join(__dirname, './../', dir)
}
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin')
const config = require('./config')
const constants = require('./constants')
const styleRules = require('./rules/styleRules')
const jsRules = require('./rules/jsRules')
const fileRules = require('./rules/fileRules')
const plugins = require('./plugins')
const { assetsPath, resolve } = require('./utils')
const optimization = require('./optimization')
require('./cleanup-folder')
module.exports = {
mode: process.env.NODE_ENV,
entry: {
vendor: ['@babel/polyfill'],
app: ['./src/index.tsx']
},
output: {
path: config.assetsRoot,
filename: constants.APP_ENV === 'dev' ? '[name].js' : assetsPath('js/[name].[chunkhash].js'),
chunkFilename: constants.APP_ENV === 'dev' ? '[name].js' : assetsPath('js/[name].[id].[chunkhash].js'),
publicPath: config.assetsPublicPath,
pathinfo: false
},
resolve: {
extensions: constants.FILE_EXTENSIONS,
modules: [resolve('src'), resolve('node_modules')],
alias: {
mobx: resolve('node_modules/mobx/lib/mobx.es6.js')
},
plugins: [
new TsconfigPathsPlugin({
configFile: resolve('tsconfig.webpack.json'),
extensions: constants.FILE_EXTENSIONS
})
]
},
module: {
rules: [...styleRules, ...jsRules, ...fileRules]
},
plugins,
optimization,
stats: { children: false },
devtool: config.sourceMap
}
{
"name": "jingqing",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "cross-env NODE_ENV=development APP_ENV=dev webpack-dev-server --config build/webpack.config.js --open --hot",
"build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js",
"build:qa": "cross-env APP_ENV=qa npm run build",
"build:prod": "cross-env APP_ENV=prod npm run build",
"build:guanyinshan": "cross-env APP_ENV=guanyinshan npm run build",
"build:old": "webpack -p --config ./build/config.public.js",
"start": "node ./build/server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@types/echarts": "^4.1.3",
"@types/node": "^10.12.10",
"autoprefixer": "^9.5.1",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.5",
"babel-plugin-import": "^1.11.0",
"bagpipe": "^0.3.5",
"cache-loader": "^2.0.1",
"case-sensitive-paths-webpack-plugin": "^2.2.0",
"cross-env": "^5.2.0",
"css-loader": "^1.0.1",
"css-modules-typescript-loader": "^2.0.0",
"file-loader": "^2.0.0",
"html-webpack-plugin": "^3.2.0",
"less": "^3.8.1",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.6.0",
"moment-locales-webpack-plugin": "^1.0.7",
"node-sass": "^4.11.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-loader": "^3.0.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^1.2.3",
"thread-loader": "^2.1.2",
"tile-lnglat-transform": "^1.3.2",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "^3.1.6",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10",
"workbox-webpack-plugin": "^4.2.0"
},
"dependencies": {
"@types/react": "^16.7.3",
"@types/react-countup": "^4.0.0",
"@types/react-dom": "^16.0.9",
"@types/react-router-dom": "^4.3.1",
"@types/react-tabs": "^2.3.0",
"antd": "^3.16.2",
"axios": "^0.18.0",
"bourbon": "^5.1.0",
"echarts": "^4.2.0-rc.2",
"echarts-wordcloud": "^1.1.3",
"js-md5": "^0.7.3",
"mobx": "^5.9.4",
"mobx-react": "^5.4.3",
"mobx-react-router": "^4.0.7",
"moment": "^2.24.0",
"react": "^16.6.1",
"react-countup": "^4.0.0",
"react-dom": "^16.6.1",
"react-hot-loader": "^4.8.3",
"react-html5video": "^2.5.1",
"react-loadable": "^5.5.0",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-tabs": "^2.3.0",
"url-loader": "^1.1.2",
"video-react": "^0.13.2"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 11"
],
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"setupFiles": [
"raf/polyfill"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"setupFilesAfterEnv": [
"<rootDir>src/setupTests.ts"
],
"snapshotSerializers": [
"enzyme-to-json"
],
"moduleNameMapper": {
"\\.(css|less|scss|svg|jpg|jpeg|png|gif)$": "identity-obj-proxy",
"^@constants/(.*)$": "<rootDir>/src/constants//$1",
"^@services/(.*)$": "<rootDir>/src/services//$1",
"^@utils/(.*)$": "<rootDir>/src/utils//$1",
"^@assets/(.*)$": "<rootDir>/src/assets//$1",
"^@components/(.*)$": "<rootDir>/src/components//$1",
"^@views/(.*)$": "<rootDir>/src/containers/views//$1",
"^@shared/(.*)$": "<rootDir>/src/containers/shared//$1"
}
}
}
module.exports = {
plugins: [
require('autoprefixer')
]
}
import { RouterStore as _RouterStore } from '../typings/node_modules/mobx-react-router'
declare global {
interface RouterStore extends _RouterStore {}
}
import * as React from 'react'
import * as style from './style.scss'
const bgVideo = require('@assets/1547821745560044.mp4');
// import { url } from 'inspector';
// const imgAry: any = []
// for (var i = 0; i <= 23; i++) {
// var index = i < 10 ? '0' + i : i
// imgAry.push(require('./zhitu-des/bggif00' + index + '.png'))
// }
export interface BigBgProps { }
class BigBg extends React.Component<BigBgProps, {}> {
maxIndex = 23
state = {
bgIndex: 0
}
bgChangeInter: number;
componentDidMount() {
this.changeBgInter()
}
changeBgInter() {
var { bgIndex } = this.state
setTimeout(() => {
if (bgIndex < this.maxIndex) {
bgIndex++
} else {
bgIndex = 0
}
this.changeBgByIndex(bgIndex)
this.changeBgInter()
}, 1000)
}
changeBgByIndex(bgIndex: number): void {
this.setState({
bgIndex
})
}
render() {
// var { bgIndex } = this.state
return <div className={style.bg}>
{
// imgAry.map((img: string, key: number) => {
// return <div key={key} className={style.bgImg}
// style={{
// display: key === bgIndex ? 'block' : 'none',
// backgroundImage: `url('${img}')`,
// backgroundSize: '100% 100%',
// }}></div>
// })
}
<div className={style.videoBgWrapper}>
<video preload='auto' autoPlay loop >
<source src={bgVideo} type="video/mp4"/>
</video>
<div className={style.videoBgMask}></div>
</div>
{/* <Header></Header> */}
<div className={style.content}>
{this.props.children}
</div>
</div>
}
}
export default BigBg
\ No newline at end of file
.bg {
position: absolute;
width: 100%;
height: 100%;
background: url('@assets/big_bg.jpg') no-repeat 0 0;
background-size: 100% 100%;
display: flex;
flex-direction: column;
padding-top: (54rem / 16);
.bgImg {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: -1;
}
.content {
flex: 1;
padding: (25rem / 16) (20rem / 16) (10rem / 16);
}
}
.videoBgWrapper {
display: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
min-height: 100%;
min-width: 100%;
// @include media-breakpoint-up(sm) {
// display: block;
// }
@media (min-width: 576px) {
& {
display: block;
}
}
video {
width: 100%;
height: 100%;
min-width: 100%;
min-height: 100%;
-o-object-fit: cover;
object-fit: cover;
-o-object-position: center center;
object-position: center center
}
.videoBgMask {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0,0,0,.5);
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'bg': string;
'bgImg': string;
'content': string;
'videoBgMask': string;
'videoBgWrapper': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from "react"
import * as style from './style.scss'
export interface CardProps {
backgroundBlock?: boolean;
headerImg?: boolean;
style?: any;
}
class Card extends React.Component<CardProps, {}> {
static defaultProps = {
backgroundBlock: true,
headerImg: false,
style: {}
}
render() {
var contentStyle: any = {
...this.props.style
}
if (this.props.backgroundBlock) {
contentStyle.background = 'rgba(2, 46, 98, .3)'
}
return <div className={style.content} style={contentStyle}>
<div className={style.leftTop}></div>
<div className={style.rightTop}></div>
<div className={style.leftBottom}></div>
<div className={style.rightBottom}></div>
{
this.props.headerImg
? <div className={style.headerImg}></div>
: null
}
{this.props.children}
</div>
}
}
export default Card;
\ No newline at end of file
%jiao {
width: (15rem / 16);
height: (15rem / 16);
position: absolute;
}
.content {
height: 100%;
border: 1px solid rgba(2, 46, 98, 0.3);
position: relative;
padding: (10rem / 16);
box-sizing: border-box;
display: flex;
.leftTop {
@extend %jiao;
background: url('@assets/card/left-top.png') no-repeat;
background-size: cover;
left: -1px;
top: -1px;
}
.leftBottom {
@extend %jiao;
background: url('@assets/card/left-bottom.png') no-repeat;
background-size: cover;
left: -1px;
bottom: -1px;
}
.rightTop {
@extend %jiao;
background: url('@assets/card/right-top.png') no-repeat;
background-size: cover;
right: -1px;
top: -1px;
}
.rightBottom {
@extend %jiao;
background: url('@assets/card/right-bottom.png') no-repeat;
background-size: cover;
right: -1px;
bottom: -1px;
}
.headerImg {
position: absolute;
right: -1px;
top: -1px;
width: (231rem / 16);
height: (64rem / 16);
background: url(@assets/card/header.png) no-repeat;
background-size: cover;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'headerImg': string;
'leftBottom': string;
'leftTop': string;
'rightBottom': string;
'rightTop': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from "react"
import * as style from './style.scss'
import { BrowserRouter, Route, Link } from "react-router-dom"
export interface DropDownProps {
subtitles: Array<Object>,
title: String
}
class DropDown extends React.Component<DropDownProps, {}> {
static defaultProps = {
subtitles: {}
}
state = {
isToggleOn: false
}
componentWillMount() {
}
componentDidMount() {
this.mouseEnerHandler = this.mouseEnerHandler.bind(this)
this.mouseLeaveHandler = this.mouseLeaveHandler.bind(this)
this.hideDropDownMenu = this.hideDropDownMenu.bind(this)
}
mouseEnerHandler(event:any) {
let self = this
self.setState({
isToggleOn: true
})
}
mouseLeaveHandler(event: any) {
this.hideDropDownMenu()
}
hideDropDownMenu() {
let self = this
self.setState({
isToggleOn: false
})
}
openInNewTab(url:string) {
var win = window.open(url, '_blank');
win.focus();
}
render() {
return <div className={style.biaoyu} onMouseEnter={this.mouseEnerHandler} onMouseLeave={this.mouseLeaveHandler}>
{this.props.title}
{
// && location.hash !== '#/'
this.state.isToggleOn ? <ul className={style.slideDown}>
{
this.props.subtitles && this.props.subtitles.map((sub: any) => {
if(sub.url === '_blank') {
return <li key={sub.id} onClick={() => this.openInNewTab(sub.uri)}>{sub.title}</li>
}
return <li key={sub.id} onClick={this.hideDropDownMenu}><Link to={sub.url}>{sub.title}</Link></li>
})
}
</ul>
: null
}
</div>
}
}
export default DropDown;
\ No newline at end of file
.biaoyu {
width: 100%;
color: #ffb602;
text-align: center;
font-size: (20rem / 16);
float: left;
font-weight: bold;
}
.slideDown {
position: relative;
width: (150rem / 16);
// background-color: #1d5da8;
background: url(@assets/dropdown/slider_split.png) repeat-y;
z-index: 9;
opacity: .9;
border-radius: (4rem / 16);
overflow: hidden;
& > li {
&:after {
display: block;
content: '';
width: 80%;
height: (2rem /16);
background-color: rgba(81, 193, 225, .3);
margin: 0 auto;
}
}
& a {
color: #ffb602;
text-decoration: inherit;
}
&:before, &:after {
display: block;
content: '';
position: absolute;
left: 0;
width: 100%;
height: (15rem / 16);
}
&:before {
top: 0;
background: url(@assets/dropdown/slider_top.png) no-repeat center top;
}
&:after {
bottom: 0;
background: url(@assets/dropdown/slider_bottom.png) no-repeat center top;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'biaoyu': string;
'slideDown': string;
}
declare var cssExports: CssExports;
export = cssExports;
@import '_base.scss';
.centered {
text-align: center;
}
.emoji {
font-size: 9em;
user-select: none;
}
.title {
color: grey;
font-size: 3em;
text-align: center;
}
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'centered': string;
'emoji': string;
'title': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as styles from './index.scss'
const Error = () => (
<div className={styles.centered}>
<div className={styles.emoji}>😭</div>
<p className={styles.title}>Ooooops!</p>
<p>This page doesn't exist anymore.</p>
</div>
)
export default Error
@import '_base.scss';
.pageLoading {
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
align-content: center;
}
.spin {
display: initial;
}
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'pageLoading': string;
'spin': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import { Spin } from 'antd'
import * as styles from './index.scss'
function PageLoading() {
return (
<div className={styles.pageLoading}>
<Spin className={styles.spin} />
</div>
)
}
export default PageLoading
import * as React from 'react'
import * as style from './style.scss'
export interface TableProps {
img: string;
title: string;
contentBorder?: boolean;
headerMore?: any;
headerBorder?: boolean;
headerShow?: boolean;
}
class Table extends React.Component<TableProps, {}> {
public static defaultProps = {
contentBorder: true,
headerBorder: true,
headerShow: true
}
render() {
const { headerMore, headerBorder, headerShow } = this.props
return <div className={style.table}>
{
headerShow && <h1 className={style.header} style={{borderWidth: headerBorder ? '1px' : '0'}}>
<div className={style.headerTitle}>
<img className={style.img} src={this.props.img}/>
<span className={style.title}>{this.props.title}</span>
</div>
{headerMore ? headerMore() : null}
</h1>
}
<div className={style.content + ' ' + (this.props.contentBorder ? style.border : '')}>
{this.props.children}
</div>
</div>
}
}
export default Table;
\ No newline at end of file
.table {
flex: 1;
display: flex;
flex-direction: column;
color: #fff;
.header {
border: 1px solid #116cb2;
height: (34rem / 16);
display: flex;
align-items: center;
padding: 0 (10rem / 16);
justify-content: space-between;
.headerTitle {
display: flex;
align-items: center;
.img {
width: (16rem / 16);
}
.title {
margin-left: (10rem / 16);
font-size: (18rem / 16);
color: #fff;
}
}
}
.content {
flex: 1;
&.border {
border: 1px solid #116cb2;
border-top: 0;
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'border': string;
'content': string;
'header': string;
'headerTitle': string;
'img': string;
'table': string;
'title': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from "react"
import * as style from './style.scss'
// import { BrowserRouter, Route, Link } from "react-router-dom"
export interface ZhsModalProps {
title: String,
showModal: Boolean,
onClose: any,
width: number
}
class ZhsModal extends React.Component<ZhsModalProps, {}> {
static defaultProps = {
title: '',
showModal: false,
onClose: {},
width: 800
}
state = {
isToggleOn: true
}
componentWillMount() {
}
componentDidMount() {
}
closeModal(e:any) {
console.log(e)
this.props.onClose()
// this.setState({
// isToggleOn: false
// })
}
openInNewTab(url:string) {
var win = window.open(url, '_blank');
win.focus();
}
render() {
return this.props.showModal ? <div>
<div className={style.modalMask} onClick={this.closeModal.bind(this)}></div>
<div className={style.modalWrap}>
<div className={style.modalBox} style={{width: this.props.width}}>
<div className={style.modalHeader}>
<div>{this.props.title}</div>
<div className={style.modalClose} onClick={this.closeModal.bind(this)}>X</div>
</div>
<div className={style.modalContent}>
{this.props.children}
</div>
<div className={style.modalFooter}></div>
</div>
</div>
</div>: null
}
}
export default ZhsModal;
\ No newline at end of file
.modalMask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
height: 100%;
background-color: rgba(0,0,0,0.65);
filter: alpha(opacity=50);
}
.modalWrap {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
overflow: auto;
outline: 0;
-webkit-overflow-scrolling: touch;
}
.modalBox {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0,0,0,0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
top: 100px;
width: auto;
margin: 0 auto;
width: 820px;
transform-origin: 98px 114px;
background: url(@assets/modal/modal_header_bg.png) no-repeat center top;
background-size: 100%;
border: 1px solid #44d6ff;
background-color: rgba(7, 24, 57, .96);
}
.modalRight {
}
.modalHeader {
position: relative;
height: 30px;
line-height: 30px;
font-size: 22px;
color: #44d6ff;
padding-right: 50px;
padding-left: 30px;
}
.modalClose {
position: absolute;
right: 0;
top: 50%;
width: 30px;
height: 30px;
margin-top: -15px;
text-align: center;
cursor: pointer;
}
.modalContent {
min-height: 300px;
color: #44d6ff;
font-size: 16px;
padding: 10px 30px;
}
.modalFooter {
// position: absolute;
// bottom: 0;
// left: 0;
width: 100%;
height: 50px;
background: url(@assets/modal/modal_footer_bg.png) no-repeat center bottom;
background-size: 100%;
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'modalBox': string;
'modalClose': string;
'modalContent': string;
'modalFooter': string;
'modalHeader': string;
'modalMask': string;
'modalWrap': string;
}
declare var cssExports: CssExports;
export = cssExports;
export enum COOKIE_KEYS {
TOKEN = 'token'
}
export enum LOCALSTORAGE_KEYS {
USERINFO = 'userInfo',
NAV_OPEN_KEYS = 'navOpenKeys',
SIDE_BAR_THEME = 'sideBarTheme',
SIDE_BAR_COLLAPSED = 'sideBarCollapsed'
}
export const LOGIN_CATEGORY = ['user', 'admin']
export const GITHUB_LINK = 'https://github.com/YDJ-FE'
@import '_base.scss';
.appWrapper {
display: flex;
width: 100%;
height: 100%;
margin: 0 auto;
overflow: auto;
min-height: 100%;
flex-direction: column;
}
:global {
html,
body {
width: 100%;
height: 100%;
}
#app {
width: 100%;
height: 100%;
}
svg,
svg path {
fill: currentcolor;
}
.center-table {
table td {
text-align: center;
}
.ant-table-thead > tr > th {
text-align: center;
}
}
}
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
html, body{
height: 100%;
width: 100%;
overflow: hidden;
font-family: 'Microsoft YaHei';
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'appWrapper': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import { hot } from 'react-hot-loader'
import Loadable from 'react-loadable'
import { HashRouter as Router, Switch, Route } from 'react-router-dom'
import * as styles from './index.scss'
import Error from '@components/Error'
import PageLoading from '@components/PageLoading';
import PrivateRoute from '@shared/PrivateRoute'
// import * as styles from '../../../index.scss'
// import Home from '../../../page/Home/Home'
// import JingQing from '@views/JingQing'
// import SheQu from '../../../page/SheQu/SheQu'
// import ZhihuiShi from '../../../page/ZhihuiShi/ZhihuiShi'
// import FaZhi from '../../../page/FaZhi/FaZhi'
// import ZhenCha from '../../../page/ZhenCha/ZhenCha'
// import WeiWen from '../../../page/WeiWen/WeiWen'
// import LieGuanMap from '../../../page/LieGuanMap/LieGuanMap'
const Login = Loadable({
loader: () => import(/* webpackChunkName: "login" */ '@views/Login'),
loading: PageLoading
})
const Home = Loadable({
loader: () => import(/* webpackChunkName: "home" */ '@views/Home'),
loading: PageLoading
})
const AppWrapper = props => <div className={styles.appWrapper}>{props.children}</div>
class AppRouter extends React.Component<{}> {
render() {
return (
<AppWrapper>
<Router>
<Switch>
<Route exact path="/login" component={Login} />
<PrivateRoute path="/" component={Home} />
{/* <Route path='/shequ' component={SheQu}/>
<Route path='/zhihuishi' component={ZhihuiShi}/>
<Route path='/fazhi' component={FaZhi}/>
<Route path='/zhencha' component={ZhenCha}/>
<Route path='/weiwen' component={WeiWen}/>
<Route path='/lieguanMap' component={LieGuanMap}/> */}
<Route component={Error} />
</Switch>
</Router>
</AppWrapper>
)
}
}
export default hot(module)(AppRouter)
\ No newline at end of file
import * as React from 'react'
import { inject, observer } from 'mobx-react'
import { Route, RouteProps } from 'react-router-dom'
import { ComponentExt } from '@utils/reactExt'
import { getCookie } from '@utils/index'
import { COOKIE_KEYS } from '@constants/index'
export interface IStoreProps {
routerStore?: RouterStore
userInfo?: IAuthStore.UserInfo
initUserInfo?: () => IAuthStore.UserInfo
}
@inject(
(store: IStore): IStoreProps => {
const { routerStore, authStore } = store
const { userInfo, initUserInfo } = authStore
return { routerStore, userInfo, initUserInfo }
}
)
@observer
class PrivateRoute extends ComponentExt<IStoreProps & RouteProps> {
gotoLogin = () => {
const { routerStore } = this.props
routerStore.history.replace('/login')
}
checkLocalUserInfo = () => {
const token = getCookie(COOKIE_KEYS.TOKEN)
if (!token) {
return this.gotoLogin()
}
const { userInfo, initUserInfo } = this.props
if (!userInfo) {
try {
const userInfoByInit = initUserInfo()
if (userInfoByInit.token !== token) {
throw new Error('cookie 上储存的token与localStorage 上储存的token不一致!')
}
} catch (err) {
console.warn(err)
this.gotoLogin()
}
}
}
componentDidMount() {
this.checkLocalUserInfo()
}
render() {
const { component: Component, ...rest } = this.props
return <Route {...rest} render={props => <Component {...props} {...rest} />} />
}
}
export default PrivateRoute
import * as React from 'react'
import Card from '@components/Card'
// import Table from '@components/Table'
// import { BrowserRouter, Route, Link } from "react-router-dom"
import * as styles from './style.scss'
export interface Center1Props {
}
class Center1 extends React.Component<Center1Props, {}> {
state = {
contentHeight: 'auto',
menuType: 0
}
content: any = null
componentDidMount() {
var width = this.content.clientWidth * 0.97
this.setState({
contentHeight: width + 'px'
})
}
handleMouseOver(type: number) {
this.setState({
menuType: type
})
}
openInNewTab(url:string) {
var win = window.open(url, '_blank');
win.focus();
}
render() {
var { menuType } = this.state
return <div ref={content => this.content = content} className={styles.content}>
<Card>
<div className={styles.circle}>
<div className={styles.circleBg}>
<img className={styles.img} src={require('@assets/dashboard/centerCircle_guanyinshan.png')}/>
{/* <div className={styles.main1} onMouseOver={() => this.handleMouseOver(0)}>对党忠诚</div>
<div className={styles.main2} onMouseOver={() => this.handleMouseOver(1)}>服务人民</div>
<div className={styles.main3} onMouseOver={() => this.handleMouseOver(2)}>执法公正</div>
<div className={styles.main4} onMouseOver={() => this.handleMouseOver(3)}>纪律严明</div> */}
{/* <div style={{display: menuType === 0 ? 'block' : 'none'}} className={styles.subMenu1}>智慧党建</div>
<div style={{display: menuType === 0 ? 'block' : 'none'}} className={styles.subMenu2}>民警风采</div> */}
{/* <div style={{display: menuType === 0 ? 'block' : 'none'}} className={styles.subMenu2}><Link to="/weiwen">智慧维稳</Link></div>
<div style={{display: menuType === 1 ? 'block' : 'none'}} className={styles.subMenu2}><Link to="/shequ">社区管控</Link></div> */}
{/* <div style={{display: menuType === 1 ? 'block' : 'none'}} className={styles.subMenu2}>救助服务</div>
<div style={{display: menuType === 1 ? 'block' : 'none'}} className={styles.subMenu3}>企业风险</div> */}
{/* <div style={{display: menuType === 2 ? 'block' : 'none'}} className={styles.subMenu1}><Link to="/zhencha">合成侦查</Link></div>
<div style={{display: menuType === 2 ? 'block' : 'none'}} className={styles.subMenu2}><Link to="/jingqing">重点警情</Link></div>
<div style={{display: menuType === 2 ? 'block' : 'none'}} className={styles.subMenu3}><Link to="/fazhi">智慧法制</Link></div> */}
{/* // <div style={{display: menuType === 3 ? 'block' : 'none'}} className={styles.subMenu1}>风险苗头</div>*/}
{/* <div style={{display: menuType === 3 ? 'block' : 'none'}} className={styles.subMenu1} onClick={() => this.openInNewTab('http://10.36.45.1:8082')}>投诉计分</div>
<div style={{display: menuType === 3 ? 'block' : 'none'}} className={styles.subMenu2}><Link to="/zhihuishi">队伍管理</Link></div> */}
</div>
<div className={styles.leftTop}></div>
<div className={styles.rightTop}></div>
<div className={styles.leftBottom}></div>
<div className={styles.rightBottom}></div>
</div>
</Card>
</div>
}
}
export default Center1
\ No newline at end of file
%icon {
position: absolute;
width: (93rem / 16);
height: (93rem / 16);
}
.content {
background-color: #ccc;
}
.circle {
display: flex;
justify-content: center;
align-items: center;
flex: 1;
position: relative;
padding: (50rem / 16) 0;
}
.circleBg {
// width: (600rem / 16);
width: 100%;
height: (600rem / 16);
display: flex;
justify-content: center;
align-items: center;
position: relative;
color: #fff;
background: url(@assets/dashboard/centerCircle_guanyinshan_circle.png) no-repeat center center;
background-size: 98%;
}
.img {
width: 96%;
}
a {
color: #fff;
text-decoration: none;
&:hover {
color: #fff;
}
}
.main1 {
position: absolute;
left: (130rem / 16);
top: (68rem / 16);
font-size: (20rem / 16);
font-weight: bold;
transform: rotate(-29deg);
cursor: pointer;
}
.main2 {
position: absolute;
left: (260rem / 16);
top: (35rem / 16);
font-weight: bold;
font-size: (20rem / 16);
cursor: pointer;
}
.main3 {
position: absolute;
left: (390rem / 16);
top: (70rem / 16);
font-size: (20rem / 16);
font-weight: bold;
transform: rotate(30deg);
cursor: pointer;
}
.main4 {
position: absolute;
left: (475rem / 16);
top: (150rem / 16);
font-size: (20rem / 16);
font-weight: bold;
transform: rotate(57deg);
cursor: pointer;
}
.subMenu1 {
font-size: (16rem / 16);
left: (165rem / 16);
top: (102rem / 16);
transform: rotate(-29deg);
}
.subMenu2 {
font-size: (16rem / 16);
left: (270rem / 16);
top: (77rem / 16);
}
.subMenu3 {
font-size: (16rem / 16);
left: (372rem / 16);
top: (104rem / 16);
transform: rotate(30deg);
}
.subMenu1, .subMenu2, .subMenu3 {
position: absolute;
cursor: pointer;
& > a {
text-decoration: inherit;
color: #fff;
// &:hover, &:active {
// color: #4296fc;
// }
}
}
.leftTop {
@extend %icon;
left: (15rem / 16);
top: (15rem / 16);
background: url(@assets/dashboard/leftTop.png) no-repeat;
background-size: 100% 100%;
}
.rightTop {
@extend %icon;
right: (15rem / 16);
top: (15rem / 16);
background: url(@assets/dashboard/rightTop.png) no-repeat;
background-size: 100% 100%;
}
.leftBottom {
@extend %icon;
left: (15rem / 16);
bottom: (15rem / 16);
background: url(@assets/dashboard/leftBottom.png) no-repeat;
background-size: 100% 100%;
}
.rightBottom {
@extend %icon;
right: (15rem / 16);
bottom: (15rem / 16);
background: url(@assets/dashboard/rightBottom.png) no-repeat;
background-size: 100% 100%;
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'circle': string;
'circleBg': string;
'content': string;
'img': string;
'leftBottom': string;
'leftTop': string;
'main1': string;
'main2': string;
'main3': string;
'main4': string;
'rightBottom': string;
'rightTop': string;
'subMenu1': string;
'subMenu2': string;
'subMenu3': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card';
import Table from '@components/Table';
import * as style from './style.scss'
export interface Center2Props {
}
function More() {
return <a className={style.more} href="#">查看更多>></a>
}
class Center2 extends React.Component<Center2Props, {}> {
render() {
return <div className={style.content}>
<Card>
<Table img={require('./icon.png')} title={'社区警务'} headerMore={More}>
<div className={style.lineContent}>
<div className={style.line}>
<div className={style.lineItem}></div>
<div className={style.lineItem}>入户调查</div>
<div className={style.lineItem}>巡逻盘查</div>
<div className={style.lineItem}>重点单位</div>
<div className={style.lineItem}>居住证办理</div>
<div className={style.lineItem}>现实表现</div>
</div>
<div className={style.line}>
<div className={style.lineItem}>当日排查</div>
<div className={style.lineItem}>12</div>
<div className={style.lineItem}>13</div>
<div className={style.lineItem}>5</div>
<div className={style.lineItem}>183</div>
<div className={style.lineItem}>8</div>
</div>
<div className={style.line}>
<div className={style.lineItem}>当月排查</div>
<div className={style.lineItem}>8</div>
<div className={style.lineItem}>56</div>
<div className={style.lineItem}>18</div>
<div className={style.lineItem}>12</div>
<div className={style.lineItem}>8</div>
</div>
<div className={style.line}>
<div className={style.lineItem}>勤务数量</div>
<div className={style.lineItem}>10</div>
<div className={style.lineItem}>72</div>
<div className={style.lineItem}>24</div>
<div className={style.lineItem}>16</div>
<div className={style.lineItem}>8</div>
</div>
</div>
</Table>
</Card>
</div>
}
}
export default Center2
\ No newline at end of file
.content {
margin-top: 20rem / 16;
flex: 1;
.more {
color: #fff;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
.lineContent {
height: 100%;
display: flex;
flex-direction: column;
}
}
.line {
display: flex;
color: #b6deff;
align-items: center;
border-bottom: 1px solid #116cb2;
height: 34rem / 16;
// &:last-child {
// // border-bottom: 0;
// }
.lineItem {
flex: 1;
text-align: center;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'line': string;
'lineContent': string;
'lineItem': string;
'more': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Table from '@components/Table'
import * as style from './style.scss'
export interface Left1Props {
}
export default class Left1 extends React.Component<Left1Props, {}> {
state = {
active: 0,
}
// 指挥长: 侯志君
// 综合勤务: 顾佳佳
// 巡逻处警:董建飞、包健慷、王文兵
// 办案区:吉祥、顾森涵、池天宇、乙合义
// 应急备勤:郭文杰、邵长生
// 帮看看名字有没打错?[憨笑]
constructor(props: any) {
super(props)
}
handleTabClick(active: number) {
this.setState({
active
})
}
render() {
var { active } = this.state
return <div className={style.content}>
<Card>
<Table img={require('./icon.png')} title={'智慧勤务'}>
<div className={style.leftTab}>
<div className={style.tabHeader}>
<div onClick={e => this.handleTabClick(0)} className={style.tab + ' ' + (active === 0 ? style.active : '')}>常态勤务</div>
<div onClick={e => this.handleTabClick(1)} className={style.tab + ' ' + (active === 1 ? style.active : '')}>加强勤务</div>
</div>
{
active === 0
? <div className={style.tabContent}>
<div className={style.list}>
<span className={style.listLeader}>指挥长:</span>
<span>侯志君</span>
</div>
<div className={style.list}>
<span className={style.listLeader}>值班:</span>
<span>乙合义</span>
</div>
</div>
: null
}
{
active === 1
? <div className={style.tabContent}>
<div className={style.list}>
<span className={style.listLeader}>指挥长:</span>
<span>侯志君</span>
</div>
<div className={style.list}>
<span className={style.listLeader}>值班:</span>
<span>董建飞、包健慷</span>
</div>
</div>
: null
}
<div className={style.tabFooter}>
<div onClick={e => this.handleTabClick(0)} className={style.footItem + ' ' + (active === 0 ? style.active : '')}></div>
<div onClick={e => this.handleTabClick(1)} className={style.footItem + ' ' + (active === 1 ? style.active : '')}></div>
</div>
</div>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
flex: 170;
.leftTab {
height: 100%;
box-sizing: border-box;
padding: (12rem / 16) 0;
font-size: (14rem / 16);
display: flex;
flex-direction: column;
justify-content: space-between;
.tabHeader {
width: (160rem / 16);
margin: 0 auto;
margin-bottom: 1rem;
display: flex;
border: 1px solid #20a0f2;
border-radius: 5px;
background: #1f6198;
.tab {
flex: 1;
height: (28rem / 16);
line-height: (28rem / 16);
text-align: center;
cursor: pointer;
&.active {
background: #1782dc;
}
}
}
.tabContent {
display: flex;
justify-content: center;
font-size: (18rem / 16);
.listLeader {
color: #4296fc;
}
.list {
&:not(:first-child) {
margin-left: (65rem / 16);
}
}
}
.tabFooter {
display: flex;
justify-content: center;
.footItem {
width: (12rem / 16);
height: (12rem / 16);
border-radius: 10000000px;
background: rgba(255, 255, 255, .3);
cursor: pointer;
&:not(:first-child) {
margin-left: (12rem / 16);
}
&.active {
background: #1adbfe;
}
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'active': string;
'content': string;
'footItem': string;
'leftTab': string;
'list': string;
'listLeader': string;
'tab': string;
'tabContent': string;
'tabFooter': string;
'tabHeader': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface StickerProps {
themeColor: string;
title: string;
amount: string | number;
}
export default class Sticker extends React.Component<StickerProps, {}> {
render() {
const { themeColor, title, amount } = this.props
return <div className={style.content}>
<div className={style.left} style={{borderLeftColor: themeColor}}>
<span className={style.title}>{title}</span>
<span className={style.amount} style={{color: themeColor}}>{amount}</span>
</div>
</div>
}
}
\ No newline at end of file
.content {
border: 1px solid #064485;
border-radius: 2px;
flex: 1;
margin: 0 (20rem / 16);
background: rgba(4, 53, 109, .8);
.left {
border-left: 8px solid #064485;
padding: 8 / 15rem 0 5 / 15rem 8 / 15rem;
font-size: (14rem / 16);
.title {
color: #7ab8ff;
}
.amount {
margin-left: 5 / 15rem;
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'amount': string;
'content': string;
'left': string;
'title': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Table from '@components/Table'
import Sticker from './Sticker/Sticker'
import * as style from './style.scss'
export interface Left2Props {
}
export default class Left2 extends React.Component<Left2Props, {}> {
render() {
return <div className={style.content}>
<Card>
<Table img={require('./icon.png')} title={'辖区现状'}>
<div className={style.lists}>
<div className={style.list}>
<Sticker title="人口总数" themeColor="#5dce59" amount="10.38万"></Sticker>
<Sticker title="常住人口" themeColor="#eb9175" amount="70210"></Sticker>
<Sticker title="暂住人口" themeColor="#e24615" amount="33590"></Sticker>
</div>
<div className={style.list}>
<Sticker title="辖区面积" themeColor="#f50a8f" amount="38km2"></Sticker>
<Sticker title="社区数量" themeColor="#17c6c2" amount="18"></Sticker>
<Sticker title="宾馆数量" themeColor="#0671de" amount="21"></Sticker>
</div>
<div className={style.list}>
<Sticker title="警务室数" themeColor="#332ef9" amount="18"></Sticker>
<Sticker title="民警数量" themeColor="#602cc0" amount="41"></Sticker>
<Sticker title="辅警数量" themeColor="#bcf254" amount="173"></Sticker>
</div>
</div>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
margin-top: (20rem / 16);
flex: 200;
.lists {
height: 100%;
display: flex;
flex-direction: column;
.list {
flex: 1;
display: flex;
justify-content: space-around;
align-items: center;
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'list': string;
'lists': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as echarts from 'echarts'
import Card from '@components/Card'
import Table from '@components/Table'
import { addInterFn, removeInterFn } from '@utils/index'
import ZhsModal from '@components/ZhsModal';
import * as style from './style.scss'
export interface Left1Props {
}
export default class Left1 extends React.Component<Left1Props, {}> {
state = {
sumline1: {
theme: '#1adbfe',
icon: 'icon1',
title: '刑事案件',
anjianSum: 21,
anjianIng: 24,
anjianLeft: 24,
catchNum: 5
},
sumline2: {
theme: '#18cf90',
icon: 'icon2',
title: '行政案件',
anjianSum: 24,
anjianIng: 2,
anjianLeft: 3,
catchNum: 1
},
daily: {
ZDJQ: 0,
GZJQ: 1
},
month: {
ZDJQ: 0,
GZJQ: 1
},
showToast: false
}
pieContent: any = null;
componentWillMount() {
}
componentDidMount() {
this.renderPie()
this.fetchJingQing = this.fetchJingQing.bind(this)
this.fetchJingQing()
// addInterFn(this.fetchJingQing, 10)
}
componentWillUnmount () {
removeInterFn(this.fetchJingQing)
}
fetchJingQing() {
let self = this
fetch('http://50.88.20.34:8081/jksj/dpsj/jqquery.action').then((response: any) => {
return response.json()
}).then((data) => {
if(data.code === '0') {
self.setState({
daily: data.result.DAY,
month: data.result.MONTH
})
}
self.renderPie()
})
}
renderPie() {
const resizePercent: number = (window as any)['resizePercent']
var option: echarts.EChartOption = {
color: ['#fc8e31', '#35dbdf'],
title: {
show: false,
},
tooltip: {
trigger: 'item',
formatter: "{a} <br/>{b} : {c} ({d}%)",
},
legend: {
x: 'left',
y: 'top',
orient: 'vertical',
data: ['重点警情', '关注警情'],
itemWidth: 9,
itemHeight: 9,
textStyle: {
color: '#b6deff',
fontSize: 16 * resizePercent
}
},
toolbox: {
show: false
},
series: [
{
name: '警情',
type: 'pie',
radius: ['20%', '50%'],
// roseType: 'radius',
data: [
{ value: this.state.daily.ZDJQ, name: '重点警情' },
{ value: this.state.daily.GZJQ, name: '关注警情' }
],
label: {
formatter: [
'{a|{c}}',
'{b|{b}}'
].join('\n'),
rich: {
a: {
fontSize: 32 * resizePercent,
lineHeight: 10,
align: 'center'
},
b: {
height: 25,
}
}
}
}
]
}
var myChart = echarts.init(this.pieContent)
myChart.setOption(option)
myChart.on('click', (params: any) => {
if(params.name === '关注警情') {
this.setState({
showToast: true
})
}
})
}
closeModal() {
this.setState({
showToast: false
})
}
render() {
return <div className={style.content}>
<Card>
<div className={style.all}>
<div className={style.jingqingTable}>
<Table img={require('./icon.png')} title={'警情态势'}>
<div className={style.pieContent}>
<div className={style.pie} ref={dom => this.pieContent = dom}></div>
<div className={style.pieTable}>
<div className={style.line}>
<div className={style.item}>警情</div>
<div className={style.item}>今日</div>
<div className={style.item}>本月</div>
</div>
<div className={style.line}>
<div className={style.item}>关注</div>
<div className={style.item}>{this.state.daily.GZJQ}</div>
<div className={style.item}>{this.state.month.GZJQ}</div>
</div>
<div className={style.line}>
<div className={style.item}>重点</div>
<div className={style.item}>{this.state.daily.ZDJQ}</div>
<div className={style.item}>{this.state.month.ZDJQ}</div>
</div>
</div>
</div>
</Table>
</div>
</div>
</Card>
<ZhsModal title="关注警情" showModal={this.state.showToast} onClose={this.closeModal.bind(this)}>
<p>2019年04月06日14时01分22秒,江苏省南通市崇川区观音山镇通富路与通甲路老双毛毯厂着火,民警速至现场,此处为冯建春(32062419760322715X 电话13739144730)的织布厂操作车间发生火灾,具体原因不详,现场过火面积100平方左右,操作车间内的损失待进一步核实,民警现场维持秩序,协助消防救援,民警通知报警人陈夕梅(320624197011207163 电话15996585898),车间工人葛云芳(320624197506057187 电话13912298094)及冯建春到所进一步调查。</p>
</ZhsModal>
</div>
}
}
\ No newline at end of file
.content {
margin-top: (20rem / 16);
flex: 390;
.all {
flex: 1;
display: flex;
height: 100%;
flex-direction: column;
.jingqingTable {
flex: 227;
display: flex;
.pieContent {
height: 100%;
display: flex;
align-items: center;
.pie {
flex: 380;
height: 100%;
}
.pieTable {
flex: 145;
color: #b6deff;
height: (90rem / 16);
display: flex;
flex-direction: column;
border-bottom: 1px solid #116cb2;
margin-right: (20rem / 16);
.line {
flex: 1;
display: flex;
align-items: center;
border: 1px solid #116cb2;
border-bottom: 0;
.item {
flex: 1;
text-align: center;
}
}
}
}
}
.anjingSum {
flex: 198;
margin-top: (6rem / 16);
border: 1px solid #022e62;
display: flex;
flex-direction: column;
justify-content: space-around;
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'all': string;
'anjingSum': string;
'content': string;
'item': string;
'jingqingTable': string;
'line': string;
'pie': string;
'pieContent': string;
'pieTable': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import CountUp from 'react-countup'
import * as style from './style.scss'
export interface SumLineProps {
config: any
}
export default class SumLine extends React.Component<SumLineProps, {}> {
render() {
const { config } = this.props
const colorStyle = {
color: config.theme,
borderColor: config.theme
}
return <div className={style.sumLine}>
<div className={style.iconBag}>
<div className={style.icon + ' ' + style[config.icon]}></div>
<div className={style.title}>{config.title}</div>
</div>
<div className={style.sumContent}>
<div className={style.sumDetail}>
<div className={style.detailBorder}
style={colorStyle}>
<span className={style.mainTxt}><CountUp end={config.anjianSum}></CountUp></span>
</div>
<div className={style.detailTitle}>{config.subtitle1}</div>
</div>
<div className={style.sumDetail}>
<div className={style.detailBorder}
style={colorStyle}>
<span className={style.mainTxt}><CountUp end={config.anjianIng}></CountUp></span>
<span className={style.subTxt}>/<CountUp end={config.anjianLeft}></CountUp></span>
</div>
<div className={style.detailTitle}>{config.subtitle2}</div>
</div>
<div className={style.sumDetail}>
<div className={style.detailBorder}
style={colorStyle}>
<span className={style.mainTxt}><CountUp end={config.catchNum}></CountUp></span>
</div>
<div className={style.detailTitle}>{config.subtitle3}</div>
</div>
</div>
</div>
}
}
\ No newline at end of file
.sumLine {
flex: 1;
display: flex;
justify-content: space-around;
align-items: center;
.iconBag {
.icon {
width: (68rem / 16);
height: (68rem / 16);
&.icon1 {
background: url('./sumIcon1.png') no-repeat;
background-size: cover;
}
&.icon2 {
background: url('./sumIcon2.png') no-repeat;
background-size: cover;
}
}
.title {
color: #1adbfe;
font-size: (14rem / 16);
margin-top: (5rem / 16);
}
}
.sumContent {
display: flex;
height: 100%;
justify-content: space-between;
align-content: center;
.sumDetail {
flex: 1;
margin-right: (30rem / 16);
display: flex;
flex-direction: column;
justify-content: center;
.detailBorder {
border: 1px solid #0e79a0;
width: (92rem / 16);
height: (49rem / 16);
line-height: (49rem / 16);
text-align: center;
.mainTxt {
font-size: (36rem / 16);
}
.subTxt {
font-size: (18rem / 16);
}
}
.detailTitle {
color: #fff;
text-align: center;
font-size: (14rem / 16);
margin-top: (5rem / 16);
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'detailBorder': string;
'detailTitle': string;
'icon': string;
'icon1': string;
'icon2': string;
'iconBag': string;
'mainTxt': string;
'subTxt': string;
'sumContent': string;
'sumDetail': string;
'sumLine': string;
'title': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Table from '@components/Table'
import SumLine from './SumLine/SumLine'
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
import * as style from './style.scss'
export interface Left1Props {
}
export default class Left1 extends React.Component<Left1Props, {}> {
state = {
sumline1: {
theme: '#1adbfe',
icon: 'icon1',
title: '刑事案件',
subtitle1: '案件数',
subtitle2: '在办/抓获',
subtitle3: '抓捕/起诉',
anjianSum: 21,
anjianIng: 24,
anjianLeft: 24,
catchNum: 5
},
sumline2: {
theme: '#18cf90',
icon: 'icon2',
title: '行政案件',
subtitle1: '案件数',
subtitle2: '在办/抓获',
subtitle3: '处罚人数',
anjianSum: 24,
anjianIng: 2,
anjianLeft: 3,
catchNum: 1
}
}
pieContent: any = null;
componentDidMount() {
// this.renderPie = this.renderPie.bind(this)
// this.renderPie()
// addInterFn(this.renderPie.bind(this), 10)
}
componentWillUnmount () {
// removeInterFn(this.renderPie)
}
renderPie() {
let numberOfcases = getRandomNum(10, 50);
let numberOfWork = getRandomNum(10, 50);
this.setState({
sumline1: {
theme: '#1adbfe',
icon: 'icon1',
title: '刑事案件',
subtitle1: '案件数',
subtitle2: '在办/抓获',
subtitle3: '抓捕/起诉',
anjianSum: getRandomNum(10, 50),
anjianIng: getRandomNum(10, 50),
anjianLeft: getRandomNum(10, 50),
catchNum: getRandomNum(10, 50)
},
sumline2: {
theme: '#18cf90',
icon: 'icon2',
title: '行政案件',
subtitle1: '案件数',
subtitle2: '在办/抓获',
subtitle3: '处罚人数',
anjianSum: getRandomNum(10, 50),
anjianIng: getRandomNum(10, 50),
anjianLeft: getRandomNum(10, 50),
catchNum: getRandomNum(10, 50)
}
})
}
render() {
return <div className={style.content}>
<Card>
<div className={style.all}>
<div className={style.jingqingTable}>
<Table img={require('./icon.png')} title={'案件态势'}>
<div className={style.anjingSum}>
<SumLine config={this.state.sumline1}></SumLine>
<SumLine config={this.state.sumline2}></SumLine>
</div>
</Table>
</div>
</div>
</Card>
</div>
}
}
\ No newline at end of file
.content {
margin-top: (20rem / 16);
flex: 330;
.all {
flex: 1;
display: flex;
height: 100%;
flex-direction: column;
.jingqingTable {
flex: 227;
display: flex;
.pieContent {
height: 100%;
display: flex;
align-items: center;
.pie {
flex: 380;
height: 100%;
}
.pieTable {
flex: 145;
color: #b6deff;
height: (90rem / 16);
display: flex;
flex-direction: column;
border-bottom: 1px solid #116cb2;
margin-right: (20rem / 16);
.line {
flex: 1;
display: flex;
align-items: center;
border: 1px solid #116cb2;
border-bottom: 0;
.item {
flex: 1;
text-align: center;
}
}
}
}
}
.anjingSum {
height: 100%;
margin-top: (6rem / 16);
border: 1px solid #022e62;
display: flex;
flex-direction: column;
justify-content: space-around;
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'all': string;
'anjingSum': string;
'content': string;
'item': string;
'jingqingTable': string;
'line': string;
'pie': string;
'pieContent': string;
'pieTable': string;
}
declare var cssExports: CssExports;
export = cssExports;
/**
* Created by zr02718 on 2018/8/29.
*/
import * as React from 'react'
import * as style from './style.scss'
const WEEK_NAMES = ['周一', '周二', '周三', '周四', '周五', '周六', '周日']
const LINES = [1,2,3,4,5,6]
const MONTH_DAYS = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
export interface CalendarProps {
year: number;
month: number;
}
const date = new Date()
const year = date.getFullYear()
const month = date.getMonth()
export default class Calendar extends React.Component<CalendarProps, any> {
static defaultProps = {
year: year,
month: month
}
state = {
month: 0,
year: 0,
currentDate: new Date()
}
componentWillMount() {
// this.setCurrentYearMonth(this.state.currentDate)
}
setCurrentYearMonth(date: Date) {
var month = Calendar.getMonth(date)
var year = Calendar.getFullYear(date)
this.setState({
month,
year
})
}
static getMonth(date: Date): number{
return date.getMonth()
}
static getFullYear(date: Date): number{
return date.getFullYear()
}
static getCurrentMonthDays(month: number): number {
return MONTH_DAYS[month]
}
static getWeeksByFirstDay(year: number, month: number): number {
var date = Calendar.getDateByYearMonth(year, month)
return date.getDay()
}
/**
* 获取日历天
* @param line 当前行数,从0开始
* @param weekIndex 当前行索引 从0开始
* @param weekDay 当前月份第一天周几,从周日算起
* @param monthDays 当前月份一共多少天
*/
static getDayText(
line: number,
weekIndex: number,
weekDay: number,
monthDays: number,
year: number,
month: number
): any {
// 先获取大于等于1的天数,减去本月一号的周几,因为从周一开始,需要再加1
if (weekDay === 0) {
var number = ((line -1) * 7 + weekIndex + 1) - weekDay + 1
} else {
var number = (line * 7 + weekIndex + 1) - weekDay + 1
}
if ( number <= 0) {
return <span className={style.disabeld}>{Calendar.getDayBefore(number, year, month)}</span>
}
if (number > monthDays) {
return <span className={style.disabeld}>{number - monthDays}</span>
}
return number
}
static getDayBefore(day: number, year: number, month: number) {
var date = new Date()
date.setFullYear(year)
date.setMonth(month)
date.setDate(day)
return date.getDate()
}
static formatNumber(num: number): string {
var _num = num + 1
return _num < 10 ? `0${_num}` : `${_num}`
}
static getDateByYearMonth(year: number, month: number, day: number=1): Date {
var date = new Date()
date.setFullYear(year)
date.setMonth(month, day)
return date
}
checkToday(line: number, weekIndex: number, weekDay: number, monthDays: number): Boolean {
var { year, month } = this.props
var day = Calendar.getDayText(line, weekIndex, weekDay, monthDays, year, month)
var date = new Date()
var todayYear = date.getFullYear()
var todayMonth = date.getMonth()
var todayDay = date.getDate()
return year === todayYear && month === todayMonth && day === todayDay
}
monthChange(monthChanged: number) {
var { month, year } = this.props
var monthAfter = month + monthChanged
var date = Calendar.getDateByYearMonth(year, monthAfter)
this.setCurrentYearMonth(date)
}
render() {
var { year, month } = this.props
var monthDays = Calendar.getCurrentMonthDays(month)
var weekDay = Calendar.getWeeksByFirstDay(year, month)
return (<div className={style.content}>
<table cellPadding={0} cellSpacing={0} className={style.table}>
{/* <caption>
<div className="caption-header">
<span className="arrow" onClick={this.monthChange.bind(this, -1)}>&#60;</span>
<span>{year} - {Calendar.formatNumber(month)}</span>
<span className="arrow" onClick={this.monthChange.bind(this, 1)}>&gt;</span>
</div>
</caption> */}
<thead>
<tr>
{
WEEK_NAMES.map((week, key) => {
return <td key={key}>{week}</td>
})
}
</tr>
</thead>
<tbody>
{
LINES.map((l, key) => {
return <tr key={key}>
{
WEEK_NAMES.map((week, index) => {
return <td key={index} className={(this.checkToday(key, index, weekDay, monthDays) ? style.today : '')}>
<div className={style.tdContent}>{Calendar.getDayText(key, index, weekDay, monthDays, year, month)}</div>
</td>
})
}
</tr>
})
}
</tbody>
</table>
</div>)
}
}
\ No newline at end of file
.content {
height: 100%;
.table {
width: 100%;
height: 100%;
border: 1px solid #116cb2;
thead {
tr {
background: rgba(122, 184, 255, .15);
color: #2c90f7;
td {
padding: (5rem / 16) 0;
}
}
}
td {
text-align: center;
vertical-align: middle;
}
tbody {
tr {
td {
color: #fff;
.tdContent {
display: inline-block;
padding: (2rem / 16);
}
.disabeld {
opacity: 0.6;
}
&.today {
.tdContent {
border-radius: 50%;
background: rgba(235, 112, 37, 1);
text-align: center;
width: (16rem / 16);
height: (16rem / 16);
line-height: (16rem / 16);
text-align: center;
color: #fff;
cursor: pointer;
box-shadow:0px 0px 28px #fff;
}
}
}
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'disabeld': string;
'table': string;
'tdContent': string;
'today': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Calendar from './Canlendar'
import Table from '@components/Table'
import { number } from 'prop-types';
import * as style from './style.scss'
export interface Right3Props { }
const date = new Date()
const year = date.getFullYear()
const month = date.getMonth()
export default class Right3 extends React.Component<Right3Props, {}> {
state: any = {
year,
month
}
changeMonth(flag: number) {
var newMonth = this.state.month + flag
var date = new Date()
date.setFullYear(this.state.year)
date.setMonth(newMonth, 1)
this.setState({
year: date.getFullYear(),
month: date.getMonth()
})
}
render() {
var { year, month } = this.state
return <div className={style.content}>
<Card>
<Table img={require('./icon.png')} title={'敏感日历'} contentBorder={false}>
<div className={style.calendarContent}>
<div className={style.action}>
<div onClick={() => this.changeMonth(-1)} className={style.actionItem + ' ' + style.top}></div>
<div className={style.actionMonth}>
<div>{month + 1}</div>
<div className={style.year}>{year}</div>
</div>
<div onClick={() => this.changeMonth(1)} className={style.actionItem + ' ' + style.bottom}></div>
</div>
<div className={style.calendar}>
<Calendar year={year} month={month}></Calendar>
</div>
<div className={style.events}>
<div className={style.header}>本月事件列表</div>
<div className={style.line}>
<div className={style.item}>日期</div>
<div className={style.item}>事件类型</div>
<div className={style.item}>应对类型</div>
</div>
<div className={style.line}>
<div className={style.item}>12/13</div>
<div className={style.item}>国家公祭日</div>
<div className={style.item}>治安维稳</div>
</div>
<div className={style.line}>
<div className={style.item}>12/24</div>
<div className={style.item}>平安夜</div>
<div className={style.item}>治安维稳</div>
</div>
<div className={style.line}>
<div className={style.item}>12/31</div>
<div className={style.item}>元旦</div>
<div className={style.item}>治安维稳</div>
</div>
</div>
</div>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
flex: 215;
.calendarContent {
display: flex;
flex: 1;
.action {
flex: 40;
display: flex;
flex-direction: column;
background: rgba(17, 108, 178, .3);
.actionItem {
flex: (14rem / 16);
cursor: pointer;
&.top {
background: url(./top.png) no-repeat center center;
}
&.bottom {
background: url(./bottom.png) no-repeat center center;
}
}
.actionMonth {
flex: (137rem / 16);
border-top: 1px solid #042f60;
border-bottom: 1px solid #042f60;
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: (14rem / 16);
.year {
margin-top: 1rem;
font-weight: bold;
}
}
}
.calendar {
flex: 325;
margin-left: (6rem / 16);
}
.events {
flex: 175;
margin-left: (6rem / 16);
display: flex;
flex-direction: column;
font-size: (14rem / 16);
.header {
flex: 1;
color: #2c90f7;
display: flex;
align-items: center;
border: 1px solid #116cb2;
padding-left: (15rem / 16);
background: rgba(122, 184, 255, .15);
}
.line {
flex: 1;
display: flex;
color: #b6deff;
font-size: (12rem / 16);
align-items: center;
border: 1px solid #116cb2;
border-top: 0;
.item {
flex: 1;
text-align: center;
white-space: nowrap;
}
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'action': string;
'actionItem': string;
'actionMonth': string;
'bottom': string;
'calendar': string;
'calendarContent': string;
'content': string;
'events': string;
'header': string;
'item': string;
'line': string;
'top': string;
'year': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as echarts from 'echarts'
import Card from '@components/Card'
import Table from '@components/Table'
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
import * as style from './style.scss'
export interface Left2Props {
}
export default class Left2 extends React.Component<Left2Props, {}> {
pieContent: any = null;
componentDidMount() {
this.renderPie = this.renderPie.bind(this)
this.renderPie()
// addInterFn(this.renderPie.bind(this), 10)
}
componentWillUnmount () {
removeInterFn(this.renderPie)
}
renderPie() {
const resizePercent: number = (window as any)['resizePercent']
var option: echarts.EChartOption = {
color: ['#f7584e', '#0196fe', '#ac5bea', '#18cf8f', '#ffcb00'],
title: {
show: false,
},
tooltip: {
trigger: 'item',
formatter: "{b} : {c} ({d}%)",
},
legend: {
show: false,
x: 'left',
y: 'top',
orient: 'vertical',
data: ['刑事拘留', '治安拘留', '逮捕', '取保候审', '移交诉讼'],
textStyle: {
color: '#b6deff'
}
},
toolbox: {
show: false
},
series: [
{
type: 'pie',
radius: ['20%', '50%'],
roseType: 'radius',
data: [
{ value: 23, name: '刑事拘留' },
{ value: 0, name: '治安拘留' },
{ value: 5, name: '逮捕' },
{ value: 0, name: '取保候审' },
{ value: 3, name: '移交诉讼' }
],
label: {
formatter: [
'{a|{c}}',
'{b|{b}}'
].join('\n'),
rich: {
a: {
fontSize: 32 * resizePercent,
lineHeight: 10,
align: 'center'
},
b: {
height: 25,
}
}
}
}
]
}
var myChart = echarts.init(this.pieContent)
myChart.setOption(option)
}
render() {
return <div className={style.content}>
<Card>
<Table img={require('./icon.png')} title={'法制质态'} contentBorder={false}>
<div className={style.pie} ref={dom => this.pieContent = dom}></div>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
margin-top: (20rem / 16);
flex: 318;
.pie {
height: 100%;
overflow: hidden;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'pie': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as echarts from 'echarts'
import Card from '@components/Card'
import Table from '@components/Table'
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
import * as style from './style.scss'
export interface Left2Props {
}
export default class Left2 extends React.Component<Left2Props, {}> {
barContent: any = null;
componentDidMount() {
this.renderBar = this.renderBar.bind(this)
this.renderBar()
// addInterFn(this.renderBar.bind(this), 10)
}
componentWillUnmount () {
removeInterFn(this.renderBar)
}
mockArray() {
let mockArray = []
for(let i = 0; i < 10; i++) {
mockArray.push(getRandomNum(0, 20))
}
return mockArray
}
renderBar() {
var option: echarts.EChartOption = {
grid: {
top: '15%',
bottom: '1%',
right: '1%',
left: '1%',
show: false,
containLabel: true
},
xAxis: {
axisLabel: {
color: '#b6deff',
interval: 0,
fontSize: 10,
formatter: (data: any) => {
var _dataArray = data.split('')
var midLength = Math.floor((_dataArray.length) / 2)
_dataArray.splice(midLength, 0, '\n')
return _dataArray.join('')
}
},
type: 'category',
data: ['在控在位', '失联失控', '上访途中', '人在外地', '在京在控', '在京失控', '其他'],
axisLine: {
show: true,
lineStyle: {
color: '#116cb2'
}
},
axisTick: {
show: false
}
},
yAxis: {
axisLabel: {
color: '#b6deff'
},
axisLine: {
show: true,
lineStyle: {
color: '#116cb2'
}
},
splitLine: {
show: false
},
axisTick: {
show: false
},
type: 'value'
},
series: [{
data: [9, 4, 1, 3, 3, 8, 2],
// data: this.mockArray(),
type: 'bar',
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#21eced'},
{offset: 1, color: '#7236df'}
]
)
}
},
label: {
normal: {
show: true,
position: 'top',
color: '#b6deff'
}
},
barWidth: '30%'
}]
}
var myChart = echarts.init(this.barContent)
myChart.setOption(option)
}
render() {
return <div className={style.content}>
<Card>
<Table img={require('./icon.png')} title={'管控质态'} contentBorder={false}>
<div className={style.bar} ref={dom => this.barContent = dom}></div>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
margin-top: (20rem / 16);
flex: 320;
.bar {
height: 100%;
overflow: hidden;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'bar': string;
'content': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import BigBg from '@components/BigBg/BigBg'
import Left1 from './Left1'
import Left2 from './Left2'
import Left3 from './Left3'
import Left4 from './Left4'
import Center1 from './Center1'
import Center2 from './Center2'
import Right1 from './Right1'
import Right2 from './Right2'
import Right3 from './Right3'
import * as style from './style.scss'
export interface HomeProps {
}
class Home extends React.Component<HomeProps, {}> {
render() {
return (
<div className={style.content}>
<div className={style.left}>
<Left1></Left1>
<Left2></Left2>
<Left3></Left3>
<Left4></Left4>
</div>
<div className={style.center}>
<Center1></Center1>
<Center2></Center2>
</div>
<div className={style.right}>
<Right1></Right1>
<Right2></Right2>
<Right3></Right3>
</div>
</div>
)
}
}
export default Home;
\ No newline at end of file
.content {
display: flex;
height: 100%;
overflow: hidden;
.left {
flex: 585;
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.center {
flex: 680;
margin-left: (20rem / 16);
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.right {
flex: 585;
margin-left: (20rem / 16);
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'center': string;
'content': string;
'left': string;
'right': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
const icon1 = require('@assets/fazhi/bottom_icon1.png')
const icon2 = require('@assets/fazhi/bottom_icon2.png')
const icon3 = require('@assets/fazhi/bottom_icon3.png')
const icon4 = require('@assets/fazhi/bottom_icon4.png')
const icon5 = require('@assets/fazhi/bottom_icon5.png')
const icon6 = require('@assets/fazhi/bottom_icon6.png')
const icon7 = require('@assets/fazhi/bottom_icon7.png')
const icon8 = require('@assets/fazhi/bottom_icon8.png')
function cardProblem(p: any) {
return <div className={style.card}>
<div className={style.cardIcon}>
<img src={p.icon}/>
</div>
<div className={style.cardContent}>
<div className={style.cardNums}>
<div className={style.cardAmount}>{p.amount}</div>
<div className={style.cardUnit}>{p.unit}</div>
</div>
<div className={style.notice}>{p.des}</div>
</div>
</div>
}
export interface BottomProps {
}
export default class Bottom extends React.Component<BottomProps, {}> {
state: any = {
showToast: false,
toastContent: 'J3206026319040800031未上传涉警音视频 ',
p1: {
icon: icon1,
amount: 0,
unit: '条',
des: '案件质量问题数量'
},
p2: {
icon: icon2,
amount: 0,
unit: '起',
des: '接处警'
},
p3: {
icon: icon3,
amount: 0,
unit: '起',
des: '刑事案件'
},
p4: {
icon: icon4,
amount: 0,
unit: '起',
des: '行政(治安)案件'
},
p5: {
icon: icon5,
amount: 0,
unit: '条',
des: '未按规定导入电子笔录'
},
p6: {
icon: icon6,
amount: 0,
unit: '起',
des: '流传网上法律文字'
},
p7: {
icon: icon7,
amount: 0,
unit: '起',
des: '办公区纸网不一致'
},
p8: {
icon: icon8,
amount: 0,
unit: '起',
des: '文按规定录入通讯网络诈骗小平台案件'
}
}
toastHandler(e: any) {
console.log(e)
this.setState({
showToast: !this.state.showToast
})
}
render() {
const { p1, p2, p3, p4, p5, p6, p7, p8 } = this.state
return <div className={style.content}>
<div className={style.left}>
<div className={style.leftIcon}>
<div className={style.numContent} onClick={this.toastHandler.bind(this)}>
<div className={style.amount}>1</div>
<div className={style.unit}></div>
</div>
</div>
</div>
<div className={style.right}>
<div className={style.line}>
{cardProblem(p1)}
{cardProblem(p2)}
{cardProblem(p3)}
{cardProblem(p4)}
</div>
<div className={style.line}>
{cardProblem(p5)}
{cardProblem(p6)}
{cardProblem(p7)}
{cardProblem(p8)}
</div>
</div>
{
this.state.showToast && (
<div>
<div className={style.mask} onClick={this.toastHandler.bind(this)}></div>
<div className={style.toastWrap}>
<p>{this.state.toastContent}</p>
</div>
</div>
)
}
</div>
}
}
\ No newline at end of file
.content {
flex: 370;
display: flex;
.mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, .6);
z-index: 98;
}
.toastWrap {
width: 800px;
height: 400px;
position: fixed;
top: 50%;
left: 50%;
margin: -200px 0 0 -400px;
background-color: rgba(7, 24, 57, .96);
border: 1px solid rgba(68, 214, 255, .6);
z-index: 99;
p {
color: #fff;
line-height: 30px;
padding: 15px;
font-size: 18px;
}
}
.left {
flex: 560;
display: flex;
justify-content: center;
align-items: center;
.leftIcon {
width: (501rem / 16);
height: (293rem / 16);
background: url(./titleIcon.png) no-repeat;
background-size: cover;
.numContent {
display: flex;
justify-content: center;
padding-right: (20rem / 16);
align-items: flex-end;
margin-top: (55rem / 16);
cursor: pointer;
.amount {
font-size: (60rem / 16);
}
.unit {
font-size: (24rem / 16);
}
}
}
}
.right {
flex: 1310;
display: flex;
flex-direction: column;
padding-right: (80rem / 16);
.line {
display: flex;
flex: 1;
&:not(:first-child) {
margin-top: (10rem / 16);
}
.card {
flex: 1;
border: 1px solid #116cb2;
&:not(:first-child) {
margin-left: (10rem / 16);
}
display: flex;
.cardIcon {
width: (120rem / 16);
display: flex;
align-items: center;
justify-content: center;
img {
width: (56rem / 16);
}
}
.cardContent {
display: flex;
flex-direction: column;
.cardNums {
flex: 100;
font-weight: bold;
display: flex;
justify-content: center;
align-items: flex-end;
padding-bottom: (20rem / 16);
.cardAmount {
font-size: (48rem / 16);
}
.cardUnit {
font-size: (18rem / 16);
padding-bottom: (5rem / 16);
padding-left: (10rem / 16);
}
}
.notice {
flex: 70;
text-align: center;
padding: 0 (10rem / 16);
line-height: 140%;
color: #b6deff;
}
}
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'amount': string;
'card': string;
'cardAmount': string;
'cardContent': string;
'cardIcon': string;
'cardNums': string;
'cardUnit': string;
'content': string;
'left': string;
'leftIcon': string;
'line': string;
'mask': string;
'notice': string;
'numContent': string;
'right': string;
'toastWrap': string;
'unit': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface TopProps {
}
export default class Top extends React.Component<TopProps, {}> {
render() {
return <div className={style.content}>
<div className={style.item1}></div>
<div className={style.item2}>
<div className={style.number}>52</div>
<div className={style.unit}>万元</div>
</div>
<div className={style.item3}>
<div className={style.number}>5</div>
<div className={style.unit}></div>
</div>
<div className={style.item4}>
<div className={style.number}>112</div>
<div className={style.unit}></div>
</div>
</div>
}
}
\ No newline at end of file
.content {
flex: 350;
display: flex;
align-items: flex-end;
justify-content: space-around;
padding-bottom: (100rem / 16);
.item1 {
width: (284rem / 16);
height: (335rem / 16);
background: url(@assets/fazhi/icon1.png) no-repeat;
background-size: cover;
}
.item2 {
width: (261rem / 16);
height: (305rem / 16);
background: url(@assets/fazhi/icon2.png) no-repeat;
background-size: cover;
}
.item3 {
width: (261rem / 16);
height: (305rem / 16);
background: url(@assets/fazhi/icon3.png) no-repeat;
background-size: cover;
}
.item4 {
width: (261rem / 16);
height: (305rem / 16);
background: url(@assets/fazhi/icon4.png) no-repeat;
background-size: cover;
}
.number {
text-align: center;
font-size: (60rem / 16);
font-weight: bold;
margin-top: (112rem / 16);
}
.unit {
text-align: center;
font-size: (24rem /16);
margin-top: (5rem / 16);
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'item1': string;
'item2': string;
'item3': string;
'item4': string;
'number': string;
'unit': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Table from '@components/Table'
import Top from './Top/Top'
import Bottom from './Bottom/Bottom'
import * as style from './style.scss'
export interface FaZhiProps {
}
export default class FaZhi extends React.Component<FaZhiProps, {}> {
render() {
return <div className={style.content}>
<Card>
<Table img={require('@assets/icon.png')} title={'智慧法制'} headerBorder={false} contentBorder={false}>
<div className={style.fazhiContent}>
<Top></Top>
<Bottom></Bottom>
</div>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
height: 100%;
display: flex;
flex-direction: column;
.fazhiContent {
height: 100%;
display: flex;
flex-direction: column;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'fazhiContent': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import { BrowserRouter, Route, NavLink } from 'react-router-dom';
import DropDown from '@components/DropDown';
import * as style from './style.scss'
export interface HeaderProps {
}
function plusZero(num: number): string | number {
if (num < 10) {
return '0' + num
}
return num
}
class Header extends React.Component<HeaderProps, {}> {
state = {
time: '',
}
interval: any = 0
componentDidMount() {
this.setTime()
this.startInterval()
}
componentWillUnmount() {
clearInterval(this.interval)
}
getCurrentTime() {
var date = new Date()
var year = date.getFullYear()
var month = plusZero(date.getMonth() + 1)
var day = plusZero(date.getDate())
var hour = plusZero(date.getHours())
var minute = plusZero(date.getMinutes())
var second = plusZero(date.getSeconds())
return `${year}-${month}-${day} ${hour}:${minute}:${second}`
}
startInterval() {
this.interval = setInterval(() => {
this.setTime()
}, 1000)
}
setTime() {
this.setState
({
time: this.getCurrentTime()
})
}
hoverHandler() {
}
render() {
return (
<div className={style.header}>
<div className={style.loginName}>{this.state.time} 欢迎您 Admin</div>
<div className={style.biaoyu + ' ' + style.biaoyuMargin}>
<DropDown title={'对党忠诚'} subtitles={[{id: 1, title: '智慧维稳', url: 'weiwen'}]}></DropDown>
</div>
<div className={style.biaoyu + ' ' + style.biaoyuMargin2}>
<DropDown title={'服务人民'} subtitles={[{id: 2, title: '社区管控', url: 'shequ'}]}></DropDown>
</div>
<div className={style.jinghui}>
<NavLink strict to="/">
<div className={style.jinghuiImg}></div>
<div className={style.bigTitle}>观音山派出所智慧综合指挥室</div>
</NavLink>
</div>
<div className={style.biaoyu + ' ' + style.biaoyuMargin3}>
<DropDown title={'执法公正'} subtitles={[{id: 3, title: '合成侦查', url: 'zhencha'}, {id: 4, title: '重点警情', url: 'jingqing'}, {id: 5, title: '智慧法制', url: 'fazhi'}]}></DropDown>
</div>
<div className={style.biaoyu + ' ' + style.biaoyuMargin4}>
<DropDown title={'纪律严明'} subtitles={[{id: 6, title: '队伍管理', url: 'zhihuishi'}, {id: 7, title: '投诉计分', url: '_blank', uri: 'http://10.36.45.1:8082'}]}></DropDown>
</div>
</div>
)
}
}
export default Header;
\ No newline at end of file
.header {
height: (54rem / 16);
background: url('@assets/bg.png') no-repeat 0 0;
background-size: 100% 100%;
margin-top: (15rem / 16);
line-height: (48rem / 16);
z-index: 99;
position: absolute;
top: 0;
left: 0;
width: 100%;
.bigTitle {
color: #1ADBFE;
font-size: (25rem /16);
}
.loginName {
color: #fff;
width: 19.5%;
text-align: center;
float: left;
}
.biaoyu {
width: (115rem / 16);
color: #ffb602;
text-align: center;
font-size: (20rem / 16);
float: left;
font-weight: bold;
}
.biaoyuMargin {
width: 10%;
}
.biaoyuMargin2 {
width: 7.5%;
}
.biaoyuMargin3 {
width: 8%;
}
.biaoyuMargin4 {
width: 9.3%;
}
.jinghui {
position: relative;
width: 26%;
height: 100%;
float: left;
a {
display: block;
padding-left: (90rem / 16);
text-decoration: none;
}
.jinghuiImg {
position: absolute;
left: 30px;
top: 2px;
display: inline-block;
width: (50rem / 16);
height: (49rem / 16);
background: url('@assets/jinghui.png') no-repeat;
background-size: cover;
margin: 0 auto;
margin-top: (-8rem / 16);
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'biaoyu': string;
'biaoyuMargin': string;
'biaoyuMargin2': string;
'biaoyuMargin3': string;
'biaoyuMargin4': string;
'bigTitle': string;
'header': string;
'jinghui': string;
'jinghuiImg': string;
'loginName': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import { HashRouter as Router, Switch, Route } from 'react-router-dom'
import { hot } from 'react-hot-loader'
import Error from '@components/Error'
import BigBg from '@components/BigBg/BigBg'
import Header from './Header'
import * as style from './style.scss'
import menu, { asynchronousComponents } from './menu'
// import Left1 from './Left1'
// import Left2 from './Left2'
// import Left3 from './Left3'
// import Left4 from './Left4'
// import Center1 from './Center1'
// import Center2 from './Center2'
// import Right1 from './Right1'
// import Right2 from './Right2'
// import Right3 from './Right3'
export interface HomeProps {
}
function Home() {
return (
<BigBg>
<Header />
<Router>
<Switch>
{menu.map(m => {
if (!m.path) {
return null
}
return (
<Route
key={m.id}
exact={m.exact}
path={m.path}
component={m.component ? asynchronousComponents[m.component] : null}
/>
)
})}
<Route component={Error} />
</Switch>
</Router>
</BigBg>
)
}
export default hot(module)(Home);
\ No newline at end of file
import Loadable from 'react-loadable'
import PageLoading from '@components/PageLoading'
const loadComponent = (loader: () => Promise<any>) =>
Loadable({
loader,
loading: PageLoading
})
export const asynchronousComponents = {
Dashboard: loadComponent(() => import(/* webpackChunkName: "dashboard" */ '@views/Dashboard')),
JingQing: loadComponent(() => import(/* webpackChunkName: "jingqing" */ '@views/JingQing')),
WeiWen: loadComponent(() => import(/* webpackChunkName: "weiwen" */ '@views/WeiWen')),
SheQu: loadComponent(() => import(/* webpackChunkName: "shequ" */ '@views/SheQu')),
ZhenCha: loadComponent(() => import(/* webpackChunkName: "zhencha" */ '@views/ZhenCha')),
FaZhi: loadComponent(() => import(/* webpackChunkName: "fazhi" */ '@views/FaZhi')),
ZhihuiShi: loadComponent(() => import(/* webpackChunkName: "zhihuishi" */ '@views/ZhihuiShi')),
LieGuanMap: loadComponent(() => import(/* webpackChunkName: "lieguan" */ '@views/LieGuanMap')),
}
// 所有路由的key
export type AsynchronousComponentKeys = keyof typeof asynchronousComponents
export interface IMenu {
title: string
id: number
pid?: number
path?: string
icon?: string
component?: AsynchronousComponentKeys
exact?: boolean
}
export interface IMenuInTree extends IMenu {
children?: IMenuInTree[]
}
export const menu: IMenu[] = [
{
id: 0,
path: '/',
title: '首页',
component: 'Dashboard',
exact: true
},{
id: 1,
title: '对党忠诚',
icon: 'dashboard'
},{
id: 11,
pid: 1,
path: '/weiwen',
title: '智慧维稳',
icon: 'dashboard',
component: 'WeiWen',
exact: true
},{
id: 2,
title: '服务人民',
icon: 'dashboard'
},{
id: 21,
pid: 2,
path: '/shequ',
title: '社区管控',
icon: 'dashboard',
component: 'SheQu',
exact: true
},{
id: 3,
title: '执法公正',
icon: 'dashboard'
},{
id: 31,
pid: 3,
path: '/zhencha',
title: '合成侦查',
icon: 'dashboard',
component: 'ZhenCha',
exact: true
},{
id: 32,
pid: 3,
path: '/jingqing',
title: '重点警情',
icon: 'dashboard',
component: 'JingQing',
exact: true
},{
id: 33,
pid: 3,
path: '/fazhi',
title: '智慧法制',
icon: 'dashboard',
component: 'FaZhi',
exact: true
},{
id: 4,
title: '纪律严明',
icon: 'dashboard'
},{
id: 41,
pid: 4,
path: '/zhihuishi',
title: '队伍管理',
icon: 'dashboard',
component: 'ZhihuiShi',
exact: true
},{
id: 42,
pid: 4,
title: '投诉计分',
icon: 'dashboard',
component: 'Dashboard',
exact: true
},
{
id: 5,
path: '/lieguanMap',
title: '市内轨迹',
icon: 'dashboard',
component: 'LieGuanMap',
}
]
export default menu
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface CallBackProps {
list?: Array<Object>
}
export default class CallBack extends React.Component<CallBackProps, {}> {
static defaultProps = {
}
render() {
return <div className={style.content}>
{
this.props.list && this.props.list.map((item: any, key: number) => {
return <div key={key} className={style.line}>
<div className={style.lineItem} style={{flex: 2}}>{item.title}</div>
<div className={style.lineItem} style={{flex: 1}}>{item.status}</div>
<div className={style.lineItem} style={{flex: 1}}>{item.date}</div>
</div>
})
}
</div>
}
}
\ No newline at end of file
.content {
height: 100%;
display: flex;
flex-direction: column;
box-sizing: border-box;
padding: (10rem / 16);
.line {
flex: 1;
font-size: (14rem / 16);
color: #b6deff;
display: flex;
align-items: center;
border: 1px solid #2472bf;
border-bottom: 0;
&:last-of-type{
border-bottom: 1px solid #2472bf;
}
.lineItem {
text-align: center;
&:first-child {
text-align: left;
padding-left: (20rem / 16);
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'line': string;
'lineItem': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as echarts from 'echarts'
import Card from '@components/Card'
import Table from '@components/Table'
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
import * as style from './style.scss'
export interface Left1Props {
}
export default class Left1 extends React.Component<Left1Props, {}> {
pieContent1: any = null;
pieContent2: any = null;
state = {
sentimentFeedBack1: 10,
sentimentFeedBack2: 18,
sentimentRecive1: 32,
sentimentRecive2: 22,
showToast: false
}
componentDidMount() {
// 简单的接警数(总数)= 已反馈+未反馈
this.renderPie = this.renderPie.bind(this)
this.renderPie(this.pieContent1, '#1adbfe', 1, 38)
this.renderPie(this.pieContent2, '#07e898', 0, 45)
// addInterFn(this.renderPie.bind(this, this.pieContent1, '#1adbfe'), 10)
// addInterFn(this.renderPie.bind(this, this.pieContent2, '#1adbfe'), 10)
}
componentWillUnmount () {
// removeInterFn(this.renderPie)
}
renderPie(content: any, color: string, num1: number, num2: number) {
this.setState({
sentimentFeedBack1: getRandomNum(26, 30),
sentimentFeedBack2: getRandomNum(30, 50),
sentimentRecive1: getRandomNum(10, 33),
sentimentRecive2: getRandomNum(30, 90),
})
var option: echarts.EChartOption = {
title : {
show: false,
},
tooltip : {
show: false,
trigger: 'item',
formatter: "{b} : {c} ({d}%)",
},
legend: {
show: false,
},
toolbox: {
show : false
},
graphic:{
type:'group',
left:'center',
top:'center',
children: [
{
type: 'text',
style: {
text: num1,
fill: color,
font: ' bolder 22px cursive',
y: -15,
x: 5,
}
},
{
type: 'text',
style: {
text: '/' + num2,
fill: color,
x: 16,
y: -7
}
},
{
type: 'text',
style: {
text: '未反馈',
fill: color,
y: 5
}
}
]
// style:{
// text:'24/60\n未反馈',
// textAlign:'center',
// fill: color,
// width:30,
// height:30
// }
},
series : [
{
type:'pie',
radius : ['60%', '70%'],
data:[
{
value: getRandomNum(30, 100),
name:'已接警',
selected: false,
itemStyle: {
color: color
}
},
{
value: getRandomNum(10, 50),
selected: false,
name:'已反馈',
itemStyle: {
opacity: 0
}
},
],
labelLine: {
show: false
},
label: {
show: false
}
}
]
}
var myChart = echarts.init(content)
myChart.setOption(option)
}
toastHandler(e: any) {
console.log(e)
this.setState({
showToast: !this.state.showToast
})
}
render() {
// let {sentimentFeedBack1, sentimentFeedBack2, sentimentRecive1, sentimentRecive2} = this.state
return <div className={style.content}>
<Card headerImg>
<Table img={require('../icon.png')} title={'警情处置'} headerBorder={false} contentBorder={false}>
<div className={style.lineContent}>
<div className={style.item + ' ' + style.cur}>
<div className={style.title}>当班</div>
<div className={style.pieChart} onClick={this.toastHandler.bind(this)} ref={dom => this.pieContent1 = dom}></div>
<div className={style.nums}>
<div className={style.amount}>37</div>
<div className={style.des}>已反馈</div>
</div>
<div className={style.nums}>
<div className={style.amount}>38</div>
<div className={style.des}>已接警</div>
</div>
</div>
<div className={style.item + ' ' + style.before}>
<div className={style.title}>前班</div>
<div className={style.pieChart} ref={dom => this.pieContent2 = dom}></div>
<div className={style.nums}>
<div className={style.amount}>45</div>
<div className={style.des}>已反馈</div>
</div>
<div className={style.nums}>
<div className={style.amount}>45</div>
<div className={style.des}>已接警</div>
</div>
</div>
</div>
</Table>
</Card>
{
this.state.showToast && (
<div>
<div className={style.mask} onClick={this.toastHandler.bind(this)}></div>
<div className={style.toastWrap}>
<p>2019年04月09日11时00分00秒,江苏省南通市崇川区观音山镇德诚翰景园西门报称有人阻止其汽车停在此处,且其朋友被对方打了。</p>
</div>
</div>
)
}
</div>
}
}
\ No newline at end of file
.content {
flex: 298;
.mask {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, .6);
z-index: 98;
}
.toastWrap {
width: 800px;
height: 400px;
position: fixed;
top: 50%;
left: 50%;
margin: -200px 0 0 -400px;
background-color: rgba(7, 24, 57, .96);
border: 1px solid rgba(68, 214, 255, .6);
z-index: 99;
p {
color: #fff;
line-height: 30px;
padding: 15px;
font-size: 18px;
}
}
.lineContent {
height: 100%;
display: flex;
flex-direction: column;
.item {
flex: 1;
display: flex;
align-items: center;
.title {
flex: 60;
text-align: center;
}
.pieChart {
flex: 140;
height: 100%;
}
.nums {
flex: 80;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.amount {
font-size: (36rem / 16);
}
.des {
font-size: (14rem / 16);
color: #b6deff;
margin-top: (10rem / 16);
}
}
&.cur {
.amount {
color: #1adbfe;
}
}
&.before {
.amount {
color: #07e898;
}
}
}
}
}
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'amount': string;
'before': string;
'content': string;
'cur': string;
'des': string;
'item': string;
'lineContent': string;
'mask': string;
'nums': string;
'pieChart': string;
'title': string;
'toastWrap': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Table from '@components/Table'
import CallBackList from '../CallBackList/Callback'
import * as style from './style.scss'
function More() {
return <a className={style.more} href="#">查看更多>></a>
}
export interface Left2Props {
}
export default class Left2 extends React.Component<Left2Props, {}> {
state: any = {
list: [{
title: '弘阳上城4幢楼下地下车库482号车位,报称此处苏EV8L36汽车被撞了',
status: '已反馈',
date: '8时46分58秒'
},{
title: '恒盛豪庭5号楼,报称其父亲停在此处的电瓶车被偷(几年前花2000多元购买)',
status: '已反馈',
date: '8时55分47秒'
},{
title: '太平路世纪大道路口东南角工地上,报称此处汽吊车吊东西时撞了驾驶室',
status: '已反馈',
date: '9时19分04秒'
},{
title: '观畅路世伦路口西边碧桂园工地办公区门口,报称有四五个人在此处讨要工资,现引发纠纷,其被对方拦着不让走',
status: '已反馈',
date: '09时45分43秒'
}]
}
render() {
return <div className={style.content}>
<Card>
<Table img={require('../icon.png')} title={'当班警情'} headerMore={More} headerBorder={false} contentBorder={false}>
<CallBackList list={this.state.list}></CallBackList>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
margin-top: (20rem / 16);
flex: 250;
.more {
color: #fff;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'more': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Table from '@components/Table'
import CallBackList from '../CallBackList/Callback'
import * as style from './style.scss'
function More() {
return <a className={style.more} href="#">查看更多>></a>
}
export interface Left3Props {
}
export default class Left3 extends React.Component<Left3Props, {}> {
state: any = {
list: [{
title: '汽车东站,报警人称其早上送母亲(王建平,18862759316)在该处乘坐黑车去外地,中途联系母亲称被黑车司机甩客,现一直联系不上,担心出事,求助',
status: '已反馈',
date: '2时28分44秒'
},{
title: '同和佳苑16栋附近,报称其苏F170K0汽车撞了此处苏F6693V汽车和苏FB202B汽车',
status: '已反馈',
date: '8时11分36秒'
},{
title: '青龙桥社区9组,报称此处未拆迁,其家四个门、八个铝合金窗户被盗,报警人在社区等民警',
status: '已反馈',
date: '4月08日18时38分15秒'
},{
title: '德诚翰景园2-906,报称早上6:50其小孩(彭雨含,14岁,男孩,未去上学,穿红色外套,蓝白色裤子,黑色运动鞋)出门后至现未归,求助民警',
status: '已反馈',
date: '8日22时34分56秒'
}]
}
render() {
return <div className={style.content}>
<Card>
<Table img={require('../icon.png')} title={'前班警情'} headerMore={More} headerBorder={false} contentBorder={false}>
<CallBackList list={this.state.list}></CallBackList>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
margin-top: (20rem / 16);
flex: 250;
.more {
color: #fff;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'more': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
import Left from './Left'
import Center from './Center'
import Right from './Right'
export interface BottomProps {
}
export default class Bottom extends React.Component<BottomProps, {}> {
render() {
return <div className={style.content}>
<Left></Left>
<Center></Center>
<Right></Right>
</div>
}
}
\ No newline at end of file
import * as React from 'react'
import * as echarts from 'echarts'
import * as style from './style.scss'
export interface CenterProps {
}
export default class Center extends React.Component<CenterProps, {}> {
pieContent: any = null;
componentDidMount() {
this.renderPie()
}
renderPie() {
var option: echarts.EChartOption = {
tooltip: {
show: false
},
legend: {
show: false
},
radar: {
shape: 'circle',
name: {
textStyle: {
color: '#b6deff',
fontSize: 14
}
},
indicator: [
{ name: '8类警情', max: 6500},
{ name: '火灾', max: 16000},
{ name: '非道路交通事故', max: 30000}
],
radius: '55%',
splitLine: {
lineStyle: {
color: '#17b5e0',
}
},
splitArea: {
show: false
},
axisLine: {
lineStyle: {
color: '#17b5e0',
}
}
},
series: [{
type: 'radar',
label: {
show: false
},
// areaStyle: {normal: {}},
data : [
{
value : [4300, 10000, 28000],
name : '8类警情',
areaStyle: {
color: {
type: 'linear',
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [{
offset: 0, color: '#ffc100' // 0% 处的颜色
}, {
offset: 1, color: '#bd6044' // 100% 处的颜色
}],
globalCoord: false // 缺省为 false
}
},
lineStyle: {
color: '#36e5bb'
},
itemStyle: {
color: '#36e5bb'
}
}
]
}]
}
var myChart = echarts.init(this.pieContent)
myChart.setOption(option)
}
render() {
return <div className={style.content} ref={dom => this.pieContent = dom}></div>
}
}
\ No newline at end of file
.content {
flex: 410;
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface LeftProps {
}
export default class Left extends React.Component<LeftProps, {}> {
state: any = {
list: [{
words: '刀、枪、毒 ',
counts: 12,
percent: '下降10.5%↓'
},{
words: '打、砸、抢↓',
counts: 18,
percent: '下降12%↓'
},{
words: '自杀 ',
counts: 6,
percent: '下降20%↓'
},{
words: '上访 ',
counts: 8,
percent: '下降15%↓'
},{
words: '火 ',
counts: 11,
percent: '上升16%↑'
},{
words: '聚众闹事↓',
counts: 26,
percent: '下降11%↓'
},{
words: '封门、堵门↓',
counts: 8,
percent: '上升17%↑'
}]
}
render() {
return <div className={style.content}>
<div className={style.header + ' ' + style.line}>
<div className={style.item}>热词</div>
<div className={style.item}>次数</div>
<div className={style.item}>同比</div>
</div>
{
this.state.list.map((item: any, key: number) => {
return <div key={key} className={style.line}>
<div className={style.item}>{item.words}</div>
<div className={style.item}>{item.counts}</div>
<div className={style.item + ' ' + style.up}>{item.percent}</div>
</div>
})
}
</div>
}
}
\ No newline at end of file
.content {
flex: 380;
display: flex;
flex-direction: column;
margin-left: (20rem / 16);
.line {
flex: 1;
display: flex;
align-items: center;
color: #b6deff;
border: 1px solid #2472bf;
border-top: 0;
.item {
flex: 1;
display: flex;
justify-content: center;
&.up {
color: #29ea9e;
}
&.down {
color: #eb4d4d;
}
}
&.header {
border-top: 1px solid #2472bf;
color: #fff;
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'down': string;
'header': string;
'item': string;
'line': string;
'up': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface RightProps {
}
export default class Right extends React.Component<RightProps, {}> {
state: any = {
list: [{
vicRes: '苏果盗窃案 ',
date: ' 04-08 6:23',
recive: '顾佳佳',
type: '侵财案件 ',
vicData: ''
},{
vicRes: '0406电瓶车被盗案 ',
date: ' 04-06 7:53',
recive: '王文兵',
type: '侵财案件 ',
vicData: ''
},{
vicRes: '0406施威被诈骗案 ',
date: '04-06 7:53',
recive: '王文兵',
type: '侵财案件 ',
vicData: ''
},{
vicRes: '张美霞汽车被划案 ',
date: '04-03 8:23',
recive: '黄建飞',
type: '毁财案件 ',
vicData: ''
},{
vicRes: '0403顾京文被诈骗案 ',
date: '04-03 14:21',
recive: '包健慷',
type: '侵财案件 ',
vicData: ''
},{
vicRes: '陈晓波财物被盗案件 ',
date: '04-02 08:32',
recive: '杨冬波',
type: '侵财案件 ',
vicData: ''
},{
vicRes: '宋胜航财物被盗案 ',
date: '04-01 6:32',
recive: '申阳',
type: '侵财案件 ',
vicData: ''
}]
}
render() {
return <div className={style.content}>
<div className={style.header}>
<div>警情列表</div>
<div>查看更多>></div>
</div>
<div className={style.line}>
<div className={style.item}></div>
<div className={style.item + ' ' + style.time}>战果</div>
<div className={style.item + ' ' + style.time}>时间</div>
<div className={style.item}>接处警人</div>
<div className={style.item}>类型</div>
<div className={style.item}>形成战果</div>
</div>
{
[1,1,1,1,1,1,1].map((item, key) => {
return <div key={key} className={style.line}>
<div className={style.item + ' '
+ (key === 0 ? style.spe1 : key == 2 ? style.spe2 : '')}>
{
key === 0 ? '关注★' : ''
}
{
key === 2 ? '重点★' : ''
}
</div>
<div className={style.item + ' ' + style.time}>苏果盗窃案</div>
<div className={style.item + ' ' + style.time}>10-28 22:30</div>
<div className={style.item}>陈忠良</div>
<div className={style.item}>杀人</div>
<div className={style.item + ' ' + style.icon}>
{
key === 0
? <img src={require('./zhanguo1.png')}/>
: null
}
{
key === 3
? <img src={require('./zhanguo2.png')}/>
: null
}
</div>
</div>
})
}
</div>
}
}
\ No newline at end of file
.content {
flex: 600;
display: flex;
flex-direction: column;
margin-right: (20rem / 16);
.header {
flex: 1;
display: flex;
justify-content: space-between;
color: #fff;
font-size: (18rem / 16);
border: 1px solid #2472bf;
align-items: center;
padding: 0 (10rem / 16);
}
.line {
flex: 1;
display: flex;
align-items: center;
color: #b6deff;
border: 1px solid #2472bf;
border-top: 0;
.item {
flex: 1;
padding: 0 0 0 (10rem / 16);
&.spe1 {
color: #ffcc15;
}
&.spe2 {
color: #f14327;
}
&.time {
flex: 2;
}
&.icon {
text-align: center;
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'header': string;
'icon': string;
'item': string;
'line': string;
'spe1': string;
'spe2': string;
'time': string;
}
declare var cssExports: CssExports;
export = cssExports;
.content {
flex: 320;
margin: (40rem / 16) 0;
display: flex;
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
const icon = require('../../../icon.png')
import * as style from './style.scss'
export interface HeaderProps {}
export default class Header extends React.Component<HeaderProps, {}> {
render() {
return <div className={style.content}>
<img className={style.icon} src={icon}/>
<div className={style.title}>{this.props.children}</div>
</div>
}
}
\ No newline at end of file
.content {
display: flex;
align-items: center;
.icon {
width: 1rem;
}
.title {
color: #fff;
font-size: (18rem / 16);
margin-left: (10rem / 16);
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'icon': string;
'title': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as echarts from 'echarts'
import Header from '../Header'
require('echarts-wordcloud')
import * as style from './style.scss'
export interface LeftProps {
}
export default class Left extends React.Component<LeftProps, {}> {
cloudContent: any = null;
componentDidMount() {
this.renderCloud()
}
createRandomItemStyle() {
return {
normal: {
color: function() {
return 'rgb(' + [
Math.round(Math.random() * 255),
Math.round(Math.random() * 255),
Math.round(Math.random() * 255)
].join(',') + ')'
}
}
};
}
renderCloud() {
var chart = echarts.init(this.cloudContent)
var keywords: any = {
"濠滨花苑": 22199,
"刀": 10288,
"网络": 620,
"南通": 274470,
"天然气": 12311,
"大润发": 1206,
"万达": 4885,
"杀人": 32294,
"电话": 18574,
"打架": 38929,
"犯罪": 969,
"砍人": 37517,
"黑中介": 12053,
"打砸抢": 57299,
"交通": 15418,
"闹事": 22905,
"失火": 5146,
"事故": 49487,
"自行车": 33837,
"汽车": 4500,
"滴滴": 5744,
"逃跑": 4840,
"江苏": 232
}
var data = [];
for (var name in keywords) {
data.push({
name: name,
value: Math.sqrt(keywords[name])
})
}
var option = {
series: [ {
type: 'wordCloud',
sizeRange: [10, 100],
rotationRange: [0, 0],
// rotationStep: 45,
gridSize: 2,
shape: 'pentagon',
// maskImage: maskImage,
textStyle: this.createRandomItemStyle(),
data: data.sort(function (a, b) {
return b.value - a.value;
})
} ]
};
chart.setOption(option)
}
render() {
return <div className={style.content}>
<Header>警情画像</Header>
<div className={style.cloundContent} ref={dom => this.cloudContent = dom}></div>
</div>
}
}
\ No newline at end of file
.content {
flex: 600;
display: flex;
flex-direction: column;
.cloundContent {
flex: 1;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'cloundContent': string;
'content': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as echarts from 'echarts'
import Header from '../Header'
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
import * as style from './style.scss'
export interface RightProps {
}
export default class Right extends React.Component<RightProps, {}> {
pieContent1: any = null;
pieContent2: any = null;
pieContent3: any = null;
pieContent4: any = null;
componentDidMount() {
this.renderPie1 = this.renderPie1.bind(this)
this.renderPie2 = this.renderPie2.bind(this)
this.renderPie3 = this.renderPie3.bind(this)
this.renderPie4 = this.renderPie4.bind(this)
this.renderPie1()
this.renderPie2()
this.renderPie3()
this.renderPie4()
// addInterFn(this.renderPie1.bind(this), 10)
// addInterFn(this.renderPie2.bind(this), 10)
// addInterFn(this.renderPie3.bind(this), 10)
// addInterFn(this.renderPie4.bind(this), 10)
}
componentWillUnmount () {
removeInterFn(this.renderPie1)
removeInterFn(this.renderPie2)
removeInterFn(this.renderPie3)
removeInterFn(this.renderPie4)
}
renderPie1() {
var labelLine = {
length: 10,
length2: 5
}
var option: echarts.EChartOption = {
color: ['#1694fc', '#fc278b', '#fee358', '#a4cbd7'],
title: {
show: true,
left: 'center',
bottom: '15%',
text: '黄赌毒',
textStyle: {
color: '#b6deff',
fontSize: 16
}
},
tooltip: {
trigger: 'item',
formatter: "{b} : {c} ({d}%)",
},
legend: {
show: false
},
toolbox: {
show: false
},
graphic: {
type: 'text',
left: 'center',
top: 'center',
style: {
text: '2/11\n58.0%',
textAlign: 'center',
fill: '#a5c3ff',
width: 30,
height: 30
}
},
series: [
{
name: '警情',
type: 'pie',
radius: ['30%', '50%'],
// roseType: 'radius',
data: [
{
value: 2, name: '黄',
labelLine
},
{ value: 11, name: '赌', labelLine },
{ value: 1, name: '毒', labelLine },
{
value: 13,
name: '全',
labelLine: {
show: false
},
label: {
show: false
}
}
],
label: {
formatter: [
'{a|{c}}',
'{b|{b}}'
].join('\n'),
rich: {
a: {
fontSize: 14,
lineHeight: 10,
align: 'center'
},
b: {
height: 25,
}
}
}
}
]
}
var myChart = echarts.init(this.pieContent1)
myChart.setOption(option)
}
renderPie2() {
var labelLine = {
length: 10,
length2: 5
}
var option: echarts.EChartOption = {
color: ['#96da53', '#fe6a1a', '#a4cbd7'],
title: {
show: true,
left: 'center',
bottom: '15%',
text: '涉稳、涉法诉讼',
textStyle: {
color: '#b6deff',
fontSize: 16
}
},
tooltip: {
trigger: 'item',
formatter: "{b} : {c} ({d}%)",
},
legend: {
show: false
},
toolbox: {
show: false
},
graphic: {
type: 'text',
left: 'center',
top: 'center',
style: {
text: '8/12\n58.0%',
textAlign: 'center',
fill: '#a5c3ff',
width: 30,
height: 30
}
},
series: [
{
name: '警情',
type: 'pie',
radius: ['30%', '50%'],
// roseType: 'radius',
data: [
{
value: 8, name: '涉稳',
labelLine
},
{ value: 12, name: '涉法\n诉讼', labelLine },
{
value: 20,
name: '全',
labelLine: {
show: false
},
label: {
show: false
}
}
],
label: {
formatter: [
'{a|{c}}',
'{b|{b}}'
].join('\n'),
rich: {
a: {
fontSize: 14,
lineHeight: 10,
align: 'center'
},
b: {
height: 25,
lineHeight: 18
}
}
}
}
]
}
var myChart = echarts.init(this.pieContent2)
myChart.setOption(option)
}
renderPie3() {
var labelLine = {
show: false
}
var option: echarts.EChartOption = {
color: ['#0d2955', '#f36389'],
title: {
show: true,
left: 'center',
top: 'bottom',
text: '重点场所',
textStyle: {
color: '#b6deff',
fontSize: 12
}
},
tooltip: {
trigger: 'item',
formatter: "{b} : {c} ({d}%)",
},
legend: {
show: false
},
toolbox: {
show: false
},
graphic: {
type: 'text',
left: 'center',
top: 'center',
style: {
text: '1/8\n28.0%',
textAlign: 'center',
fill: '#a5c3ff',
width: 30,
height: 30
}
},
series: [
{
name: '警情',
type: 'pie',
radius: ['40%', '50%'],
startAngle: 180,
// roseType: 'radius',
data: [
{
value: 1, name: '黄',
labelLine,
label: {
show: false
}
},
{
value: 8,
name: '赌',
labelLine,
label: {
show: false
}
}
],
label: {
formatter: [
'{a|{c}}',
'{b|{b}}'
].join('\n'),
rich: {
a: {
fontSize: 24,
lineHeight: 10,
align: 'center'
},
b: {
height: 25,
}
}
}
}
]
}
var myChart = echarts.init(this.pieContent3)
myChart.setOption(option)
}
renderPie4() {
var labelLine = {
show: false
}
var option: echarts.EChartOption = {
color: ['#0d2955', '#32e7e6'],
title: {
show: true,
left: 'center',
top: 'bottom',
text: '企业单位',
textStyle: {
color: '#b6deff',
fontSize: 12
}
},
tooltip: {
trigger: 'item',
formatter: "{b} : {c} ({d}%)",
},
legend: {
show: false
},
toolbox: {
show: false
},
graphic: {
type: 'text',
left: 'center',
top: 'center',
style: {
text: '3/6\n28.0%',
textAlign: 'center',
fill: '#a5c3ff',
width: 30,
height: 30
}
},
series: [
{
name: '警情',
type: 'pie',
radius: ['40%', '50%'],
startAngle: 180,
// roseType: 'radius',
data: [
{
value: 3, name: '黄',
labelLine,
label: {
show: false
}
},
{
value: 6,
name: '赌',
labelLine,
label: {
show: false
}
}
]
}
]
}
var myChart = echarts.init(this.pieContent4)
myChart.setOption(option)
}
render() {
return <div className={style.content}>
<Header>关注警情 (成果数/总数)</Header>
<div className={style.pieList}>
<div className={style.pie} ref={dom => this.pieContent1 = dom}></div>
<div className={style.pie} ref={dom => this.pieContent2 = dom}></div>
<div className={style.pieLayer}>
<div className={style.item} ref={dom => this.pieContent3 = dom}></div>
<div className={style.item} ref={dom => this.pieContent4 = dom}></div>
</div>
</div>
</div>
}
}
\ No newline at end of file
.content {
flex: 800;
display: flex;
flex-direction: column;
.pieList {
flex: 1;
display: flex;
margin-top: (30rem /16);
.pie {
flex: 250;
}
.pieLayer {
flex: 200;
display: flex;
flex-direction: column;
.item {
flex: 1;
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'item': string;
'pie': string;
'pieLayer': string;
'pieList': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Left from './Left'
import Right from './Right'
import * as style from './style.scss'
export interface TopProps {
}
export default class Top extends React.Component<TopProps, {}> {
render() {
return <div className={style.content}>
<Left></Left>
<Right></Right>
</div>
}
}
\ No newline at end of file
.content {
flex: 340;
display: flex;
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Top from './Top/index'
import Bottom from './Bottom/Bottom'
import * as style from './style.scss'
export interface RightProps {
}
export default class Right extends React.Component<RightProps, {}> {
render() {
return <div className={style.content}>
<Card>
<div className={style.topBottom}>
<Top></Top>
<Bottom></Bottom>
</div>
</Card>
</div>
}
}
\ No newline at end of file
.content {
height: 100%;
.topBottom {
height: 100%;
display: flex;
flex-direction: column;
flex: 1;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'topBottom': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
import Left1 from './Left1'
import Left2 from './Left2'
import Left3 from './Left3'
import Right from './Right'
export interface JingQingProps {
}
class JingQing extends React.Component<JingQingProps, {}> {
render() {
return (
<div className={style.content}>
<div className={style.left}>
<Left1></Left1>
<Left2></Left2>
<Left3></Left3>
</div>
<div className={style.right}>
<Right></Right>
</div>
</div>
)
}
}
export default JingQing;
\ No newline at end of file
.content {
display: flex;
height: 100%;
.left {
flex: 410;
display: flex;
flex-direction: column;
height: 100%;
}
.right {
flex: 1448;
margin-left: (24rem /16);
height: 100%;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'left': string;
'right': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface LeftProps {
}
export default class Left extends React.Component<LeftProps, {}> {
render() {
return <div className={style.mapPeople}>
<div className={style.header}>
<div className={style.sumMsg}>
<div className={style.amount}>共21人</div>
<div className={style.msg}>重点人员列管</div>
</div>
<div className={style.sumType}>
<div className={style.icon}></div>
<div className={style.typeList}>
<div className={style.item}>旅馆比中数据 12 条</div>
<div className={style.item}>网吧比中数据 12 条</div>
<div className={style.item}>车辆比中数据 12 条</div>
</div>
</div>
</div>
{
['预警信息', '人力情报线索', '文本情报线索'].map((item, key) => {
return <div key={key} className={style.blockList}>
<div className={style.blockHeader}>
<div className={style.icon}></div>
<div className={style.title}>{item}</div>
</div>
<div className={style.addressList}>
{
[1,1,1].map((item, key) => {
return <div key={key} className={style.line}>
<div className={style.addItem}>
<div className={style.title}>旅馆</div>
<div className={style.amount}>30</div>
</div>
<div className={style.addItem}>
<div className={style.title}>旅馆</div>
<div className={style.amount}>30</div>
</div>
<div className={style.addItem}>
<div className={style.title}>旅馆</div>
<div className={style.amount}>30</div>
</div>
<div className={style.addItem}>
<div className={style.title}>旅馆</div>
<div className={style.amount}>30</div>
</div>
</div>
})
}
</div>
</div>
})
}
<div className={style.table}>
<div className={style.tableHeader}>
<div className={style.item}>人员</div>
<div className={style.item}>性别</div>
<div className={style.item}>状态</div>
<div className={style.item}>人员属性</div>
<div className={style.item}>管控状态</div>
</div>
{
[1,1,1,1,1,1].map((item, key) => {
return <div key={key} className={style.line}>
<div className={style.item}>李达康</div>
<div className={style.item}></div>
<div className={style.item}>36</div>
<div className={style.item}>公民</div>
<div className={style.item}>在控</div>
</div>
})
}
</div>
</div>
}
}
\ No newline at end of file
.mapPeople {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 22.5%;
display: flex;
flex-direction: column;
background: rgba(2, 46, 98, 0.8);
.header {
flex: 120;
display: flex;
.sumMsg {
flex: 165;
background: #183c7f;
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.amount {
font-size: (28rem / 16);
font-weight: bold;
}
.msg {
font-size: (20rem / 16);
margin-top: (20rem / 16);
}
}
.sumType {
flex: 260;
display: flex;
.icon {
width: (26rem / 16);
height: (26rem / 16);
background: url(./iocn1.png) no-repeat;
background-size: cover;
margin: (10rem / 16);
}
.typeList {
flex: 1;
color: #b6deff;
font-size: (20rem / 16);
display: flex;
flex-direction: column;
.item {
flex: 1;
display: flex;
align-items: center;
}
}
}
}
.blockList {
flex: 140;
display: flex;
flex-direction: column;
border:1px solid #116cb2;
border-bottom: 0;
justify-content: stretch;
.blockHeader {
height: (26rem / 16);
border-bottom: 1px solid #116cb2;
display: flex;
color: #fff;
align-items: center;
padding-left: (10rem / 16);
.icon {
width: (12rem / 16);
height: (13rem / 16);
background: url(./icon2.png) no-repeat;
background-size: cover;
margin-right: (10rem / 16);
}
}
.addressList {
flex: 1;
display: flex;
color: #b6deff;
flex-direction: column;
padding-bottom: (10rem / 16);
.line {
flex: 1;
display: flex;
padding-right: (20rem / 16);
margin-top: (10rem / 16);
font-size: (14rem / 16);
font-weight: bold;
.addItem {
flex: 1;
display: flex;
align-items: center;
margin-left: (10rem / 16);
background: #05356a;
border: 1px solid #074b97;
padding-left: (5rem / 16);
.title {
width: (40rem / 16);
}
}
}
}
}
.table {
flex: 305;
border:1px solid #116cb2;
display: flex;
flex-direction: column;
.tableHeader {
flex: 1;
display: flex;
background: #142c6d;
color: #3789f5;
align-items: center;
.item {
flex: 1;
text-align: center;
font-size: (18rem / 16);
}
}
.line {
flex: 1;
display: flex;
color: #b6deff;
color: #3789f5;
align-items: center;
border-top: 1px solid #116cb2;
.item {
flex: 1;
text-align: center;
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'addItem': string;
'addressList': string;
'amount': string;
'blockHeader': string;
'blockList': string;
'header': string;
'icon': string;
'item': string;
'line': string;
'mapPeople': string;
'msg': string;
'sumMsg': string;
'sumType': string;
'table': string;
'tableHeader': string;
'title': string;
'typeList': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
import Left from './Left/index'
import SquareOverlay from './layer';
const centerStarImg = require('@assets/lieguan/center_star_icon.png')
var bigHeadImg1 = require('@assets/lieguan/big_head_img_01.png');
var bigHeadImg2 = require('@assets/lieguan/big_head_img_02.png');
var bigHeadImg3 = require('@assets/lieguan/big_head_img_03.png');
var bigHeadImg4 = require('@assets/lieguan/big_head_img_04.png');
var bigHeadImg5 = require('@assets/lieguan/big_head_img_05.png');
var bigHeadImg6 = require('@assets/lieguan/big_head_img_06.png');
export interface LieGuanMapProps {
}
export default class LieGuanMap extends React.Component<LieGuanMapProps, {}> {
mapContent:any = null;
state = {
memers: [{
center: {lng: 120.86605, lat: 32.051545},
width: 282,
height: 180,
name: '陈龙青',
sex: '男',
age: 18,
attribute: '公民',
status: '列管在控',
thumb: bigHeadImg1,
rotate: 1,
},{
// 120.869356,32.055585
// 120.880567,32.07113
center: {lng: 120.880567, lat: 32.07113},
width: 282,
height: 180,
name: '任怀薇',
sex: '女',
age: 34,
attribute: '公民',
status: '列管在控',
thumb: bigHeadImg2,
rotate: .5
},{
// 120.864756,32.026018
center: {lng: 120.864756, lat: 32.026018},
width: 282,
height: 180,
name: '阳云飞',
sex: '男',
age: 28,
attribute: '公民',
status: '列管在控',
thumb: bigHeadImg3,
rotate: .8
},{
// 120.916211,32.079023
center: {lng: 120.916211, lat: 32.079023},
width: 282,
height: 180,
name: '黄小红',
sex: '女',
age: 14,
attribute: '公民',
status: '列管在控',
thumb: bigHeadImg4,
rotate: .5
},{
// 120.908019,32.052218
center: {lng: 120.908019, lat: 32.908019},
width: 282,
height: 180,
name: '王建本',
sex: '男',
age: 51,
attribute: '公民',
status: '列管在控',
thumb: bigHeadImg5,
rotate: .8
},{
// 120.96048,32.051729
center: {lng: 120.96048, lat: 32.051729},
width: 282,
height: 180,
name: '王飞羽',
sex: '女',
age: 22,
attribute: '公民',
status: '列管在控',
thumb: bigHeadImg6,
rotate: .9
},{
// 120.951138,32.022344
center: {lng: 120.951138, lat: 32.022344},
width: 282,
height: 180,
name: '刘丽丽',
sex: '女',
age: 14,
attribute: '公民',
status: '列管在控',
thumb: bigHeadImg1,
rotate: .5
}]
}
componentDidMount() {
this.renderMap()
}
renderMap() {
var BMap = (window as any)['BMap']
var map = new BMap.Map(this.mapContent, {minZoom:14, maxZoom:18}) //设置卫星图为底图
// 120.821678,32.042639
var point = new BMap.Point(120.86605,32.051545) // 创建点坐标
map.centerAndZoom(point, 14) // 初始化地图,设置中心点坐标和地图级别。
// map.addControl(new BMap.MapTypeControl());
map.addControl(new BMap.NavigationControl())
map.enableScrollWheelZoom(); // 启用滚轮放大缩小。
map.enableKeyboard(); // 启用键盘操作。
// map.disableDragging();
console.log(map.getCenter())
// 添加自定义覆盖物
this.state.memers.map(member => {
var mySquare:any = new SquareOverlay(member);
map.addOverlay(mySquare);
})
// 中心位置五角星
var centerPoint = new BMap.Point(120.923973,32.049525);
var myIcon = new BMap.Icon(centerStarImg, new BMap.Size(87, 87))
var marker2 = new BMap.Marker(centerPoint, {icon: myIcon}) // 创建标注
map.addOverlay(marker2)
}
render() {
return <div className={style.content}>
<div className={style.mapContent} ref={dom => this.mapContent = dom}></div>
<Left></Left>
</div>
}
}
\ No newline at end of file
import * as style from './style.scss'
const cornerIcon = require('@assets/lieguan/corner_icon.png');
const BMap = (window as any)['BMap']
interface memberObj {
center:any,
width: number,
height:number,
name: string,
sex: string,
age: number,
attribute: string,
status: string,
rotate: string,
thumb:any
}
export default class SquareOverlay extends BMap.Overlay{
_center:any;
_width:number;
_height:number;
_name:string;
_sex:string;
_age:string;
_attribute:string;
_status:string;
_rotate: string;
_thumb:any;
_map:any;
_div:any;
constructor(memberObj:any){
super()
this._center = memberObj.center;
this._width = memberObj.width;
this._height = memberObj.height;
this._name = memberObj.name;
this._sex = memberObj.sex
this._age = memberObj.age
this._attribute = memberObj.attribute
this._status = memberObj.status
this._rotate = memberObj.rotate
this._thumb = memberObj.thumb
};
initialize(map:any) {
// 保存map对象实例
this._map = map;
// 创建div元素,作为自定义覆盖物的容器
var layerDiv = document.createElement("div");
layerDiv.className = style.layerItem
layerDiv.style.width = this._width + 'px';
layerDiv.style.height = this._height + 'px';
layerDiv.style.transform = `scale(${this._rotate})`
var bigHeadBgTag = document.createElement('img')
// bigHeadBgTag.className = style.layerIcon
bigHeadBgTag.src = this._thumb
var cornerImgTag = document.createElement('img');
// cornerImgTag.className = style.cornerImg
cornerImgTag.src = cornerIcon
var picDiv = document.createElement("div");
picDiv.className = style.leftPic
picDiv.appendChild(bigHeadBgTag)
var cornerDiv = document.createElement("div");
cornerDiv.className = style.cornerPic
cornerDiv.appendChild(cornerImgTag)
layerDiv.appendChild(cornerDiv)
var tableDiv = document.createElement("div");
tableDiv.className = style.rightTable
var nameDiv = document.createElement("div");
nameDiv.innerHTML = `姓名:${this._name}`
var sexDiv = document.createElement("div");
sexDiv.innerHTML = `性别:${this._sex}`
var ageDiv = document.createElement("div");
ageDiv.innerHTML = `年龄:${this._age}`
var attributeDiv = document.createElement("div");
attributeDiv.innerHTML = `属性:${this._attribute}`
var statusDiv = document.createElement("div");
statusDiv.innerHTML = `状态:${this._status}`
tableDiv.appendChild(nameDiv)
tableDiv.appendChild(sexDiv)
tableDiv.appendChild(ageDiv)
tableDiv.appendChild(attributeDiv)
tableDiv.appendChild(statusDiv)
// 将div添加到覆盖物容器中
map.getPanes().markerPane.appendChild(layerDiv).appendChild(picDiv).appendChild(tableDiv);
// 保存div实例
this._div = layerDiv;
// 需要将div元素作为方法的返回值,当调用该覆盖物的show、
// hide方法,或者对覆盖物进行移除时,API都将操作此元素。
return layerDiv;
}
draw() {
// 根据地理坐标转换为像素坐标,并设置给容器
var position = this._map.pointToOverlayPixel(this._center);
this._div.style.left = position.x - this._width / 2 + "px";
this._div.style.top = position.y - this._height / 2 + "px";
}
show() {
if (this._div){
this._div.style.display = "";
}
}
hide() {
if (this._div){
this._div.style.display = "none";
}
}
toggle() {
if (this._div){
if (this._div.style.display == ""){
this.hide();
}
else {
this.show();
}
}
}
}
\ No newline at end of file
.content{
background: rgba(2, 46, 98, .3);
height: 100%;
border: 1ps solid #02518e;
border-radius: (5rem / 16);
position: relative;
.mapContent {
width: 100%;
height: 100%;
}
}
.layerItem {
position: absolute;
// width: 342px;
// height: 200px;
padding: 70px 30px 30px 30px;
background-color: #ccc;
background: url(@assets/lieguan/layer_bg.png) no-repeat center center;
overflow: hidden;
}
.leftPic {
float: left;
// background-color: red;
width: 96px;
height: 129px;
margin: 5px 0 0 20px;
& > img {
width: 100%;
height: 100%;
}
}
.rightTable {
position: absolute;
right: 0;
top: 0;
width: 160px;
height: 200px;
padding: 70px 0 30px 0;
// background-color: blue;
font-size: 16px;
& > div {
line-height: 28px;
}
}
.cornerPic {
position: absolute;
top: 8px;
left: 15px;
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'cornerPic': string;
'layerItem': string;
'leftPic': string;
'mapContent': string;
'rightTable': string;
}
declare var cssExports: CssExports;
export = cssExports;
@import '_base.scss';
.login {
display: flex;
flex-direction: column;
flex: 1;
justify-content: center;
align-items: center;
background: url('./bg-login-min.gif') no-repeat 0 0 /100% 100%
}
.form {
width: 520px;
height: 320px;
padding: 40px 58px 30px;
background: rgba(0, 0, 0, .3);
border-radius: 9px;
margin-top: 20px;
//box-shadow: 0 0 100px rgba(0, 0, 0, 0.08);
.input_wrapper + .input_wrapper {
margin-top: -8px;
}
.input_wrapper {
.prefix {
color: white;
font-size: 20px;
&:after {
position: absolute;
top: 0;
right: -10px;
content: '';
display: block;
width: 1px;
height: 32px;
background: #d9d9d9;
margin-top:-5px;
}
}
input {
//width:400px;
height: 50px;
color: white;
font-size: 16px;
text-indent: 20px;
background: #004a85;
border: solid 1px #00cee3;
}
}
}
.logoBox {
font-size: 55px;
text-align: center;
margin-bottom: 15px;
}
.tips {
color: white;
font-size: $font-size-base;
margin-top: -8px;
}
.loginbtn {
height: 57px;
margin-top: 20px;
font-size: 26px;
background: #00c8e5;
&:hover {
background: rgba(0, 220, 236, .7)
}
}
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'form': string;
'input_wrapper': string;
'login': string;
'loginbtn': string;
'logoBox': string;
'prefix': string;
'tips': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import {inject, observer} from 'mobx-react'
import {observable, runInAction} from 'mobx'
import {Form, Icon, Input, Button, Checkbox} from 'antd'
import {FormComponentProps} from 'antd/lib/form'
import {hot} from 'react-hot-loader'
import md5 from 'js-md5'
import * as styles from './index.scss'
import {getCookie, setCookie, clearCookie} from '@utils/index'
const FormItem = Form.Item
interface IStoreProps {
routerStore?: RouterStore
login?: (data: IAuthStore.LoginParams) => Promise<any>
}
@inject(
(store: IStore): IStoreProps => {
const {routerStore, authStore} = store
const {login} = authStore
return {
routerStore,
login
}
}
)
@observer
class Login extends React.Component<IStoreProps & FormComponentProps> {
@observable
private loading: boolean = false;
private checked: boolean = !!getCookie("name");
private remeberName: string = getCookie("name") || '';
componentDidMount() {
this.props.form.setFieldsValue({
account: this.remeberName
})
}
submit = (e: React.FormEvent<any>): void => {
e.preventDefault()
this.props.form.validateFields(
async (err, values): Promise<any> => {
if (!err) {
runInAction('SHOW_LOGIN_LOADING', () => {
this.loading = true
});
let params: object = {
username: values.account,
password: md5(values.password)
};
await this.props.login(params)
if (values.remember) {
setCookie("name", this.props.form.getFieldValue('account'))
} else {
clearCookie("name")
}
runInAction('HIDE_LOGIN_LOADING', () => {
this.loading = false
})
}
}
)
}
render() {
const {getFieldDecorator} = this.props.form
return (
<div className={styles.login}>
<Form onSubmit={this.submit} className={styles.form}>
{/*<div className={styles.logoBox}>*/}
{/*<Icon type="ant-design" />*/}
{/*</div>*/}
<FormItem hasFeedback className={styles.input_wrapper}>
{getFieldDecorator('account', {
rules: [
{
required: true, message: " "
}
]
})(
<Input
prefix={<Icon type="user" className={styles.prefix}/>}
placeholder="请输入您的账号"
autoComplete="off"
/>
)}
</FormItem>
<FormItem hasFeedback className={styles.input_wrapper}>
{getFieldDecorator('password', {
rules: [
{
required: true, message: " "
}
]
})(
<Input
prefix={<Icon type="lock" className={styles.prefix}/>}
type="password"
placeholder="密码6-18位"
autoComplete="off"
/>
)}
</FormItem>
<FormItem>
<div className={styles.tips}>
{getFieldDecorator('remember')(
<span><Checkbox defaultChecked={this.checked}/> 记住账号</span>
)}
</div>
<Button type="primary" htmlType="submit" block loading={this.loading}
className={styles.loginbtn}>登录</Button>
</FormItem>
</Form>
</div>
)
}
}
export default hot(module)(Form.create<{}>()(Login))
import * as React from 'react'
import Table from '@components/Table'
import * as style from './style.scss'
export interface CenterProps {}
export default class Center extends React.Component<CenterProps, {}> {
state = {
list: [{
title: '涉恐单位',
isCheck: 4,
unCheck: 0
}, {
title: '涉爆涉危单位',
isCheck: 39,
unCheck: 10
},{
title: '内保单位',
isCheck: 15,
unCheck: 4
},{
title: '易制毒单位',
isCheck: 19,
unCheck: 2
}],
checkedList: [{
id: 1,
name: '南通嘉隆纺织印染有限公司',
nature: '储存、使用',
address: '太平路东邦东区9号楼二楼',
charger: '刘志峰',
phone: '13951301588'
}, {
id: 2,
name: '南通业云纺织有限公司',
nature: '储存、使用',
address: '观音山镇太平北路8号10、11幢',
charger: '蔡捷频',
phone: '18761735319'
}, {
id: 3,
name: '南通科健纺织有限公司',
nature: '储存、使用',
address: '太平北路8号',
charger: '王广均',
phone: '13003537858'
}, {
id: 4,
name: '南通科尔纺织服饰有限公司',
nature: '储存、使用',
address: '观音山太平北路8号',
charger: '王养飞',
phone: '13615230001'
}, {
id: 5,
name: '南通崇川鑫成浆漂厂',
nature: '储存、使用',
address: '观音山科尔厂内',
charger: '卞建兴',
phone: '13270660790'
}, {
id: 6,
name: '南通烟滤嘴有限责任公司',
nature: '储存、使用',
address: '观音山镇胜利路6号',
charger: '陈涨兵',
phone: '85591583'
}, {
id: 7,
name: '南通众凯化工有限公司',
nature: '销售',
address: '创元科技园',
charger: '葛 兵',
phone: '15996545866'
}, {
id: 8,
name: '南通燊爱水处理试剂',
nature: '销售',
address: '太平北路2号汇峰商座3幢801室',
charger: '张海如',
phone: '15190986361'
}, {
id: 9,
name: '南通市观音山水质净化',
nature: '储存、使用',
address: '观音山街道十八弯村十组',
charger: '王炳华',
phone: '13809088690'
}, {
id: 10,
name: '南通市新天景化工有限公司',
nature: '储存、使用',
address: '观音山滨河东城7-301室',
charger: '景晓剑',
phone: '15962908888'
}, {
id: 11,
name: '南通勇红经贸有限公司',
nature: '销售',
address: '东辉花园34幢606室',
charger: '王 勇',
phone: '13815215184'
}, {
id: 12,
name: '江苏宏圣达花边有限公司',
nature: '储存、使用',
address: '太平北路1008号',
charger: '马洪芳',
phone: '13390969858'
}, {
id: 13,
name: '南通东邦纺织品有限公司',
nature: '储存、使用',
address: '观音山镇太平北路999号',
charger: '葛龙德',
phone: '13862805888'
}, {
id: 14,
name: '南通凯腾纺织有限公司',
nature: '储存、使用',
address: '伟业漂染有限公司内',
charger: '阚 建',
phone: '13814659669'
}, {
id: 15,
name: '南通国创检测技术有限公司',
nature: '储存、使用',
address: '胜利路168号',
charger: '陆建栋',
phone: '18962910629'
}, {
id: 16,
name: '科业纺织品有限公司',
nature: '储存、使用',
address: '太平支路8号',
charger: '张文君',
phone: '13390968228'
}, {
id: 17,
name: '科吉纺织有限公司',
nature: '储存、使用',
address: '太平支路8号',
charger: '成拥军',
phone: '13306294948'
}, {
id: 18,
name: '南通邦得纺织有限公司',
nature: '储存、使用',
address: '太平路400号',
charger: '葛忠杰',
phone: '13813606111'
}, {
id: 19,
name: '江苏恒安检测技术有限公司',
nature: '储存、使用',
address: '观音山街道胜利路168号2幛4/5层',
charger: '沈晓东',
phone: '68252901'
}],
showToast: false,
toastContent: '',
hasChecked: 'checked'
}
toastHandler() {
this.setState({
showToast: false
})
}
showDetail( config: any, that: any) {
console.log(config)
if(config.title === '易制毒单位') {
this.setState({
showToast: true,
toastContent: '',
hasChecked: 'checked'
})
}
}
showDetailUn(config: any, that: any) {
console.log(config)
if(config.title === '易制毒单位') {
this.setState({
showToast: true,
toastContent: '',
hasChecked: 'unchecked'
})
}
}
renderUnit(that: any, config: any) {
return <div className={style.unit}>
<div className={style.title}>{config.title}</div>
<div className={style.amountContent}>
<div className={style.item}>
<div className={style.pureNum} onClick={that.showDetail.bind(that)}>
<div className={style.num}>{config.isCheck}</div>
<div className={style.numUnit}></div>
</div>
<div className={style.isCheck}>已检查</div>
</div>
<div className={style.item}>
<div className={style.pureNum} onClick={that.showDetailUn.bind(that)}>
<div className={style.num}>{config.unCheck}</div>
<div className={style.numUnit}></div>
</div>
<div className={style.isCheck}>未检查</div>
</div>
</div>
</div>
}
render() {
const { list } = this.state
return <div className={style.content}>
<div className={style.left}>
<div className={style.unit}>
<div className={style.title}>{list[0].title}</div>
<div className={style.amountContent}>
<div className={style.item}>
<div className={style.pureNum} onClick={this.showDetail.bind(this, list[0])}>
<div className={style.num}>{list[0].isCheck}</div>
<div className={style.numUnit}></div>
</div>
<div className={style.isCheck}>已检查</div>
</div>
<div className={style.item}>
<div className={style.pureNum} onClick={this.showDetailUn.bind(this, list[0])}>
<div className={style.num}>{list[0].unCheck}</div>
<div className={style.numUnit}></div>
</div>
<div className={style.isCheck}>未检查</div>
</div>
</div>
</div>
<div className={style.line}></div>
<div className={style.unit}>
<div className={style.title}>{list[1].title}</div>
<div className={style.amountContent}>
<div className={style.item}>
<div className={style.pureNum} onClick={this.showDetail.bind(this, list[1])}>
<div className={style.num}>{list[1].isCheck}</div>
<div className={style.numUnit}></div>
</div>
<div className={style.isCheck}>已检查</div>
</div>
<div className={style.item}>
<div className={style.pureNum} onClick={this.showDetailUn.bind(this, list[1])}>
<div className={style.num}>{list[1].unCheck}</div>
<div className={style.numUnit}></div>
</div>
<div className={style.isCheck}>未检查</div>
</div>
</div>
</div>
</div>
<div className={style.right}>
<div className={style.unit}>
<div className={style.title}>{list[2].title}</div>
<div className={style.amountContent}>
<div className={style.item}>
<div className={style.pureNum} onClick={this.showDetail.bind(this, list[2])}>
<div className={style.num}>{list[2].isCheck}</div>
<div className={style.numUnit}></div>
</div>
<div className={style.isCheck}>已检查</div>
</div>
<div className={style.item}>
<div className={style.pureNum} onClick={this.showDetailUn.bind(this, list[2])}>
<div className={style.num}>{list[2].unCheck}</div>
<div className={style.numUnit}></div>
</div>
<div className={style.isCheck}>未检查</div>
</div>
</div>
</div>
<div className={style.line}></div>
<div className={style.unit}>
<div className={style.title}>{list[3].title}</div>
<div className={style.amountContent}>
<div className={style.item}>
<div className={style.pureNum} onClick={this.showDetail.bind(this, list[3])}>
<div className={style.num}>{list[3].isCheck}</div>
<div className={style.numUnit}></div>
</div>
<div className={style.isCheck}>已检查</div>
</div>
<div className={style.item}>
<div className={style.pureNum} onClick={this.showDetailUn.bind(this, list[3])}>
<div className={style.num}>{list[3].unCheck}</div>
<div className={style.numUnit}></div>
</div>
<div className={style.isCheck}>未检查</div>
</div>
</div>
</div>
</div>
{
this.state.showToast && (
<div>
<div className={style.mask} onClick={this.toastHandler.bind(this)}></div>
<div className={style.toastWrap}>
{/* <div>{this.state.toastContent}</div> */}
{
this.state.hasChecked === 'checked' &&
<Table img={require('./icon.png')} contentBorder={false} title={'已检查'} headerMore={false}>
<div className={style.lineTb}>
<div className={style.lineItem}>单位名称</div>
<div className={style.lineItem}>使用性质</div>
<div className={style.lineItem}>地址</div>
<div className={style.lineItem}>负责人</div>
<div className={style.lineItem}>联系电话</div>
</div>
{
this.state.checkedList.map(item =>
<div className={style.lineTb} key={item.id}>
<div className={style.lineItem}>{item.name}</div>
<div className={style.lineItem}>{item.nature}</div>
<div className={style.lineItem}>{item.address}</div>
<div className={style.lineItem}>{item.charger}</div>
<div className={style.lineItem}>{item.phone}</div>
</div>)
}
</Table>
}
{
this.state.hasChecked === 'unchecked' && <Table img={require('./icon.png')} contentBorder={false} title={'未检查'} headerMore={false}>
<div className={style.lineTb}>
<div className={style.lineItem}>单位名称</div>
<div className={style.lineItem}>使用性质</div>
<div className={style.lineItem}>地址</div>
<div className={style.lineItem}>负责人</div>
<div className={style.lineItem}>联系电话</div>
</div>
<div className={style.lineTb}>
<div className={style.lineItem}>瑞如纺织</div>
<div className={style.lineItem}>储存、使用</div>
<div className={style.lineItem}>太平北路8号</div>
<div className={style.lineItem}>成德军</div>
<div className={style.lineItem}>15962963362</div>
</div>
<div className={style.lineTb}>
<div className={style.lineItem}>精劢医疗科技南通有限公司</div>
<div className={style.lineItem}>储存、使用</div>
<div className={style.lineItem}>新胜路158号</div>
<div className={style.lineItem}>顾力栩</div>
<div className={style.lineItem}>18017568185</div>
</div>
</Table>
}
</div>
</div>
)
}
</div>
}
}
\ No newline at end of file
.content {
flex: 605;
margin-left: (36rem / 16);
border-left: 1px solid #116cb2;
border-right: 1px solid #116cb2;
display: flex;
.mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, .6);
z-index: 98;
}
.toastWrap {
width: 800px;
height: auto;
position: fixed;
top: 100px;
left: 50%;
margin: 0 0 0 -400px;
background-color: rgba(7, 24, 57, .96);
border: 1px solid rgba(68, 214, 255, .6);
z-index: 99;
p {
color: #fff;
line-height: 30px;
padding: 15px;
font-size: 18px;
}
}
.left {
flex: 1;
padding: 0 (40rem / 16);
display: flex;
flex-direction: column;
}
.right {
flex: 1;
border-left: 1px solid #116cb2;
padding: 0 (40rem / 16);
display: flex;
flex-direction: column;
}
.line {
border-top: 1px solid #116cb2;
margin: (15rem / 16) 0;
}
.lineTb {
display: flex;
border: 1px solid #116cb2;
height: (34rem / 16);
line-height: (34rem / 16);
border-top: 0;
color: #b6deff;
overflow: hidden;
.lineItem {
flex: 1;
text-align: center;
&:first-child {
border-right: 1px solid #116cb2;
}
}
}
.unit {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
.title {
font-size: (18rem / 16);
color: #b6deff;
text-align: center;
}
.amountContent {
display: flex;
.item {
flex: 1;
.pureNum {
display: flex;
justify-content: center;
align-items: flex-end;
font-weight: bold;
cursor: pointer;
.num {
font-size: (48rem / 16);
}
.numUnit {
margin-left: (5rem / 16);
font-size: (18rem / 16);
}
}
.isCheck {
text-align: center;
color: #b6deff;
margin-top: (18rem / 16);
}
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'amountContent': string;
'content': string;
'isCheck': string;
'item': string;
'left': string;
'line': string;
'lineItem': string;
'lineTb': string;
'mask': string;
'num': string;
'numUnit': string;
'pureNum': string;
'right': string;
'title': string;
'toastWrap': string;
'unit': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface LeftProps {}
export default class Left extends React.Component<LeftProps, {}> {
render() {
return <div className={style.content}>
<div className={style.item}>
<div className={style.icon + ' ' + style.icon1}></div>
<div className={style.numContent}>
<div className={style.nums}>
<div className={style.amount}>14903</div>
<div className={style.unit}></div>
</div>
<div className={style.des}>PAD核查</div>
</div>
</div>
<div className={style.item}>
<div className={style.icon + ' ' + style.icon2}></div>
<div className={style.numContent}>
<div className={style.nums}>
<div className={style.amount}>83</div>
<div className={style.unit}></div>
</div>
<div className={style.des}>其他单位已检查</div>
</div>
</div>
</div>
}
}
\ No newline at end of file
.content {
flex: 540;
border: 1px solid #116cb2;
padding: 0 (56rem / 16);
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: stretch;
.item {
flex: 1;
display: flex;
justify-content: space-around;
align-items: center;
&:not(:first-child) {
border-top: 1px solid #116cb2;
}
.icon {
width: (73rem / 16);
height: (66rem / 16);
margin-left: (35rem / 16);
&.icon1 {
background: url(./icon1.png) no-repeat;
background-size: cover;
}
&.icon2 {
background: url(./icon2.png) no-repeat;
background-size: cover;
}
}
.numContent {
flex: 1;
.nums {
display: flex;
justify-content: center;
align-items: flex-end;
.amount {
font-size: (54rem / 16);
font-weight: bold;
}
.unit {
margin-left: (5rem / 16);
}
}
.des {
text-align: center;
color: #b6deff;
margin-top: (20rem / 16);
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'amount': string;
'content': string;
'des': string;
'icon': string;
'icon1': string;
'icon2': string;
'item': string;
'numContent': string;
'nums': string;
'unit': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface RightProps {}
export default class Right extends React.Component<RightProps, {}> {
render() {
return <div className={style.content}>
<div className={style.line + ' ' + style.header}>
<div className={style.lineItem}>类型</div>
<div className={style.lineItem}>已检查</div>
<div className={style.lineItem}>未检查</div>
</div>
<div className={style.line}>
<div className={style.lineItem}>涉恐单位</div>
<div className={style.lineItem}>9</div>
<div className={style.lineItem}>2</div>
</div>
<div className={style.line}>
<div className={style.lineItem}>涉暴危险单位</div>
<div className={style.lineItem}>4</div>
<div className={style.lineItem}>0</div>
</div>
<div className={style.line}>
<div className={style.lineItem}>内保单位</div>
<div className={style.lineItem}>9</div>
<div className={style.lineItem}>2</div>
</div>
<div className={style.line}>
<div className={style.lineItem}>易制毒单位</div>
<div className={style.lineItem}>9</div>
<div className={style.lineItem}>2</div>
</div>
</div>
}
}
\ No newline at end of file
.content {
flex: 540;
margin-left: (36rem / 16);
display: flex;
flex-direction: column;
border-top: 1px solid #116cb2;
.line {
flex: 1;
display: flex;
border: 1px solid #116cb2;
border-top: 0;
align-items: center;
&.header {
color: #b6deff;
}
.lineItem {
flex: 1;
text-align: center;
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'header': string;
'line': string;
'lineItem': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Table from '@components/Table'
import Left from './Left/index'
import Center from './Center/index'
import Right from './Right/index'
import * as style from './style.scss'
export interface BottomProps {}
export default class Bottom extends React.Component<BottomProps, {}> {
render() {
return <div className={style.content}>
<Card>
<Table img={require('../icon.png')} title={'社区警务'} headerBorder={false} contentBorder={false}>
<div className={style.bottomContent}>
<Left></Left>
<Center></Center>
<Right></Right>
</div>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
flex: 410;
margin-top: (20rem / 16);
.bottomContent {
display: flex;
height: 100%;
box-sizing: border-box;
padding: (40rem / 16);
align-items: stretch;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'bottomContent': string;
'content': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as echarts from 'echarts'
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
import * as style from './style.scss'
const COLORS = [
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#F73C64'},
{offset: 1, color: '#F7713C'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#FFEA00'},
{offset: 1, color: '#FFC000'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#18CF91'},
{offset: 1, color: '#18CF84'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#027BFD'},
{offset: 1, color: '#01FFFF'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#FD02EE'},
{offset: 1, color: '#9601FF'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#BC6525'},
{offset: 1, color: '#FDCB02'}
]
),
]
export interface ChartProps {
}
export default class Chart extends React.Component<ChartProps, {}> {
barContent: any = null;
componentDidMount() {
this.renderBar = this.renderBar.bind(this)
this.renderBar()
// addInterFn(this.renderBar.bind(this), 10)
}
componentWillUnmount () {
removeInterFn(this.renderBar)
}
renderBar() {
var option: echarts.EChartOption = {
grid: {
top: '15%',
bottom: '1%',
right: '1%',
left: '1%',
show: false,
containLabel: true
},
xAxis: {
axisLabel: {
color: '#b6deff',
interval: 0,
fontSize: 12,
formatter: (data: any) => {
return data
}
},
type: 'category',
data: ['国家安全', '涉稳', '涉毒', '犯罪前科', '肇事肇祸神经病', '暴力'],
axisLine: {
show: true,
lineStyle: {
color: '#116cb2'
}
},
axisTick: {
show: false
}
},
yAxis: {
show: false,
axisLabel: {
color: '#b6deff'
},
axisLine: {
show: true,
lineStyle: {
color: '#116cb2'
}
},
splitLine: {
show: false
},
axisTick: {
show: false
},
type: 'value'
},
series: [{
data: [getRandomNum(180, 268), getRandomNum(180, 200), getRandomNum(10, 158), getRandomNum(20, 90), getRandomNum(140, 268), getRandomNum(10, 110)],
type: 'bar',
itemStyle: {
normal: {
color: (params: any) => {
return COLORS[params.dataIndex]
}
}
},
label: {
normal: {
show: true,
position: 'top',
color: '#b6deff'
}
},
barWidth: '50%'
}]
}
var myChart = echarts.init(this.barContent)
myChart.setOption(option)
}
render() {
return <div className={style.content} ref={dom => this.barContent = dom}>
</div>
}
}
\ No newline at end of file
.content {
height: 100%;
margin-right: (30rem / 16);
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Table from '@components/Table'
import Chart from './Chart/Chart'
import * as style from './style.scss'
function More() {
return <a className={style.more} href="#">查看更多>></a>
}
export interface TopProps {
}
export default class Top extends React.Component<TopProps, {}> {
render() {
return <div className={style.content}>
<Card>
<Table img={require('../icon.png')} title={'社区工作'} headerBorder={false} contentBorder={false}>
<div className={style.tableContent}>
<div className={style.left}>
<Chart></Chart>
</div>
<div className={style.right}>
<Table img={require('./icon.png')} contentBorder={false} title={'社区警务'} headerMore={More}>
<div className={style.line}>
<div className={style.lineItem}></div>
<div className={style.lineItem}>入户调查</div>
<div className={style.lineItem}>巡逻盘查</div>
<div className={style.lineItem}>重点单位</div>
<div className={style.lineItem}>危化品单位</div>
</div>
<div className={style.line}>
<div className={style.lineItem}>当日排查</div>
<div className={style.lineItem}>13</div>
<div className={style.lineItem}>10</div>
<div className={style.lineItem}>6</div>
<div className={style.lineItem}>2</div>
</div>
<div className={style.line}>
<div className={style.lineItem}>当月排查</div>
<div className={style.lineItem}>386</div>
<div className={style.lineItem}>296</div>
<div className={style.lineItem}>23</div>
<div className={style.lineItem}>12</div>
</div>
<div className={style.line}>
<div className={style.lineItem}>勤务数量</div>
<div className={style.lineItem}>13</div>
<div className={style.lineItem}>47</div>
<div className={style.lineItem}>18</div>
<div className={style.lineItem}>12</div>
</div>
</Table>
</div>
</div>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
flex: 410;
.tableContent {
height: 100%;
display: flex;
align-items: stretch;
.left {
flex: 800;
}
.right {
flex: 1100;
padding-right: (68rem / 16);
display: flex;
align-items: center;
.more {
color: #fff;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
.line {
display: flex;
border: 1px solid #116cb2;
height: (34rem / 16);
line-height: (34rem / 16);
border-top: 0;
color: #b6deff;
.lineItem {
flex: 1;
text-align: center;
&:first-child {
border-right: 1px solid #116cb2;
}
}
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'left': string;
'line': string;
'lineItem': string;
'more': string;
'right': string;
'tableContent': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
import Top from './Top'
import Bottom from './Bottom'
export interface SheQuProps {
}
export default class SheQu extends React.Component<SheQuProps, {}> {
render() {
return <div className={style.content}>
<Top></Top>
<Bottom></Bottom>
</div>
}
}
\ No newline at end of file
.content {
display: flex;
height: 100%;
flex-direction: column;
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
import * as echarts from 'echarts'
import Card from '@components/Card'
import Table from '@components/Table'
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
const COLORS = [
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#269884'},
{offset: 1, color: '#269884'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#9AA741'},
{offset: 1, color: '#9AA741'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#706EC2'},
{offset: 1, color: '#706EC2'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#027BFD'},
{offset: 1, color: '#01FFFF'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#18CF91'},
{offset: 1, color: '#18CF84'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#FFEA00'},
{offset: 1, color: '#FFC000'}
]
),
new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#F7713C'},
{offset: 1, color: '#F73C64'}
]
)
]
export interface Left1Props {
}
export default class Left1 extends React.Component<Left1Props, {}> {
barContent: any = null;
componentDidMount() {
this.renderBar = this.renderBar.bind(this)
this.renderBar()
// addInterFn(this.renderBar.bind(this), 10)
}
componentWillUnmount () {
removeInterFn(this.renderBar)
}
renderBar() {
var ctrlMembers = [2, 8, 3, 3, 1, 4, 9]
var option: echarts.EChartOption = {
grid: {
top: '5%',
bottom: '10%',
right: '10%',
left: '1%',
show: false,
containLabel: true
},
yAxis: {
axisLabel: {
color: '#b6deff',
interval: 0,
fontSize: 12,
formatter: (data: any) => {
return data
}
},
type: 'category',
data: ['其他', '住院治疗', '走亲访友', '失控', '下落不明', '经商务工', '控在当地'],
axisLine: {
show: true,
lineStyle: {
color: '#116cb2'
}
},
axisTick: {
show: false
}
},
xAxis: {
axisLabel: {
color: '#b6deff'
},
axisLine: {
show: true,
lineStyle: {
color: '#116cb2'
}
},
splitLine: {
show: false
},
axisTick: {
show: false
},
type: 'value'
},
series: [{
data: ctrlMembers,
type: 'bar',
itemStyle: {
normal: {
color: (params: any) => {
return COLORS[params.dataIndex]
}
}
},
label: {
normal: {
show: true,
position: 'right',
color: '#b6deff'
}
},
barWidth: '30%'
}]
}
var myChart = echarts.init(this.barContent)
myChart.setOption(option)
}
render() {
return <div className={style.content}>
<Card>
<Table img={require('../icon.png')} title={'人员管控'} headerBorder={false} contentBorder={false}>
<div className={style.bar} ref={dom => this.barContent = dom}></div>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
flex: 400;
.bar {
height: 100%;
overflow: hidden;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'bar': string;
'content': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as echarts from 'echarts'
import * as style from './style.scss'
import Card from '@components/Card'
import Table from '@components/Table'
import ZhsModal from '@components/ZhsModal';
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
export interface Left2Props {
}
export default class Left2 extends React.Component<Left2Props, {}> {
pieContent: any = null;
state = {
showToast: false
}
componentDidMount() {
this.renderPie = this.renderPie.bind(this)
this.renderPie()
// addInterFn(this.renderPie.bind(this), 10)
}
renderPie() {
var option: echarts.EChartOption = {
color: ['#f7584e', '#0196fe', '#ac5bea', '#18cf8f', '#ffcb00'],
title: {
show: false,
},
tooltip: {
trigger: 'item',
formatter: "{b} : {c} ({d}%)",
},
legend: {
show: false,
x: 'left',
y: 'top',
orient: 'vertical',
data: ['本区', '上级交办', '主动发现', '委托管控', '其他'],
textStyle: {
color: '#b6deff'
}
},
toolbox: {
show: false
},
series: [
{
type: 'pie',
radius: ['20%', '50%'],
roseType: 'radius',
data: [
{ value: 81, name: '本区' },
{ value: 3, name: '上级交办' },
{ value: 76, name: '主动发现' },
{ value: 2, name: '委托管控' },
{ value: getRandomNum(20, 80), name: '其他' }
],
label: {
formatter: [
'{a|{c}}',
'{b|{b}}'
].join('\n'),
rich: {
a: {
fontSize: 24,
lineHeight: 10,
align: 'center'
},
b: {
height: 25,
}
}
}
}
]
}
var myChart = echarts.init(this.pieContent)
myChart.setOption(option)
myChart.on('click', (params: any) => {
console.log(params)
if(params.name === "上级交办") {
this.setState({
showToast: true
})
}
})
}
closeModal() {
this.setState({
showToast: false
})
}
render() {
return <div className={style.content}>
<Card>
<Table img={require('../icon.png')} title={'重点人员列管来源'} headerBorder={false} contentBorder={false}>
<div ref={dom => this.pieContent = dom} className={style.pie}></div>
</Table>
</Card>
<ZhsModal title="作战指令" showModal={this.state.showToast} onClose={this.closeModal.bind(this)} width={1200}>
<table>
<thead>
<tr className={style.lineTb}>
<th>编号</th>
<th>姓名</th>
<th>身份证号码</th>
<th>所属单位</th>
<th>户籍地址</th>
<th>现居住地址</th>
<th>诉求</th>
<th>重点人员类别或者群体名称</th>
<th>虚拟身份</th>
<th>联系电话</th>
<th>车辆信息</th>
<th>责任民警</th>
<th>备注3(重中之重情况)</th>
<th>包案领导、联系方式(重中之重填局领导,其他填所领导)</th>
</tr>
</thead>
<tbody className={style.zhsTable}>
<tr className={style.lineTb}>
<td>1</td>
<td>焦建群</td>
<td>320602196504051539</td>
<td>崇川</td>
<td>江苏省南通市崇川区北濠桥新村9幢201室</td>
<td>江苏省南通市崇川区观音山街道星火社区5组</td>
<td>反映医保劳保、拆迁问题</td>
<td>涉军</td>
<td>微信:jjq83563337</td>
<td>13606291233</td>
<td>苏F3339B</td>
<td>杨冬波</td>
<td>省厅下发</td>
<td>丁紫垂13390961711 董昊炜13390962031</td>
</tr>
<tr className={style.lineTb}>
<td>2</td>
<td>陆备</td>
<td>320626196905068228</td>
<td>崇川</td>
<td>江苏省南通市崇川区北濠桥新村9幢201室</td>
<td>江苏省南通市崇川区观音山街道星火社区5组</td>
<td>反映医保劳保、拆迁问题</td>
<td>涉军</td>
<td>微信:18761714320</td>
<td>18761714320</td>
<td>苏FQ5293</td>
<td>杨冬波</td>
<td>市局下发</td>
<td>董昊炜13390962031</td>
</tr>
<tr className={style.lineTb}>
<td>3</td>
<td>张美如</td>
<td>320624195203047185</td>
<td>崇川</td>
<td>江苏省南通市崇川区景河苑10-205</td>
<td>江苏省南通市崇川区景河苑26-906</td>
<td>法院涉法涉诉</td>
<td>非访重点人</td>
<td>微信:wxid_sd07tnd3w5pg22</td>
<td>18912266385</td>
<td></td>
<td>申扬</td>
<td>市局下发</td>
<td>董昊炜13390962031</td>
</tr>
</tbody>
</table>
</ZhsModal>
</div>
}
}
\ No newline at end of file
.content {
margin-top: (25rem / 16);
flex: 415;
.pie {
height: 100%;
overflow: hidden;
}
.zhsTable {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
// color: rgba(0,0,0,0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
clear: both;
}
.lineTb {
color: #b6deff;
overflow: hidden;
-webkit-transition: all .3s,height 0s;
transition: all .3s,height 0s;
padding: 16px 16px;
display: table-row;
vertical-align: inherit;
border-color: inherit;
.lineItem {
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'lineTb': string;
'pie': string;
'zhsTable': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
import * as echarts from 'echarts'
import Card from '@components/Card'
import Table from '@components/Table'
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
import ZhsModal from '@components/ZhsModal';
function renderItem(config: any) {
return <div className={style.item}>
<div className={style.nums} style={{color: config.color}}>
<div className={style.amount}>{config.amount}</div>
<div></div>
</div>
<div className={style.title}>{config.title}</div>
</div>
}
export interface Right1Props {}
export default class Right1 extends React.Component<Right1Props, {}> {
state = {
p1: {
amount: 4,
title: '本月新增列管',
color: '#f73c64'
},
p2: {
amount: 2,
title: '本月新增撤管',
color: '#18cf8f'
},
p3: {
amount: 2,
title: '本月新增变动',
color: '#0287fd'
},
showToast: false
}
barContent: any = null;
componentDidMount() {
// this.renderBar = this.renderBar.bind(this)
this.renderBar()
// addInterFn(this.renderBar.bind(this), 10)
}
componentWillUnmount () {
// removeInterFn(this.renderBar)
}
renderBar() {
var option: echarts.EChartOption = {
grid: {
top: '15%',
bottom: '1%',
right: '1%',
left: '1%',
show: false,
containLabel: true
},
xAxis: {
axisLabel: {
color: '#b6deff',
interval: 0,
fontSize: 12,
formatter: (data: any) => {
var _dataArray = data.split('')
var midLength = Math.floor((_dataArray.length) / 2)
_dataArray.splice(midLength, 0, '\n')
return _dataArray.join('')
}
},
type: 'category',
data: ['无通讯信息', '人员备注少于10字', '未录入关系', '无机动车', '无管控力量', '风险评估结论少于20字'],
axisLine: {
show: true,
lineStyle: {
color: '#116cb2'
}
},
axisTick: {
show: false
}
},
yAxis: {
axisLabel: {
color: '#b6deff'
},
axisLine: {
show: true,
lineStyle: {
color: '#116cb2'
}
},
splitLine: {
show: false
},
axisTick: {
show: false
},
type: 'value'
},
series: [{
data: [getRandomNum(60, 200), getRandomNum(60, 200), getRandomNum(60, 200), getRandomNum(60, 200), getRandomNum(60, 200), getRandomNum(60, 200)],
type: 'bar',
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[
{offset: 0, color: '#21eced'},
{offset: 1, color: '#7236df'}
]
)
}
},
label: {
normal: {
show: true,
position: 'top',
color: '#b6deff'
}
},
barWidth: '30%'
}]
}
var myChart = echarts.init(this.barContent)
myChart.setOption(option)
}
monthAdd() {
this.setState({
showToast: true
})
}
closeModal() {
this.setState({
showToast: false
})
}
render() {
const { p1, p2, p3 } = this.state
return <div className={style.content}>
<Card>
<Table img={require('../icon.png')} title={'重点人员管控状态'} headerBorder={false} contentBorder={false}>
<div className={style.guanContent}>
<div className={style.peopleList}>
<div className={style.item} onClick={this.monthAdd.bind(this)}>
<div className={style.nums} style={{color: p1.color}}>
<div className={style.amount}>{p1.amount}</div>
<div></div>
</div>
<div className={style.title}>{p1.title}</div>
</div>
{renderItem(p2)}
{renderItem(p3)}
</div>
<div className={style.chart} ref={dom => this.barContent = dom}></div>
</div>
</Table>
</Card>
<ZhsModal title="作战指令" showModal={this.state.showToast} onClose={this.closeModal.bind(this)}>
待补充
</ZhsModal>
</div>
}
}
\ No newline at end of file
.content {
flex: 400;
.guanContent {
height: 100%;
display: flex;
padding: (30rem / 16);
box-sizing: border-box;
.peopleList {
flex: 210;
display: flex;
flex-direction: column;
.item {
border: 1px solid #116cb2;
margin-bottom: (10rem / 16);
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-shadow: 0 2px 2px #365a98;
.nums {
display: flex;
justify-content: center;
align-items: baseline;
font-weight: bold;
.amount {
font-size: (36rem / 16);
}
}
.title {
text-align: center;
font-size: (18rem / 16);
margin-top: (15rem / 16);
color: #b6deff;
}
}
}
.chart {
flex: 910;
margin-left: (30rem / 16);
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'amount': string;
'chart': string;
'content': string;
'guanContent': string;
'item': string;
'nums': string;
'peopleList': string;
'title': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import { BrowserRouter, Route, Link } from "react-router-dom"
import * as style from './style.scss'
import Card from '@components/Card'
export interface Right2Props {
}
export default class Right2 extends React.Component<Right2Props, {}> {
state = {
// 张秀英 、 葛卫萍 、葛汉林 、 葛云芳 、 徐福海 、 徐学道 、 张汉林
members: [{
id: 1,
name: '张秀英',
type: '扬言上访',
status: '在控在位'
},{
id: 2,
name: '葛卫萍',
type: '扬言上访',
status: '在控在位'
},{
id: 3,
name: '葛汉林',
type: '扬言上访',
status: '在控在位'
},{
id: 4,
name: '葛云芳',
type: '扬言上访',
status: '在控在位'
},{
id: 5,
name: '徐福海',
type: '扬言上访',
status: '在控在位'
},{
id: 6,
name: '徐学道',
type: '扬言上访',
status: '在控在位'
}, {
id: 7,
name: '张汉林',
type: '扬言上访',
status: '在控在位'
}]
}
render() {
const { members } = this.state
return <div className={style.content}>
<Card>
<div className={style.left}>
<div className={style.sum}>
<div className={style.nums}>
<div className={style.amount}>18</div>
<div></div>
</div>
<div className={style.title}>2年内被处理</div>
</div>
<div className={style.mouthHenJi}>
<div className={style.mainTitle}>本月留有活动轨迹</div>
<div className={style.city}>
<div className={style.item}>
<div className={style.nums}>
<div className={style.amount}>18</div>
<div></div>
</div>
<div className={style.title}><Link to="/lieguanMap">市内轨迹</Link></div>
</div>
<div className={style.item}>
<div className={style.nums}>
<div className={style.amount}>18</div>
<div></div>
</div>
<div className={style.title}><Link to="/lieguanMap">市外轨迹</Link></div>
</div>
</div>
</div>
</div>
<div className={style.center}>
<div className={style.monthKaoCha}>
<div className={style.mkcTitle}>本月考察</div>
<div className={style.mkcPeople}>
<div className={style.nums}>
<div className={style.amount}>18</div>
<div></div>
</div>
<div className={style.title}>十八湾社区</div>
</div>
</div>
<div className={style.guankongList}>
<div className={style.guankongTitle}>管控状态数据展示</div>
<div className={style.line}>
<div className={style.item}>本月已考察</div>
<div className={style.item}>8</div>
</div>
<div className={style.line}>
<div className={style.item}>本月未考察</div>
<div className={style.item}>8</div>
</div>
<div className={style.line}>
<div className={style.item}>本月撤管</div>
<div className={style.item}>8</div>
</div>
<div className={style.line}>
<div className={style.item}>本月新增</div>
<div className={style.item}>8</div>
</div>
</div>
</div>
<div className={style.right}>
<div className={style.lineHeader}>
<div className={style.item}>人员</div>
<div className={style.item}>类型</div>
<div className={style.item}>状态</div>
</div>
{
members.map((item, key) => {
return <div key={key} className={style.line}>
<div className={style.item}>{item.name}</div>
<div className={style.item}>{item.type}</div>
<div className={style.item}>{item.status}</div>
</div>
})
}
</div>
</Card>
</div>
}
}
\ No newline at end of file
.content {
margin-top: (25rem / 16);
flex: 415;
.left {
flex: 320;
border: 1px solid rgba(20, 44, 109, .3);
display: flex;
flex-direction: column;
padding: (20rem / 16);
margin: (25rem / 16) 0 (25rem / 16) (25rem / 16);
.sum{
flex: 1;
border: 1px solid #116cb2;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.nums {
display: flex;
font-weight: bold;
color: #f75a4d;
align-items: baseline;
.amount {
font-size: (48rem / 16);
margin-right: (5rem / 16);
}
}
.title {
font-size: (18rem / 16);
color: #b6deff;
margin-top: (25rem / 16);
}
}
.mouthHenJi {
flex: 1;
border: 1px solid #116cb2;
margin-top: (10rem / 16);
display: flex;
flex-direction: column;
justify-content: center;
.mainTitle {
color: #b6deff;
text-align: center;
font-size: (18rem / 16);
}
.city {
display: flex;
margin-top: (25rem / 16);
.item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
.nums {
display: flex;
justify-content: center;
color: #1adbfe;
align-items: baseline;
.amount {
font-size: (36rem / 16);
}
}
.title {
font-size: (18rem / 16);
color: #b6deff;
margin-top: (15rem / 16);
a {
color: #b6deff;
text-decoration: none;
&:hover {
color: #b6deff;
}
}
}
&:first-child {
border-right: 1px solid #116cb2;
}
}
}
}
}
.center {
flex: 440;
margin: (25rem/16) 0 (25rem/16) (10rem/16);
display: flex;
flex-direction: column;
.monthKaoCha {
flex: 110;
border: 1px solid #116cb2;
display: flex;
.mkcTitle {
display: flex;
justify-content: center;
align-items: center;
flex: 56;
writing-mode: vertical-lr;
border-right: 1px solid #116cb2;
color: #fff;
font-size: (18rem / 16);
}
.mkcPeople {
flex: 380;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.nums {
color: #1adbfe;
font-weight: bold;
display: flex;
align-items: baseline;
.amount {
font-size: (38rem / 16);
margin-right: (5rem / 16);
}
}
.title {
font-size: (18rem / 16);
color: #b6deff;
margin-top: (10rem / 16);
}
}
}
.guankongList {
flex: 235;
margin-top: (10rem / 16);
border: 1px solid #116cb2;
color: #b6deff;
display: flex;
flex-direction: column;
font-size: (18rem / 16);
.guankongTitle {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.line {
flex: 1;
border-top: 1px solid #116cb2;
display: flex;
align-items: stretch;
.item {
flex: 1;
display: flex;
align-items: center;
&:first-child {
padding-left: (40rem / 16);
border-right: 1px solid #116cb2;
}
&:last-child {
text-align: center;
justify-content: center;
}
}
}
}
}
.right {
flex: 440;
margin: (25rem / 16) 0 (25rem / 16) (10rem / 16);
display: flex;
flex-direction: column;
.lineHeader {
border: 1px solid #116cb2;
flex: 1;
display: flex;
align-items: center;
color: #3789f5;
font-size: (18rem / 16);
.item {
flex: 1;
text-align: center;
}
}
.line {
border: 1px solid #116cb2;
border-top: 0;
flex: 1;
display: flex;
align-items: center;
font-size: (18rem / 16);
color: #b6deff;
.item {
flex: 1;
text-align: center;
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'amount': string;
'center': string;
'city': string;
'content': string;
'guankongList': string;
'guankongTitle': string;
'item': string;
'left': string;
'line': string;
'lineHeader': string;
'mainTitle': string;
'mkcPeople': string;
'mkcTitle': string;
'monthKaoCha': string;
'mouthHenJi': string;
'nums': string;
'right': string;
'sum': string;
'title': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
import Left1 from './Left1'
import Left2 from './Left2'
import Right1 from './Right1/index'
import Right2 from './Right2/index'
export interface SheQuProps {
}
export default class SheQu extends React.Component<SheQuProps, {}> {
render() {
return <div className={style.content}>
<div className={style.left}>
<Left1></Left1>
<Left2></Left2>
</div>
<div className={style.right}>
<Right1></Right1>
<Right2></Right2>
</div>
</div>
}
}
\ No newline at end of file
.content {
height: 100%;
display: flex;
.left {
flex: 590;
display: flex;
flex-direction: column;
overflow: hidden;
}
.right {
flex: 1275;
margin-left: (25rem / 16);
display: flex;
flex-direction: column;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'left': string;
'right': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface Bottom1Props {}
export default class Bottom1 extends React.Component<Bottom1Props, {}> {
render() {
return <div className={style.content}>
<div className={style.bg}>
<div className={style.minHang}>民航:<br/>比中15条</div>
<div className={style.tieLu}>铁路:<br/>比中15条</div>
<div className={style.juZhuZheng}>居住证:<br/>比中15条</div>
<div className={style.lvGuan}>旅馆:<br/>比中15条</div>
<div className={style.cheLiang}>车辆:<br/>比中15条</div>
<div className={style.panCha}>盘查:<br/>比中15条</div>
<div className={style.wangBa}>网吧:<br/>比中15条</div>
<div className={style.des}>指纹DNA比中15条抓获13人</div>
</div>
<div className={style.bottomTitle}>
<div className={style.mainTitle}>80个线索数据源</div>
<div className={style.subTitle}>通过指纹比对/DNA比对</div>
</div>
</div>
}
}
\ No newline at end of file
.content {
flex: 600;
margin-left: (10rem / 16);
color: #40d5d7;
font-size: (14rem / 16);
display: flex;
align-items: stretch;
justify-content: center;
flex-direction: column;
.bg {
position: relative;
width: (688rem / 16);
height: (295rem / 16);
background: url(@assets/zhencha/dna.png) no-repeat center;
background-size: 100% 100%;
.minHang {
position: absolute;
top: (20rem / 16);
left: (20rem / 16);
line-height: 150%;
}
.tieLu {
position: absolute;
top: -(10rem / 16);
left: (177rem / 16);
line-height: 120%;
}
.juZhuZheng {
position: absolute;
left: (375rem / 16);
top: (48rem / 16);
line-height: 120%;
}
.lvGuan {
position: absolute;
left: (375rem / 16);
top: (180rem / 16);
line-height: 120%;
}
.cheLiang {
position: absolute;
left: (288rem / 16);
top: (250rem / 16);
line-height: 120%;
}
.panCha {
position: absolute;
left: (135rem / 16);
top: (240rem / 16);
line-height: 120%;
}
.wangBa {
position: absolute;
left: (10rem / 16);
top: (218rem / 16);
line-height: 120%;
}
.des {
position: absolute;
font-size: (14rem / 16);
font-weight: bold;
top: 0;
right: ((43rem / 16));
}
}
.bottomTitle {
display: flex;
margin-top: (20rem / 16);
.mainTitle {
flex: 420;
text-align: center;
font-size: (18rem / 16);
font-weight: bold;
}
.subTitle {
flex: 355;
text-align: center;
font-size: (14rem / 16);
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'bg': string;
'bottomTitle': string;
'cheLiang': string;
'content': string;
'des': string;
'juZhuZheng': string;
'lvGuan': string;
'mainTitle': string;
'minHang': string;
'panCha': string;
'subTitle': string;
'tieLu': string;
'wangBa': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface Bottom2Props {}
export default class Bottom2 extends React.Component<Bottom2Props, {}> {
state = {
members: [
{
id: 1,
name: '李达康',
type: '涉毒',
status: '研判',
handle: '未反馈'
},{
id: 2,
name: '魏建军',
type: '涉毒',
status: '研判',
handle: '未反馈'
},{
id: 3,
name: '刘胜利',
type: '涉毒',
status: '研判',
handle: '未反馈'
},{
id: 4,
name: '李三思',
type: '涉毒',
status: '研判',
handle: '未反馈'
},{
id: 5,
name: '吴二',
type: '涉毒',
status: '研判',
handle: '未反馈'
},{
id: 6,
name: '王小青',
type: '涉毒',
status: '研判',
handle: '未反馈'
}
]
}
render() {
const { members } = this.state
return <div className={style.content}>
<div className={style.line}>
<div className={style.lineItem}>人员</div>
<div className={style.lineItem}>类型</div>
<div className={style.lineItem}>状态</div>
<div className={style.lineItem}>处理</div>
</div>
{
members.map((item, key) => {
return <div className={style.line} key={key}>
<div className={style.lineItem}>{item.name}</div>
<div className={style.lineItem}>{item.type}</div>
<div className={style.lineItem}>{item.status}</div>
<div className={style.lineItem}>{item.handle}</div>
</div>
})
}
</div>
}
}
\ No newline at end of file
.content {
flex: 220;
margin-left: (10rem / 16);
display: flex;
flex-direction: column;
.line {
display: flex;
flex: 1;
align-items: center;
border: 1px solid #116cb2;
border-top: 0;
color:#b6deff;
&:first-child {
border-top: 1px solid #116cb2;
}
}
.lineItem {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'line': string;
'lineItem': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
const peopleImg = require('@assets/zhencha/people.jpg')
const chenshisong01 = require('@assets/zhencha/chenshisong_01.png')
const chenshisong02 = require('@assets/zhencha/chenshisong_02.png')
const chenshisong03 = require('@assets/zhencha/chenshisong_03.png')
const zhangyunjuan01 = require('@assets/zhencha/zhangyunjuan_01.png')
const zhangyunjuan02 = require('@assets/zhencha/zhangyunjuan_02.png')
const zhangyunjuan03 = require('@assets/zhencha/zhangyunjuan_03.png')
const zhangyunjuan04 = require('@assets/zhencha/zhangyunjuan_04.png')
export interface Bottom3Props {}
export default class Bottom3 extends React.Component<Bottom3Props, {}> {
state = {
members: [{
id: 1,
name: '陈仕松',
idCard: '522723198706114839',
attribute: 'XXXXX',
catchTime: '2019-4-8 12:53',
catchPlace: '贵州省新巴镇新华村者高组35号',
firstImg: chenshisong03,
imgs: [chenshisong01, chenshisong02, peopleImg]
},{
id: 2,
name: '张云娟',
idCard: '320624196210144121',
attribute: 'XXXXXX',
catchTime: '2019-4-9 10:03 ',
catchPlace: '江苏省南通市通州市(2011)石港镇石东村三十组102号',
firstImg: zhangyunjuan01,
imgs: [zhangyunjuan02, zhangyunjuan03, zhangyunjuan04]
}]
}
render() {
const { members } = this.state
return <div className={style.content}>
{
members.map((item, key) => {
return <div className={style.line} key={key}>
<div className={style.people}>
<div className={style.main}>
<img src={item.firstImg}/>
</div>
<div className={style.peopleList}>
{
item.imgs.map((img, key) => {
return <div className={style.man} key={key}>
<img src={img}/>
</div>
})
}
</div>
<div className={style.percent}>98%</div>
</div>
<div className={style.nameContent}>
<dl>
<dt>姓名:</dt>
<dd>{item.name}</dd>
</dl>
<dl>
<dt>身份证号:</dt>
<dd>{item.idCard}</dd>
</dl>
<dl>
<dt>身份属性:</dt>
<dd>{item.attribute}</dd>
</dl>
<dl>
<dt>抓拍时间:</dt>
<dd>{item.catchTime}</dd>
</dl>
<dl>
<dt>抓拍地点:</dt>
<dd>{item.catchPlace}</dd>
</dl>
</div>
</div>
})
}
</div>
}
}
\ No newline at end of file
.content {
flex: 700;
margin-left: (15rem / 16);
display: flex;
flex-direction: column;
.line {
flex: 1;
display: flex;
.people {
flex: 490;
display: flex;
position: relative;
.main {
flex: 90;
img {
width: (176rem / 16);
height: 100%;
}
}
.peopleList {
flex: 285;
margin-left: (10rem / 16);
display: flex;
background: #2c759e;
.man {
flex: 1;
padding: 2%;
img {
border: 1px solid #fff;
width: 96%;
height: 96%;
}
}
}
.percent {
position: absolute;
width: (67rem / 16);
height: (66rem / 16);
background: url(@assets/zhencha/percent.png) no-repeat;
background-size: cover;
top: 0 ;
left: 0;
color: #fff;
left: 32%;
margin-left: (10rem / 16);
top: 50%;
transform: translate(-50%, -50%);
text-align: center;
line-height: (66rem / 16);
font-size: (21.6rem / 16);
}
}
.nameContent {
flex: 212;
display: flex;
flex-direction: column;
margin-left: (10rem / 16);
color: #b6deff;
dl {
flex: 1;
display: flex;
align-items: flex-start;
line-height: 120%;
dt {
flex: 90;
text-align: right;
}
dd {
flex: 140;
word-break: break-all;
}
}
}
&:not(:first-child) {
margin-top: (25rem / 16);
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'line': string;
'main': string;
'man': string;
'nameContent': string;
'people': string;
'peopleList': string;
'percent': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Table from '@components/Table'
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
import * as style from './style.scss'
function renderItem(config: any) {
return <div className={style.item}>
<div className={style.nums}>
<div className={style.amount}>{config.number}</div>
{
config.left
? <div className={style.left}>/ {config.left}</div>
: null
}
</div>
<div className={style.des}>{config.text}</div>
</div>
}
export interface Top1Props {
}
export default class Top1 extends React.Component<Top1Props, {}> {
state = {
p1: {
number: getRandomNum(0, 30),
text: '案件数'
},
p2: {
number: getRandomNum(0, 30),
left: 9,
text: '在办/破获'
},
p3: {
number: getRandomNum(0, 30),
text: '抓捕人数'
},
p4: {
number: getRandomNum(0, 30),
text: '案件数'
},
p5: {
number: getRandomNum(0, 30),
left: 9,
text: '在办/破获'
},
p6: {
number: getRandomNum(0, 30),
text: '抓捕人数'
}
}
render() {
var { p1, p2, p3, p4, p5, p6 } = this.state
return <div className={style.content}>
<Card headerImg>
<Table img={require('../icon.png')} title={'案情质态'} headerBorder={false} contentBorder={false}>
<div className={style.lineBag}>
<div className={style.line}>
<div className={style.title}>
刑事案件
</div>
<div className={style.lineContent + ' ' + style.xingshi}>
{renderItem(p1)}
{renderItem(p2)}
{renderItem(p3)}
</div>
</div>
<div className={style.line}>
<div className={style.title}>
行政案件
</div>
<div className={style.lineContent + ' ' + style.xingzheng}>
{renderItem(p4)}
{renderItem(p5)}
{renderItem(p6)}
</div>
</div>
</div>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
.content {
flex: 410;
.lineBag {
height: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
padding-top: (20rem / 16);
.line {
flex: 1;
display: flex;
flex-direction: column;
margin-top: (20rem / 16);
.title {
flex: 1;
display: flex;
align-items: center;
}
.lineContent {
flex: 8;
display: flex;
justify-content: space-around;
align-items: center;
.item {
flex: 1;
.nums {
display: flex;
justify-content: center;
align-items: flex-end;
.amount {
font-size: (36rem / 16);
}
.left {
margin-left: (5rem / 16);
}
}
.des {
text-align: center;
color: #b6deff;
margin-top: (15rem / 16);
}
}
&.xingshi {
.nums {
color: #1ADBFE;
}
}
&.xingzheng {
.nums {
color: #18cf90;
}
}
}
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'amount': string;
'content': string;
'des': string;
'item': string;
'left': string;
'line': string;
'lineBag': string;
'lineContent': string;
'nums': string;
'title': string;
'xingshi': string;
'xingzheng': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Table from '@components/Table'
import * as style from './style.scss'
export interface Top2Props {
}
export default class Top2 extends React.Component<Top2Props, {}> {
state = {
cases: [{
id: 0,
name: '张云娟财物被盗案',
date: '2019/4/1',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 1,
name: '邵桢财物被盗案',
date: '2019/4/3',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 2,
name: '吴秋兰财物被盗案',
date: '2019/4/3',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 3,
name: '韩国建财物被盗案',
date: '2019/4/7',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 4,
name: '崇川区观音山大润发超市财物被盗案',
date: '2019/4/8',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 5,
name: '田刚财物被盗案',
date: '2019/4/8',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 6,
name: '刘立新财物被盗案',
date: '2019/4/9',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 7,
name: '吴爱珍电瓶车被盗案',
date: '2018/12/25',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 8,
name: '孟海翔财物被盗案',
date: '2018/12/29',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
}]
}
render() {
const { cases } = this.state;
return <div className={style.content}>
<Card>
<Table img={require('../icon.png')} title={'案件研判'} headerBorder={false} contentBorder={false}>
{/* <div className={style.yanPanTable}>
<div className={style.yanPanHeader}>
<div className={style.item}>案件名称</div>
<div className={style.item}>报案时间</div>
<div className={style.item}>状态</div>
<div className={style.item}>现场勘查</div>
<div className={style.item}>现场访问</div>
<div className={style.item}>视频侦查</div>
<div className={style.item}>涉案物品</div>
<div className={style.item}>技术侦查</div>
<div className={style.item}>网络侦查</div>
<div className={style.item}>人车布控</div>
<div className={style.item}>抓获人员</div>
</div>
{
cases.map((item,key) => {
return <div key={key} className={style.line}>
<div className={style.item}>{item.name}</div>
<div className={style.item}>{item.date}</div>
<div className={style.item}>{item.status}</div>
<div className={style.item}>
<div className={style.default}></div>
</div>
<div className={style.item}>
<div className={style.success}></div>
</div>
<div className={style.item}>
<div className={style.error}></div>
</div>
<div className={style.item}>
<div className={style.default}></div>
</div>
<div className={style.item}>
<div className={style.default}></div>
</div>
<div className={style.item}>
<div className={style.default}></div>
</div>
<div className={style.item}>
<div className={style.default}></div>
</div>
<div className={style.item}>
<div className={style.default}></div>
</div>
</div>
})
}
</div> */}
<table className={style.yanPanTable}>
<thead>
<tr>
<th>案件名称</th>
<th>报案时间</th>
<th>状态</th>
<th>现场勘查</th>
<th>现场访问</th>
<th>视频侦查</th>
<th>涉案物品</th>
<th>技术侦查</th>
<th>网络侦查</th>
<th>人车布控</th>
<th>抓获人员</th>
</tr>
</thead>
<tbody>
{
cases.map((item,key) => {
if(item.id < 5) {
return <tr key={item.id}>
<td className={style.firstTd}>{item.name}</td>
<td>{item.date}</td>
<td>{item.status}</td>
<td>
<div className={style.circleBox}>
<div className={style.default}></div>
</div>
</td>
<td>
<div className={style.circleBox}>
<div className={style.success}></div>
</div>
</td>
<td>
<div className={style.circleBox}>
<div className={style.error}></div>
</div>
</td>
<td>
<div className={style.circleBox}>
<div className={style.default}></div>
</div>
</td>
<td>
<div className={style.circleBox}>
<div className={style.default}></div>
</div>
</td>
<td>
<div className={style.circleBox}>
<div className={style.default}></div>
</div>
</td>
<td>
<div className={style.circleBox}>
<div className={style.default}></div>
</div>
</td>
<td>
<div className={style.circleBox}>
<div className={style.default}></div>
</div>
</td>
</tr>
}
})
}
</tbody>
</table>
</Table>
</Card>
</div>
}
}
\ No newline at end of file
%circle {
width: (18rem / 16);
height: (18rem / 16);
border-radius: (18rem / 16);
padding: (6rem / 16);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
&::after {
content: ' ';
display: block;
width: (12rem / 16);
height: (12rem / 16);
border-radius: (12rem / 16);
}
}
.content {
flex: 1455;
margin-left: (20rem / 16);
.yanPanTable {
width: 100%;
height: 100%;
flex-direction: column;
box-sizing: border-box;
padding: (20rem / 16) (40rem / 16);
color: #b6deff;
font-weight: bold;
thead tr th, tbody tr td {
height: (34rem / 16);
line-height: (34rem / 16);
border: 1px solid #116cb2;
text-align: center;
max-width: (100rem / 16);
}
.yanPanHeader {
.item {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
&:nth-child(1) {
flex:2;
}
&:nth-child(2) {
flex:2;
}
&:nth-child(n+4) {
writing-mode: vertical-lr;
}
}
}
.line {
flex: 1;
display: flex;
border: 1px solid #116cb2;
border-top: 0;
// .item {
// flex: 1;
// display: flex;
// justify-content: center;
// align-items: center;
// white-space: nowrap;
// &:nth-child(1) {
// flex:2;
// }
// &:nth-child(2) {
// flex:2;
// }
// .default {
// @extend %circle;
// &::after {
// background: rgba(24, 207, 144, .3);
// }
// }
// .success {
// @extend %circle;
// background: rgba(24, 207, 144, 0.3);
// animation: myCircle .5s infinite;
// &::after {
// background: rgba(24, 207, 144, 1);
// }
// }
// .error {
// @extend %circle;
// background: rgba(248, 48, 49, 0.3);
// animation: myCircle .5s infinite;
// &::after {
// background: rgba(248, 48, 49, 1);
// }
// }
// }
}
}
.circleBox {
// width: (40rem / 16);
// height: (40rem / 16);
margin: 0 auto;
}
.default {
@extend %circle;
&::after {
background: rgba(24, 207, 144, .3);
}
}
.success {
@extend %circle;
background: rgba(24, 207, 144, 0.3);
animation: myCircle .5s infinite;
&::after {
background: rgba(24, 207, 144, 1);
}
}
.error {
@extend %circle;
background: rgba(248, 48, 49, 0.3);
animation: myCircle .5s infinite;
&::after {
background: rgba(248, 48, 49, 1);
}
}
.firstTd {
max-width: (150rem / 16);
}
}
@keyframes myCircle
{
0% {
transform: scale(1)
}
50% {
transform: scale(.5)
}
100% {
transform: scale(1)
}
}
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'circleBox': string;
'content': string;
'default': string;
'error': string;
'firstTd': string;
'item': string;
'line': string;
'myCircle': string;
'success': string;
'yanPanHeader': string;
'yanPanTable': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
import Card from '@components/Card'
import Table from '@components/Table'
import Top1 from './Top1/Top1'
import Top2 from './Top2/Top2'
import Bottom1 from './Bottom1/index'
import Bottom2 from './Bottom2/index'
import Bottom3 from './Bottom3/index'
export interface ZhenChaProps {
}
export default class ZhenCha extends React.Component<ZhenChaProps, {}> {
render() {
return <div className={style.content}>
<div className={style.top}>
<Top1></Top1>
<Top2></Top2>
</div>
<div className={style.bottom}>
<Card>
<Table img={require('./icon.png')} title={'比对预警'} headerBorder={false} contentBorder={false}>
<div className={style.bottomContent}>
<Bottom1></Bottom1>
<Bottom2></Bottom2>
<Bottom3></Bottom3>
</div>
</Table>
</Card>
</div>
</div>
}
}
\ No newline at end of file
.content {
height: 100%;
display: flex;
flex-direction: column;
.top {
flex: 454;
display: flex;
}
.bottom {
flex: 370;
margin-top: (20rem / 16);
.bottomContent {
display: flex;
height: 100%;
}
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'bottom': string;
'bottomContent': string;
'content': string;
'top': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import ComplexCustomOverlay from './layer'
import * as style from './style.scss'
const icon1_1 = require('@assets/zhihuishi/icon1-1.png')
const icon1_2 = require('@assets/zhihuishi/icon1-2.png')
const icon1_3 = require('@assets/zhihuishi/icon1-3.png')
const icon2_1 = require('@assets/zhihuishi/icon2-1.png')
const icon2_2 = require('@assets/zhihuishi/icon2-2.png')
const icon3_1 = require('@assets/zhihuishi/icon3-1.png')
const icon3_2 = require('@assets/zhihuishi/icon3-2.png')
const icon3_3 = require('@assets/zhihuishi/icon3-3.png')
const icon4_1 = require('@assets/zhihuishi/icon4-1.png')
const icon4_2 = require('@assets/zhihuishi/icon4-2.png')
const BMap = (window as any)['BMap']
const ary = [icon1_1, icon1_2, icon1_3, icon2_1, icon2_2, icon3_1, icon3_2, icon3_3, icon4_1, icon4_2]
function getRandomNum(min: number, max: number)
{
var Range = max - min;
var Rand = Math.random();
return(min + Math.round(Rand * Range));
}
export interface CenterProps {
}
export default class Center extends React.Component<CenterProps, {}> {
mapContent:any = null;
state = {
cases: [{
id: 0,
name: '张云娟财物被盗案',
date: '2018/12/5',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 1,
name: '邵桢财物被盗案',
date: '2018/12/8',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 2,
name: '吴秋兰财物被盗案',
date: '2018/12/8',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 3,
name: '韩国建财物被盗案',
date: '2018/12/11',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 4,
name: '南通市港闸区大润发超市北大街店财物被盗案',
date: '2018/12/14',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 5,
name: '田刚财物被盗案',
date: '2018/12/14',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 6,
name: '刘立新财物被盗案',
date: '2018/12/19',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 7,
name: '吴爱珍电瓶车被盗案',
date: '2018/12/25',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
},{
id: 8,
name: '孟海翔财物被盗案',
date: '2018/12/29',
status: '立案',
prospecting: '是',
visit: '是',
videoProspect: '是',
involved: '无',
technology: '是',
intenet: '是',
humanCtrl: '是',
Human: '是'
}]
}
componentDidMount() {
this.renderMap()
}
renderMap() {
var BMapLib = (window as any)['BMapLib']
var BMAP_NORMAL_MAP = (window as any)['BMAP_NORMAL_MAP']
var BMAP_HYBRID_MAP = (window as any)['BMAP_HYBRID_MAP']
var BMAP_ANCHOR_BOTTOM_RIGHT = (window as any)['BMAP_ANCHOR_BOTTOM_RIGHT']
var BMAP_ANCHOR_TOP_RIGHT = (window as any)['BMAP_ANCHOR_TOP_RIGHT']
var BMAP_DRAWING_CIRCLE = (window as any)['BMAP_DRAWING_CIRCLE']
var BMAP_DRAWING_RECTANGLE = (window as any)['BMAP_DRAWING_RECTANGLE']
// 120.866167,32.025779
//唐闸派出所 120.86605,32.051545
//港闸区政府 120.825078,32.038923
var map = new BMap.Map(this.mapContent, {
mapType: BMAP_NORMAL_MAP,minZoom:14, maxZoom:18}) //设置卫星图为底图
// var point = new BMap.Point(120.86605,32.051545) // 创建点坐标
var point = new BMap.Point(120.868828,32.024984);
map.centerAndZoom(point, 16) // 初始化地图,设置中心点坐标和地图级别。
// map.addControl(new BMap.MapTypeControl());
// map.addControl(new BMap.NavigationControl())
// map.enableScrollWheelZoom(); // 启用滚轮放大缩小。
map.enableKeyboard(); // 启用键盘操作。
// var mapStyle={ style : "midnight" }
// map.setMapStyle(mapStyle);
map.addControl(new BMap.NavigationControl());
map.enableScrollWheelZoom();
map.disableDragging();
// map.addControl(new BMap.MapTypeControl({
// mapTypes:[
// BMAP_NORMAL_MAP,
// BMAP_HYBRID_MAP
// ],
// anchor: BMAP_ANCHOR_BOTTOM_RIGHT
// }));
// const styleOptions = {
// strokeColor: 'blue',
// fillColor: 'blue',
// strokeWeight: 3,
// strokeDasharray: 'none',
// strokeOpacity: 0.2,
// fillOpacity: 0.1,
// strokeStyle: 'solid',
// }
// new BMapLib.DrawingManager(map, {
// isOpen: false,
// enableDrawingTool: true,
// drawingToolOptions: {
// anchor: BMAP_ANCHOR_TOP_RIGHT,
// offset: new BMap.Size(5, 5),
// drawingModes: [
// BMAP_DRAWING_CIRCLE,
// BMAP_DRAWING_RECTANGLE,
// ],
// },
// circleOptions: styleOptions,
// polygonOptions: styleOptions,
// rectangleOptions: styleOptions,
// })
// 创建点
var pt = new BMap.Point(120.834901, 32.054391)
// 随机向地图添加25个标注
var bounds = map.getBounds();
var sw = bounds.getSouthWest();
var ne = bounds.getNorthEast();
var lngSpan = Math.abs(sw.lng - ne.lng);
var latSpan = Math.abs(ne.lat - sw.lat);
for (var i = 0; i < 100; i ++) {
var point = new BMap.Point(sw.lng + lngSpan * (Math.random()), ne.lat - latSpan * (Math.random()));
var iconIndex = getRandomNum(0, ary.length - 1)
var icon = ary[iconIndex]
var myIcon = new BMap.Icon(icon, new BMap.Size(16, 16))
var marker2 = new BMap.Marker(point, {icon: myIcon}) // 创建标注
map.addOverlay(marker2)
// if (Math.random() < 0.1) {
// var myCompOverlay = new ComplexCustomOverlay(point, "抓捕王小二");
// map.addOverlay(myCompOverlay);
// }
}
const { cases } = this.state;
let timeCount = 100;
cases.forEach(item => {
var point = new BMap.Point(sw.lng + lngSpan * (Math.random()), ne.lat - latSpan * (Math.random()));
var myCompOverlay = new ComplexCustomOverlay(point, item.name);
timeCount += 500;
setTimeout(() => {
map.addOverlay(myCompOverlay);
}, timeCount)
})
}
render() {
return <div className={style.content}>
<Card style={{padding: 0}}>
<div className={style.mapContent} ref={dom => this.mapContent = dom}></div>
<div className={style.header}>
<div className={style.sumContent}>
<div className={style.title}>共21人</div>
<div className={style.des}>警力点位分布</div>
</div>
<div className={style.slider}>
<div className={style.sliderItem}>
<img className={style.sliderIcon} src={require('@assets/zhihuishi/iocn1.png')}/>
<span>最新指令滚动令滚动令滚动令滚动</span>
</div>
</div>
</div>
<div className={style.left}>
<dl>
<dt>警务区</dt>
<dd>
<img src={require('@assets/zhihuishi/icon1-1.png')} />
<img src={require('@assets/zhihuishi/icon1-2.png')} />
<img src={require('@assets/zhihuishi/icon1-3.png')} />
</dd>
</dl>
<dl>
<dt>警力点位</dt>
<dd>
<img src={require('@assets/zhihuishi/icon2-1.png')} />
<img src={require('@assets/zhihuishi/icon2-2.png')} />
<img src={require('@assets/zhihuishi/icon1-3.png')} />
</dd>
</dl>
<dl>
<dt>辖区案发</dt>
<dd className={style.location}>
<img src={require('@assets/zhihuishi/icon3-1.png')} />
<img src={require('@assets/zhihuishi/icon3-2.png')} />
<img src={require('@assets/zhihuishi/icon3-3.png')} />
</dd>
</dl>
<dl>
<dt>视频点位</dt>
<dd>
<img src={require('@assets/zhihuishi/icon4-1.png')} />
<img src={require('@assets/zhihuishi/icon4-2.png')} />
</dd>
</dl>
</div>
<div className={style.right}>
<div className={style.title}>未开GPS</div>
<div className={style.wifiItem}>
<img src={require('@assets/zhihuishi/wifi.png')}/>
王胜利
</div>
<div className={style.wifiItem}>
<img src={require('@assets/zhihuishi/wifi.png')}/>
王胜利
</div>
<div className={style.wifiItem}>
<img src={require('@assets/zhihuishi/wifi.png')}/>
王胜利
</div>
<div className={style.wifiItem}>
<img src={require('@assets/zhihuishi/wifi.png')}/>
王胜利
</div>
</div>
</Card>
</div>
}
}
\ No newline at end of file
import * as style from './style.scss'
var icon = require('@assets/zhihuishi/light.png')
var BMap = (window as any)['BMap']
export default class ComplexCustomOverlay extends BMap.Overlay{
constructor(point: any, text: any) {
super()
this._point = point;
this._text = text;
}
initialize(map: any) {
this._map = map;
var div = this._div = document.createElement("div");
div.className = style.borderTriangleBottom
div.style.zIndex = BMap.Overlay.getZIndex(this._point.lat);
var span = this._span = document.createElement("div");
span.className = style.borderText
div.appendChild(span);
var img = document.createElement('img')
img.className = style.layerIcon
img.src = icon
span.appendChild(img)
span.appendChild(document.createTextNode(this._text));
map.getPanes().labelPane.appendChild(div);
return div;
}
draw() {
var map = this._map;
var pixel = map.pointToOverlayPixel(this._point);
this._div.style.left = (pixel.x - 60) + "px";
this._div.style.top = pixel.y - 28 - 16 + "px";
}
}
// var txt = "银湖海岸城", mouseoverTxt = txt + " " + parseInt(Math.random() * 1000,10) + "套" ;
// var myCompOverlay = new ComplexCustomOverlay(new BMap.Point(116.407845,39.914101), "银湖海岸城",mouseoverTxt);
// mp.addOverlay(myCompOverlay);
@keyframes bounceIn {
0%,20%,40%,60%,80%,to {
animation-timing-function: cubic-bezier(.215,.61,.355,1)
}
0% {
opacity: 0;
transform: scale3d(.3,.3,.3)
}
20% {
transform: scale3d(1.1,1.1,1.1)
}
40% {
transform: scale3d(.9,.9,.9)
}
60% {
opacity: 1;
transform: scale3d(1.03,1.03,1.03)
}
80% {
transform: scale3d(.97,.97,.97)
}
to {
opacity: 1;
transform: scaleX(1)
}
}
.content {
flex: 1;
height: 100%;
}
.mapContent {
flex: 1;
opacity: 0.5;
}
.header {
position: absolute;
top: 0;
left: 0;
display: flex;
.sumContent {
color: #fff;
background: #183c7f;
width: 160rem / 16;
height: 78rem / 16;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.title {
font-size: 32rem / 16;
}
.des {
font-size: 18rem / 16;
margin-top: 5rem / 16;
}
}
.slider {
height: 78rem / 16;
width: 500rem / 16;
background: rgba(39, 79, 149, .3);
.sliderItem {
height: 100%;
display: flex;
align-items: center;
color: #fff;
font-size: 18rem / 16;
padding: 0 10rem / 16;
.sliderIcon {
width: 26rem / 16;
height: 26rem / 16;
margin-right: 10rem / 16;
}
}
}
}
.left {
position: absolute;
left: 10rem / 16;
top: 88rem / 16;
background: rgba(255, 255, 255, 0.05);
width: 75rem / 16;
height: 200rem / 16;
display: flex;
flex-direction: column;
padding-left: 5rem / 16;
dl {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
dt {
color: #fff;
font-size: 12rem / 16;
}
dd {
margin-top: 10rem / 16;
img {
width: (16rem / 16);
height: (16rem / 16);
margin: 0 2rem / 16;
}
&.location {
img {
width: 10rem / 16;
height: 14rem / 16;
margin: 0 4rem / 16;
}
}
}
}
}
.right {
position: absolute;
right: 20rem / 16;
top: 20 / 15rem;
background: rgba(255, 255, 255, 0.05);
color: #fff;
padding: 10rem / 16;
.wifiItem {
margin-top: 10rem / 16;
img {
margin-right: 5rem / 16;
width: (16rem / 16);
height: (16rem / 16);
}
}
}
.borderTriangleBottom {
position: absolute;
line-height: 18px;
white-space: nowrap;
font-size: 12px;
color: #fff;
animation: bounceIn .5s;
&:after, &:before {
content: "";
position: absolute;
width: 0;
height: 0;
border: 8px solid transparent;
border-top-color: #fff;
left: 50%;
transform: translateX(-50%);
bottom: -16px;
opacity: .8;
}
&:after {
border-top-color: #1d9cd6;
bottom: -15px;
}
.borderText {
background: rgba(13, 123, 178, .8);
height: 18px;
padding: 5px 10px;
// width: 100px;
border-radius: 5px;
border: 1px solid #fff;
.layerIcon {
margin-right: 10px;
width: 16px;
vertical-align: bottom;
}
}
}
// .bounceIn {
// animation-name: bounceIn
// }
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'borderText': string;
'borderTriangleBottom': string;
'bounceIn': string;
'content': string;
'des': string;
'header': string;
'layerIcon': string;
'left': string;
'location': string;
'mapContent': string;
'right': string;
'slider': string;
'sliderIcon': string;
'sliderItem': string;
'sumContent': string;
'title': string;
'wifiItem': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
export interface HeaderProps {
}
export default class Header extends React.Component<HeaderProps, {}> {
render() {
return <div className={style.content}>
{this.props.children}
</div>
}
}
\ No newline at end of file
.content {
color: #fff;
font-size: (18rem / 16);
font-weight: bold;
margin: (10rem / 16) 0;
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import Card from '@components/Card'
import Header from '../Header/Header'
import { Tab, Tabs, TabList, TabPanel } from 'react-tabs'
import * as style from './style.scss'
require("react-tabs/style/react-tabs.css")
require('style-loader!css-loader!./tab.css')
interface TabPanelContentProps {
list: any
}
class TabPanelContent extends React.Component<TabPanelContentProps, {}> {
render() {
const { list } = this.props
return <div className={style.tabPanelContent}>
{
Object.keys(list).map((key) => {
return <dl key={key}>
<dt>{key}</dt>
{
list[key].map((item: any, index: number) => {
return <dd key={index}>
{item}
{index + 1 !== list[key].length ? '、' : ''}
</dd>
})
}
</dl>
})
}
</div>
}
}
export interface Left1Props {
}
export default class Left1 extends React.Component<Left1Props, {}> {
// 指挥长: 侯志君
// 综合勤务: 顾佳佳
// 巡逻处警: 董建飞 、 包健慷 、 王文兵
// 办案区: 吉祥 、 顾森涵 、 池天宇 、 乙合义
// 应急备勤: 郭文杰 、 邵长生
state = {
list1: {
'指挥长': ['侯志君'],
'综合勤务': ['顾佳佳'],
'巡逻处警': ['董建飞', '包健慷', '王文兵'],
'办案区': ['吉祥', '顾森涵', '池天宇', '乙合义'],
'应急备勤': ['郭文杰', '邵长生']
},
list2: {
'指挥长': ['侯志君'],
'综合勤务': ['顾佳佳'],
'巡逻处警': ['董建飞', '包健慷', '王文兵'],
'办案区': ['吉祥', '顾森涵', '池天宇', '乙合义'],
'应急备勤': ['郭文杰', '邵长生']
},
list3: {
'指挥长': ['侯志君'],
'综合勤务': ['顾佳佳'],
'巡逻处警': ['董建飞', '包健慷', '王文兵'],
'办案区': ['吉祥', '顾森涵', '池天宇', '乙合义'],
'应急备勤': ['郭文杰', '邵长生']
}
}
render() {
return <div className={style.content}>
<Card>
<div className={style.realContent}>
<Header>值班备勤</Header>
<div className={style.tabContent}>
<Tabs className={style.tabC}>
<TabList>
<Tab><div>常态警务</div></Tab>
<Tab><div>加强警务</div></Tab>
<Tab><div>战时警务</div></Tab>
</TabList>
<TabPanel className={style.tabBody}>
<TabPanelContent list={this.state.list1}></TabPanelContent>
</TabPanel>
<TabPanel className={style.tabBody}>
<TabPanelContent list={this.state.list2}></TabPanelContent>
</TabPanel>
<TabPanel className={style.tabBody}>
<TabPanelContent list={this.state.list3}></TabPanelContent>
</TabPanel>
</Tabs>
</div>
</div>
</Card>
</div>
}
}
\ No newline at end of file
.content {
flex: 290;
.realContent {
height: 100%;
display: flex;
flex-direction: column;
flex: 1;
.tabContent {
margin-top: (15rem / 16);
flex: 1;
display: flex;
.tabC {
display: flex;
flex-direction: column;
flex: 1;
}
.tabBody {
flex: 1;
.tabPanelContent {
flex: 1;
flex-direction: column;
display: flex;
dl {
display: flex;
flex: 1;
align-items: center;
dt {
width: 80rem / 16;
text-align: right;
color: #4296fc;
}
dd {
color: #b6deff;
}
}
}
}
}
}
}
.tabBody {
display: none;
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'realContent': string;
'tabBody': string;
'tabC': string;
'tabContent': string;
'tabPanelContent': string;
}
declare var cssExports: CssExports;
export = cssExports;
.react-tabs__tab {
color: #b6deff;
font-size: 14px;
border: 0;
}
.react-tabs__tab-list {
border-bottom: 1px solid #116cb2;
}
.react-tabs__tab--selected {
background: #183c7f;
border-radius: 0;
color: #ebaa1d;
}
.react-tabs__tab:focus {
box-shadow: none;
border-color: inherit;
outline: none;
}
.react-tabs__tab:focus:after {
content: "";
position: absolute;
height: 0;
width: 0;
overflow: hidden;
background:inherit;
}
body .react-tabs__tab-panel--selected {
display: flex;
}
\ No newline at end of file
import * as React from 'react'
import * as echarts from 'echarts'
import Card from '@components/Card'
import ZhsModal from '@components/ZhsModal';
import Header from '../Header/Header'
import { Tab, Tabs, TabList, TabPanel } from 'react-tabs'
import { getRandomNum, addInterFn, removeInterFn } from '@utils/index'
require("react-tabs/style/react-tabs.css")
import * as style from './style.scss'
class TabPanelContent extends React.Component{
state = {
instructions: [{
title: '审讯张林',
content: '紧急审讯,调查背景',
date: '11:00',
status: '已阅'
},{
title: '调查五星公园',
content: '查找嫌疑人李某',
date: '14:00',
status: '已阅'
},{
title: '抓捕武科胜',
content: '查找嫌疑人李某',
date: '16:00',
status: '已阅'
},{
title: '调查江海大道',
content: '监控',
date: '13:00',
status: '已阅'
},{
title: '走访大饭店财富中心',
content: '调查',
date: '15:00',
status: '已阅'
}]
}
render() {
const { instructions } = this.state;
return <div className={style.tabList}>
<div className={style.line}>
<div className={style.item}>标题</div>
<div className={style.item}>内容</div>
<div className={style.item}>时间</div>
<div className={style.item}>状态</div>
</div>
{
instructions.map((item, key) => {
return <div key={key} className={style.line}>
<div className={style.item}>{item.title}</div>
<div className={style.item}>{item.content}</div>
<div className={style.item}>{item.date}</div>
<div className={style.item}>{item.status}</div>
</div>
})
}
</div>
}
}
export interface Left2Props {
}
export default class Left2 extends React.Component<Left2Props, {}> {
pieContent: any = null ;
state = {
chartFinished: 18,
chartUnFinish: 1,
showToast: false,
toastContent: '分局指令:对京杨数码广场业主成均320624196212107172观音山新胜村三组开展教育稳控工作',
modalShow: false
}
componentDidMount() {
this.renderPie = this.renderPie.bind(this)
this.renderPie()
// addInterFn(this.renderPie.bind(this), 10)
}
componentWillUnmount () {
removeInterFn(this.renderPie)
}
renderPie() {
// this.setState({
// chartFinished: getRandomNum(12, 30),
// chartUnFinish: getRandomNum(6, 20)
// })
var option: echarts.EChartOption = {
color: ['#ffbe35','#21eded'],
title : {
show: false,
},
tooltip : {
trigger: 'item',
formatter: "{a} <br/>{b} : {c} ({d}%)",
},
legend: {
show: false,
x : 'left',
y : 'top',
orient: 'vertical',
data:['重点警情','关注警情'],
textStyle: {
color: '#b6deff'
}
},
toolbox: {
show : false
},
series : [
{
name:'警情',
type:'pie',
radius : ['20%', '50%'],
// roseType: 'radius',
data:[
{value: getRandomNum(20, 50), name:'重点警情'},
{value: getRandomNum(80, 300), name:'关注警情'}
],
labelLine: {
show: false
},
label: {
show: false
}
}
]
}
var myChart = echarts.init(this.pieContent)
myChart.setOption(option)
}
toastHandler(e: any) {
console.log(e)
this.setState({
showToast: !this.state.showToast
})
}
closeModal() {
this.setState({
showToast: false
})
}
render() {
let {chartFinished, chartUnFinish} = this.state
return <div className={style.content}>
<Card>
<div className={style.chartContent}>
<Header>作战指令(上级指令/本所)</Header>
<div className={style.chart}>
<div className={style.pieChart} ref={dom => this.pieContent = dom}></div>
<div className={style.sum}>
<div className={style.sumTitle}>完成/未完成数据图表</div>
<div className={style.nums}>
<div className={style.item}>
<div className={style.amount + ' ' + style.a1}>{chartFinished}</div>
<div className={style.des}>完成</div>
</div>
<div className={style.item} onClick={this.toastHandler.bind(this)}>
<div className={style.amount + ' ' + style.a2}>{chartUnFinish}</div>
<div className={style.des}>未完成</div>
</div>
</div>
</div>
</div>
<div className={style.tabContent}>
<Tabs className={style.tabC}>
<TabList>
<Tab><div>上级指令</div></Tab>
<Tab><div>本所指令</div></Tab>
</TabList>
<TabPanel className={style.tabBody}>
<TabPanelContent></TabPanelContent>
</TabPanel>
<TabPanel className={style.tabBody}>
<TabPanelContent></TabPanelContent>
</TabPanel>
</Tabs>
</div>
</div>
</Card>
<ZhsModal title="作战指令" showModal={this.state.showToast} onClose={this.closeModal.bind(this)}>
{this.state.toastContent}
</ZhsModal>
</div>
}
}
\ No newline at end of file
.content {
flex: 540;
margin-top: (10rem / 16);
.mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, .6);
z-index: 98;
}
.toastWrap {
width: 800px;
height: 400px;
position: fixed;
top: 50%;
left: 50%;
margin: -200px 0 0 -400px;
background-color: rgba(7, 24, 57, .96);
border: 1px solid rgba(68, 214, 255, .6);
z-index: 99;
p {
color: #fff;
line-height: 30px;
padding: 15px;
font-size: 18px;
}
}
.chartContent {
display: flex;
flex: 1;
flex-direction: column;
.chart {
flex: 150;
margin-top: (15rem / 16);
border: 1px double #116cb2;
display: flex;
.pieChart {
flex: 190;
}
.sum {
flex: 300;
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
.sumTitle {
color: #b6deff;
text-align: center;
}
.nums {
display: flex;
.item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
margin-top: (10rem / 16);
cursor: pointer;
.amount {
font-size: (30rem / 16);
font-weight: bold;
&.a1 {
color: #ffbe35;
}
&.a2 {
color: #21eded;
}
}
.des {
color: #b6deff;
margin-top: (15rem / 16);
}
}
}
}
}
.tabContent {
flex: 310;
margin-top: (15rem / 16);
.tabC {
height: 100%;
display: flex;
flex-direction: column;
.tabBody {
flex: 1;
.tabList {
flex: 1;
color: #4296fc;
display: flex;
flex-direction: column;
height: 100%;
.line {
display: flex;
align-items: center;
border: 1px solid #116cb2;
flex: 1;
.item {
flex: 1;
text-align: center;
}
}
}
}
}
}
}
}
.tabBody {
display: none;
}
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'a1': string;
'a2': string;
'amount': string;
'chart': string;
'chartContent': string;
'content': string;
'des': string;
'item': string;
'line': string;
'mask': string;
'nums': string;
'pieChart': string;
'sum': string;
'sumTitle': string;
'tabBody': string;
'tabC': string;
'tabContent': string;
'tabList': string;
'toastWrap': string;
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as style from './style.scss'
import Left1 from './Left1/index'
import Left2 from './Left2/index'
import Center from './Center/Center'
export interface ZhihuiShiProps {
}
export default class ZhihuiShi extends React.Component<ZhihuiShiProps, {}> {
render() {
return <div className={style.content}>
<div className={style.left}>
<Left1></Left1>
<Left2></Left2>
</div>
<div className={style.right}>
<Center></Center>
</div>
</div>
}
}
\ No newline at end of file
.content {
display: flex;
height: 100%;
.left {
flex: 410;
display: flex;
flex-direction: column;
}
.right {
flex: 1455;
margin-left: (35 / 16);
}
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
'content': string;
'left': string;
'right': string;
}
declare var cssExports: CssExports;
export = cssExports;
@import '_base.scss';
:global {
html,
body {
width: 100%;
height: 100%;
}
#app {
width: 100%;
height: 100%;
}
svg,
svg path {
fill: currentcolor;
}
.center-table {
table td {
text-align: center;
}
.ant-table-thead > tr > th {
text-align: center;
}
}
}
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
html, body{
height: 100%;
width: 100%;
overflow: hidden;
font-family: 'Microsoft YaHei';
}
\ No newline at end of file
// This file is automatically generated.
// Please do not change this file!
interface CssExports {
}
declare var cssExports: CssExports;
export = cssExports;
import * as React from 'react'
import * as ReactDOM from 'react-dom'
import { Provider } from 'mobx-react'
import { configure } from 'mobx'
import * as historyCreate from 'history'
import { syncHistoryWithStore } from 'mobx-react-router'
import { Router } from 'react-router-dom'
// import registerServiceWorker from './sw'
import AppRouter from '@shared/App'
import * as store from './store'
// registerServiceWorker()
configure({ enforceActions: 'observed' })
const hashHistory = historyCreate.createHashHistory()
const history = syncHistoryWithStore(hashHistory, store.routerStore)
const render = Component => {
ReactDOM.render(
<Provider {...store}>
<Router history={history}>
<Component />
</Router>
</Provider>,
document.getElementById('app') as HTMLElement
)
}
render(AppRouter)
import http from '@services/http'
export default {
// 登录
login(data): Promise<any> {
return http.post('/login', data || {})
}
}
export { default as auth } from './auth'
export { default as user } from './user'
import http from '@services/http'
export default {
getUsers(data): Promise<any> {
return http.get('user', data || {})
},
createUser(data): Promise<any> {
return http.post('user/create', data || {})
},
modifyUser(data): Promise<any> {
return http.post('user/modify', data || {})
},
deleteUser(data): Promise<any> {
return http.post('user/delete', data || {})
}
}
import axios, {AxiosRequestConfig as _AxiosRequestConfig} from 'axios'
import * as qs from 'qs'
import {message} from 'antd'
import {getCookie} from '@utils/index'
import {COOKIE_KEYS} from '@constants/index'
export interface AxiosRequestConfig extends _AxiosRequestConfig {
startTime?: Date
}
export interface HttpResquest {
get?(url, data, baseUrl?): Promise<any>
post?(url, data, baseUrl?): Promise<any>
delete?(url, data, baseUrl?): Promise<any>
put?(url, data, baseUrl?): Promise<any>
}
enum HTTPERROR {
LOGICERROR,
TIMEOUTERROR,
NETWORKERROR
}
const TOKENERROR = [401, 402, 403]
const DEFAULTCONFIG = {
baseURL: 'http://61.147.239.22:18080/zhs',//process.env.BASEURL
}
const http: HttpResquest = {}
const methods = ['get', 'post', 'put', 'delete']
let authTimer: number = null
const isSuccess = res => res.code === '000000'
const resFormat = res => res.response || res.data || {}
methods.forEach(v => {
http[v] = (url, data, baseUrl?) => {
const axiosConfig: AxiosRequestConfig = {
method: v,
url,
baseURL: baseUrl || DEFAULTCONFIG.baseURL,
headers: {
Authorization: `Bearer ${getCookie(COOKIE_KEYS.TOKEN)}`,
PLSID: 320611550000
}
}
const instance = axios.create(DEFAULTCONFIG)
// Add a request interceptor
instance.interceptors.request.use(
cfg => {
const ts = Date.now() / 1000
const queryData = {ts}
cfg.params = {...cfg.params, ...queryData}
return cfg
},
error => Promise.reject(error)
)
// Add a response interceptor
instance.interceptors.response.use(
response => {
let rdata = null;
if (typeof response.data === 'object' && !isNaN(response.data.length)) {
rdata = response.data[0]
} else {
rdata = response.data
}
if (!isSuccess(rdata)) {
const _err = {
msg: rdata.message,
errCode: rdata.code,
type: HTTPERROR[HTTPERROR.LOGICERROR],
config: response.config
}
return Promise.reject(_err)
}
return resFormat(rdata)
},
error => {
if (TOKENERROR.includes(error.response.status)) {
message.destroy()
message.error('用户认证失败! 请登录重试...')
window.clearTimeout(authTimer)
authTimer = window.setTimeout(() => {
location.replace('/#/login')
}, 300)
return
}
const _err = {
msg: error.response.statusText || error.message || '网络故障',
type: /^timeout of/.test(error.message)
? HTTPERROR[HTTPERROR.TIMEOUTERROR]
: HTTPERROR[HTTPERROR.NETWORKERROR],
config: error.config
}
return Promise.reject(_err)
}
)
if (v === 'get') {
axiosConfig.params = data
} else if (data instanceof FormData) {
axiosConfig.data = data
} else {
axiosConfig.data = qs.stringify(data)
}
axiosConfig.startTime = new Date()
return instance
.request(axiosConfig)
.then(res => res)
.catch(err => {
message.destroy()
message.error(err.response || err.msg || err.stack || '未知错误')
if (axiosConfig.url.includes('autoScript.set')) {
return Promise.resolve({
err
})
} else {
return Promise.reject({
err,
stack: err.msg || err.stack || ''
})
}
})
}
})
export default http
import { observable, action, runInAction } from 'mobx'
import { StoreExt } from '@utils/reactExt'
import { routerStore } from './../'
import { setCookie, clearCookie } from '@utils/index'
import { COOKIE_KEYS, LOCALSTORAGE_KEYS } from '@constants/index'
export class AuthStore extends StoreExt {
/**
* 用户信息
*
* @type {IAuthStore.UserInfo}
* @memberof AuthStore
*/
@observable
userInfo: IAuthStore.UserInfo = null
@action
login = async (params: IAuthStore.LoginParams): Promise<any> => {
try {
const res = await this.api.auth.login(params)
runInAction('SET_USERINFO', () => {
this.userInfo = res
});
setCookie(COOKIE_KEYS.TOKEN, res.sessionId);
localStorage.setItem(LOCALSTORAGE_KEYS.USERINFO, JSON.stringify(res))
routerStore.replace('/')
} catch (err) {
console.error(err)
}
}
@action
logout = () => {
clearCookie(COOKIE_KEYS.TOKEN)
localStorage.removeItem(LOCALSTORAGE_KEYS.USERINFO)
routerStore.replace('/login')
}
/**
* 初始化用户信息
*
* @memberof AuthStore
*/
@action
initUserInfo = (): IAuthStore.UserInfo => {
const lcoalUserInfo = localStorage.getItem(LOCALSTORAGE_KEYS.USERINFO)
if (!lcoalUserInfo) {
throw new Error('no local userinfo!!')
}
const userInfo: IAuthStore.UserInfo = JSON.parse(lcoalUserInfo)
this.userInfo = userInfo
return userInfo
}
}
export default new AuthStore()
import { AuthStore as AuthStoreModel } from './index'
export as namespace IAuthStore
export interface AuthStore extends AuthStoreModel {}
export interface LoginParams {
account: string
password: string
}
export interface UserInfo {
msg: string
token: string
category: string
}
import { observable, action } from 'mobx'
import { StoreExt } from '@utils/reactExt'
import { LOCALSTORAGE_KEYS } from '@constants/index'
export class GlobalStore extends StoreExt {
/**
* 菜单栏折叠
*
* @type {boolean}
* @memberof GlobalStore
*/
@observable
sideBarCollapsed: boolean = localStorage.getItem(LOCALSTORAGE_KEYS.SIDE_BAR_COLLAPSED) === '1'
/**
* 菜单栏主题
*
* @type {IGlobalStore.SideBarTheme}
* @memberof GlobalStore
*/
@observable
sideBarTheme: IGlobalStore.SideBarTheme =
(localStorage.getItem(LOCALSTORAGE_KEYS.SIDE_BAR_THEME) as IGlobalStore.SideBarTheme) || 'light'
/**
* 打开的菜单key
*
* @type {string[]}
* @memberof GlobalStore
*/
@observable
navOpenKeys: string[] = JSON.parse(localStorage.getItem(LOCALSTORAGE_KEYS.NAV_OPEN_KEYS)) || []
@action
toggleSideBarCollapsed = () => {
this.sideBarCollapsed = !this.sideBarCollapsed
localStorage.setItem(LOCALSTORAGE_KEYS.SIDE_BAR_COLLAPSED, this.sideBarCollapsed ? '1' : '0')
}
@action
changeSiderTheme = (theme: IGlobalStore.SideBarTheme) => {
this.sideBarTheme = theme
localStorage.setItem(LOCALSTORAGE_KEYS.SIDE_BAR_THEME, theme)
}
@action
setOpenKeys = (openKeys: string[]) => {
this.navOpenKeys = openKeys
localStorage.setItem(LOCALSTORAGE_KEYS.NAV_OPEN_KEYS, JSON.stringify(openKeys))
}
}
export default new GlobalStore()
import { GlobalStore as GlobalStoreModel } from './index'
export as namespace IGlobalStore
export interface GlobalStore extends GlobalStoreModel {}
export type SideBarTheme = 'dark' | 'light'
import { RouterStore } from 'mobx-react-router'
export const routerStore = new RouterStore()
export { default as globalStore } from './globalStore'
export { default as authStore } from './authStore'
export { default as userStore } from './userStore'
\ No newline at end of file
import { observable, action, runInAction } from 'mobx'
import { PaginationConfig } from 'antd/lib/pagination'
import { StoreExt } from '@utils/reactExt'
export class UserStore extends StoreExt {
/**
* 加载用户列表时的loading
*
* @type {boolean}
* @memberof UserStore
*/
@observable
getUsersloading: boolean = false
/**
* 用户列表
*
* @type {IUserStore.IUser[]}
* @memberof UserStore
*/
@observable
users: IUserStore.IUser[] = []
/**
* table pageIndex
*
* @type {number}
* @memberof UserStore
*/
@observable
pageIndex: number = 1
/**
* table pageSize
*
* @type {number}
* @memberof UserStore
*/
@observable
pageSize: number = 30
/**
* users total
*
* @type {number}
* @memberof UserStore
*/
@observable
total: number = 0
/**
* 加载用户列表
*
* @memberof UserStore
*/
@action
getUsers = async () => {
this.getUsersloading = true
try {
const res = await this.api.user.getUsers({ pageIndex: this.pageIndex, pageSize: this.pageSize })
runInAction('SET_USER_LIST', () => {
this.users = res.users
this.total = res.total
})
} catch (err) {}
runInAction('HIDE_USER_LIST_LOADING', () => {
this.getUsersloading = false
})
}
createUser = async (user: IUserStore.IUser) => {
await this.api.user.createUser(user)
}
modifyUser = async (user: IUserStore.IUser) => {
await this.api.user.modifyUser(user)
}
deleteUser = async (_id: string) => {
await this.api.user.deleteUser({ _id })
this.getUsers()
}
@action
changePageIndex = (pageIndex: number) => {
this.pageIndex = pageIndex
this.getUsers()
}
@action
changePageSize = (pageSize: number) => {
this.pageSize = pageSize
this.getUsers()
}
handleTableChange = (pagination: PaginationConfig) => {
const { current, pageSize } = pagination
if (current !== this.pageIndex) {
this.changePageIndex(current)
}
if (pageSize !== this.pageSize) {
this.changePageSize(pageSize)
}
}
}
export default new UserStore()
import { UserStore as UserStoreModel } from './index'
export as namespace IUserStore
export interface UserStore extends UserStoreModel {}
export interface IUser {
_id?: string
account: string
password?: string
category?: string
createdAt?: string
}
// 所有sass文件依赖基础入口
// 注意: 因为所有scss文件都依赖,
// 此文件包括此文件依赖的所有模块都不能有实际的css代码输出,
// 避免太多重复的css代码输出
@import './_var.scss';
// global variables
// -------- Colors -----------
$primary-color: #1da57a;
$dark-color: #001529;
$gray-color: #888;
$border-light-color: #f8f8f8;
// *** font-size ***/
$font-size-base: 14px;
$font-size-lg: 16px;
$font-size-sm: 12px;
import { cloneDeep } from 'lodash'
/**
* setCookie
*
* @export
* @param {string} name
* @param {string} value
* @param {number} [expiredays=365]
*/
export function setCookie(name: string, value: string, expiredays = 365) {
const exdate = new Date()
exdate.setDate(exdate.getDate() + expiredays)
document.cookie = `${name}=${escape(value)};expires=${exdate.toUTCString()}`
}
/**
* getCookie
*
* @export
* @param {string} name
* @returns
*/
export function getCookie(name: string) {
if (document.cookie.length > 0) {
let cStart = document.cookie.indexOf(name + '=')
if (cStart !== -1) {
cStart = cStart + name.length + 1
let cEnd = document.cookie.indexOf(';', cStart)
if (cEnd === -1) {
cEnd = document.cookie.length
}
return unescape(document.cookie.substring(cStart, cEnd))
}
}
return ''
}
/**
* clearCookie
*
* @export
* @param {string} name
*/
export function clearCookie(name: string) {
setCookie(name, '')
}
/**
* 从url获取参数
*
* @export
* @param {string} name
* @returns {string}
*/
export function queryURL(name: string): string {
const reg = new RegExp(`(^|&)${name}=([^&]*)(&|$)`, 'i')
const result = window.location.search.substr(1).match(reg)
if (result !== null) {
return decodeURI(result[2])
}
return null
}
/**
* 数组查询
*
* @export
* @template T
* @param {any[]} array
* @param {string} key
* @param {string} [keyAlias='key']
* @returns {T}
*/
export function queryArray<T>(array: any[], key: string, keyAlias = 'key'): T {
if (!(array instanceof Array)) {
return null
}
const item = array.filter(a => a[keyAlias] === key)
if (item.length) {
return item[0]
}
return null
}
/**
* 数组格式转树状结构
*
* @export
* @template T
* @param {any[]} array
* @param {string} [id='id']
* @param {string} [pid='pid']
* @param {string} [children='children']
* @returns {T[]}
*/
export function arrayToTree<T>(array: any[], id = 'id', pid = 'pid', children = 'children'): T[] {
const data = cloneDeep(array)
const result = []
const hash = {}
data.forEach((_, index) => {
hash[data[index][id]] = data[index]
})
data.forEach(item => {
const hashVP = hash[item[pid]]
if (hashVP) {
if (!hashVP[children]) {
hashVP[children] = []
}
hashVP[children].push(item)
} else {
result.push(item)
}
})
return result
}
// 原来的
export function initFontSize(): number {
var width = window.innerWidth
var percent = width / 1920
var rootFontSize = percent * 16
document.documentElement.style.fontSize = rootFontSize + 'px'
return percent
}
/**
* 随机数获取
* @param min
* @param max
*/
export function getRandomNum(min: number, max: number) {
var Range = max - min;
var Rand = Math.random();
return (min + Math.round(Rand * Range));
}
const interFns: Array<any> = []
const INTERVAL = 1000;
/**
* 主线程定时器
*/
function mainThreadInter(): any {
return setInterval(() => {
interFns.forEach(inter => {
try{
if (inter.time === inter.second) {
inter.fn()
inter.time = 1
} else {
inter.time++
}
} catch(e) {}
})
}, INTERVAL)
}
export function addInterFn(fn: Function, second: number): number {
return interFns.push({
fn,
second,
time: 1
})
}
export function removeInterFn(fn: Function) {
var indexOf: number
interFns.some((inter, key) => {
if (inter.fn === fn) {
key = indexOf
return true
}
})
interFns.splice(indexOf, 1)
}
// 启动主定时器
mainThreadInter()
export default function () { }
\ No newline at end of file
import * as React from 'react'
import { message, notification } from 'antd'
import * as api from '@services/api'
/**
* 扩展组件/store类以方便调用
* 集成api, 公用组件
*/
export class ComponentExt<P = {}, S = {}> extends React.Component<P, S> {
readonly api = api
readonly $message = message
readonly $notification = notification
}
export class StoreExt {
readonly api = api
readonly $message = message
readonly $notification = notification
}
module.exports = {
'primary-color': '#1782dc'
}
{
"compilerOptions": {
"target": "es6",
"module": "esnext",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"removeComments": false,
"rootDirs": ["./src"],
"baseUrl": "./src",
"paths": {
"@constants/*": ["constants/*"],
"@services/*": ["services/*"],
"@utils/*": ["utils/*"],
"@assets/*": ["assets/*"],
"@components/*": ["components/*"],
"@views/*": ["containers/views/*"],
"@shared/*": ["containers/shared/*"]
},
"jsx": "react",
"alwaysStrict": true,
"noUnusedLocals": true,
"importHelpers": true,
"experimentalDecorators": true,
"lib": ["es7", "dom"],
"skipLibCheck": true,
"typeRoots": ["node", "node_modules/@types", "./typings"]
}
}
{
"extends": "./tsconfig.json",
"include": ["src/**/*.d.ts", "typings"],
"files": ["src/index.tsx"]
}
declare interface SvgrComponent extends React.StatelessComponent<React.SVGAttributes<SVGElement>> {}
declare module '*.svg' {
const content: SvgrComponent
export default content
}
declare module '*.png' {
const content: any
export default content
}
declare module '*.jpg' {
const content: any
export default content
}
declare module '*.jpeg' {
const content: any
export default content
}
declare module '*.gif' {
const content: any
export default content
}
declare var process: {
env: {
NODE_ENV: string
APP_ENV: string
BASEURL: string
}
}
declare interface PlainObject {
[propName: string]: any
}
declare interface BooleanObject {
[propName: string]: boolean
}
declare interface StringObject {
[propName: string]: string
}
declare interface NumberObject {
[propName: string]: number
}
import * as React from 'react'
declare module 'react' {
interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
referrerPolicy?: 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'unsafe-url'
}
}
import { RouterStore as _RouterStore } from 'mobx-react-router'
declare global {
interface RouterStore extends _RouterStore {}
}
declare interface IStore {
authStore: IAuthStore.AuthStore
userStore: IUserStore.UserStore
globalStore: IGlobalStore.GlobalStore
routerStore: RouterStore
}
declare module '*.scss' {
const content: any;
export = content;
}
\ No newline at end of file
Arguments:
/usr/local/bin/node /usr/local/bin/yarn
PATH:
/Users/pual/.deno/bin:/usr/local/Cellar/python/3.7.1/bin:/System/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/Users/pual/.deno/bin:/usr/local/Cellar/python/3.7.1/bin:/System/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/pual/Documents/tools/apache-maven-3.6.0/bin:/Users/pual/Documents/tools/apache-maven-3.6.0/bin
Yarn version:
1.15.2
Node version:
11.10.0
Platform:
darwin x64
Trace:
Error: https://registry.npmjs.org/npm%20install%20--save%20video-react: Not found
at Request.params.callback [as _callback] (/usr/local/lib/node_modules/yarn/lib/cli.js:66058:18)
at Request.self.callback (/usr/local/lib/node_modules/yarn/lib/cli.js:129541:22)
at Request.emit (events.js:197:13)
at Request.<anonymous> (/usr/local/lib/node_modules/yarn/lib/cli.js:130513:10)
at Request.emit (events.js:197:13)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/yarn/lib/cli.js:130435:12)
at Object.onceWrapper (events.js:285:13)
at IncomingMessage.emit (events.js:202:15)
at endReadableNT (_stream_readable.js:1129:12)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
npm manifest:
{
"name": "jingqing",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "cross-env NODE_ENV=development APP_ENV=dev webpack-dev-server --config build/webpack.config.js --open --hot",
"build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js",
"build:qa": "cross-env APP_ENV=qa npm run build",
"build:prod": "cross-env APP_ENV=prod npm run build",
"build:guanyinshan": "cross-env APP_ENV=guanyinshan npm run build",
"build:old": "webpack -p --config ./build/config.public.js",
"start": "node ./build/server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@types/echarts": "^4.1.3",
"@types/node": "^10.12.10",
"autoprefixer": "^9.5.1",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.5",
"babel-plugin-import": "^1.11.0",
"bagpipe": "^0.3.5",
"cache-loader": "^2.0.1",
"case-sensitive-paths-webpack-plugin": "^2.2.0",
"cross-env": "^5.2.0",
"css-loader": "^1.0.1",
"css-modules-typescript-loader": "^2.0.0",
"file-loader": "^2.0.0",
"html-webpack-plugin": "^3.2.0",
"less": "^3.8.1",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.6.0",
"moment-locales-webpack-plugin": "^1.0.7",
"node-sass": "^4.11.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-loader": "^3.0.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^1.2.3",
"thread-loader": "^2.1.2",
"tile-lnglat-transform": "^1.3.2",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "^3.1.6",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10",
"workbox-webpack-plugin": "^4.2.0"
},
"dependencies": {
"@types/react": "^16.7.3",
"@types/react-countup": "^4.0.0",
"@types/react-dom": "^16.0.9",
"@types/react-router-dom": "^4.3.1",
"@types/react-tabs": "^2.3.0",
"antd": "^3.16.2",
"bourbon": "^5.1.0",
"echarts": "^4.2.0-rc.2",
"echarts-wordcloud": "^1.1.3",
"moment": "^2.24.0",
"npm install --save video-react": "^0.13.2",
"react": "^16.6.1",
"react-countup": "^4.0.0",
"react-dom": "^16.6.1",
"react-hot-loader": "^4.8.3",
"react-html5video": "^2.5.1",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-tabs": "^2.3.0",
"url-loader": "^1.1.2"
}
}
yarn manifest:
No manifest
Lockfile:
No lockfile
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论