integral-detail.wxml 3.15 KB
<view class="page">
  <view class="app__bgc bgc"></view>
  <view class="app__bg bg"></view>
  <view class="app__content main">
    <view class="top-space"></view>
    <view class="content">
      <view class="header">
        <view class="info">
          现有积分
          <span class="t1">{{userInfo.memberPoints}}</span>

        </view>
        <picker mode="date" fields="month" value="{{date}}" bindchange="bindDateChange">
          <view class="sel">
            <image class="icon" mode="aspectFit" src="../../image/icon/icon-calendar.png" />
            时间筛选
            <span class="d1">{{dateStr}}</span>
          </view>
        </picker>
      </view>
      <!-- 时间 -->
      <!-- <view class="time">
        <view class="sel">
          <image class="icon" mode="aspectFit" src="../../image/icon/icon-calendar.png" />
          起始时间
        </view>
      </view> -->
      <!-- 时间选择器 -->
      <!-- <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="tag">
        <view bindtap="onNavSelectHandler" data-data="{{item}}" data-index="{{index}}" wx:for="{{navList}}" wx:key="{{index}}" class="tag-item">
          <image wx:if="{{navIndex==index}}" class="ebg" mode="aspectFit" src="../../image/icon/icon-integral-tag.png" />
          <view class="desc {{navIndex == index ? 'act' : ''}}">
            <view class="t1">{{item.t1}}</view>
            <view class="t2">{{item.t2}}</view>
          </view>
        </view>
      </view>
      <!-- 标题 -->
      <view class="tit">
        <view class="tt t1">时间</view>
        <view class="tt t2">获取方式</view>
        <view class="tt t3">名称</view>
        <view class="tt t4 minus">积分</view>
      </view>
      <!-- 积分 -->
      <view class="integral">
        <view wx:for="{{dataList}}" wx:key="{{item}}" class="integral-item">
          <view class="tt t1">{{item.time}}</view>
          <view class="tt t2">{{item.subTitle}}</view>
          <view class="tt t3">产品名称</view>
          <view class="tt t4 {{item.pointsIp == 0 ? 'minus':''}}">
            {{item.pointsIp == 1 ? '+':'-'}} {{item.pointsNum}}
          </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>