zhaojs
2023-06-28 9ea0383c303620cd019d0776ecbb47f52bcef805
uniapp/components/indexPage.vue
@@ -595,7 +595,7 @@
         },
         onRestore() {
            this.swpidx = 0
            //console.log('下拉被终止');
            console.log('下拉被终止');
         },
         pagescroll(e) {
            this.$emit('scrollNum', e.detail.scrollTop)
@@ -630,19 +630,20 @@
               var res = e.data.info;
               if(res.topBannerList&&res.topBannerList.length>0)
               {
                  that.topBannerList = res.topBannerList;
                  that.headerColor = that.topBannerList[0].colour;
                  this.topBannerList = res.topBannerList;
                  this.headerColor = this.topBannerList[0].colour;
               }
               that.singleLineList = res.singleLineList;
               that.doubleLineList = res.doubleLineList;
               that.bottomBannerList = res.bottomBannerList;
               that.fastenter=res.indexbanner;
               that.popBannerSList=res.popBannerSList;
               that.enterTop=res.enterTop;
               that.enterDown=res.enterDown;
               this.singleLineList = res.singleLineList;
               this.doubleLineList = res.doubleLineList;
               this.bottomBannerList = res.bottomBannerList;
               this.fastenter=res.indexbanner;
               this.popBannerSList=res.popBannerSList;
               this.enterTop=res.enterTop;
               this.enterDown=res.enterDown;
               setTimeout(() => {
                  that.triggeredstate = false;
                  that._freshing = false;
                  this.triggeredstate = false;
                  this._freshing = false;
               }, 300)
            }).catch(function(err) {
               console.log(err)
@@ -698,7 +699,6 @@
               pageSize: 10,
               type: type
            }).then(e => {
               // console.log(e)
               if (e.code != 0) return that.$alert(e.msg)
               var res = e.data.list;
               if (res.length < 10) {