Home.vue 612 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <template>
  2. <div class="home">
  3. <keep-alive>
  4. <router-view></router-view>
  5. </keep-alive>
  6. <m-banner/>
  7. <cont-one/>
  8. <cont-two/>
  9. <m-footer/>
  10. </div>
  11. </template>
  12. <script>
  13. import mBanner from '../../views/home/mBanner.vue'
  14. import contOne from '../../views/home/contOne.vue'
  15. import contTwo from '../../views/home/contTwo.vue'
  16. import mFooter from '../../views/home/mFooter.vue'
  17. export default{
  18. data(){
  19. return{
  20. }
  21. },
  22. components:{
  23. contOne,
  24. mBanner,
  25. contTwo,
  26. mFooter,
  27. }
  28. }
  29. </script>
  30. <style scoped>
  31. .home{
  32. min-width: 1200px;
  33. position: relative;
  34. }
  35. </style>