Fix::4346 【旅居商城小程序】管理后台配置的旅居店铺视频在前端小程序轮播区域未生效
This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
:indicator-dots="false"
|
:indicator-dots="false"
|
||||||
circular
|
circular
|
||||||
next-margin="380rpx"
|
next-margin="380rpx"
|
||||||
:autoplay="true"
|
:autoplay="c.images.length > 2"
|
||||||
interval="3000"
|
interval="3000"
|
||||||
duration="10000">
|
duration="10000">
|
||||||
<swiper-item v-for="(img, idx) in c.images" :key="idx">
|
<swiper-item v-for="(img, idx) in c.images" :key="idx">
|
||||||
|
|||||||
@@ -648,6 +648,12 @@ export default {
|
|||||||
getFarmerData() {
|
getFarmerData() {
|
||||||
getJiaLouDetail(this.id).then(res => {
|
getJiaLouDetail(this.id).then(res => {
|
||||||
this.store = res.data || {}
|
this.store = res.data || {}
|
||||||
|
if(res.data.video) {
|
||||||
|
this.store.banner = [
|
||||||
|
...this.store.banner,
|
||||||
|
res.data.video
|
||||||
|
]
|
||||||
|
}
|
||||||
this.getNews()
|
this.getNews()
|
||||||
this.getJiaLouProductList()
|
this.getJiaLouProductList()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user