diff --git a/homepage.html b/homepage.html index e4d6552..370faa7 100644 --- a/homepage.html +++ b/homepage.html @@ -277,7 +277,7 @@ centeredSlides: true, observer: true, observeParents: true, - loop: true, + loop: self.goodsShow, onSlideChangeEnd: function (swiper) { let row = res.data[swiper.realIndex]; self.onSelected(res.data[swiper.realIndex]) diff --git a/index.html b/index.html index 222c937..18c8289 100644 --- a/index.html +++ b/index.html @@ -72,7 +72,7 @@ width: 2rem; height: 0.25rem; z-index: 2; - margin-left: -0.9rem; + margin-left: -0.72rem; background-color: transparent; border: none; outline: none; @@ -96,7 +96,7 @@ position: absolute; top: 0.888rem; left: 50%; - margin-left: 0.8rem; + margin-left: 0.63rem; width: 0.83rem; height: 0.38rem; border-radius: 0.21rem; @@ -262,7 +262,6 @@ } }).catch(err=>{ - consoel.log(256,err); self.maskshow=true; self.tiptext=res.message; self.popboxshow=true;