<template>
  <div class="main">
    <div class="content">
      <sub-header />
      <hero-sub-title :type="2" />
      <div class="left">
        <div class="container">
          <div class="top_banner">
            <div class="go-back">
              <img src="/img/ex_back.png" @click="$router.go(-1)" />
            </div>
            <div class="vr-btn-container">
              <img src="/img/vr_button.png" />
            </div>
          </div>

          <div class="info">
            <div class="show-case"></div>
            <h3 class="title">第一部分——高举新旗帜</h3>
            <div class="label-container">
              <div class="label-list">
                <span>2号楼 1号厅 </span>
                <span>临时展览</span>
                <span>11.11-12.12</span>
              </div>
            </div>

            <div class="text">
              为服务好广大党员干部，浏阳秋收起义纪念馆充分发挥红色场馆、党性教育基地功能，结合“一月一课一片一实践”主题党日线路，主动谋划、精心策划，丰富载体和内容，特推出为期一天的“我的秋收起义学习之旅”五个一活动，致力于为广大基层党组织和党员营造良好氛围，凝聚党员干部服务经济社会发展的强大动能。
            </div>
          </div>
        </div>
      </div>
      <side-menu />
    </div>
  </div>
</template>

<script setup>
import { onMounted } from "vue";
import heroSubTitle from "../components/heroSubTitle";
import subHeader from "../components/subHeader";
import sideMenu from "../components/sideMenu";
</script>

<style>
.main {
  --main-ex-top-banner: url("/img/ex_banner.png");
}
</style>

<style lang="scss" scoped>
.container {
  flex: 1;
  overflow-y: scroll;
  padding-bottom: 200px;
  &::-webkit-scrollbar {
    display: none;
  }
}
.top_banner {
  width: 100%;
  background-image: var(--main-ex-top-banner);
  height: 29.375rem;
  background-position: center center;
  background-size: cover;
  position: relative;
  .go-back {
    display: inline-flex;
    position: absolute;
    top: 1.25rem;
    left: 0;
    width: 100%;
    height: 1.75rem;
    justify-content: flex-start;
    padding: 0 1.25rem;
    img {
      height: 100%;
      cursor: pointer;
    }
  }
  .vr-btn-container {
    display: inline-flex;
    position: absolute;
    bottom: 1.25rem;
    left: 0;
    width: 100%;
    height: 1.875rem;
    justify-content: center;
    img {
      height: 100%;
      cursor: pointer;
    }
  }
}

.info {
  max-width: 66.8125rem;
  margin: 0 auto;
  font-size: 20px;
  .title {
    font-size: 1.875rem;
    line-height: 3.75rem;
    margin: 1.2rem 0;
    text-align: center;
  }
  .label-container{
    display: flex;
    justify-content: center;
  }
  .label-list {
    margin: 1.5rem auto;
    // margin-bottom: ;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0 1.875rem;

    span {
      padding-left: 1.5625rem;
      background-image: url("/img/dot.png");
      background-repeat: no-repeat;
      background-size: 1.25rem 1.25rem;
      background-position: left center;
    }
  }
  .text {
    font-weight: 400;
    color: #6e6e6e;
    line-height: 2.125rem;
    font-size: 1.25rem;
  }
}
</style>
