App.vue 988 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. html,body{
  19. width: 100%;
  20. height: 100%;
  21. /* min-width: 1805px; */
  22. }
  23. #app {
  24. font-family: Avenir, Helvetica, Arial, sans-serif;
  25. -webkit-font-smoothing: antialiased;
  26. -moz-osx-font-smoothing: grayscale;
  27. font-weight: 400;
  28. color: #2c3e50;
  29. width: 100%;
  30. height: 100vh;
  31. overflow: hidden;
  32. }
  33. *::-webkit-scrollbar {
  34. /*滚动条整体样式*/
  35. width: 5px;
  36. /*高宽分别对应横竖滚动条的尺寸*/
  37. height: 1px;
  38. }
  39. *::-webkit-scrollbar-thumb {
  40. /*滚动条里面小方块*/
  41. border-radius: 10px;
  42. box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  43. background: #babcc0;
  44. }
  45. *::-webkit-scrollbar-track {
  46. /*滚动条里面轨道*/
  47. box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  48. border-radius: 10px;
  49. background: #ededed;
  50. }
  51. </style>