App.vue 847 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * @Author: fish119
  3. * @Date: 2017-05-19 13:22:02
  4. * @Last Modified by: fish119
  5. * @Last Modified time: 2017-05-22 13:22:02
  6. */
  7. <template>
  8. <div id="app">
  9. <app-header class="header"></app-header>
  10. <router-view></router-view>
  11. <bottom-navigation class="bottom_nav"></bottom-navigation>
  12. </div>
  13. </template>
  14. <script>
  15. import appHeader from './components/Header'
  16. import bottomNavigation from './components/BottomNavigation'
  17. export default {
  18. name: 'app',
  19. components: {
  20. appHeader,
  21. bottomNavigation
  22. }
  23. }
  24. </script>
  25. <style>
  26. html {
  27. font-size: 16px;
  28. }
  29. #app {
  30. font-family: 'Avenir', Helvetica, Arial, sans-serif;
  31. -webkit-font-smoothing: antialiased;
  32. -moz-osx-font-smoothing: grayscale;
  33. display: flex;
  34. flex-direction: column;
  35. justify-content: space-between;
  36. }
  37. </style>