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.
103 lines
1.8 KiB
103 lines
1.8 KiB
|
5 years ago
|
/* pages/feiyi/list/index.wxss */
|
||
|
|
.heaimg {
|
||
|
|
display: block;
|
||
|
|
margin: 25rpx;
|
||
|
|
margin-bottom: 0;
|
||
|
|
width: calc(100% - 50rpx);
|
||
|
|
}
|
||
|
|
page {
|
||
|
|
background: #f9f9f9;
|
||
|
|
}
|
||
|
|
.night-types {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-around;
|
||
|
|
align-items: center;
|
||
|
|
height: 86rpx;
|
||
|
|
font-size: 29rpx;
|
||
|
|
color: #333;
|
||
|
|
z-index: 1;
|
||
|
|
}
|
||
|
|
.night-type {
|
||
|
|
position: relative;
|
||
|
|
width: 25%;
|
||
|
|
text-align: center;
|
||
|
|
height: 86rpx;
|
||
|
|
line-height: 86rpx;
|
||
|
|
}
|
||
|
|
.night-type.active {
|
||
|
|
color: #000;
|
||
|
|
font-size: 33rpx;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
.night-type.active::after {
|
||
|
|
content: "1";
|
||
|
|
font-size: 0;
|
||
|
|
display: block;
|
||
|
|
position: absolute;
|
||
|
|
width: 46rpx;
|
||
|
|
height: 5rpx;
|
||
|
|
background: #0B898E;
|
||
|
|
border-radius: 3rpx;
|
||
|
|
left: 50%;
|
||
|
|
margin-left: -23rpx;
|
||
|
|
bottom: 0;
|
||
|
|
}
|
||
|
|
.feiyi-list {
|
||
|
|
margin: 22rpx;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
.feiyi-item {
|
||
|
|
width: 340rpx;
|
||
|
|
background: white;
|
||
|
|
box-shadow:0px 0px 6rpx 0px rgba(7,0,2,0.2);
|
||
|
|
border-radius:10rpx;
|
||
|
|
margin-bottom: 28rpx;
|
||
|
|
}
|
||
|
|
.main-img {
|
||
|
|
display: block;
|
||
|
|
width: 340rpx;
|
||
|
|
border-top-left-radius: 10rpx;
|
||
|
|
border-top-right-radius: 10rpx;
|
||
|
|
height: 224rpx;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
.info-box {
|
||
|
|
margin: 10rpx 20rpx;
|
||
|
|
}
|
||
|
|
.info-box .title {
|
||
|
|
font-size: 30rpx;
|
||
|
|
display: -webkit-box;
|
||
|
|
line-height: 42rpx;
|
||
|
|
height: 84rpx;
|
||
|
|
-webkit-box-orient: vertical;
|
||
|
|
-webkit-line-clamp: 2;
|
||
|
|
overflow: hidden;
|
||
|
|
margin-bottom: 10rpx;
|
||
|
|
}
|
||
|
|
.price-box {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
padding-bottom: 10rpx;
|
||
|
|
}
|
||
|
|
.price-box-left {
|
||
|
|
font-size: 32rpx;
|
||
|
|
color: #D62828;
|
||
|
|
}
|
||
|
|
.old-price {
|
||
|
|
font-size: 22rpx;
|
||
|
|
color: #999;
|
||
|
|
text-decoration: line-through;
|
||
|
|
margin-left: 6rpx;
|
||
|
|
}
|
||
|
|
.btn {
|
||
|
|
width: 108rpx;
|
||
|
|
height: 44rpx;
|
||
|
|
line-height: 44rpx;
|
||
|
|
border-radius: 22rpx;
|
||
|
|
text-align: center;
|
||
|
|
background: #D62828;
|
||
|
|
color: white;
|
||
|
|
font-size: 30rpx;
|
||
|
|
}
|