yuminge-app/yun-min-program-plugin-master/packageC/micro_communities/microClassification/microClassification.wxss

289 lines
5.7 KiB
Plaintext

.microclassification .sticky-class {
/* height: auto !important; */
position: fixed;
top: 0;
z-index: 9;
width: 100%;
}
.microclassification .sticky-placeholder {
height: calc(20.16rpx + 20.16rpx + 60.16rpx + 44px + 40rpx + 16rpx + 16rpx);
width: 100%;
}
.microclassification .header {
text-align: center;
display: flex;
align-items: center;
padding-top: 20.16rpx;
padding-bottom: 20.16rpx;
background: #fff;
}
.microclassification .header .left {
font-size: 48rpx;
margin-left: 33.92rpx;
margin-right: 46.08rpx;
}
.microclassification .header .search {
display: flex;
width: 550.08rpx;
height: 60.16rpx;
background-color: #f5f5f5;
border-radius: 30.08rpx;
align-items: center;
}
.microclassification .header .search .searchion {
font-size: 25.92rpx;
color: #999;
margin-left: 16rpx;
margin-right: 13.12rpx;
}
.microclassification .header .search .textinp {
flex: 1;
padding: 0 20rpx;
}
.microclassification .header .search .van-cell {
background-color: transparent;
padding: 0;
}
.microclassification .header .right {
font-size: 32rpx;
color: #1c96fe;
flex: 1;
}
.microclassification .top {
position: relative;
}
.microclassification .top .Classification {
background: #fff;
display: flex;
}
.microclassification .top .Classification .left {
flex: 1;
}
.microclassification .top .Classification .left .content {
background: #fff;
display: flex;
width: 100%;
overflow: hidden;
flex-wrap: nowrap;
overflow-x: auto;
}
.microclassification .top .Classification .left .van-tabs__line {
left: 8px;
}
/* .microclassification .top .Classification .left .content .li.sel {
border-bottom: 4rpx solid #f15353;
} */
.microclassification .top .Classification .right {
background: #fff;
width: 96rpx;
display: flex;
align-items: center;
justify-content: center;
}
.microclassification .top .Classification .right .imgicon {
width: 60.16rpx;
}
.microclassification .top .Classification .right .imgicon image {
width: 100%;
}
.microclassification .top .all_classification {
position: absolute;
top: 88rpx;
left: 0;
right: 0;
bottom: 0;
height: 256rpx;
overflow: auto;
z-index: 10;
background: #fff;
}
.microclassification .top .all_classification .bottom {
padding-top: 37.12rpx;
}
.microclassification .top .all_classification .bottom .ul {
padding-left: 24rpx;
padding-right: 24rpx;
display: flex;
flex-wrap: wrap;
}
.microclassification .top .all_classification .bottom .ul .li {
font-size: 28.16rpx;
line-height: 60.16rpx;
height: 60.16rpx;
padding-left: 29.12rpx;
padding-right: 29.12rpx;
margin-right: 20.16rpx;
margin-bottom: 20.16rpx;
background-color: #f5f5f5;
border-radius: 30.08rpx;
}
.microclassification .top .all_classification.hide {
display: none;
}
.microclassification .list {
padding-top: 20rpx;
}
.microclassification .list .video_list .ul {
margin-top: 16rpx;
display: flex;
flex-wrap: wrap;
padding-left: 24rpx;
padding-right: 24rpx;
justify-content: space-between;
}
.microclassification .list .video_list .ul .li {
border-radius: 12.16rpx;
width: 338.88rpx;
background-color: #fff;
padding-bottom: 22.08rpx;
margin-bottom: 24rpx;
}
.microclassification .list .video_list .ul .li .top {
min-height: 449.92rpx;
}
.microclassification .list .video_list .ul .li .top image {
width: 100%;
}
.microclassification .list .video_list .ul .li .bottom {
padding-left: 18.88rpx;
}
.microclassification .list .video_list .ul .li .bottom .title {
padding-top: 20.16rpx;
font-size: 26.88rpx;
line-height: 26.88rpx;
display: -webkit-box;
text-overflow: ellipsis;
overflow: hidden;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
text-align: left;
margin-bottom: 18.88rpx;
}
.microclassification .list .video_list .ul .li .bottom .content {
display: flex;
justify-content: space-between;
}
.microclassification .list .video_list .ul .li .bottom .content .headmessage {
display: flex;
}
.microclassification .list .video_list .ul .li .bottom .content .headmessage .left {
width: 36.16rpx;
height: 36.16rpx;
border-radius: 50%;
}
.microclassification .list .video_list .ul .li .bottom .content .headmessage .left image {
width: 100%;
height: 100%;
}
.microclassification .list .video_list .ul .li .bottom .content .headmessage .name {
margin-left: 9.92rpx;
height: 36.16rpx;
line-height: 36.16rpx;
text-align: left;
color: #8c8c8c;
font-size: 22.08rpx;
}
.microclassification .list .video_list .ul .li .bottom .content .thumbup {
display: flex;
padding-top: 5.12rpx;
}
.microclassification .list .video_list .ul .li .bottom .content .thumbup .right {
width: 25.92rpx;
height: 26.88rpx;
margin-right: 12.16rpx;
}
.microclassification .list .video_list .ul .li .bottom .content .thumbup .right image {
width: 100%;
height: 100%;
}
.microclassification .list .video_list .ul .li .bottom .content .thumbup .num {
min-width: 64rpx;
max-width: 256rpx;
text-align: left;
color: #333;
font-size: 24rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.microclassification .all_classificationmode {
position: fixed;
top: 188.48rpx;
left: 0;
right: 0;
bottom: 0;
z-index: 5;
background: rgba(0, 0, 0, 0.5);
}
.microclassification .all_classificationmode.hide {
display: none;
}
.cate-box {
display: flex;
padding: 16rpx;
background: #fff;
width: 100%;
overflow: scroll;
}
.cate-box .cate-child-box {
height: 40rpx;
line-height: 36rpx;
padding: 0 16rpx;
background: #f3f3f3;
border: 1rpx solid #f3f3f3;
border-radius: 32rpx;
overflow: hidden;
margin-right: 16rpx;
font-size: 10px;
color: #666;
flex-shrink: 0;
}
.cate-box .active-cate-child {
border: 1rpx solid #e35151;
background: #fff;
color: #e35151;
}