<view class="deposit-list">
  <patient-tabs-pro
    onFilter="onFilterHandel"
    typeOptions="{{ typeOptions }}"
    showInpatient="{{ showInpatient }}"
    defaultName="{{ defaultName }}"
    defaultLabel="{{ defaultLabel }}"
    showTimeSelector="{{ showTimeSelector }}"
    showAll="{{ showAll }}"
  />
  <view class="container" a:if="{{ hospitalList.length !== 0 }}">
    <view class="subscribe-container" data-item="{{ item }}" a:for="{{hospitalList}}" a:key="index">
      <view class="subscribe-title">{{ item.month }}</view>
      <view class="subscribe-item" a:for="{{item.value}}" a:for-item="detail" data-item="{{ detail }}" onTap="goToDetail">
         <view class="person">
           <text class="first">{{ detail.inpatientName }}</text>
           <text class="second">￥{{ detail.amount }}</text>
         </view>
         <view class="money">
          <text class="first">{{ detail.payTime }}</text>
          <!-- <text class="second">余额：￥{{ detail.depositBalance }}</text> -->
        </view>
      </view>
    </view>
    <view class="bottom" a:if="{{ hospitalList.length !== 0 }}">没有更多记录</view>
  </view>
  <view class="nodata" a:if="{{ hospitalList.length === 0 }}">
    <image class="image-detail" mode="scaleToFill" src="https://gw.alipayobjects.com/mdn/rms_e695cc/afts/img/A*53NkSYyUHVYAAAAAAAAAAAAAARQnAQ" class="nodata-img"/>
    <view class="nodata-txt">暂无记录</view>
  </view>

</view>
