| | |
| | | <!--左轮播,右两行--> |
| | | <view class="centerflex f_contant"> |
| | | <view class="f_centerSwiper-container swiper-box swiper-item f_left"> |
| | | <swiper class="swiper-box" :autoplay="true" :interval="5000" :duration="300" circular> |
| | | <swiper class="swiper-box" :autoplay="true" :interval="3000" :duration="300" :indicator-active-color="'#fff'" :indicator-dots="true" circular> |
| | | <swiper-item v-for="(items,index) in popBannerSList" :key='index'> |
| | | <view class="swiper-item defIcon" @click="goUrl(items)"> |
| | | <image :src="items.image" mode="aspectFit"></image> |
| | |
| | | </swiper> |
| | | </view> |
| | | <!--全网热销--> |
| | | <view class="van-row"> |
| | | <!-- <view class="van-row"> |
| | | <view class="van-col van-col--12" style="padding-right: 10rpx;"> |
| | | <view class="home-row" @click="gorxb()"> |
| | | <view class="title"><text class="name">全网热销榜</text> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <!-- 大家都在买 --> |
| | | <!-- <view class="everysBuying-container colCen" v-if="zdmList.length>0"> |
| | | <view class="box-bar-content rowCen"> |
| | |
| | | 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; |
| | | this.topBannerList = res.topBannerList; |
| | | this.headerColor = this.topBannerList[0].colour; |
| | | if(res.topBannerList&&res.topBannerList.length>0) |
| | | { |
| | | this.topBannerList = res.topBannerList; |
| | | this.headerColor = this.topBannerList[0].colour; |
| | | } |
| | | |
| | | this.singleLineList = res.singleLineList; |
| | | this.doubleLineList = res.doubleLineList; |
| | | this.bottomBannerList = res.bottomBannerList; |
| | |
| | | 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) { |