sign-in-record.wxml 1.79 KB
<wxs module="filter" src="../../utils/utilswxs.wxs"></wxs>
<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="func-wrap">
        <picker mode="date" value="{{dateStart}}" bindchange="bindDateStartChange">
          <view class="func">
            <image class="icon" mode="aspectFit" src="../../image/icon/icon-sign-record.png" />
            起始时间
            <image class="arrow" mode="aspectFit" src="../../image/icon/icon-filter-down-on.png" />
            {{dateStart}}
          </view>
        </picker>
        <picker mode="date" value="{{dateEnd}}" bindchange="bindDateEndChange">
          <view class="func">
            <image class="icon" mode="aspectFit" src="../../image/icon/icon-sign-record.png" />
            结束时间
            <image class="arrow" mode="aspectFit" src="../../image/icon/icon-filter-down-on.png" />
            {{dateEnd}}
          </view>
        </picker>
      </view>
      <view class="sign">
        <view wx:for="{{dataList}}" wx:key="index" class="sign-item">
          <view class="date">{{item.signTime}}</view>
          <view class="desc">
            签到成功,获得
            <span class="green {{item.prizeType == 'packet' ? 'red':''}}">{{ item.prizeType == 'packet' ? item.prizeSize : filter.Fen2Yuan(item.prizeSize)}}</span>
            {{item.prizeType == 'packet' ? '元红包' : '元奖金' }}
          </view>
        </view>
      </view>
    </view>
    <empty-tips wx:if="{{dataList.length <= 0}}"></empty-tips>
  </view>
</view>
<van-popup show="{{ authorizeVisible }}">
  <authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>