html, body { margin: 0; border: none; padding: 0; } .asd { font-size: 100px; } .container { width: 100%; height: 100%; background: #eee; .product-box { width: 100%; background: #fff; margin-bottom: .4rem; .product-title { width: 100%; height: 1.4rem; line-height: 1.4rem; color: #a8674d; font-size: .4rem; text-align: center; } .product-list { width: 100%; padding-bottom: .5rem; .item { width: 6.48rem; height: 1.06rem; border-radius: .53rem; background: #fff; border: .02rem solid rgb(168, 103, 77); color: #a8674d; box-sizing: border-box; display: flex; flex-direction: row; align-items: center; justify-content: space-around; margin: 0 auto .4rem; &.focus { background: #f5880d; border: none; color: #fff; } .time { font-size: .36rem; } .price { font-size: .4rem; } .origin-price { font-size: .28rem; } } } } .pay-way { width: 100%; background: #fff; .pay-title { width: 6.82rem; height: 1.05rem; border-bottom: .02rem solid #e4e4e4; text-align: center; margin: 0 auto; line-height: 1.05rem; color: #191919; font-size: .32rem; } .pay-item { width: 6.82rem; height: 1rem; border-bottom: .02rem solid #e4e4e4; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; .left-box { display: flex; align-items: center; .wx-img { width: 0.58rem; height: 0.5rem; } .zfb-img { width: 0.56rem; height: 0.56rem; } .pay-name { color: #191919; margin-left: .34rem; font-size: .28rem; } } .pay-choose { float: right; width: 0.48rem; height: 0.48rem; background: url('./img/grey.png') no-repeat; background-size: 100%; &.choose { background: url('./img/choose.png') no-repeat; background-size: 100%; } } } } .footer { width: 100%; height: 1.2rem; position: fixed; left: 0; bottom: 0; display: flex; flex-direction: row; align-items: center; box-shadow: 0px -2px 8px 0px rgba(0, 0, 0, 0.18); .left { width: 59%; height: 100%; font-size: .32rem; color: #a8674d; text-indent: .5rem; display: flex; align-items: center; span { font-size: .4rem; text-indent: 0; } } .pay-btn { width: 41%; height: 100%; background: #f5880d; text-align: center; line-height: 100%; font-size: .4rem; color: #fff; display: flex; align-items: center; justify-content: center; } } } .buy-dialog { width: 100%; height: 100%; background: rgba(0, 0, 0, .8); display: none; justify-content: center; align-items: center; position: absolute; top: 0; .box { width: 5.5rem; height: 3.54rem; background: rgba(255, 255, 255, 1); border-radius: .2rem; .title { width: 100%; height: 0.56rem; color: #434343; font-size: .4rem; text-align: center; margin-top: .63rem; } .bottom { width: 100%; display: flex; align-items: center; justify-content: space-around; margin-top: .98rem; .yes { width: 2.51rem; height: .84rem; background: rgba(245, 136, 13, 1); border-radius: .47rem; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .36rem; } .no { width: 2.51rem; height: .84rem; background: rgba(61, 173, 254, 1); border-radius: .47rem; display: flex; align-items: center; text-align: center; color: #fff; font-size: .36rem; justify-content: center; } } } }