App.vue 581 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <div id="app">
  3. <router-view />
  4. </div>
  5. </template>
  6. <style lang="scss">
  7. * {
  8. margin: 0;
  9. padding: 0;
  10. }
  11. html,
  12. body {
  13. width: 100%;
  14. height: 100%;
  15. }
  16. #app {
  17. font-family: Avenir, Helvetica, Arial, sans-serif;
  18. -webkit-font-smoothing: antialiased;
  19. -moz-osx-font-smoothing: grayscale;
  20. text-align: center;
  21. color: #2c3e50;
  22. width: 100%;
  23. height: 100%;
  24. }
  25. .el-scrollbar .el-scrollbar__wrap {
  26. overflow-x: hidden;
  27. }
  28. // 上面隐藏横向滚动条会导致下拉框底部遮盖问题
  29. .el-select-dropdown .el-scrollbar {
  30. padding-bottom: 17px;
  31. }
  32. </style>