解决bug

This commit is contained in:
red-deng-deng 2021-11-30 06:42:52 +08:00
parent 2de538da04
commit ed1e148576
2 changed files with 3 additions and 4 deletions

View File

@ -277,7 +277,7 @@
centeredSlides: true, centeredSlides: true,
observer: true, observer: true,
observeParents: true, observeParents: true,
loop: true, loop: self.goodsShow,
onSlideChangeEnd: function (swiper) { onSlideChangeEnd: function (swiper) {
let row = res.data[swiper.realIndex]; let row = res.data[swiper.realIndex];
self.onSelected(res.data[swiper.realIndex]) self.onSelected(res.data[swiper.realIndex])

View File

@ -72,7 +72,7 @@
width: 2rem; width: 2rem;
height: 0.25rem; height: 0.25rem;
z-index: 2; z-index: 2;
margin-left: -0.9rem; margin-left: -0.72rem;
background-color: transparent; background-color: transparent;
border: none; border: none;
outline: none; outline: none;
@ -96,7 +96,7 @@
position: absolute; position: absolute;
top: 0.888rem; top: 0.888rem;
left: 50%; left: 50%;
margin-left: 0.8rem; margin-left: 0.63rem;
width: 0.83rem; width: 0.83rem;
height: 0.38rem; height: 0.38rem;
border-radius: 0.21rem; border-radius: 0.21rem;
@ -262,7 +262,6 @@
} }
}).catch(err=>{ }).catch(err=>{
consoel.log(256,err);
self.maskshow=true; self.maskshow=true;
self.tiptext=res.message; self.tiptext=res.message;
self.popboxshow=true; self.popboxshow=true;