xz_bailang/pages/venue/venue.wxss
2020-08-06 16:49:55 +08:00

125 lines
1.9 KiB
Plaintext

.fixed-top{
position: fixed;
top: 0;
left: 0;
right: 0;
padding: 0 30rpx 10rpx;
background: #fff;
}
.fixed-tab{
padding: 30rpx 0;
display: flex;
overflow-x: auto;
}
.tab-box{
flex-shrink: 0;
width: 120rpx;
text-align: center;
margin-right: 40rpx;
}
.tab-box image{
width: 80rpx;
height: 80rpx;
}
.tab-title{
font-size: 30rpx;
color: #242424;
}
.tab-box.active .tab-title{
color: #9F1512;
}
.select-tab{
display: flex;
margin-bottom: 10rpx;
}
.select-box{
flex: 1;
text-align: center;
font-size: 32rpx;
color: #242424;
}
.select-box.active{
color: #9F1512;
font-weight: bold;
}
.venue{
height: 400rpx;
margin-top: 250rpx;
padding: 0 30rpx;
}
.venue-box{
box-shadow:0 0 17rpx 0 rgba(0,0,0,0.1);
border-radius:10rpx;
overflow: hidden;
margin-bottom: 15rpx;
}
.venue-img, .venue-img image{
width: 100%;
height: 315rpx;
}
.venue-info{
padding: 15rpx 20rpx;
}
.name-distance{
display: flex;
justify-content: space-between;
height: 35rpx;
line-height: 35rpx;
}
.name{
font-size: 32rpx;
width: 60%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.distance{
padding: 0 10rpx;
background: rgba(159,21,18,.1);
color: #9F1512;
border-radius: 10rpx;
font-size: 28rpx;
}
.time{
font-size: 28rpx;
color: #242424;
margin-top: 10rpx;
}
.select-area{
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
background: rgba(0,0,0,0.6);
}
.area-container{
background: #fff;
padding: 15rpx 15rpx 0;
font-size: 0;
}
.area-box{
display: inline-block;
width: 32%;
height: 60rpx;
line-height: 60rpx;
margin-bottom: 15rpx;
margin-right: 2%;
text-align: center;
font-size: 30rpx;
border: 1px solid #DDD;
border-radius: 10rpx;
box-sizing: border-box;
padding: 0 10rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.area-box.active{
border: #9F1512 1px solid;
color: #9F1512;
}
.area-box:nth-child(3n){
margin-right: 0;
}