App.vue 912 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <router-view />
  3. </template>
  4. <script>
  5. export default {
  6. name: 'App',
  7. components: {},
  8. };
  9. </script>
  10. <style>
  11. * {
  12. margin: 0;
  13. padding: 0;
  14. vertical-align: middle;
  15. box-sizing: border-box;
  16. user-select: none;
  17. }
  18. #app {
  19. font-family: Avenir, Helvetica, Arial, sans-serif;
  20. -webkit-font-smoothing: antialiased;
  21. -moz-osx-font-smoothing: grayscale;
  22. font-weight: 400;
  23. color: #2c3e50;
  24. width: 100vw;
  25. height: 100vh;
  26. overflow: hidden;
  27. }
  28. *::-webkit-scrollbar {
  29. /*滚动条整体样式*/
  30. width: 5px;
  31. /*高宽分别对应横竖滚动条的尺寸*/
  32. height: 1px;
  33. }
  34. *::-webkit-scrollbar-thumb {
  35. /*滚动条里面小方块*/
  36. border-radius: 10px;
  37. box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  38. background: #babcc0;
  39. }
  40. *::-webkit-scrollbar-track {
  41. /*滚动条里面轨道*/
  42. box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  43. border-radius: 10px;
  44. background: #ededed;
  45. }
  46. </style>