138 lines
2.3 KiB
Plaintext
138 lines
2.3 KiB
Plaintext
/* 搜索 */
|
|
.search {
|
|
height: 110rpx;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 999;
|
|
padding: 10rpx 30rpx 0;
|
|
box-sizing: border-box;
|
|
background: white;
|
|
}
|
|
|
|
.mall-search {
|
|
background: #f7f7f7;
|
|
height: 90rpx;
|
|
line-height: 90rpx;
|
|
padding: 0 30rpx;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
border-radius: 80rpx;
|
|
color: #b8b7bc;
|
|
display: flex;
|
|
}
|
|
|
|
.mall-search-icon {
|
|
width: 38rpx;
|
|
height: 38rpx;
|
|
margin: 26rpx 20rpx 0 0;
|
|
}
|
|
|
|
/* 一级分类 */
|
|
|
|
.stair-nav {
|
|
position: fixed;
|
|
top: 110rpx;
|
|
left: 0;
|
|
background: #fcfafb;
|
|
height: calc(100vh - 100rpx);
|
|
width: 160rpx;
|
|
text-align: center;
|
|
z-index: 9;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 0;
|
|
height: 0;
|
|
color: transparent;
|
|
display: none;
|
|
}
|
|
|
|
.stair-nav-li {
|
|
line-height: 110rpx;
|
|
border-top: solid 1rpx #ffffff;
|
|
}
|
|
|
|
.stair-nav-li.active {
|
|
background: white;
|
|
color: #e92344;
|
|
font-weight: bold;
|
|
position: relative;
|
|
}
|
|
|
|
.stair-nav-li.active::before {
|
|
position: absolute;
|
|
content: "";
|
|
left: 0;
|
|
top: 30rpx;
|
|
height: 40rpx;
|
|
background: #e92344;
|
|
width: 6rpx;
|
|
}
|
|
|
|
/* 二级分类 */
|
|
|
|
.level-content{
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
padding: 110rpx 0 0 170rpx;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
height: 100vh;
|
|
background: white;
|
|
}
|
|
|
|
.levelList-title {
|
|
font-size: 26rpx;
|
|
color: #2c2c2c;
|
|
font-weight: 600;
|
|
line-height: 110rpx;
|
|
padding: 0 25rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.level-nav{
|
|
display: flex;
|
|
flex-wrap:wrap;
|
|
}
|
|
|
|
.level-nav-li{
|
|
width: 33.333%;
|
|
text-align: center;
|
|
padding: 0 20rpx;
|
|
box-sizing: border-box;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.level-nav-cover{
|
|
width: 100%;
|
|
padding-top: 100%;
|
|
position: relative;
|
|
border-radius: 10rpx;
|
|
overflow: hidden;
|
|
background-color: #fcfafb;
|
|
}
|
|
|
|
.level-nav-cover image {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.level-nav-title{
|
|
font-size: 26rpx;
|
|
margin-top: 15rpx;
|
|
color: #464854;
|
|
}
|
|
|
|
|
|
.level-tips {
|
|
text-align: center;
|
|
width: 100%;
|
|
padding: 80rpx 0;
|
|
color: #a3a3a3;
|
|
} |