vr-shopxo-uniapp/pages/plugins/video/search/search.css

174 lines
2.8 KiB
CSS

.header-top {
position: sticky;
top: 0;
background: #fff;
z-index: 9;
}
.header-search {
padding-left: 24rpx;
box-sizing: border-box;
}
/* 导航栏 */
.nav-tabs {
position: relative;
width: 100%;
padding: 10rpx 24rpx 20rpx 24rpx;
box-sizing: border-box;
}
.nav-tabs .tabs-scroll-content {
display: flex;
align-items: center;
overflow: hidden;
overflow-x: auto;
gap: 48rpx;
}
.nav-tabs .nav-tabs-filter {
padding-top: 8rpx;
box-sizing: border-box;
}
.nav-tabs .tab-item {
position: relative;
white-space: nowrap;
padding-bottom: 16rpx;
box-sizing: border-box;
font-weight: 500;
font-size: 28rpx;
color: #666666;
line-height: 40rpx;
}
.nav-tabs .tab-item.active {
color: #333333;
}
.nav-tabs .tab-item::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 4px;
background-color: #333;
transition: width 0.6s linear;
border-radius: 8rpx;
}
.nav-tabs .tab-item.active::after {
width: 52rpx;
}
.nav-tabs .tab-item.active {
color: #333;
}
@media (max-width: 500px) {
.nav-tabs {
align-items: center;
}
.nav-tabs .nav-tabs-filter {
padding-top: 0;
}
}
/* #ifdef MP-WEIXIN | APP-PLUS */
.tabs-scroll ::v-deep ::-webkit-scrollbar {
width: 0rpx!important;
height: 0rpx!important;
background-color: transparent;
}
/* #endif */
/* 推荐视频列表 */
.recommend-videos .video-grid {
column-count: 2;
column-gap: 20rpx;
column-fill: balance;
}
.recommend-videos .video-card-item {
break-inside: avoid;
padding-bottom: 20rpx;
}
.recommend-videos .video-card {
overflow: hidden;
background-color: #fff;
box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.1);
border-radius: 8rpx;
width: 100%;
}
.recommend-videos .video-thumbnail {
width: 100%;
object-fit: contain;
}
.recommend-videos .video-info {
padding: 20rpx;
padding-top: 10rpx;
gap: 20rpx;
}
.recommend-videos .video-title {
font-weight: 500;
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
}
.recommend-videos .video-date,
.recommend-videos .video-likes {
font-weight: 400;
font-size: 24rpx;
color: #999999;
line-height: 34rpx;
}
/* 筛选条件弹窗样式 */
.filter-group {
margin-bottom: 40rpx;
}
.filter-title {
font-weight: 400;
font-size: 24rpx;
color: #666666;
line-height: 34rpx;
margin-bottom: 24rpx;
}
.filter-options {
display: flex;
flex-wrap: wrap;
gap: 20rpx;
}
.filter-option {
font-weight: 400;
font-size: 24rpx;
color: #666666;
line-height: 34rpx;
padding: 10rpx 32rpx;
background-color: #e8e8e8;
border-radius: 4rpx;
cursor: pointer;
transition: background-color 0.3s ease;
}
.filter-option:hover {
background-color: #e0e0e0;
}
.filter-option.active {
background-color: #333;
color: #fff;
}
.nav-list-more {
padding: 20rpx 40rpx;
}
::v-deep .popup .popup-content {
z-index: 8 !important;
}
::v-deep .popup .popup-mask {
z-index: 8 !important;
}