@media screen and (min-width: 320px) { html { font-size: 62.5%; } } @media screen and (min-width: 360px) { html { font-size: 65%; } } @media screen and (min-width: 384px) { html { font-size: 67.5%; } } @media screen and (min-width: 400px) { html { font-size: 70%; } } * { margin: 0; padding: 0; } html, body { width: 100%; height: 100%; } body { background-color: #fff; box-sizing: border-box; } .header { width: 100%; height: 48px; background-color: #000; } .container { width: 100%; padding-bottom: 6rem; } .bg { width: 100%; } .footer { position: fixed; bottom: 0; left: 0; z-index: 10; } .swiper-container { width: 100%; padding-bottom: 1rem; } .swiper-container img { width: 100%; } .swiper-slide { box-sizing: border-box; padding: 1.2rem; /* background-color: pink; */ } .swiper-pagination { } .swiper-pagination-bullet { width: 6px !important; height: 6px !important; background-color: rgba(0, 0, 0, 0.5) !important; } .swiper-pagination-bullet-active { width: 1rem !important; border-radius: 2.3rem !important; background-color: #ababab !important; } .tips { width: 100%; text-align: center; line-height: 2; } .top-header { display: none; width: 100%; position: fixed; top: -5px; left: 0; z-index: 2222; } .banner { position: relative; } .banner .account { position: absolute; background-color: red; z-index: 11; width: 4rem; height: 4rem; top: 17rem; left: 5rem; } .mx { position: absolute; background-color: pink; z-index: 11; width: 4rem; height: 4rem; top: 17rem; left: 20rem; }