master
yin5th 2022-05-06 15:56:43 +08:00
parent 509addab7f
commit 622bd8cdc8
1 changed files with 5 additions and 3 deletions

View File

@ -45,13 +45,13 @@
<!-- 自定义js -->
<script type="text/javascript" charset="utf-8">
jQuery(function($){
prependEv();
monitorWindow();
// 窗体改变
$(window).resize(function(){
//监听窗口大小的改变
monitorWindow();
})
prependEv();
})
})
function creatswiper(){
// banner轮播
@ -172,7 +172,9 @@
$('.slided').remove();
$(`#qrcode${couponMain[i].id}`).qrcode(`https://coupon.scdxtc.cn/coupon_info?id=${couponMain[i].id}&business_code=${couponMain[i].business_code}`);
}
creatswiper()
setTimeout(() => {
creatswiper();
}, 300);
}
</script>