pages/home/home.wxss
@@ -1,3 +1,5 @@ @import "./home.skeleton.wxss"; .background { width: 100%; position: fixed; @@ -65,6 +67,7 @@ display: flex; align-items: center; justify-content: center; background: #f6f6f6; } .swiper { @@ -79,10 +82,10 @@ } .swiper .img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important; /* max-height: 100% !important; */ width: auto !important; /* height: auto !important; */ position: absolute !important; top: 0 !important; left: 0 !important;