prevBanner () {
const $scroll = this.$refs.bannerScroll.scrollLeft
this.$refs.bannerScroll.scrollTo({
left: $scroll - 750,
behavior: 'smooth'
})
this.$nextTick(() => {
if (this.$refs.bannerScroll.scrollLeft === 0) {
this.isVisiblePrev = false
}
alert(this.$refs.bannerScroll.scrollLeft)
this.isVisibleNext = true
})
},