article-detail.vue 742 Bytes
<template>
  <div class="article">
    <ArticleBar class="header"></ArticleBar>
    <ArticleBody class="body"></ArticleBody>
    <ArticleFooter class="footer"></ArticleFooter>
  </div>
</template>

<script>

import ArticleBar from './components2/article-bar';
import ArticleFooter from './components2/article-footer';
import ArticleBody from './components2/article-body';

export default {
  name: 'ArticleDetail',
  components: {
    ArticleBar,
    ArticleBody,
    ArticleFooter
  },
  data() {
    return {};
  }
};
</script>

<style lang="scss" scoped>

.article {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;

  .header {
    // pass
  }

  .body {
    flex: 1;
  }

  .footer {
    // pass
  }
}
</style>