Commit e024e029a8669907f4469bbdbbfe0e65755427c9

Authored by Andy
1 parent 6c2fee4a

添加 热点区域

js/common/unit.js
... ... @@ -11,6 +11,7 @@ sysComm = {
11 11 cityId:91,//市id
12 12 provId:5,//省id
13 13 cityName:'赤峰市',//城市
  14 + areaName:'赤峰市红山区',
14 15 point_lng:118.917132,//赤峰市万达广场经度
15 16 point_lat:42.255586,//赤峰市万达广场纬度(118.917132,42.255586)
16 17 centerpoint_lng:118.967899,//热点区域中心点
... ...
js/pagejs/guidance.js
... ... @@ -442,12 +442,12 @@ $(function () {
442 442 // var checktext;
443 443 checkText = $(".sel-title").eq(0).text();
444 444 if (checkText == "全部") {
445   - checktext = "赤峰市"
  445 + checktext = sysComm.cityName
446 446 } else if (checkText == "其他") {
447 447 // map.clearOverlays();
448   - checktext = "赤峰市";
  448 + checktext = sysComm.cityName;
449 449 } else {
450   - checktext = "赤峰市" + checkText;
  450 + checktext = sysComm.cityName + checkText;
451 451 }
452 452 getBoundary(checktext);
453 453  
... ... @@ -455,7 +455,7 @@ $(function () {
455 455 }
456 456 });
457 457  
458   - getBoundary("赤峰市红山区");
  458 + getBoundary(sysComm.areaName);
459 459 serfun();
460 460 }
461 461 }
... ...
pages/parkquery.html
... ... @@ -42,10 +42,10 @@
42 42 <div class="parkquery-cont con">
43 43 <div style="display:inline-block;width: 108px;height: 36px;margin-right: 8px">
44 44 <select class="select01" id="select01">
45   - <option value="923">红山区</option>
  45 + <!-- <option value="923">红山区</option>
46 46 <option value="925">松山区</option>
47 47 <option value="923,924,925,926,927,928,929,930,931,932,933,934">全部</option>
48   - <option value="924,926,927,928,929,930,931,932,933,934">其他</option>
  48 + <option value="924,926,927,928,929,930,931,932,933,934">其他</option>-->
49 49 </select>
50 50 </div>
51 51  
... ...