loadImage (url) {
const image = new Image()
image.src = url
image.onerror = () => {
console.log('圖片加載失敗')
this.showLoading = false
}
image.onload = () => {
//圖片加載完成
this.bgImage = image.src
this.showLoading = false
}
},
