index.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <div id="index">
  3. <el-row>
  4. <el-col :span="24" class="style">
  5. <el-col :span="24" class="top">
  6. <topInfo></topInfo>
  7. </el-col>
  8. <el-col :span="24" class="main">
  9. <questionInfo></questionInfo>
  10. </el-col>
  11. <el-col :span="24" class="foot">
  12. <footInfo></footInfo>
  13. </el-col>
  14. </el-col>
  15. </el-row>
  16. </div>
  17. </template>
  18. <script>
  19. import topInfo from '@/layout/common/topInfo.vue';
  20. import footInfo from '@/layout/common/footInfo.vue';
  21. import questionInfo from '@question/src/views/index.vue';
  22. export default {
  23. name: 'index',
  24. props: {},
  25. components: {
  26. topInfo, //头部导航
  27. footInfo, //底部导航
  28. questionInfo, //问卷调查
  29. },
  30. data: () => ({}),
  31. created() {},
  32. computed: {},
  33. methods: {},
  34. };
  35. </script>
  36. <style lang="less" scoped>
  37. .style {
  38. width: 100%;
  39. min-height: 667px;
  40. position: relative;
  41. background-color: #f9fafc;
  42. }
  43. .top {
  44. height: 46px;
  45. overflow: hidden;
  46. }
  47. .main {
  48. min-height: 570px;
  49. }
  50. .foot {
  51. height: 50px;
  52. overflow: hidden;
  53. }
  54. </style>