| | |
| | | </view> |
| | | <view class="pageBody-container colCen borderBox"> |
| | | <view class="column-container"> |
| | | <view class="bannerSwiper-container colCenCen borderBox" v-if="topBannerList.length>0"> |
| | | <!-- <view class="bannerSwiper-container colCenCen borderBox" v-if="topBannerList.length>0"> |
| | | <swiper class="swiper-box" :current="swpidx |
| | | " @change="changeColor" :autoplay="true" :interval="3000" :duration="500" :indicator-dots="true" |
| | | :indicator-active-color="'#fff'" circular> |
| | |
| | | |
| | | </swiper-item> |
| | | </swiper> |
| | | </view> |
| | | </view> --> |
| | | |
| | | <!-- 金刚区 --> |
| | | <view class="navslider-box" v-if="navbarShowList.length > 0"> |
| | |
| | | }, |
| | | onRestore() { |
| | | this.swpidx = 0 |
| | | console.log('下拉被终止'); |
| | | }, |
| | | pagescroll(e) { |
| | | this.$emit('scrollNum', e.detail.scrollTop) |
| | |
| | | this.$u.api.getBanner({ |
| | | type: '1,3,4,5,11,12,13,14' |
| | | }).then(e => { |
| | | console.log(e) |
| | | if (e.code == 1) return that.$alert(e.msg); |
| | | var res = e.data.info; |
| | | if(res.topBannerList&&res.topBannerList.length>0) |
| | |
| | | that.doubleLineList = res.doubleLineList; |
| | | that.bottomBannerList = res.bottomBannerList; |
| | | that.fastenter=res.indexbanner; |
| | | console.log(that.fastenter); |
| | | that.popBannerSList=res.popBannerSList; |
| | | that.enterTop=res.enterTop; |
| | | that.enterDown=res.enterDown; |
| | |
| | | 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) { |