Selaa lähdekoodia

Merge branch 'master' of http://116.63.33.55/git/nazw

zt 1 vuosi sitten
vanhempi
commit
8c6a51ced0
1 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 7 7
      nngkxxdp/src/main/resources/static/district/js/sy_mobile.js

+ 7 - 7
nngkxxdp/src/main/resources/static/district/js/sy_mobile.js

@@ -14,7 +14,7 @@ $(function () {
     $('.right-map').css('height',hlHeight);
     var msHeight = $('.right-map').outerHeight() - $('.right-search').outerHeight()/1.3;
     $('.right-search').css('top',msHeight);
-    
+
     // 点击图片,显示弹窗
     $('.img_tab').click(function (e) {
         $(this).find('.pop').toggle();
@@ -440,7 +440,7 @@ $(function () {
         }
     }
 
-    var str=window.location.search;
+    var str=window.parent.location.search;
     console.log(str)
     str = decodeURI(str)
     let name = "se"
@@ -2182,7 +2182,7 @@ $(function () {
             })
         }
 	});
-    
+
 
     $('#gj-one').bind('keyup',function(event) {
         var startZD = $('#gj-one').val();
@@ -3143,7 +3143,7 @@ $(function () {
             }, 500);
         }
     }
-    
+
     // 上下移动的内容框
     $('.arrowss').click(function(){
 		var height= $('.left-map').height();
@@ -3200,7 +3200,7 @@ $(function () {
             window.location.reload();
         }
     })
-    
+
     // 点击搜索的出现结果部分的返回到首页
 	$('.backBtn').click(function() {
         // if (gjIndex == 1){
@@ -3313,7 +3313,7 @@ $(function () {
     $('.show-fifth .back_top').click(function() {
         $('.wrap_result').scrollTop(0)
     });
-    
+
     var geolocation = new BMap.Geolocation();
     geolocation.getCurrentPosition(function(r){
         if(this.getStatus() == BMAP_STATUS_SUCCESS){
@@ -3328,5 +3328,5 @@ $(function () {
         } else {
             // alert('未能获得您的定位,请手动输入起点');
         }
-    }); 
+    });
 })