setter
parent
509addab7f
commit
622bd8cdc8
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue