<view class="seckillBox"><scroll-view class="class-box flex b-t" scroll-x="true" scroll-left="{{scrollLeft}}" scroll-with-animation="{{true}}"><block wx:for="{{indexList}}" wx:for-item="item" wx:for-index="idx" wx:key="idx"><view data-event-opts="{{[['tap',[['tabClass',[idx]]]]]}}" class="item" style="{{'width:'+(topNavWidth)+';'}}" bindtap="__e"><view class="{{['time',(idx==classIndex)?'action':'']}}">{{item.time}}</view><view class="{{['status',(idx==classIndex)?'action':'']}}">{{item.state}}</view></view></block></scroll-view><swiper class="list-Box" current="{{classIndex}}" duration="500" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{indexList}}" wx:for-item="ls" wx:for-index="idx"><swiper-item class="list-item"><view class=" b-b position-relative"><view class="title-box flex "><view class="title-box-left"><block wx:if="{{ls.status==1}}"><text>抢购中先下先得哦！</text></block><block wx:if="{{ls.status==2}}"><text>精品好货即将开抢！</text></block><block wx:if="{{ls.status==0}}"><text>本场已结束，下次早点来哦！</text></block></view><view class="title-box-right flex"><block wx:if="{{ls.status==1}}"><text class="tip">距离结束</text></block><block wx:if="{{ls.status==2}}"><text class="tip">距离开始</text></block><block wx:if="{{ls.status==1||ls.status==2}}"><uni-countdown vue-id="{{'2dcc4aa0-1-'+idx}}" color="#F9F9F8" background-color="#666666" show-day="{{false}}" hour="{{ls.stopTimeH}}" minute="{{ls.stopTimeM}}" second="{{ls.stopTimeS}}" bind:__l="__l"></uni-countdown></block></view></view></view><scroll-view class="list" scroll-y="true" data-event-opts="{{[['scrolltolower',[['getList',['$0'],['classIndex']]]]]}}" bindscrolltolower="__e"><block wx:for="{{ls.dataList}}" wx:for-item="lss" wx:for-index="ind" wx:key="ind"><view class="goodsList-item flex"><image src="{{lss.image}}" lazy-load="{{true}}" mode="scaleToFill"></image><view class="goodsList-content"><view class="title clamp"><text>{{lss.title}}</text></view><view class="slider flex"><view class="slider-box"><view class="slider-action" style="{{'width:'+(lss.percent+'%')+';'}}"></view></view><view class="sales-nub">{{"已抢"+(lss.percent+'%')}}</view></view><view class="goods-money flex"><view class="money-box"><view class="money"><text class="font-size-sm">￥</text>{{''+lss.price+''}}</view><view class="otMoney-box"><text class="otMoney">{{"￥"+lss.ot_price}}</text></view></view><view data-event-opts="{{[['tap',[['navProduct',['$0',ind],[[['indexList','',idx]]]]]]]}}" class="{{['cart',(ls.status==1)?'seckill-action':'']}}" bindtap="__e">{{''+(ls.status==1?'去抢购':ls.status==2?'未开始':'已结束')+''}}</view></view></view></view></block><uni-load-more vue-id="{{'2dcc4aa0-2-'+idx}}" status="{{ls.loadingType}}" bind:__l="__l"></uni-load-more></scroll-view></swiper-item></block></swiper></view>