|
@@ -426,7 +426,7 @@ $(function () {
|
|
|
$(this).parent('div').siblings().children('.mapnav').removeClass('choice');
|
|
|
var xxtx = $(this).text();
|
|
|
indexList = 2;
|
|
|
- $('.show-fifth .title-second>h6').text(xxtx);
|
|
|
+ $('.show-fifth .title-second>h6').text('搜索结果');
|
|
|
switch(xxtx){
|
|
|
case "小学":
|
|
|
applyClickList();
|
|
@@ -907,6 +907,7 @@ $(function () {
|
|
|
if(point){
|
|
|
var address = new BMap.Point(point.lng, point.lat);
|
|
|
addFirst = address;
|
|
|
+ var discrptAddress;
|
|
|
let getClick = getAllArr.filter(i => {
|
|
|
return i.address == discriptText;
|
|
|
});
|
|
@@ -1089,12 +1090,11 @@ $(function () {
|
|
|
});
|
|
|
$('.layui-show .result_form_ajax').empty().append(html)
|
|
|
$('.show-sixth .pad_box').empty().append(discript);
|
|
|
- if (discriptText == discrptAddress) {
|
|
|
- addMarker(getClick, address);
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+ // if (discriptText == discrptAddress) {
|
|
|
+ // }
|
|
|
}
|
|
|
layui.use(['laypage', 'layer'], function(){
|
|
|
var laypage = layui.laypage,layer = layui.layer;
|
|
@@ -1112,6 +1112,7 @@ $(function () {
|
|
|
});
|
|
|
});
|
|
|
blList = 1;
|
|
|
+ addMarker(getClick, address);
|
|
|
map.setCenter(addFirst);
|
|
|
resolve();
|
|
|
}
|
|
@@ -1485,13 +1486,13 @@ $(function () {
|
|
|
});
|
|
|
$('.marrige').empty().append(html);
|
|
|
$('.show-sixth .pad_box').empty().append(discript);
|
|
|
- if (discriptText == discrptAddress) {
|
|
|
- addMarker(getClick, address);
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
+ // if (discriptText == discrptAddress) {
|
|
|
+ addMarker(getClick, address);
|
|
|
+ // }
|
|
|
blList = 1;
|
|
|
map.setCenter(addFirst);
|
|
|
resolve();
|
|
@@ -2737,8 +2738,9 @@ $(function () {
|
|
|
});
|
|
|
|
|
|
$('.btn_back').click(function(){
|
|
|
+ map.clearOverlays();
|
|
|
+ map.centerAndZoom(new BMap.Point(106.563, 29.523), 14);
|
|
|
if (blList == 1) {
|
|
|
- map.clearOverlays();
|
|
|
$('.show-fourth').show().siblings().hide();
|
|
|
var windowHeight = $('.right-map').innerHeight() - $('.head').innerHeight() + 45;
|
|
|
var spWidth = ($('.show-fourth').innerWidth() - $('.wrap_result1').innerWidth())/2;
|
|
@@ -2748,7 +2750,7 @@ $(function () {
|
|
|
$('.right-map').show().siblings('.top_search').show();
|
|
|
$('.right-map').css('height', hlHeight);
|
|
|
// $('.show-fifth .back_top').show();
|
|
|
- $('.title-second h6').text('搜索结果');
|
|
|
+ $('.show-fifth .wrap_result .title-second h6').text('搜索结果');
|
|
|
$('.content_from_ajax .layui-tab-title>li:nth-child(1)').addClass('layui-this').siblings().removeClass('layui-this');
|
|
|
$('.content_from_ajax .layui-tab-content .layui-tab-item:nth-child(1)').addClass('layui-show').siblings().removeClass('layui-show');
|
|
|
$('.result_form_ajax').empty();
|
|
@@ -2806,9 +2808,11 @@ $(function () {
|
|
|
});
|
|
|
|
|
|
$('.back_btn').click(function() {
|
|
|
+ map.clearOverlays();
|
|
|
+ map.centerAndZoom(new BMap.Point(106.563, 29.523), 14);
|
|
|
if (indexList == 1) {
|
|
|
- map.clearOverlays();
|
|
|
applyClickList();
|
|
|
+ $('.show-fifth .wrap_result .title-second h6').text('搜索结果');
|
|
|
xrList(getAllArr);
|
|
|
indexList = 2;
|
|
|
$('.show-fifth .back_top').show();
|