Commit a758251524e9c194bfabebd6bcedbdb4563419d8

Authored by zhiyangdu
1 parent b05019aa

样式优化

src/pages/index/index.less
... ... @@ -3,12 +3,14 @@
3 3 height: 100vh;
4 4 background: url("../../../static/img/background.jpg") no-repeat center top;
5 5 background-size: 100%;
  6 + overflow: hidden;
6 7 .btn_box {
7 8 width: 670px;
8 9 height: 570px;
9   - position: fixed;
10   - bottom: 193px;
11   - left: 40px;
  10 + //position: fixed;
  11 + //bottom: 14s3px;
  12 + //left: 40px;
  13 + margin: 524px auto;
12 14 div:first-child {
13 15 width: 100%;
14 16 height: 260px;
... ...
src/pages/index/index.vue
... ... @@ -8,11 +8,11 @@
8 8 <div @click="link(2)" class="btn">
9 9  
10 10 </div>
11   - </div>
12   - <div class="bottom_box">
13 11 <div class="text">
14 12  
15 13 </div>
  14 + </div>
  15 + <div class="bottom_box">
16 16 <div class="bottom_backg">
17 17  
18 18 </div>
... ...