.mainPage{ .top{ position: relative; overflow: hidden; } >nav{ width: 100%; position: relative; z-index: 10; background: #fff; box-shadow: 0 0 .1rem .02rem rgba(0, 0, 0, .1); a{ text-align: center; line-height: .4rem; font-size: .14rem; color: #ccc; position: relative; &.active{ color: #333; &::after{ content: ''; width: 50%; height: .02rem; background: #fc6243; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); } } } } .content{ width: 100%; height: 100%; position: relative; &>div{ width: 100%; position: absolute; left: 0; top: 0; bottom: 0; overflow: hidden; &>ul{ width: 100%; height: 100%; position: relative; overflow: hidden; &>li{ width: 100%; height: 100%; position: relative; overflow-y: scroll; -webkit-overflow-scrolling: touch; transform: translateZ(0); -webkit-transform: translateZ(0); &.placeOrder{ .topInfo{ align-items: center; margin: .1rem auto 0; >div{ >div{ width: 100%; position: relative; overflow: hidden; span{ width: 100%; display: block; text-indent: .2rem; line-height: .3rem; font-size: .14rem; color: #666; } } } a{ line-height: .22rem; font-size: .12rem; color: #fc6243; border: .01rem solid #fc6243; padding: 0 .15rem; border-radius: .05rem; margin-right: .2rem; } } .areaListParent{ position: relative; overflow: visible; >div{ margin: 0 .2rem; position: relative; overflow: visible; >div{ width: 100%; position: relative; overflow: visible; .areaList{ &:last-child{ margin-bottom: .2rem; } .title{ font-size: 0; white-space: nowrap; margin-top: .22rem; *{ line-height: .26rem; font-size: .14rem; } i{ color: red; margin-right: .05rem; } } .subAreaList{ position: relative; overflow: visible; flex-wrap: wrap; -webkit-flex-wrap: wrap; &>li{ position: relative; overflow: hidden; border-radius: .06rem; background: #fff; padding: .15rem 0; box-shadow: 0 0 .1rem .01rem rgba(0, 0, 0, .1); min-width: 40%; margin-top: .2rem; &:nth-child(2n){ margin-left: .2rem; } &.noData{ box-shadow: none; background: none; } } } } } } } } &.my-card, &.customer-card{ .cardAndCouponInfo{ align-items: center; margin: .1rem 0 .15rem; div{ font-size: 0; white-space: nowrap; span{ line-height: .3rem; font-size: .13rem; display: inline-block; margin-right: .05rem; &:nth-child(2){ font-size: .16rem; color: #fc6243; } } } a{ line-height: .24rem; padding: 0 .1rem; box-sizing: border-box; border: .01rem solid #333; color: #333; border-radius: .04rem; font-size: .12rem; } } .list-box{ padding: .1rem .2rem .2rem; } } .search-bar{ align-items: center; justify-content: space-between; padding: 0 .1rem .1rem; .search-icon{ font-size: .18rem; color: #909090; } } } } } } .selectCase{ width: 100%; position: absolute; left: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, .3); z-index: 100; } }