<template>
  <div class="personal">
    <!-- <NavBar /> -->
    <el-tabs :tab-position="'left'" type="card">
      <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;
}
</style>