<template>
  <div class="personal">
    <!-- <NavBar /> -->
    <div style="height: 100px; background-color: #2069c4; width: 100%"></div>
    <el-tabs :tab-position="'left'" type="card" class="wrapper">
      <el-tab-pane label="我的点赞">
        <Like />
      </el-tab-pane>
      <el-tab-pane label="我的收藏">
        <Collection />
      </el-tab-pane>
      <el-tab-pane label="浏览记录">
        <Footprint />
      </el-tab-pane>
      <el-tab-pane label="个人信息"><Info /></el-tab-pane>
    </el-tabs>
    <!-- <Footer /> -->
  </div>
</template>

<script>
import { relateRelics, exhibitions } from "@/mock/mock";
import Like from "./components/Like.vue";
import Collection from "./components/Collection.vue";
import Footprint from "./components/Footprint.vue";
import Info from "./components/Info.vue";
import NavBar from "@/components/NavBar";
import Footer from "@/components/Footer";
export default {
  components: {
    Like,
    Collection,
    Footprint,
    Info,
    NavBar,
    Footer,
  },
  name: "Personal",
  data() {
    return {
      relateRelics: relateRelics,
      exhibitions: exhibitions,
    };
  },
  methods: {
    handleSizeChange(value) {
      console.log("handleSizeChange", value);
    },
    handleCurrentChange(value) {
      console.log("handleCurrentChange", value);
    },
  },
};
</script>

<style lang='scss' scoped>
.personal {
  // width: 1200px;
  margin: auto;
  .wrapper{
    padding: 60px;
  }
}
</style>