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,7 +245,7 @@ a:link,a:visited,a:hover,a:active{
245 .co-center{ 245 .co-center{
246 color: #fff; 246 color: #fff;
247 font-size: 16px; 247 font-size: 16px;
248 - width:142px; 248 + width:200px;
249 height : 32px; 249 height : 32px;
250 line-height : 32px; 250 line-height : 32px;
251 text-align: center; 251 text-align: center;
js/common/unit.js
@@ -14,8 +14,8 @@ sysComm = { @@ -14,8 +14,8 @@ sysComm = {
14 areaName:'邯郸市峰峰矿区', 14 areaName:'邯郸市峰峰矿区',
15 point_lng:114.223507,//赤峰市万达广场经度 15 point_lng:114.223507,//赤峰市万达广场经度
16 point_lat:36.460958,//赤峰市万达广场纬度(118.917132,42.255586) 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 grantType: 'PASSWORD',//授权模式 19 grantType: 'PASSWORD',//授权模式
20 clientType: 'WEB'//客户端类型 20 clientType: 'WEB'//客户端类型
21 } 21 }
js/pagejs/guidance.js
@@ -436,7 +436,7 @@ $(function () { @@ -436,7 +436,7 @@ $(function () {
436 "Title": "行政区划", 436 "Title": "行政区划",
437 "inputName": "selected1_value", 437 "inputName": "selected1_value",
438 // 默认选中的值(参数值写需要选中的select的value值) 438 // 默认选中的值(参数值写需要选中的select的value值)
439 - "selected": "2703", 439 + "selected": "658",
440 Succee: function () { 440 Succee: function () {
441 // console.log($("input[name='selected1_value']").attr('value')); 441 // console.log($("input[name='selected1_value']").attr('value'));
442 // var checktext; 442 // var checktext;
js/pagejs/parkhotarea.js
@@ -449,6 +449,7 @@ function hotAreas(){ @@ -449,6 +449,7 @@ function hotAreas(){
449 var mPoint=null; 449 var mPoint=null;
450 var marker=[]; 450 var marker=[];
451 for(var i = 0; i < centerData.length; i++){ 451 for(var i = 0; i < centerData.length; i++){
  452 + console.log(centerData)
452 hotTit=centerData[i].title; 453 hotTit=centerData[i].title;
453 hotpoiX=centerData[i].point.split(",")[0]; 454 hotpoiX=centerData[i].point.split(",")[0];
454 hotpoiY=centerData[i].point.split(",")[1]; 455 hotpoiY=centerData[i].point.split(",")[1];
@@ -466,7 +467,7 @@ function hotAreas(){ @@ -466,7 +467,7 @@ function hotAreas(){
466 var hotpoiY=centerData[i].point.split(",")[1]; 467 var hotpoiY=centerData[i].point.split(",")[1];
467 var mPoint = new BMap.Point(hotpoiX,hotpoiY); 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 label.setStyle({ 472 label.setStyle({
472 color: "#F0F0F0", 473 color: "#F0F0F0",