diff --git a/pkg_product/views/sojoumStore.vue b/pkg_product/views/sojoumStore.vue index d47c44a..90ca899 100644 --- a/pkg_product/views/sojoumStore.vue +++ b/pkg_product/views/sojoumStore.vue @@ -19,8 +19,8 @@ > @@ -678,8 +678,17 @@ export default { getFarmerData() { getJiaLouDetail(this.id).then(res => { this.store = res.data || {} + this.store.banner = res.data.banner.map(img => { + return { + type: 'img', + url: img + } + }) if(res.data.video) { - this.store.banner.unshift(res.data.video) + this.store.banner.unshift({ + type: 'video', + url: res.data.video + }) } this.getNews() this.getJiaLouProductList()