<!-- Generated template for the SearchSidebarComponent component -->

<div class="search-sidebar">
    <div class="all-address">
        <div class="area">
            <p>审核类型</p>
            <span (click)="selectApproval(approval)" *ngFor="let approval of approvaList"
                  [ngClass]="{'selectItem':approvalObj?.type == approval.type}">{{approval.name}}</span>
        </div>
        <div *ngIf="globleArea?.name == '市属'" class="area">
            <p>区域</p>
            <span (click)="selectArea(area)" *ngFor="let area of areaList"
                  [ngClass]="{'selectItem':areaObj?.code == area.code}">{{area.name}}</span>
        </div>
    </div>
    <div class="footer">
        <div tappable (click)="reset()">重置</div>
        <div tappable (click)="confirm()">确定</div>
    </div>
</div>
