<view>
  <view class="head flex-box flex-center-center">
    <view class="flex-1">
      <view>{{month_total}}</view>
      <view>本月奖票</view>
    </view>
    <view class="flex-1">
      <view>{{total}}</view>
      <view>累计奖票</view>
    </view>
  </view>
  <view class="headed margin-bottom">
    <view class="top">
      <view class="dates" style="padding:10rpx 0" catchTap="openDate">
        <image mode="scaleToFill" src="../../../image/date.png"/>
        <text style="font-size:32rpx;position: relative;" class="{{showDate? 'activeView':''}}">{{date}}</text>
      </view>
    </view>
  </view>
  <view class="main margin-bottom">
    <view class="title" style="padding-bottom:0rpx">本月奖票</view>
    <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
      <view class="ticket-list__item" a:for="{{list}}">
        <view class="flex-box flex-v-ce">
          <view class="ticket_left flex-3">{{item.remark.customize}}</view>
          <view class="ticket_right flex-1">
            <view style="font-size: 0.42rem; line-height: 0.6rem;">{{item.create_time.substring(item.create_time.length-5)}}</view>
            <view style="font-size: 0.32rem; line-height: 0.6rem;">{{item.create_time.slice(0,4)}}</view>
          </view>
        </view>
      </view>
    </scroll-view>
     <no-data a:if="{{list.length==0}}" content="没有奖票" />
  </view>
</view>