Commit 800bf096b58d9372078ab9e468497a96c86f6509

Authored by Andy
1 parent ea439c89

New changelist

css/parkhotarea.css
... ... @@ -245,7 +245,7 @@ a:link,a:visited,a:hover,a:active{
245 245 .co-center{
246 246 color: #fff;
247 247 font-size: 16px;
248   - width:142px;
  248 + width:200px;
249 249 height : 32px;
250 250 line-height : 32px;
251 251 text-align: center;
... ...
js/common/unit.js
... ... @@ -14,8 +14,8 @@ sysComm = {
14 14 areaName:'邯郸市峰峰矿区',
15 15 point_lng:114.223507,//赤峰市万达广场经度
16 16 point_lat:36.460958,//赤峰市万达广场纬度(118.917132,42.255586)
17   - centerpoint_lng:1114.223507,//热点区域中心点
18   - centerpoint_lat:36.460958,//维多利购物广场坐标(118.967899,42.279838)
  17 + centerpoint_lng:114.8520506,//热点区域中心点
  18 + centerpoint_lat:36.3197645,//维多利购物广场坐标(118.967899,42.279838)
19 19 grantType: 'PASSWORD',//授权模式
20 20 clientType: 'WEB'//客户端类型
21 21 }
... ...
js/pagejs/guidance.js
... ... @@ -436,7 +436,7 @@ $(function () {
436 436 "Title": "行政区划",
437 437 "inputName": "selected1_value",
438 438 // 默认选中的值(参数值写需要选中的select的value值)
439   - "selected": "2703",
  439 + "selected": "658",
440 440 Succee: function () {
441 441 // console.log($("input[name='selected1_value']").attr('value'));
442 442 // var checktext;
... ...
js/pagejs/parkhotarea.js
... ... @@ -449,6 +449,7 @@ function hotAreas(){
449 449 var mPoint=null;
450 450 var marker=[];
451 451 for(var i = 0; i < centerData.length; i++){
  452 + console.log(centerData)
452 453 hotTit=centerData[i].title;
453 454 hotpoiX=centerData[i].point.split(",")[0];
454 455 hotpoiY=centerData[i].point.split(",")[1];
... ... @@ -466,7 +467,7 @@ function hotAreas(){
466 467 var hotpoiY=centerData[i].point.split(",")[1];
467 468 var mPoint = new BMap.Point(hotpoiX,hotpoiY);
468 469 //添加文字标注
469   - var label = new BMap.Label('<div id="co-center" class="co-center">'+hotTit+'</div>',{offset:new BMap.Size(-74,-64),position:mPoint});
  470 + var label = new BMap.Label('<div id="co-center" class="co-center">'+hotTit+'</div>',{offset:new BMap.Size(-100,-64),position:mPoint});
470 471 // 创建文本标注对象
471 472 label.setStyle({
472 473 color: "#F0F0F0",
... ...