| | |
| | | }, |
| | | onRestore() { |
| | | this.swpidx = 0 |
| | | //console.log('下拉被终止'); |
| | | console.log('下拉被终止'); |
| | | }, |
| | | pagescroll(e) { |
| | | this.$emit('scrollNum', e.detail.scrollTop) |
| | |
| | | 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) |
| | |
| | | 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) { |