<div class="card"> <div class="content"> <h3>{{ card.get('title') }}</h3> <p *ngIf="user.id === admin">作者:{{ card.get('username') }}</p> <p>{{ card.get('date') }}</p> </div> </div>