<nav title="亲密度"></nav>
<ion-content class="content">
  <div class="list">
    @for (item of list; track $index) {
    <div class="li">
      <div class="li-left">
        <div class="num">{{ $index + 1 }}</div>
        <div class="user-data">
          <img class="avatar" [src]="item.avatar" alt="" />
          <div class="nickname">
            {{ item.nickname }}
          </div>
        </div>
      </div>
      <div class="li-right">
        {{ item.credit }}
      </div>
    </div>
    }
  </div>
  @if (disbable) {
  <ion-infinite-scroll (ionInfinite)="onIonInfinite($event)">
    <ion-infinite-scroll-content></ion-infinite-scroll-content>
  </ion-infinite-scroll>
  }
</ion-content>
