diff --git a/pages/index/index.vue b/pages/index/index.vue index 02a4d51..4cc1d70 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -87,12 +87,12 @@ this.topImg = item.uploadPath } else if (item.position.indexOf("banner") !=-1) { this.swiperList.push(item.uploadPath) - } else if (item.position.indexOf("bottom") !=-1) { - const obj = { - uploadPath:item.uploadPath, - isOpen:item.status - } - this.sceneList.push(obj) + } else if (item.position.indexOf("bottom-left") !=-1) { + const obj = {uploadPath:item.uploadPath,isOpen:item.status} + this.sceneList[0] = obj + }else if (item.position.indexOf("bottom-right-top") !=-1){ + const obj = {uploadPath:item.uploadPath,isOpen:item.status} + this.sceneList[1] = obj } })