1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <template>
- <div id="app">
- <router-view />
- </div>
- </template>
- <script>
- import lint from "./lint";
- export default {
- name: "App",
- created() {
- // new lint().init();
- },
- };
- </script>
- <style lang="scss">
- // .sp-button-submit {
- // background-color: #2766dd;
- // color: #f7f8fb;
- // border-radius: 0;
- // }
- #app::-webkit-scrollbar {
- display: none; /* Chrome Safari */
- }
- #app{
- scrollbar-width: none; /* firefox */
- -ms-overflow-style: none; /* IE 10+ */
- overflow-x: hidden;
- overflow-y: auto;
- }
- .sp-button-submit {
- margin: 0 6px;
- display: inline-block;
- width: 80px;
- height: 40px;
- border-radius: 2px;
- font-size: 14px;
- line-height: 40px;
- text-align: center;
- cursor: pointer;
- background-color: #2766dd;
- color: #f7f8fb;
- }
- .sp-button-submit:hover {
- background-color: #4d85f4;
- }
- .sp-button-reset {
- cursor: pointer;
- margin: 0 6px;
- display: inline-block;
- width: 80px;
- height: 40px;
- border-radius: 2px;
- font-size: 14px;
- line-height: 40px;
- text-align: center;
- color: #333334;
- border: 1px solid #d7d7d7;
- }
- .sp-button-reset:hover {
- color: #1f9fff;
- border: 1px solid #1f9fff;
- }
- .sp-scrool {
- /** 美化滚动条 **/
- ::-webkit-scrollbar-track-piece {
- //滚动条凹槽的颜色,还可以设置边框属性
- background-color: #071e4f;
- }
- ::-webkit-scrollbar {
- //滚动条的宽度
- width: 5px;
- height: 5px;
- }
- ::-webkit-scrollbar-thumb {
- //滚动条的设置
- background-color: #0556db;
- background-clip: padding-box;
- height: 10px;
- border-radius: 4px;
- max-height: 10px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background-color: #0556db;
- }
- }
- </style>
|