From 64f53249b5119a029d684479b5862d991ddf7040 Mon Sep 17 00:00:00 2001 From: aBin Date: Fri, 25 Feb 2022 15:31:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=89=E7=BA=A7=E8=8F=9C=E5=8D=95=E5=92=8C?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 15 ++++++++------- src/components/LeftNav/LeftNav.vue | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/App.vue b/src/App.vue index 69a9167..048c1fa 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,7 +3,7 @@
- +
@@ -46,20 +46,21 @@ body { body::-webkit-scrollbar { width: 0; } -.bg-top{ +.bg-top { position: relative; top: 0; width: 100%; - min-height: 1500px; - background: url(./assets/bg-top.png) top no-repeat; + background: url(./assets/bg-bottom.png) bottom no-repeat; + min-height: 1170px; + padding-bottom: 400px; background-size: 100%; } -.bg-bottom{ +.bg-bottom { position: relative; bottom: 0; width: 100%; - background: url(./assets/bg-bottom.png) bottom no-repeat; + background: url(./assets/bg-top.png) top no-repeat; background-size: 100%; - padding-bottom: 100px; + /* padding-bottom: 100px; */ } diff --git a/src/components/LeftNav/LeftNav.vue b/src/components/LeftNav/LeftNav.vue index 13d87b6..ea2483a 100644 --- a/src/components/LeftNav/LeftNav.vue +++ b/src/components/LeftNav/LeftNav.vue @@ -117,11 +117,11 @@ export default { } .left-nav-child { width: 240px; - height: 28px; + height: 56px; padding-left: 20px; /* border-bottom: 1px solid rgba(112, 112, 112, 0.1); */ /* margin-bottom: 1px; */ - background-color: #fff; + background-color: #ededed; font-size: 16px; cursor: pointer; transition: all 0.2s;