<!--pages/meterBalanceRecord/index.wxml-->
<navigator title="电费扣款记录" canBack="{{true}}" />
<view class="pageWrapper">
    <view class="timeChooseWrapper">
        <view> 选择时间 </view>
        <view class="time" bind:tap="clickTime">

            <view class="timeText"> {{time}} </view>
            <van-icon name="arrow-down" />
        </view>
    </view>

    <view class="customTable" wx:if="{{list.length}}">
        <table 
            header="{{header}}" 
            list="{{list}}" 
            border="{{true}}"
            topStyle="text-align: center" 
            bodyStyle="text-align: center" 
            topColor="rgb(242,248,246)"  
        />
    </view>
    <empty bind:refresh="getList" wx:else />
</view>


<timePicker 
  type="month" 
  currentDate="{{timeStamp}}" 
  show="{{timeVisible}}" 
  bind:cancel="onTimeCancel" 
  bind:close="onTimeClose" 
  bind:confirm="onTimeConfirm" 
/>