Browse Source

三级菜单和背景样式修改

master
aBin 3 years ago
parent
commit
64f53249b5
  1. 15
      src/App.vue
  2. 4
      src/components/LeftNav/LeftNav.vue

15
src/App.vue

@ -3,7 +3,7 @@
<div id="app"> <div id="app">
<HeadNav /> <HeadNav />
<Carousel /> <Carousel />
<router-view style="min-height: 1500px"></router-view> <router-view style="min-height: 1170px"></router-view>
<Footer /> <Footer />
</div> </div>
</a-config-provider> </a-config-provider>
@ -46,20 +46,21 @@ body {
body::-webkit-scrollbar { body::-webkit-scrollbar {
width: 0; width: 0;
} }
.bg-top{ .bg-top {
position: relative; position: relative;
top: 0; top: 0;
width: 100%; width: 100%;
min-height: 1500px; background: url(./assets/bg-bottom.png) bottom no-repeat;
background: url(./assets/bg-top.png) top no-repeat; min-height: 1170px;
padding-bottom: 400px;
background-size: 100%; background-size: 100%;
} }
.bg-bottom{ .bg-bottom {
position: relative; position: relative;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
background: url(./assets/bg-bottom.png) bottom no-repeat; background: url(./assets/bg-top.png) top no-repeat;
background-size: 100%; background-size: 100%;
padding-bottom: 100px; /* padding-bottom: 100px; */
} }
</style> </style>

4
src/components/LeftNav/LeftNav.vue

@ -117,11 +117,11 @@ export default {
} }
.left-nav-child { .left-nav-child {
width: 240px; width: 240px;
height: 28px; height: 56px;
padding-left: 20px; padding-left: 20px;
/* border-bottom: 1px solid rgba(112, 112, 112, 0.1); */ /* border-bottom: 1px solid rgba(112, 112, 112, 0.1); */
/* margin-bottom: 1px; */ /* margin-bottom: 1px; */
background-color: #fff; background-color: #ededed;
font-size: 16px; font-size: 16px;
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.2s;

Loading…
Cancel
Save