123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- .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;
- }
- }
|