<ion-header style="background-color: #F3F4F4;">
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-back-button></ion-back-button>
    </ion-buttons>
    <ion-title style="text-align: center">{{fieldRegionName}}详情页</ion-title>
  </ion-toolbar>
  <div style="margin-top: 10px;margin-bottom: 10px">
    <span [ngClass]="{'online': item.online, 'offline': !item.online}">{{item.online ? '在线' : '离线'}}    </span>
    <span *ngIf="item.online" class="online">{{item.remoteMode ? '平控' :'现控'}}    </span>
    <span *ngIf="item.online && item.remoteMode && item.wokeMode === 2" class="online">智控    </span>
    <span *ngIf="item.online && item.remoteMode && item.wokeMode === 1" class="online">自控    </span>
    <span *ngIf="item.online && item.remoteMode && item.wokeMode === 0" class="online">手控    </span>
  </div>
  <div>
    <v-kanban class="home-bar"></v-kanban>
    <v-kanban class="home-bar"></v-kanban>
    <v-kanban class="home-bar"></v-kanban>
    <v-kanban class="home-bar"></v-kanban>
  </div>
</ion-header>

<ion-content  style="background-color: #F3F4F4;">
  <ion-tabs>
    <!-- Tab bar -->
    <ion-tab-bar slot="top">
      <ion-tab-button tab="fan">
        <ion-label>风机</ion-label>
      </ion-tab-button>
      <ion-tab-button tab="shower">
        <ion-label>喷淋</ion-label>
      </ion-tab-button>
      <ion-tab-button tab="light">
        <ion-label>照明</ion-label>
      </ion-tab-button>
      <ion-tab-button tab="waterchannel">
        <ion-label>水槽</ion-label>
      </ion-tab-button>
      <!--<ion-tab-button tab="settings">-->
        <!--<ion-icon name="settings"></ion-icon>-->
      <!--</ion-tab-button>-->
      <!--<ion-tab-button tab="settings">-->
        <!--<ion-icon name="settings"></ion-icon>-->
      <!--</ion-tab-button>-->
    </ion-tab-bar>
  </ion-tabs>
</ion-content>
