119 lines
1.7 KiB
Plaintext
119 lines
1.7 KiB
Plaintext
![]() |
.container {
|
||
|
background: #f9f9f9;
|
||
|
}
|
||
|
|
||
|
.cate-nav {
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
z-index: 1000;
|
||
|
}
|
||
|
|
||
|
.cate-nav-body {
|
||
|
height: 84rpx;
|
||
|
white-space: nowrap;
|
||
|
background: #fff;
|
||
|
border-top: 1px solid rgba(0, 0, 0, 0.15);
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.cate-nav .item {
|
||
|
display: inline-block;
|
||
|
height: 84rpx;
|
||
|
min-width: 130rpx;
|
||
|
padding: 0 15rpx;
|
||
|
}
|
||
|
|
||
|
.cate-nav .item .name {
|
||
|
display: block;
|
||
|
height: 84rpx;
|
||
|
padding: 0 20rpx;
|
||
|
line-height: 84rpx;
|
||
|
color: #333;
|
||
|
font-size: 30rpx;
|
||
|
width: auto;
|
||
|
}
|
||
|
|
||
|
.cate-nav .item.active .name {
|
||
|
color: #ab956d;
|
||
|
border-bottom: 2px solid #ab956d;
|
||
|
}
|
||
|
|
||
|
.cate-item {
|
||
|
margin-top: 94rpx;
|
||
|
height: auto;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.cate-item .h {
|
||
|
height: 145rpx;
|
||
|
width: 750rpx;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.cate-item .h .name {
|
||
|
display: block;
|
||
|
height: 35rpx;
|
||
|
margin-bottom: 18rpx;
|
||
|
font-size: 30rpx;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.cate-item .h .desc {
|
||
|
display: block;
|
||
|
height: 24rpx;
|
||
|
font-size: 24rpx;
|
||
|
color: #999;
|
||
|
}
|
||
|
|
||
|
.cate-item .b {
|
||
|
width: 750rpx;
|
||
|
padding: 0 6.25rpx;
|
||
|
height: auto;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.cate-item .b .item {
|
||
|
float: left;
|
||
|
background: #fff;
|
||
|
width: 365rpx;
|
||
|
margin-bottom: 6.25rpx;
|
||
|
padding-bottom: 33.333rpx;
|
||
|
height: auto;
|
||
|
overflow: hidden;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.cate-item .b .item-b {
|
||
|
margin-left: 6.25rpx;
|
||
|
}
|
||
|
|
||
|
.cate-item .item .img {
|
||
|
width: 302rpx;
|
||
|
height: 302rpx;
|
||
|
}
|
||
|
|
||
|
.cate-item .item .name {
|
||
|
display: block;
|
||
|
width: 365.625rpx;
|
||
|
height: 35rpx;
|
||
|
margin: 11.5rpx 0 22rpx 0;
|
||
|
text-align: center;
|
||
|
overflow: hidden;
|
||
|
padding: 0 20rpx;
|
||
|
font-size: 30rpx;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.cate-item .item .price {
|
||
|
display: block;
|
||
|
width: 365.625rpx;
|
||
|
height: 30rpx;
|
||
|
text-align: center;
|
||
|
font-size: 30rpx;
|
||
|
color: #ab956d;
|
||
|
}
|