<template>
  <div class="app-container">
    <div class="scene-top">
      <div class="scene-top-item"
           v-for="(item,index) in [1,2,3]"
           :key="index">
        <span class="scene-top-text">建筑数量</span>
        <div class="scene-top-number"
             :key="index"
             v-for="(item,index) in [1,2,3,4,5]">
          <img src="/images/number/6.png" alt="">
        </div>
        <span class="scene-top-text">座</span>
      </div>
    </div>
    <div class="big-scene-left">
      <div class="big-scene-item">
<!--        <div class="big-scene-item-canvas">-->
<!--          <img src="/images/img16.png" alt="">-->
<!--        </div>-->
      </div>
      <div class="big-scene-item">
<!--        <div class="big-scene-item-canvas">-->
<!--          <img src="/images/img17.png" alt="">-->
<!--        </div>-->
      </div>
      <div class="big-scene-item">
<!--        <div class="big-scene-item-canvas">-->
<!--          <img src="/images/img17.png" alt="">-->
<!--        </div>-->
      </div>
    </div>
    <div class="big-scene-center">
      <div class="big-scene-item" style="height: 580px">
        <div class="big-scene-item-canvas">
          <img src="/images/img18.png" alt="">
        </div>
      </div>
      <div class="big-scene-item">
<!--        <div class="big-scene-item-canvas">-->
<!--          <img src="/images/img17.png" alt="">-->
<!--        </div>-->
      </div>
    </div>
    <div class="big-scene-right">
      <div class="big-scene-item">
<!--        <div class="big-scene-item-canvas">-->
<!--          <img src="/images/img17.png" alt="">-->
<!--        </div>-->
      </div>
      <div class="big-scene-item">
<!--        <div class="big-scene-item-canvas">-->
<!--          <img src="/images/img17.png" alt="">-->
<!--        </div>-->
      </div>
      <div class="big-scene-item">
<!--        <div class="big-scene-item-canvas">-->
<!--          <img src="/images/img17.png" alt="">-->
<!--        </div>-->
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "BigScene",
  created() {
    this.$store.dispatch('app/CHANGE_SHOW_BIG_SCENE_NAV', true)
  },
  destroyed() {
    this.$store.dispatch('app/CHANGE_SHOW_BIG_SCENE_NAV', false)
  }
}
</script>

<style scoped>
.app-container {
  position: relative;
}

.scene-top {
  position: absolute;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1;
}

.scene-top-item {
  display: flex;
  align-items: center;
}

.scene-top-text {
  font-size: 35px;
  font-weight: bolder;
  color: rgb(63, 132, 210);
  margin: 5px;
}

.scene-top-number {
  width: 40px;
  height: 50px;
  background-image: url("/images/img15.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: 0 5px;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.big-scene-left {
  position: absolute;
  left: 20px;
  top: 70px;
  display: flex;
  flex-direction: column;
}

.big-scene-center {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%);
}

.big-scene-right {
  position: absolute;
  right: 20px;
  top: 80px;
  display: flex;
  flex-direction: column;
}

.big-scene-item {
  display: flex;
  width: 470px;
  height: 280px;
  position: relative;
  margin-top: 20px;
  background-image: url("/images/img13.png");
  background-size: 100% 100%;
  justify-content: center;
  align-items: center;
}

.big-scene-item .big-scene-item-canvas {
  width: 80%;
  height: 80%;
}

.big-scene-item .big-scene-item-canvas img {
  width: 100%;
  height: 100%;
}

.big-scene-center .big-scene-item {
  width: 900px;
}
</style>