diff --git a/pages/nongKe/cloud_entrepot/index.vue b/pages/nongKe/cloud_entrepot/index.vue index c279578..b7cdbb1 100644 --- a/pages/nongKe/cloud_entrepot/index.vue +++ b/pages/nongKe/cloud_entrepot/index.vue @@ -365,6 +365,12 @@ if (res.data.list[0].product_id == this.goodsList[0].product_id) { this.status = "nomore" this.flag = false + } else { + if (res.data.list.length == 0) { + this.status = "nomore" + return + } + this.goodsList = this.goodsList.concat(res.data.list) } }) // this.getList().then(res => { diff --git a/pages/plantGrass/plant_detail/index.vue b/pages/plantGrass/plant_detail/index.vue index 4c7a4a0..ec3383c 100644 --- a/pages/plantGrass/plant_detail/index.vue +++ b/pages/plantGrass/plant_detail/index.vue @@ -3,8 +3,8 @@ - + @@ -267,8 +267,8 @@ - + @@ -343,6 +343,7 @@ }, data() { return { + flag: false, open_grass: openPlantGrass, followDetail: null, commList: [], //评论列表 @@ -719,10 +720,12 @@ /*查看提到的宝贝*/ openMore(item) { this.$refs.mentioned.showPopup() + this.flag = true }, close() { this.$refs.mentioned.closePopup() this.$refs.bindmobile.close() + this.flag = false } }, onReachBottom() { @@ -1426,4 +1429,10 @@ // height: ; } + + // 禁止滚动 + .off_scoll { + height: 100vh; + overflow: hidden; + } \ No newline at end of file