<template>
  <div class="right_server">
    <!-- 标题区域 -->
    <div class="server_title"></div>

    <!-- 内容区域 -->
    <div class="server_body">
      <!-- 左边边框线区域 -->
      <div class="body_line"></div>

      <!-- 右边边框线区域 -->
      <div class="body_line right"></div>

      <!-- 智能停车场标题区域 -->
      <div class="body_title">智能停车场</div>

      <!-- 智能停车场内容区域 -->
      <div class="body_box">
        <!-- 停车场数据检测区域 -->
        <div class="box_item">
          <ParkingData />
        </div>
        <!-- 停车场资源区域 -->
        <div class="box_item">
          <ParkingResource />
        </div>
        <!-- 各停车场实况区域 -->
        <div class="box_item">
          <ParkingScene />
        </div>
      </div>

      <!-- 智能厕所和加油站区域 -->
      <div class="body_box2">
        <!-- 智能厕所区域 -->
        <div class="box2_left">
          <div class="left_title">智能厕所</div>
          <div class="left_box">
            <!-- 智能厕所数据检测区域 -->
            <div class="latrine_data">
              <LatrineData />
            </div>
            <!-- 智能厕所各厕所实况区域 -->
            <div class="latrine_scene">
              <LatrineScene />
            </div>
          </div>
        </div>
        <!-- 加油站区域 -->
        <div class="box2_right">
          <GasStation />
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import ParkingData from "./parkingData.vue";
import ParkingResource from "./parkingResource.vue";
import ParkingScene from "./parkingScene.vue";
import LatrineData from "./latrineData.vue";
import LatrineScene from "./latrineScene.vue";
import GasStation from "./gasStation.vue";
</script>

<style lang="scss" scoped>
.right_server {
  padding-right: 132px;
  width: 2000px;
  height: 100%;

  .server_title {
    margin-top: 67px;
    width: 100%;
    height: 96px;
    background-image: url(@/assets/images/36.png);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .server_body {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 48px;
    height: 1394px;

    .body_line {
      position: absolute;
      top: 0px;
      width: 42px;
      height: 1364px;
      background-image: url(@/assets/images/analyse-line.png);
      background-size: 100% 100%;
    }

    .right {
      right: 0;
      transform: rotateY(180deg);
    }

    .body_title {
      padding-left: 44px;
      margin-left: 58px;
      margin-top: 16px;
      width: 1750px;
      height: 48px;
      font-size: 28px;
      font-family: "庞门正道标题体";
      background-image: url(@/assets/images/37.png);
      background-size: 100% 100%;
    }

    .body_box {
      display: flex;
      justify-content: space-between;
      padding: 31px 45px 0;
      margin-top: 21px;
      margin-left: 55px;
      width: 1750px;
      height: 664px;
      background-image: url(@/assets/images/9.png);
      background-size: 100% 100%;

      .box_item {
        width: 530px;
        height: 600px;
      }
    }

    .body_box2 {
      display: flex;
      justify-content: space-between;
      margin-top: 35px;
      margin-left: 55px;
      width: 1750px;
      height: 580px;

      .box2_left {
        width: 1150px;
        height: 100%;

        .left_title {
          padding-left: 44px;
          width: 1150px;
          height: 48px;
          font-size: 28px;
          font-family: "庞门正道标题体";
          background-image: url(@/assets/images/35.png);
          background-size: 100% 100%;
        }

        .left_box {
          display: flex;
          justify-content: space-between;
          padding: 26px 48px;
          margin-top: 24px;
          width: 1150px;
          height: 505px;
          background-image: url(@/assets/images/9.png);
          background-size: 100% 100%;

          .latrine_data {
            width: 500px;
            height: 100%;
          }

          .latrine_scene {
            width: 500px;
            height: 100%;
          }
        }
      }

      .box2_right {
        width: 520px;
        height: 100%;
      }
    }
  }
}
</style>
