index.wxml 2.1 KB

123456789101112131415161718192021222324252627282930
  1. <view class="wrap {{isIpx?'pb20':''}}">
  2. <view class="sticky-content" wx:if="{{classification.tabs.length}}">
  3. <i-tabs activeIndex="{{classification.activeIndex}}" bind:activeIndexChange="classificationChange" data-idx="1" fontColor="#000" iClass="category-list" tabs="{{classification.tabs}}" lineBgColor="{{'background:linear-gradient(to right, '+skin.color+', '+skin.light+')'}}"></i-tabs>
  4. </view>
  5. <view class="bg-f">
  6. <view class="blank35" wx:if="{{classification.tabs.length}}"></view>
  7. <!-- 幻灯片 -->
  8. <view class="swipe" wx:if="{{slider_list.length>0}}">
  9. <swiper indicatorDots class="swiper-content" duration="400" autoplay indicatorActiveColor="#FF5344" indicatorColor="#E7E9E7" interval="5000" circular>
  10. <swiper-item wx:for="{{slider_list}}" wx:key="id">
  11. <view class='banner' bindtap='goBannerUrl' data-idx="{{index}}">
  12. <i-img iClass="banner-img" loadImage="{{item.image}}"></i-img>
  13. </view>
  14. </swiper-item>
  15. </swiper>
  16. </view>
  17. </view>
  18. <view class="list {{pintuan_show_type==1?'twoCol':''}}">
  19. <i-spu-big class="item" wx:for="{{rushList}}" wx:if="{{rushList.length&&pintuan_show_type!=1}}" wx:key="actId" spuItem="{{item}}" reduction="{{reduction}}" skin="{{skin}}" goods_sale_unit="{{goods_sale_unit}}"></i-spu-big>
  20. <i-spu-col wx:for="{{rushList}}" wx:if="{{rushList.length&&pintuan_show_type==1}}" wx:key="actId" spuItem="{{item}}" reduction="{{reduction}}" skin="{{skin}}" goods_sale_unit="{{goods_sale_unit}}"></i-spu-col>
  21. <view class="none-rush-list" wx:if="{{showEmpty}}">
  22. <image class="img-block" src="../../images/icon-index-empty.png"></image>
  23. <view class="h1">暂时没有拼团</view>
  24. </view>
  25. </view>
  26. <i-load-more iClass="loadMore" loading="{{loadMore}}" tip="{{loadText}}" wx:if="{{!loadOver&&!showEmpty&&loadMore}}"></i-load-more>
  27. </view>
  28. <i-tabbar currentIdx='2' cartNum='{{cartNum}}' class="tabbar {{isIpx?'pb20':''}}" />
  29. <i-new-auth needAuth="{{needAuth&&showAuthModal}}" bind:authSuccess="authSuccess" bind:cancel="authModal" needPosition="{{needPosition}}"></i-new-auth>