index.vue 960 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <div id="index">
  3. <el-row>
  4. <el-col :span="24">
  5. <el-col :span="24" class="top">
  6. 头部assdfsfsdf
  7. </el-col>
  8. <el-col :span="24" class="main">
  9. nihaosdsdfsaedlfk
  10. </el-col>
  11. </el-col>
  12. </el-row>
  13. </div>
  14. </template>
  15. <script>
  16. import { mapState, createNamespacedHelpers } from 'vuex';
  17. export default {
  18. name: 'index',
  19. props: {},
  20. components: {},
  21. data: function() {
  22. return {};
  23. },
  24. created() {},
  25. methods: {},
  26. computed: {
  27. ...mapState(['user']),
  28. pageTitle() {
  29. return `${this.$route.meta.title}`;
  30. },
  31. },
  32. metaInfo() {
  33. return { title: this.$route.meta.title };
  34. },
  35. };
  36. </script>
  37. <style lang="less" scoped>
  38. .transition-box {
  39. margin-bottom: 10px;
  40. width: 200px;
  41. height: 100px;
  42. border-radius: 4px;
  43. background-color: #409eff;
  44. text-align: center;
  45. color: #fff;
  46. padding: 40px 20px;
  47. box-sizing: border-box;
  48. margin-right: 20px;
  49. }
  50. </style>