* { box-sizing: border-box; font-size: .1rem; } html,body { min-height: 100vh; } body { background: #FF7368; } .banner { height: 1.52rem; margin-bottom: .12rem; background-image: url("./img/banner.png"); background-size: 100% 100%; } .loading { position: fixed; top: 0; left: 0; display: none; width: 100%; height: 100vh; z-index: 99; } .loading img { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: 0.3rem; height: 0.3rem; } .list { width: 100%; padding: 0 .08rem; padding-bottom: .1rem; } li { background: #fff; margin: auto; width: 3.59rem; height: 1.3rem; padding: .1rem .08rem; padding-left: 0; box-sizing: border-box; margin-top: .1rem; border-radius: .05rem; display: flex; align-items: center; } li:first-child { margin-top: 0; } .picture { padding-left: .08rem; display: block; width: 1.1rem; height: 1.1rem; margin-right: .05rem; border-radius: .02rem; } .info { width: 2.35rem; } .title { height: .44rem; font-size: 0.16rem; line-height: 0.22rem; word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-weight: bold; color: #000000; } .price { font-size: .14rem; color: #FA2D36; } .volume { margin-left: .08rem; font-size: .1rem; color: #BBB9BB; vertical-align: bottom; } .number { margin-top: .14rem; margin-bottom: .16rem; line-height: .2rem; } .cheap { display: flex; } .cheap div { display: inline-block; } .left { display: inline-block; font-size: 0; background: #FFF4DF; } .icon { display: inline-block; width: .13rem; height: .16rem; vertical-align: bottom; } .envelopes { padding-left: .03rem; padding-right: .08rem; height: .16rem; line-height: .16rem; background: #FFF4DF; font-size: .1rem; color: #99520F; border-radius: .03rem; } .quan { width: .6rem; height: .16rem; line-height: .16rem; color: #FA2D36; background-image: url("./img/Group@2x.png"); background-size: 100% 100%; margin-left: .09rem; } em { display: inline-block; width: 0.2rem; height: 0.15rem; text-align: center; } .quan span { display: inline-block; width: 0.4rem; height: 0.15rem; text-align: center; } .rebate { width: .73rem; height: .16rem; text-align: center; font-size: .1rem; line-height: .16rem; color: #fff; background: #FA2D36; border-radius: .03rem; margin-left: .09rem; }