xiaomei 1 月之前
父节点
当前提交
26a29cf6ee
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/pages/shoppingMall/index.vue

+ 4 - 2
src/pages/shoppingMall/index.vue

@@ -463,6 +463,7 @@ export default {
     this.goods = [];
     this.goods = [];
     this.duoduoCats();
     this.duoduoCats();
     this.goodsDay();
     this.goodsDay();
+    console.log("onReachBottom")
     this.$bus.$on("onReachBottom", (url) => {
     this.$bus.$on("onReachBottom", (url) => {
       console.log(this.platformObj.type)
       console.log(this.platformObj.type)
       if (page != -1) {
       if (page != -1) {
@@ -479,8 +480,8 @@ export default {
       color: "#999",
       color: "#999",
       selectedColor: "#E68B1E",
       selectedColor: "#E68B1E",
     });
     });
-    this.duoduoCats();
-    this.goodsDay();
+    // this.duoduoCats();
+    // this.goodsDay();
   },
   },
   onHide() {},
   onHide() {},
   onPageScroll(e) {
   onPageScroll(e) {
@@ -843,6 +844,7 @@ export default {
                     //     that.goods.push(e);
                     //     that.goods.push(e);
                     // });
                     // });
                     that.goods = [...that.goods,...obj]
                     that.goods = [...that.goods,...obj]
+                    console.log(that.goods,"===")
                 } else {
                 } else {
                     if (page == 1) {
                     if (page == 1) {
                         that.haveGoods = true;
                         that.haveGoods = true;