diff --git a/pages/home/components/Banner.vue b/pages/home/components/Banner.vue index 0bb0f1c..1a3dfb3 100644 --- a/pages/home/components/Banner.vue +++ b/pages/home/components/Banner.vue @@ -66,7 +66,6 @@ success: function (image) { ctx.drawImage(image.path, 0, 0, image.width, image.height); ctx.draw(true, function (e) { - console.log(e) uni.canvasGetImageData({ canvasId: 'colorThief', x: 0, @@ -99,8 +98,6 @@ swiperChange(e) { this.swiperCurrent = e.detail.current; this.doColorThief(); - let bgcolor = this.bgcolorAry[this.swiperCurrent]; - this.$emit('getbgcolor', bgcolor); }, // 路由跳转