130 lines
1.8 KiB
Plaintext
130 lines
1.8 KiB
Plaintext
|
|
/* 下载页面样式 */
|
||
|
|
.container {
|
||
|
|
min-height: 100vh;
|
||
|
|
background: #f5f5f5;
|
||
|
|
padding-bottom: env(safe-area-inset-bottom);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 下载列表 */
|
||
|
|
.download-list {
|
||
|
|
padding: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.download-item {
|
||
|
|
background: #fff;
|
||
|
|
border-radius: 16rpx;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
overflow: hidden;
|
||
|
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
|
||
|
|
}
|
||
|
|
|
||
|
|
.item-content {
|
||
|
|
display: flex;
|
||
|
|
padding: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item-cover {
|
||
|
|
width: 160rpx;
|
||
|
|
height: 120rpx;
|
||
|
|
border-radius: 8rpx;
|
||
|
|
background: #f5f5f5;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item-info {
|
||
|
|
flex: 1;
|
||
|
|
margin-left: 20rpx;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item-title {
|
||
|
|
font-size: 28rpx;
|
||
|
|
color: #333;
|
||
|
|
line-height: 1.4;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item-category {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #4CAF50;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item-time {
|
||
|
|
font-size: 22rpx;
|
||
|
|
color: #999;
|
||
|
|
}
|
||
|
|
|
||
|
|
.item-actions {
|
||
|
|
display: flex;
|
||
|
|
border-top: 1rpx solid #f0f0f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-btn {
|
||
|
|
flex: 1;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
padding: 20rpx 0;
|
||
|
|
border-right: 1rpx solid #f0f0f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-btn:last-child {
|
||
|
|
border-right: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-btn image {
|
||
|
|
width: 32rpx;
|
||
|
|
height: 32rpx;
|
||
|
|
margin-right: 8rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-btn text {
|
||
|
|
font-size: 26rpx;
|
||
|
|
color: #666;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-btn.delete text {
|
||
|
|
color: #f56c6c;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 空状态 */
|
||
|
|
.empty-state {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
padding: 160rpx 60rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-img {
|
||
|
|
width: 240rpx;
|
||
|
|
height: 240rpx;
|
||
|
|
margin-bottom: 40rpx;
|
||
|
|
opacity: 0.6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-title {
|
||
|
|
font-size: 32rpx;
|
||
|
|
color: #333;
|
||
|
|
margin-bottom: 16rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-desc {
|
||
|
|
font-size: 26rpx;
|
||
|
|
color: #999;
|
||
|
|
text-align: center;
|
||
|
|
margin-bottom: 40rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-btn {
|
||
|
|
padding: 20rpx 60rpx;
|
||
|
|
background: linear-gradient(135deg, #4CAF50, #8BC34A);
|
||
|
|
border-radius: 40rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-btn text {
|
||
|
|
font-size: 28rpx;
|
||
|
|
color: #fff;
|
||
|
|
}
|