*{ margin: 0; padding: 0; } li{ list-style: none; } a{ text-decoration: none; color: #000; -webkit-tap-highlight-color:transparent; } html{ font-size: 10px; background: #fff; } .bodys{ padding-bottom: 10vh; background: #fff; } /*banner*/ .banner{ width: 100vw; } .banner img{ width: 100vw; } /*积分*/ .integral{ width: 90vw; height: 8vh; margin: auto; display: flex; align-items: center; font-size: 1.4rem; } .integral>img{ width: 6vw; margin-right: 2vh; background: #fff; } .integral_num{ color: #ff877e; } /*兑换的商品*/ .gift_back{ width: 100vw; background: #eee; } .gift{ width: 90vw; margin: auto; overflow: hidden; display: flex; flex-wrap: wrap; } .gift_single{ width: 43vw; background: #fff; margin: 1rem auto; font-size: 1.4rem; border-radius: 1vw; overflow: hidden; } .image{ width: 43vw; height: 43vw; overflow: hidden; } .image>img{ width: 100%; } .text{ width: 90%; margin: .5rem auto; } .int{ margin-top: .6rem; color: #ff877e; } .gift>a:nth-child(2n-1){ font-size: 0; margin-right: 4vw; } /*底部*/ .foot{ width: 100vw; height: 10vh; background: #fff; position: fixed; bottom: 0; overflow: hidden; display: flex; } .home{ width: 50vw; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-size: 1.2rem; } .home>a>img{ width: 8vw; height: 8vw; }