<!-- 头部标题 -->
<view class="rel xc-grow-top">
  <image class='title-img' src="{{iurl}}/miniapp/images/userqy/grow_backdrop.jpg">
  </image>
  <view class="abs white explain-frame">
    <view class="font-grow">当前成长值</view>
    <view class="val">{{cz_val}}</view>
    <view class="four-level-word distance-val" wx:if="{{need_money}}">距离下一等级会员还需{{need_money-cz_val}}成长值</view>
  </view>
  <view class="abs xc-card flex-space-between">
    <image bindtap='goto' data-ind="0"  class="card" src="{{iurl}}/miniapp/images/userqy/grow_code.jpg"></image>
    <image bindtap='goto' data-ind="1"  class="card" src="{{iurl}}/miniapp/images/userqy/grow_coupon.jpg"></image>
    <image bindtap='goto' data-ind="2"  class="card" src="{{iurl}}/miniapp/images/userqy/grow_privilege.jpg"></image>
  </view>
  <view class="flex-vertical-between abs xc-screen-frame">
    <view class=" three-level-word">成长值明细</view>
    <view class="flex three-level-word" >
       <view style='margin-right:15rpx' bindtap='reset_data' >重置<image class="reset_img" src='{{iurl}}/miniapp/images/reset.png' style='width:30rpx; height:30rpx'></image></view>
       <text bindtap='pickerShow' style='color:{{color_screen}}; '>筛选</text>
       <view bindtap='pickerShow' wx:if="{{val}}" class="box" 
            style='color:{{color_screen}}; transform:rotate({{val}}deg); position:relative; top:7px;border-bottom:18rpx solid {{color_screen}}; '></view>
       <view bindtap='pickerShow' wx:else class="box" style='transform:rotate(0deg);border-bottom:18rpx solid {{color_screen}};'></view>
    </view>
  </view>
</view>
<!--成长值明细列表 -->
<view class="xc-list-frame ">
    <view class="flex-vertical-between xc-bills-frame" wx:for="{{val_list}}">
    <view>
      <view class="word-number">
        {{item.Remark?item.Remark:"未知"}}
      </view>
      <view class="word-time">
         {{item.BillDate}}
      </view>
    </view>

    <view class="xc-val" wx:if="{{item.InGrade}}"> +{{item.InGrade}}</view>
    <view class="xc-val" wx:if="{{item.OutGrade}}"> -{{item.OutGrade}}</view>

  </view>
    <block wx:if="{{!val_list && is_show}}">
          <view class="no_text">无成长值数据</view>
    </block>
</view>

<!-- 引用时间主键 -->
<timePicker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}"
            bind:hidePicker="pickerHide" bind:setPickerTime="setPickerTime"
            config="{{pickerConfig}}"></timePicker>
<warn id="warn"></warn>