Files
bw-mini-app/src/pages/history/index.css
2025-09-03 15:57:27 +08:00

134 lines
2.0 KiB
CSS

.history {
background-color: #f8f9fa;
min-height: 100vh;
}
.history-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 16px 16px;
background: #fff;
border-bottom: 1px solid #eee;
}
.history-title {
font-size: 20px;
font-weight: 600;
color: #333;
}
.clear-btn {
font-size: 16px;
color: #007AFF;
padding: 8px;
cursor: pointer;
}
.history-list {
height: calc(100vh - 160px);
padding: 16px;
}
.empty-state {
text-align: center;
padding: 80px 20px;
}
.empty-icon {
font-size: 60px;
display: block;
margin-bottom: 20px;
}
.empty-text {
font-size: 18px;
color: #333;
display: block;
margin-bottom: 8px;
}
.empty-desc {
font-size: 14px;
color: #666;
display: block;
}
.history-item {
background: #fff;
border-radius: 12px;
padding: 16px;
margin-bottom: 12px;
display: flex;
align-items: center;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.item-thumbnail {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #007AFF, #5AC8FA);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 16px;
flex-shrink: 0;
}
.thumbnail-icon {
font-size: 20px;
}
.item-content {
flex: 1;
min-width: 0;
}
.item-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.item-title {
font-size: 16px;
font-weight: 600;
color: #333;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.item-status {
font-size: 12px;
font-weight: 500;
padding: 4px 8px;
border-radius: 10px;
background: rgba(142, 142, 147, 0.1);
margin-left: 12px;
flex-shrink: 0;
}
.item-info {
display: flex;
justify-content: space-between;
align-items: center;
}
.item-type {
font-size: 13px;
color: #666;
background: rgba(0, 122, 255, 0.1);
color: #007AFF;
padding: 3px 8px;
border-radius: 8px;
font-size: 12px;
}
.item-time {
font-size: 12px;
color: #8E8E93;
}