<Navbar>
  资产
</Navbar>
<PullToRefresh [ngStyle]="dtPullToRefreshStyle" [direction]="up">
  <div class="container">
    <ng-container *ngFor="let item of data">
      <div class="title">
        <Flex [align]="'baseline'" [justify]="'between'">
          <div class='title-l'>{{item.title}}</div>
          <div (click)="onExpend(item)">{{item.expend?'更多':'收起'}}</div>
        </Flex>
      </div>
      <Grid [activeStyle]="true" [hasLine]="false" [data]="item.children" (onClick)="click($event)"></Grid>
    </ng-container>
  </div>
</PullToRefresh>

<ng-template #loading>
  <Icon type="loading"></Icon>
</ng-template>