Explorar el Código

欢迎页移动端背景更换

James hace 4 años
padre
commit
69b80da2a3
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. BIN
      src/assets/images/mobile-index-bg.png
  2. 3 3
      src/pages/index/index.vue

BIN
src/assets/images/mobile-index-bg.png


+ 3 - 3
src/pages/index/index.vue

@@ -87,14 +87,14 @@ export default {
 @media screen and (max-width: 1024px) {
   .wrapper {
     .bgimg {
-      background: url("../../assets/images/mobile-index-bg.png") no-repeat
-        center center;
+      background: url("../../assets/images/mobile-index-bg.png") no-repeat center center;
+      background-size: 100% 100%;
       .con {
         width: 80%;
         left: 50%;
         top:0;
         margin-left: -40%;
-        margin-top:50%;
+        margin-top:63%;
         .btn {
           background: url(../../assets/images/mobile-btn-bg.png) no-repeat center center;
           background-size: 100% 100%;