$(document).ready(function(){ var swiper = new Swiper(".swiper-container", { // autoplay: 3000, pagination: ".swiper-pagination", paginationClickable: true, loop: true }); var h_max = 0; $('.regional-box .content1').each(function () { var h = $(this).outerHeight(); h_max = h > h_max ? h : h_max; }); $('.regional-box .content1').height(h_max); window.onresize = function () { var h_max = 0; $('.content1').each(function () { var h = $(this).outerHeight(); h_max = h > h_max ? h : h_max; }); $('.content1').height(h_max); if (document.body.clientWidth > 1000) { $('.assignmentHight1').css('height', $('.GitHeight1').height() + 'px'); } if (document.body.clientWidth > 1000) { $('.assignmentHight').css('height', $('.GitHeight').height() + 'px'); } }; if (document.body.clientWidth > 1000) { $('.assignmentHight').css('height', $('.GitHeight').height() + 'px'); } if (document.body.clientWidth > 1000) { $('.assignmentHight1').css('height', $('.GitHeight1').height() + 'px'); } $('.list-container-box .navigator-arrow').click(function () { if($(this).attr('type') == '1'){ $(this).text('鏀惰捣'); $(this).prev().prev().removeClass('text_hide') $(this).prev().slideDown(); $(this).attr('type','2'); $(this).removeClass('navigator-arrow'); $(this).addClass('navigator-arrow1') }else{ $(this).text('鏇村鍐呭'); $(this).prev().slideUp(); $(this).attr('type','1'); $(this).removeClass('navigator-arrow1'); $(this).addClass('navigator-arrow'); $(this).prev().prev().addClass('text_hide') } }) }); function check() { Swal.fire({ imageUrl:'/wp-content/uploads/2019/12/aotwechatqr.jpg', imageWidth:'100%', confirmButtonText: '鍏抽棴', confirmButtonClass:'swas_btn' }).then((result) => { }) }