<template>
  <div class="home">
    <div class="recommend-list">
      <div class="recommend-item">
        <div class="recommend-item-container boutique">
          <!-- <NavBar class="navBar" /> -->
          <el-carousel height="100vh" style="width: 100%">
            <el-carousel-item v-for="(item,index) in ['精品展1','精品展2','精品展3']" :key="index">
              <h3
                class="small"
                style="
                  height: 100%;
                  display: flex;
                  justify-content: center;
                  align-items: center;
                "
              >
                {{ item }}
              </h3>
            </el-carousel-item>
          </el-carousel>
        </div>
        <div class="recommend-item-container virtural">虚拟展厅</div>
        <div class="recommend-item-container display">每日推送-布展</div>
        <div class="recommend-item-container culturalRelic">每日推送-文物</div>
        <div class="recommend-item-container musuem-map">文博地图</div>
        <!-- <MuseumMap /> -->
      </div>
    </div>
    <!-- <Footer /> -->
  </div>
</template>

<script>
import NavBar from "@/components/NavBar";
import Footer from "@/components/Footer";
import MuseumMap from "./components/MuseumMap.vue";
export default {
  components: { NavBar, Footer, MuseumMap },
  name: "Home",
  data() {
    return {
      dataList: [
        {
          id: 0,
          key: "boutique",
          label: "精品展推荐",
          imgs: ["精品展1图片", "精品展2图片"],
          color: "#869b94",
        },
        {
          id: 2,
          key: "virtual",
          label: "虚拟展厅推荐",
          color: "#f3ecef",
        },
        {
          id: 3,
          key: "display",
          label: "布展推荐",
          color: "#607271",
        },
        {
          id: 4,
          key: "culturalRelic",
          label: "文物推荐",
          color: "#f3ecef",
        },
        {
          id: 5,
          key: "文博地图",
          label: "museum",
          color: "#7c918a",
        },
      ],
    };
  },
};
</script>

<style lang="scss" scoped>
.recommend-list {
  display: flex;
  flex-direction: column;
  .recommend-item {
    .recommend-item-container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      width: 100%;
    }
    .boutique {
      position: relative;
      flex-direction: column;
      .navBar {
        position: absolute;
        top: 0;
        z-index: 999;
        // left: 0;
      }
    }
  }
}
</style>