<!--pages/take-notes/take-notes.wxml-->
<view class='container'>
  <view class='empty' wx:if="{{!records}}">
    暂无记录
  </view>
  <view class='take-notes'>
    <view class='total'>
      <text>总提现：</text>
      <text class='total-num'>￥{{wxs.toPrice(totalWithdrawCash)}}</text>
    </view>
    <block wx:for="{{records}}" wx:key="id">
      <view class='items'>
        <view class='left'>
          <!-- <view class='text' wx:if="{{item.moneyFlow==0}}">微信红包</view>
          <view class='text' wx:if="{{item.moneyFlow==1}}">企业支付</view> -->
          <view class='text' >微信打款</view>
          <view class='date'>{{item.createTime}}</view>
        </view>
        <view class='right'>
          <view class='number'>+ {{wxs.toPrice(item.amount)}}</view>
          <view class='status' wx:if="{{item.state==-1}}">回退</view>
          <view class='status' wx:if="{{item.state==0}}">提现中</view>
          <view class='status' wx:if="{{item.state==1}}">已到账</view>
        </view>
      </view>
    </block>
      <view class="empty" wx:if="{{records.length==0}}">{{emptyMsg}}</view>
      <view class="loading" wx:if="{{totalPage>1}}">{{loadingMsg}}</view>
  </view>
</view>

<wxs module="wxs" src="../../wxs/number.wxs" />