You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

126 lines
2.1 KiB

/* pages/list/hotel/index.wxss */
.topimg {
display: block;
width: 100%;
}
.hotel-types {
display: flex;
margin: 27rpx 25rpx;
align-items: center;
justify-content: space-between;
font-size: 31rpx;
color: #666;
text-align: center;
line-height: 54rpx;
}
.hotel-type {
width: 156rpx;
border-radius: 10rpx;
border: 1rpx solid #999;
}
.hotel-type.active {
color: #fff;
border-color: #0B898E;
background: #0B898E;
}
.hotel-item {
width: 700rpx;
background: #FFFFFF;
box-shadow: -1rpx 1rpx 16rpx 0rpx rgba(6, 0, 1, 0.1);
border-radius: 13rpx;
margin: 31rpx 25rpx;
overflow: hidden;
position: relative;
}
.hotel-item .headimg {
display: block;
width: 100%;
height: 336rpx;
}
.hotel-item .infos {
padding: 19rpx 24rpx;
}
.hotel-item .infos .textOver {
font-weight: 500;
color: #333;
font-size: 31rpx;
}
.tags {
display: flex;
align-items: center;
margin-top: 6rpx;
}
.tag {
color: #0B898E;
font-size: 20rpx;
line-height: 30rpx;
border-radius: 15rpx;
padding: 0 15rpx;
margin-right: 15rpx;
border: 1rpx solid;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.price {
font-size: 20rpx;
color: #D62828;
text-align: right;
flex: 1;
}
.price text:nth-child(1){
font-size: 24rpx;
}
.price text:nth-child(2){
font-weight: 500;
font-size: 33rpx;
}
.price text:nth-child(3){
color: #8D8D8D;
margin-left: 4rpx;
}
.top-bg {
position: absolute;
right: 0;
top: 14rpx;
width: 103rpx;
height: 44rpx;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
background: url(https://static.ticket.sz-trip.com/xcxImages/listtop/hotel_top_bg.png);
background-size: cover;
}
.top-bg text {
margin-left: 3rpx;
font-size: 23rpx;
color: #333;
font-weight: bold;
}
.hotelimg {
position: absolute;
width: 405rpx;
display: block;
left: 165rpx;
top: 42rpx;
}
.sort-btn {
font-size: 28rpx;
color: #0B898E;
text-align: right;
margin: 0 30rpx;
}
.sort-btn view {
display: inline-block;
}
.address {
font-size: 28rpx;
color: #333;
margin-top: 10rpx;
font-weight: 500;
}
.address text {
color: #0B898E;
}