App.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <template>
  2. <div id="app">
  3. <router-view />
  4. </div>
  5. </template>
  6. <script>
  7. import lint from "./lint";
  8. export default {
  9. name: "App",
  10. created() {
  11. // new lint().init();
  12. },
  13. };
  14. </script>
  15. <style lang="scss">
  16. // .sp-button-submit {
  17. // background-color: #2766dd;
  18. // color: #f7f8fb;
  19. // border-radius: 0;
  20. // }
  21. #app::-webkit-scrollbar {
  22. display: none; /* Chrome Safari */
  23. }
  24. #app{
  25. scrollbar-width: none; /* firefox */
  26. -ms-overflow-style: none; /* IE 10+ */
  27. overflow-x: hidden;
  28. overflow-y: auto;
  29. }
  30. .sp-button-submit {
  31. margin: 0 6px;
  32. display: inline-block;
  33. width: 80px;
  34. height: 40px;
  35. border-radius: 2px;
  36. font-size: 14px;
  37. line-height: 40px;
  38. text-align: center;
  39. cursor: pointer;
  40. background-color: #2766dd;
  41. color: #f7f8fb;
  42. }
  43. .sp-button-submit:hover {
  44. background-color: #4d85f4;
  45. }
  46. .sp-button-reset {
  47. cursor: pointer;
  48. margin: 0 6px;
  49. display: inline-block;
  50. width: 80px;
  51. height: 40px;
  52. border-radius: 2px;
  53. font-size: 14px;
  54. line-height: 40px;
  55. text-align: center;
  56. color: #333334;
  57. border: 1px solid #d7d7d7;
  58. }
  59. .sp-button-reset:hover {
  60. color: #1f9fff;
  61. border: 1px solid #1f9fff;
  62. }
  63. .sp-scrool {
  64. /** 美化滚动条 **/
  65. ::-webkit-scrollbar-track-piece {
  66. //滚动条凹槽的颜色,还可以设置边框属性
  67. background-color: #071e4f;
  68. }
  69. ::-webkit-scrollbar {
  70. //滚动条的宽度
  71. width: 5px;
  72. height: 5px;
  73. }
  74. ::-webkit-scrollbar-thumb {
  75. //滚动条的设置
  76. background-color: #0556db;
  77. background-clip: padding-box;
  78. height: 10px;
  79. border-radius: 4px;
  80. max-height: 10px;
  81. }
  82. ::-webkit-scrollbar-thumb:hover {
  83. background-color: #0556db;
  84. }
  85. }
  86. </style>