build(deps): 添加smooth-scroll插件、axios封装

This commit is contained in:
Soybean
2021-05-29 03:02:15 +08:00
parent afd4d04110
commit 82411cc5eb
29 changed files with 504 additions and 24 deletions

23
src/styles/css/global.css Normal file
View File

@@ -0,0 +1,23 @@
@import './scrollbar.css';
html,
body,
#app {
width: 100%;
height: 100%;
}
html {
min-width: 1320px;
min-height: 650px;
font-size: 16px;
}
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
}
svg {
display: inline-block;
}

View File

@@ -0,0 +1,20 @@
/*---滚动条默认显示样式--*/
::-webkit-scrollbar-thumb {
background-color: #d9d9d9;
border-radius: 8px;
}
/*---鼠标点击滚动条显示样式--*/
::-webkit-scrollbar-thumb:hover {
background-color: #d9d9d9;
border-radius: 4px;
}
/*---滚动条大小--*/
::-webkit-scrollbar {
width: 8px;
height: 10px;
}
/*---滚动框背景样式--*/
::-webkit-scrollbar-track-piece {
background-color: rgba(0, 0, 0, 0);
border-radius: 0;
}