jQuery(document).ready(function ($) { let popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')) popoverTriggerList.map(function (popoverTriggerEl) { let content = $(popoverTriggerEl).find('.dj-popover-wrap').html(); return new bootstrap.Popover(popoverTriggerEl, { container: 'body', placement: 'left', trigger: 'hover', html: true, content: content, }) }); // 打开搜烦弹窗 $('#searchModalBtan').click(function () { let _this = $(this); if (_this.hasClass('active')) { // 关闭 _this.removeClass('active'); $('#searchModal').slideUp(); } else { // 打开 _this.addClass('active'); $('#searchModal').slideDown(); } }); // QQ、微信群切换 $('.group_platform a').click(function () { let _this = $(this); let parent = _this.parent('.group_platform'); let ancestor = parent.parents('.card'); let target = _this.data('target'); parent.children('a').removeClass('active'); _this.addClass('active'); ancestor.children('.card-body').removeClass('d-flex').addClass('d-none'); ancestor.children('.' + target).removeClass('d-none').addClass('d-flex'); }); //q回剙 $(window).scroll(function () { var A = $(window).scrollTop(); if (A > 400) { $("#back").css("display", "block"); } else { $("#back").css("display", "none"); } }); $("#back").click(function () { $("html,body").animate( { "scrollTop": 0 }, 500 ); }) }); //在线客服 function ShowBoxWX() { document.getElementById("imweixin").style.display = "block"; if (document.getElementById('imqq')) { document.getElementById('imqq').style.display = "none"; } if (document.getElementById('imphone')) { document.getElementById('imphone').style.display = "none"; } } function ShowBoxQQ() { document.getElementById("imqq").style.display = "block"; if (document.getElementById('imweixin')) { document.getElementById('imweixin').style.display = "none"; } if (document.getElementById('imphone')) { document.getElementById('imphone').style.display = "none"; } } function ShowBoxPH() { document.getElementById("imphone").style.display = "block"; if (document.getElementById('imweixin')) { document.getElementById('imweixin').style.display = "none"; } if (document.getElementById('imqq')) { document.getElementById('imqq').style.display = "none"; } } // tab切换 function setTab(name, cursel, n) { for (i = 1; i <= n; i++) { var menu = document.getElementById(name + i); var con = document.getElementById("con_" + name + "_" + i); menu.className = i == cursel ? "cur" : ""; con.style.display = i == cursel ? "block" : "none"; } } //点击弹出对象Q获取对应ID function ShowBox(zoomDisplay) { if (document.getElementById(zoomDisplay).style.display != "block") { document.getElementById(zoomDisplay).style.display = "block"; } else { document.getElementById(zoomDisplay).style.display = "none"; } } //关闭弹出? function CloseBox(zoomDisplay) { document.getElementById(zoomDisplay).style.display = "none"; } //左边菜单 function rightMenu(zoomDisplay) { if ($("#" + zoomDisplay).hasClass('active')) { $(".menu").attr("class", "menu"); $(".nav-img").attr("class", "nav-img"); $("#" + zoomDisplay).removeClass('active'); } else { $(".nav-img").attr("class", "nav-img active"); $("#" + zoomDisplay).attr("class", "menu active animated fadeInRight faster"); } } //展开文字 function ShowText(zoomDisplay) { if ($("#" + zoomDisplay).hasClass('show')) { $("#" + zoomDisplay).attr("class", "ci-desc"); $(".show-more.01").attr("class", "show-more 01 show"); $(".show-more.02").attr("class", "show-more 02"); } else { $("#" + zoomDisplay).attr("class", "ci-desc show"); $(".show-more.01").attr("class", "show-more 01"); $(".show-more.02").attr("class", "show-more 02 show"); } } 【蚌埠哪里有卖的_专业做鸡电话号码,欢迎您的光临】蚌埠拉丝桥南有女的,蚌埠久珏御足正规吗...