<app-custom-header [param]="['我的风格','    ']"></app-custom-header>
<ion-content>
  <ion-card *ngFor="let style of styleList" (click)="goStyleDetail(style)">
    <div id="img">
      <img [src]="style?.get('image') ? style?.get('image') : '/assets/icon/favicon.png'">
    </div>
    <div id="content">
      <h1>{{style?.get('name')}}</h1>
      <h2>创建时间:{{convertTime(style?.createdAt)}}</h2>
      <h3>更新时间:{{convertTime(style?.updatedAt)}}</h3>
      <h4>{{style?.get('desc')}}</h4>
    </div>
  </ion-card>
  <ion-button shape="round" (click)="goCreateStyle()">新建风格</ion-button>
</ion-content>