diff --git a/src/layout/index.vue b/src/layout/index.vue index bad04b7..edeb3e0 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -8,13 +8,11 @@ - + - + diff --git a/src/styles/public.scss b/src/styles/public.scss index 1b5c2fb..cca21ab 100644 --- a/src/styles/public.scss +++ b/src/styles/public.scss @@ -26,3 +26,17 @@ body { opacity: 0; transform: translateX(30px); } + +/* 滚动条样式 */ +::-webkit-scrollbar { + width: 8px; + background-color: #eee; +} + +::-webkit-scrollbar-thumb { + background-color: #c1c1c1; + + &:hover { + background-color: #a8a8a8; + } +} diff --git a/src/views/error-page/404.vue b/src/views/error-page/404.vue index 3c9ee35..7aaf1d3 100644 --- a/src/views/error-page/404.vue +++ b/src/views/error-page/404.vue @@ -18,14 +18,9 @@ const { replace } = useRouter()