|
@@ -445,79 +445,90 @@ $(function() {
|
|
|
$(".search-change li:nth-child(1)").addClass("layui-this").siblings().removeClass("layui-this");
|
|
|
$(this).find('.flex_text').css('color','rgb(39, 117, 204)').parents('.flex_li').siblings().children('.img_tab').find('.flex_text').attr('style','');
|
|
|
$(this).siblings().find('.mapnav').removeClass('choice');
|
|
|
- if (tabtext == "政务公开") {
|
|
|
- $('.show-first').fadeOut(100).siblings('.show-fifth').fadeIn(200);
|
|
|
- xxGEO(bms);
|
|
|
- xrjz(bms);
|
|
|
- getPointPostAjax(bms);
|
|
|
- localStorage.setItem("gjIndex","1");
|
|
|
- localStorage.setItem("gjImg","0");
|
|
|
- localStorage.setItem("zjImg","0");
|
|
|
- localStorage.setItem("zjIndex","0");
|
|
|
- $('.left-map').scrollTop(0);
|
|
|
- } else if (tabtext == '产业园区') {
|
|
|
- xxGEO(cyy);
|
|
|
- xrxx(cyy);
|
|
|
- getPointPostAjax(cyy);
|
|
|
- $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
- $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
- $('.left-map').scrollTop(0);
|
|
|
- } else if (tabtext == '停车泊车') {
|
|
|
- xxGEO(tc);
|
|
|
- xrxx(tc);
|
|
|
- getPointPostAjax(tc);
|
|
|
- $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
- $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
- $('.left-map').scrollTop(0);
|
|
|
- } else if (tabtext == '不动产登记') {
|
|
|
- xxGEO(bdcdjzxbsdt);
|
|
|
- xrxx(bdcdjzxbsdt);
|
|
|
- getPointPostAjax(bdcdjzxbsdt);
|
|
|
- $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
- $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
- $('.left-map').scrollTop(0);
|
|
|
- }else if(tabtext == "便民公厕"){
|
|
|
- xxGEO(gc);
|
|
|
- xrxx(gc);
|
|
|
- getPointPostAjax(gc);
|
|
|
- $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
- $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
- $('.left-map').scrollTop(0);
|
|
|
- }else if(tabtext == "住房保障"){
|
|
|
- xxGEO(fwglzx);
|
|
|
- xrxx(fwglzx);
|
|
|
- getPointPostAjax(fwglzx);
|
|
|
- $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
- $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
- $('.left-map').scrollTop(0);
|
|
|
- }else if(tabtext == "住房公积金"){
|
|
|
- xxGEO(gjj);
|
|
|
- xrxx(gjj);
|
|
|
- getPointPostAjax(gjj);
|
|
|
- $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
- $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
- $('.left-map').scrollTop(0);
|
|
|
- }else if(tabtext == "办税服务"){
|
|
|
- xxGEO(bsfwt);
|
|
|
- xrxx(bsfwt);
|
|
|
- getPointPostAjax(bsfwt);
|
|
|
- $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
- $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
- $('.left-map').scrollTop(0);
|
|
|
- }else if(tabtext == "核酸检测"){
|
|
|
- xxGEO(hscyd);
|
|
|
- xrxx(hscyd);
|
|
|
- getPointPostAjax(hscyd);
|
|
|
- $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
- $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
- $('.left-map').scrollTop(0);
|
|
|
- }else if(tabtext == "市场监管"){
|
|
|
- xxGEO(scjdglj);
|
|
|
- xrxx(scjdglj);
|
|
|
- getPointPostAjax(scjdglj);
|
|
|
- $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
- $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
- $('.left-map').scrollTop(0);
|
|
|
+ switch (tabtext){
|
|
|
+ case '政务公开':
|
|
|
+ $('.show-first').fadeOut(100).siblings('.show-fifth').fadeIn(200);
|
|
|
+ xxGEO(bms);
|
|
|
+ xrjz(bms);
|
|
|
+ getPointPostAjax(bms);
|
|
|
+ localStorage.setItem("gjIndex","1");
|
|
|
+ localStorage.setItem("gjImg","0");
|
|
|
+ localStorage.setItem("zjImg","0");
|
|
|
+ localStorage.setItem("zjIndex","0");
|
|
|
+ $('.left-map').scrollTop(0);
|
|
|
+ break;
|
|
|
+ case '产业园区':
|
|
|
+ xxGEO(cyy);
|
|
|
+ xrxx(cyy);
|
|
|
+ getPointPostAjax(cyy);
|
|
|
+ $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
+ $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
+ $('.left-map').scrollTop(0);
|
|
|
+ break;
|
|
|
+ case '停车泊车':
|
|
|
+ xxGEO(tc);
|
|
|
+ xrxx(tc);
|
|
|
+ getPointPostAjax(tc);
|
|
|
+ $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
+ $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
+ $('.left-map').scrollTop(0);
|
|
|
+ break;
|
|
|
+ case '不动产登记':
|
|
|
+ xxGEO(bdcdjzxbsdt);
|
|
|
+ xrxx(bdcdjzxbsdt);
|
|
|
+ getPointPostAjax(bdcdjzxbsdt);
|
|
|
+ $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
+ $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
+ $('.left-map').scrollTop(0);
|
|
|
+ break;
|
|
|
+ case '便民公厕':
|
|
|
+ xxGEO(gc);
|
|
|
+ xrxx(gc);
|
|
|
+ getPointPostAjax(gc);
|
|
|
+ $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
+ $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
+ $('.left-map').scrollTop(0);
|
|
|
+ break;
|
|
|
+ case '住房保障':
|
|
|
+ xxGEO(fwglzx);
|
|
|
+ xrxx(fwglzx);
|
|
|
+ getPointPostAjax(fwglzx);
|
|
|
+ $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
+ $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
+ $('.left-map').scrollTop(0);
|
|
|
+ break;
|
|
|
+ case '住房公积金':
|
|
|
+ xxGEO(gjj);
|
|
|
+ xrxx(gjj);
|
|
|
+ getPointPostAjax(gjj);
|
|
|
+ $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
+ $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
+ $('.left-map').scrollTop(0);
|
|
|
+ break;
|
|
|
+ case '办税服务':
|
|
|
+ xxGEO(bsfwt);
|
|
|
+ xrxx(bsfwt);
|
|
|
+ getPointPostAjax(bsfwt);
|
|
|
+ $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
+ $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
+ $('.left-map').scrollTop(0);
|
|
|
+ break;
|
|
|
+ case '核酸检测':
|
|
|
+ xxGEO(hscyd);
|
|
|
+ xrxx(hscyd);
|
|
|
+ getPointPostAjax(hscyd);
|
|
|
+ $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
+ $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
+ $('.left-map').scrollTop(0);
|
|
|
+ break;
|
|
|
+ case '市场监管':
|
|
|
+ xxGEO(scjdglj);
|
|
|
+ xrxx(scjdglj);
|
|
|
+ getPointPostAjax(scjdglj);
|
|
|
+ $('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
|
|
|
+ $('.title-first1:nth-child(2)').css('padding-top',60);
|
|
|
+ $('.left-map').scrollTop(0);
|
|
|
+ break;
|
|
|
}
|
|
|
$(this).children('.pop').slideToggle(200);
|
|
|
$(this).siblings().find('.pop').hide();
|