ソースを参照

卡片页面移动端

James 4 年 前
コミット
4da9ce1cc0
2 ファイル変更117 行追加49 行削除
  1. 107 49
      src/components/swCard/index.vue
  2. 10 0
      src/pages/ruins/index.vue

ファイルの差分が大きいため隠しています
+ 107 - 49
src/components/swCard/index.vue


+ 10 - 0
src/pages/ruins/index.vue

@@ -63,5 +63,15 @@ activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
         margin:180px auto;
     }
 }
+
+@media screen and (max-width: 1024px) {
+    .layout { 
+        background: url('../../assets/images/mobile-index-bg.png') center center no-repeat;
+        .cards {
+            margin:32vw auto;
+        }
+    }
+    
+ }
     
 </style>