EP-WachatApp/eaterplanet_ecommerce/moduleA/pin/index.wxml

32 lines
2.2 KiB
Plaintext

<ep-navBar title="拼团" background='#4facfe' back="{{true}}" iconTheme='white' color='#fff' bindback="handlerGobackClick"/>
<view class="wrap {{isIpx?'pb20':''}}">
<view class="sticky-content" wx:if="{{classification.tabs.length}}">
<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>
</view>
<view class="bg-f">
<view class="blank35" wx:if="{{classification.tabs.length}}"></view>
<!-- 幻灯片 -->
<view class="swipe" wx:if="{{slider_list.length>0}}">
<swiper indicatorDots class="swiper-content" duration="400" autoplay indicatorActiveColor="#FF5344" indicatorColor="#E7E9E7" interval="5000" circular>
<swiper-item wx:for="{{slider_list}}" wx:key="id">
<view class='banner' bindtap='goBannerUrl' data-idx="{{index}}">
<i-img iClass="banner-img" loadImage="{{item.image}}"></i-img>
</view>
</swiper-item>
</swiper>
</view>
</view>
<view class="list {{pintuan_show_type==1?'twoCol':''}}">
<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>
<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>
<view class="none-rush-list" wx:if="{{showEmpty}}">
<image class="img-block" src="../../images/icon-index-empty.png"></image>
<view class="h1">暂时没有拼团</view>
</view>
</view>
<i-load-more iClass="loadMore" loading="{{loadMore}}" tip="{{loadText}}" wx:if="{{!loadOver&&!showEmpty&&loadMore}}"></i-load-more>
</view>
<i-tabbar currentIdx='2' cartNum='{{cartNum}}' class="tabbar {{isIpx?'pb20':''}}" />
<i-new-auth needAuth="{{needAuth&&showAuthModal}}" bind:authSuccess="authSuccess" bind:cancel="authModal" needPosition="{{needPosition}}"></i-new-auth>