index.vue 708 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <div id="index">
  3. <el-row>
  4. <el-col :span="24" class="index">
  5. <el-col :span="24" class="top">
  6. <topInfo :topTitle="pageTitle"></topInfo>
  7. </el-col>
  8. <el-col :span="24" class="info">
  9. 主体
  10. </el-col>
  11. </el-col>
  12. </el-row>
  13. </div>
  14. </template>
  15. <script>
  16. import topInfo from '@/layout/public/top.vue';
  17. export default {
  18. name: 'index',
  19. props: {},
  20. components: {
  21. topInfo,
  22. },
  23. data: () => ({}),
  24. created() {},
  25. methods: {},
  26. computed: {
  27. pageTitle() {
  28. return `${this.$route.meta.title}`;
  29. },
  30. },
  31. metaInfo() {
  32. return { title: this.$route.meta.title };
  33. },
  34. };
  35. </script>
  36. <style lang="less" scoped></style>