<template>
  <div class="page_configureCenter">
    <div class="configureCenterTitle">
      <i class="iconfont icon-zuojiantou jiantou"></i>
      <span class="titleName">配置中心</span>
    </div>
    <div class="configureCenterMain">
      <van-tabs v-model="active">
        <van-tab title="分区">
          <partition></partition>
        </van-tab>
        <van-tab title="分组">
          <grouping></grouping>
        </van-tab>
        <van-tab title="床位">
          <bed></bed>
        </van-tab>
      </van-tabs>
    </div>
  </div>
</template>

<script>
import Partition from "@/kpa_pages/configureCenter/components/Partition";
import Grouping from "@/kpa_pages/configureCenter/components/Grouping";
import Bed from "@/kpa_pages/configureCenter/components/Bed";
export default {
  components: {
    Partition,
    Grouping,
    Bed
  },
  data() {
    return {
      active: 0
    };
  }
};
</script>




<style lang="scss" scoped>
.page_configureCenter {
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  .configureCenterTitle {
    background: #fff;
    padding: 0 1.125rem;
    height: 3.125rem;
    display: flex;
    align-items: center;
  }
  .jiantou {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 7rem;
  }
  .titleName {
    font-size: 1.125rem;
    font-weight: 600;
  }
}
</style>
<style lang="scss">
.page_configureCenter {
  .van-tabs__line {
    background: #5b98ff;
  }
}
</style>
