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