seckill-list.wxml 1.79 KB
<view class="page">
  <view class="app__bgc bgc"></view>
  <view class="app__bg bg"></view>
  <!-- <view class="app__top-shadow"></view> -->
  <view class="app__content main">
    <view class="top-space"></view>
    <view class="content">
      <!-- 我的秒杀按钮 -->
      <view class="my-btn">
        <view bindtap="onShowSeckillMineHandler" class="btn">我的秒杀</view>
      </view>
      <view class="list">
        <view bindtap="onDetailHandler" data-data="{{item}}" data-index="{{index}}" wx:for="{{dataList}}" wx:key="{{index}}" class="border list-item">
          <view class="prize">
            <image class="image" mode="aspectFill" src="{{item.seckillImages && item.seckillImages[0] || ''}}" />
          </view>
          <view class="cont">
            <view class="up">
              <view class="tt t1">{{item.seckillName}}</view>
            </view>
            <view class="down">
              <view class="tt t2 t3">适用群体:{{item.memberTypeLimitStr}}</view>
              <view class="tt t2 t3">活动区域:{{item.district}}</view>
              <view class="tt t3">{{item.dateStr}}</view>
            </view>
          </view>
          <view wx:if="{{item.status == 0}}" class="btn btn0">未开始</view>
          <view wx:if="{{item.status == 1}}" class="btn btn1">进行中</view>
          <view wx:if="{{item.status == 2}}" class="btn btn2">已结束</view>
        </view>
      </view>
    </view>
    <empty-tips-light inner-text="当前未有拍卖活动,敬请期待" wx:if="{{dataList.length <= 0 && isInit}}"></empty-tips-light>
  </view>
</view>
<van-popup show="{{ authorizeVisible }}">
  <authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>

<van-popup show="{{ signTipsCompVisible }}">
  <sign-tips-comp bind:evtcomp="evtcomp"></sign-tips-comp>
</van-popup>