town.vue 551 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <div class="main">
  3. <header-view/>
  4. <nuxt/>
  5. <footer-view/>
  6. </div>
  7. </template>
  8. <script>
  9. import { Header, Footer } from '@/components/default'
  10. export default {
  11. name: 'Town',
  12. components: {
  13. HeaderView: Header,
  14. FooterView: Footer
  15. }
  16. }
  17. </script>
  18. <style>
  19. html {
  20. font-family: '微软雅黑', Arial, sans-serif;
  21. font-size: 14px;
  22. box-sizing: border-box;
  23. }
  24. *, *:before, *:after {
  25. box-sizing: border-box;
  26. margin: 0;
  27. }
  28. .container{
  29. padding:0;
  30. width:1180px;
  31. }
  32. </style>