App.vue 826 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <div id="app">
  3. <router-view/>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. mounted() {
  9. }
  10. }
  11. </script>
  12. <style>
  13. #app {
  14. position: absolute;
  15. width: 100%;
  16. height: 100%;
  17. top: 0;
  18. left: 0;
  19. right: 0;
  20. bottom: 0;
  21. overflow: hidden;
  22. display: block;
  23. margin: 0 auto;
  24. font-family: Avenir, Helvetica, Arial, sans-serif;
  25. -webkit-font-smoothing: antialiased;
  26. -moz-osx-font-smoothing: grayscale;
  27. text-align: center;
  28. color: #2c3e50;
  29. }
  30. ul, li {
  31. list-style: none;
  32. margin: 0;
  33. padding: 0;
  34. }
  35. @font-face {
  36. font-family: vista;
  37. src: url('assets/font/vista.otf');
  38. }
  39. * {
  40. font-family: vista;
  41. }
  42. </style>