style: format

This commit is contained in:
张传龙 2022-07-20 09:13:07 +08:00
parent 6ea6e1c267
commit 789231a7f4
2 changed files with 5 additions and 9 deletions

View File

@ -15,7 +15,6 @@
<body> <body>
<div id="app"> <div id="app">
<!-- 白屏时的loading效果 --> <!-- 白屏时的loading效果 -->
<div class="loading-container"> <div class="loading-container">
<div id="loadingLogo" class="loading-svg"></div> <div id="loadingLogo" class="loading-svg"></div>
@ -30,7 +29,6 @@
<div class="loading-title"><%= title %></div> <div class="loading-title"><%= title %></div>
</div> </div>
<script src="/resource/loading.js"></script> <script src="/resource/loading.js"></script>
</div> </div>
<script type="module" src="/src/main.js"></script> <script type="module" src="/src/main.js"></script>
</body> </body>

View File

@ -34,26 +34,24 @@ body {
/* 自定义滚动条样式 */ /* 自定义滚动条样式 */
.cur-scroll { .cur-scroll {
&::-webkit-scrollbar{ &::-webkit-scrollbar {
width: 6px; width: 6px;
height: 6px; height: 6px;
} }
&::-webkit-scrollbar-thumb{ &::-webkit-scrollbar-thumb {
background-color: transparent; background-color: transparent;
border-radius: 3px; border-radius: 3px;
} }
&::-webkit-scrollbar-corner{ &::-webkit-scrollbar-corner {
background: #f6f6f6; background: #f6f6f6;
} }
&:hover { &:hover {
&::-webkit-scrollbar-thumb { &::-webkit-scrollbar-thumb {
background: #bfbfbf; background: #bfbfbf;
} }
&::-webkit-scrollbar-thumb:hover{ &::-webkit-scrollbar-thumb:hover {
background: #999999; background: #999999;
} }
} }
} }