<nav title="提现记录"></nav>
<ion-content class="content">
  @for (item of list; track $index) {
  <div class="log-item" (click)="toUrl(item.id)">
    <div class="item-col">
      <div class="title">提现金额：￥{{ item?.get("count") }}</div>
      <div class="desc">
        {{ item?.get("createdAt") | date : "yyyy-MM-dd HH:mm" }}
      </div>
    </div>
    <div class="item-col-right">
      <div class="row">
        <div class="desc">{{ item?.get("bank")?.bankcard }}</div>
        <div class="desc">
          {{ getType(item?.get("status"))?.title }}
          <div class="tag" [style.background]="getType(item?.get('status'))?.color"></div>
        </div>
      </div>
      <ion-icon name="chevron-forward-outline"></ion-icon>
    </div>
  </div>
  }
  <ion-infinite-scroll (ionInfinite)="onIonInfinite($event)">
    <ion-infinite-scroll-content></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>
