ertonglianxibiao/pages/category-detail/category-detail.wxss

78 lines
1.1 KiB
Plaintext

/* 分类详情页样式 */
.container {
padding: 20rpx;
min-height: 100vh;
background: #f5f5f5;
}
/* 练习表网格 */
.worksheet-grid {
display: flex;
flex-wrap: wrap;
gap: 20rpx;
}
.worksheet-item {
width: calc(50% - 20rpx);
background: #fff;
border-radius: 16rpx;
overflow: hidden;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
}
.worksheet-cover {
position: relative;
width: 100%;
padding-top: 75%;
background: #f5f5f5;
}
.cover-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.worksheet-info {
padding: 16rpx;
}
.worksheet-title {
display: block;
font-size: 26rpx;
color: #333;
line-height: 1.4;
height: 72rpx;
}
.worksheet-e-title {
display: block;
font-size: 22rpx;
color: #999;
margin-top: 8rpx;
}
/* 加载状态 */
.load-status {
text-align: center;
padding: 30rpx 0;
font-size: 26rpx;
color: #999;
}
/* 空状态 */
.empty-tip {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 100rpx 0;
}
.empty-tip text {
font-size: 28rpx;
color: #999;
}