zhaojs
2023-07-18 0e1bce71603c5cbb92b3fe6387c87430528d18a9
uniapp/components/indexPage.vue
@@ -580,6 +580,7 @@
            }
            this.$u.api.checkPreferenceGoods({
            }).then(e => {
               console.log(e);
               if(e.code != 0)
               {
                  that.currentPage = 1;
@@ -845,7 +846,7 @@
               this.loadingState = false
               var that = this;
               
               if(that.currentPage==7&&that.preferData)
               if(that.bottomType==7&&that.preferData)
               {//猜你喜欢
                  this.$u.api.gussessLikeGoods({
                     platefrom:that.preferData.p_platefrom,
@@ -853,7 +854,18 @@
                     pageId:this.currentPage,
                     pageSize:10
                  }).then(e=>{
                     console.log(e)
                     console.log(e);
                     if (e.code != 0) return that.$alert(e.msg)
                     var res = e.data.list;
                     if (res.length < 10) {
                        that.loadingState = false
                        that.loadstatus = 'normal'
                     } else {
                        that.currentPage++
                        that.loadstatus = 'loading'
                        that.loadingState = true
                     }
                     that.bottomGoodsList = that.bottomGoodsList.concat(res);
                  })
               }
               else{