<template>
  <div class="tunnel-bgc">
    <div class="box-top">
      <div class="back-tunnel" @click="router.back(-1)">
        <div class="back-icon"></div>
        <span>返回</span>
      </div>
      <div class="tunnel-name">
        一号隧道
      </div>
      <div class="tunnel-title"></div>
    </div>
    <div class="device-content">
      <div class="device-box">
        <div class="box-left">
<!--          <div>风机</div>-->
<!--          <div>风压</div>-->
<!--          <div>其他传感器</div>-->
          <el-menu
              default-active="1"
          >
            <el-menu-item index="1">
              <span>风机</span>
            </el-menu-item>
            <el-menu-item index="2">
              <span>风压</span>
            </el-menu-item>
            <el-menu-item index="3">
              <span>其他传感器</span>
            </el-menu-item>
          </el-menu>
        </div>
        <div class="box-right">

        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
const router = useRouter()
</script>

<style scoped lang="scss">

.tunnel-bgc {
  padding: 85px 0 0 0;
  width: 100%;
  height: 100%;
  background-image: url('@/assets/images/tunnel/sd_bj.png');

  .box-top {
    display: flex;
    justify-content: flex-start;

    .tunnel-name {
      margin-left: 120px;
      height: 61px;
      font-size: 46px;
      font-weight: bold;
      color: #FFFFFF;
      line-height: 61px;
    }

    .back-tunnel {
      cursor: pointer;
      margin: 0 0 0 70px;
      display: flex;
      align-items: center;
      width: 178px;
      height: 70px;
      line-height: 70px;
      border-radius: 11px;
      border: 2px solid #08B7B8;
      font-size: 38px;
      color: #FFFFFF;

      .back-icon {
        margin-right: 20px;
        margin-left: 23px;
        width: 33px;
        height: 33px;
        background-image: url('@/assets/images/site/zdgl_icon_fh.png');
      }
    }
  }

  .device-content {
    display: flex;
    justify-content: center;
    padding-top: 246px;

    .device-box {
      display: flex;
      width: 2194px;
      height: 1321px;
      background: #064B66;
      border-radius: 20px;
      border: 2px solid #05FEFF;
      box-sizing: border-box;

      .box-left {
        width: 300px;
        height: 1318px;
        background: #0D5A7A;
        border-radius: 20px 0px 0px 20px;
        :deep(.el-menu){
          border-right: none;
          margin-top: 261px;
          background-color: #0D5A7A;
        }
      }

      .box-right {
        flex: 1;
      }
    }
  }
}
</style>
