index.wxml 1.71 KB
<tabs tabs-class="tabs-class" current-key="{{tabIndex}}" bindchange="onTabChange">
  <view class="list-top-blank"></view>

  <tabs-pane name="进行中">
    <view class="productList">
      <block wx:for="{{list[0].products}}" wx:key="{{item.id}}">
        <product-item product="{{item}}" class="product"></product-item>
      </block>
    </view>
  </tabs-pane>

  <tabs-pane name="即将开始">
    <view class="productList">
      <block wx:for="{{list[1].products}}" wx:key="{{item.id}}">
        <product-item product="{{item}}" class="product"></product-item>
      </block>
    </view>
  </tabs-pane>

  <tabs-pane name="已结束">
    <view class="productList">
      <block wx:for="{{list[2].products}}" wx:key="{{item.id}}">
        <product-item product="{{item}}" class="product"></product-item>
      </block>
    </view>
  </tabs-pane>

  <view class="list-foot-blank">{{footText}}</view>
</tabs>

<view class="bottom-banner" bindtap="_jumpBanner" wx:if="{{bannerSrc != null}}">
<image class="bottom-banner-img" src="{{bannerSrc}}"></image>
</view>

<view class="bottom-bar">
  <!--<block wx:if="{{isLogin}}">-->
    <view bindtap="goMyList">我的抽奖码</view>
  <!--</block>-->

  <!--<block wx:else>-->
      <!--<button class="bottom-btn" plain="true" hover-class="none" open-type="{{!hasUnionID ? 'getUserInfo':'getPhoneNumber'}}" bindgetphonenumber="getPhoneNumber" bindgetuserinfo='getUserInfo'>我的抽奖码</button>-->
  <!--</block>-->
</view>

<import src="../../vendors/zanui/toast/index.wxml"/>
<template is="zan-toast" data="{{zanToast}}"/>

<import src="../../vendors/toast/wetoast.wxml"/>
<template is="wetoast" data="{{...__wetoast__}}"/>
<dialog
id='dialog'
src="{{dialogSrc}}"
url="{{dialogUrl}}"
></dialog>