<template>
  <div class="home">
    <div class="header">
      <h2>电能替代分布式控制试验平台</h2>
      <router-link :to="{path:'control/manual/index'}" tag="div" class="back">返回后台</router-link>
    </div>
    <div class="main">
      <div class="left">
        <div class="left_top">
          <div class="title">电磁锅炉</div>
        </div>
        <div class="left_bottom"></div>
      </div>
      <div class="middle"></div>
      <div class="right">
        <div class="right_top"></div>
        <div class="right_bottom"></div>
      </div>
    </div>
  </div>
</template>

<script setup name="Index">



</script>

<style scoped lang="scss">
.home{
  height: 100%;
  background-image: url("../../assets/images/bg.png");
  background-size: 100% 100%;
  .header{
    position: relative;
    width: 100%;
    height: 70px;
    background-image: url("../../assets/images/headtitle.png");
    background-size: 100% 100%;
    h2{
      font-size: 36px;
      color: #AFEAFF;
      font-weight: bold;
      text-align: center;
      line-height: 70px;
    }
    .back{
      position: absolute;
      top: 5px;
      right: 20px;
      font-size: 16px;
      color: #fff;
      padding: 8px 15px;
      background-color: #2c3e50;
    }
  }
  .main{
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0 20px;
    width: 100%;
    height: calc(100% - 70px);
    .left{
      width: 24%;
      height: 100%;
      .left_top{
        width: 100%;
        height: 49%;
        border: 1px solid red;
        margin-bottom: 4%;
      }
      .left_bottom{
        width: 100%;
        height: 49%;
        border: 1px solid red;
      }
    }
    .middle{
      width: 50.5%;
      height: 100%;
      border: 1px solid red;
    }
    .right{
      width: 24%;
      height: 100%;
      .right_top{
        width: 100%;
        height: 49%;
        border: 1px solid red;
        margin-bottom: 4%;
      }
      .right_bottom{
        width: 100%;
        height: 49%;
        border: 1px solid red;
      }
    }
  }
}
.title{
  width: 45%;
  height: 30px;
  margin: 0 auto;
  color: #19C3F4;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  background-image: url("../../assets/images/wrappertitle.png");
  background-size: 100% 100%;
}
</style>

