<div class="navbar">
    <ng-container *ngFor="let item of list;let i = index;">
        <div class="navbar-item" tappable (click)="changeType(item)">
            <span class="{{select == item.type?'duty-title':''}}">{{item.name}}</span>
        </div>
    </ng-container>
</div>
