<div class="mainCon">
    <Navbar [leftContent]="icon"
            (onLeftClick)="onLeftClick()"
            style="background-color: #28c9bd"
    >报警信息</Navbar>
    <SegmentedControl style="height: 40px" [values]="['今日报警信息', '近一周报警信息']"
                      (onChange)="choose($event)"></SegmentedControl>
    <div class="alarmCon">
        <div class="alarmItem" *ngFor="let one of data">
            {{one.con}}
            <div class="right">
                {{one.time | date: 'yyyy-MM-dd HH:mm:ss'}}
            </div>
        </div>
    </div>
</div>
<ng-template #icon>
    <span class="vo v-back"></span>
</ng-template>
