<template>
  <div id="index" class="elevator-detail">
    <div class="detail-container">
      <div class="detail-content">
        <BasicInfo></BasicInfo>
        <ElevatorStatus></ElevatorStatus>
        <CurrentFaultInfo />
        <EleData></EleData>
        <WeekDetail></WeekDetail>
      </div>
    </div>
  </div>
</template>

<script>
import BasicInfo from "./components/basicInfo.vue";
import ElevatorStatus from "./components/elevatorStatus.vue";
import CurrentFaultInfo from "./components/currentFaultInfo.vue";
import EleData from "./components/eleData.vue";
import WeekDetail from "./components/weekDetail.vue";

export default {
  components: { BasicInfo, ElevatorStatus, CurrentFaultInfo, EleData, WeekDetail },
  data() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
.elevator-detail {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: rgb(6, 15, 48);

  .detail-container {
    height: calc(100vh - 1.25rem);
    margin-top: 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    &::-webkit-scrollbar {
      width: 0;
      height: 0;
    }

    .detail-content {
      padding: 0.3rem;
    }
  }
}
</style>