新增工作区下载列表

This commit is contained in:
2026-08-03 09:05:21 +08:00
parent 314a714248
commit e057e33601
7 changed files with 1416 additions and 31 deletions

View File

@@ -865,3 +865,143 @@
.workspace-footer .iconfont[data-v-c1a60359] {
font-size: 1.25rem !important;
}
/* ===== 标签切换 ===== */
.workspace-tabs[data-v-c1a60359] {
display: flex;
width: 100%;
padding: 0 0.75rem;
box-sizing: border-box;
gap: 0.625rem;
}
.tab-item[data-v-c1a60359] {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
padding: 0.5625rem 0;
font-size: 0.875rem;
font-weight: 500;
color: #999;
border-bottom: 0.125rem solid transparent;
transition: all 0.2s ease;
position: relative;
}
.tab-item.active[data-v-c1a60359] {
color: #6c63ff;
border-bottom-color: #6c63ff;
}
.tab-badge[data-v-c1a60359] {
margin-left: 0.25rem;
background: #ff5e57;
color: #fff;
font-size: 0.625rem;
padding: 0.0625rem 0.3125rem;
border-radius: 0.625rem;
line-height: 1.4;
}
/* ===== 下载列表 ===== */
.download-content[data-v-c1a60359] {
flex: 1;
overflow: auto;
}
.download-empty[data-v-c1a60359] {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-top: 6.25rem;
color: #bbb;
font-size: 0.875rem;
}
.download-empty .iconfont[data-v-c1a60359] {
font-size: 4.375rem;
color: #ddd;
margin-bottom: 0.625rem;
}
.download-list[data-v-c1a60359] {
padding: 0.625rem 0.75rem;
}
.download-header[data-v-c1a60359] {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.375rem 0.25rem 0.625rem;
font-size: 0.75rem;
color: #999;
}
.clear-btn[data-v-c1a60359] {
color: #ff5e57;
font-size: 0.75rem;
font-weight: 500;
padding: 0.125rem 0.375rem;
}
.download-item[data-v-c1a60359] {
display: flex;
align-items: center;
padding: 0.75rem 0.625rem;
background: rgba(255, 255, 255, 0.85);
border-radius: 0.625rem;
margin-bottom: 0.5rem;
transition: all 0.15s ease;
}
.download-item[data-v-c1a60359]:active {
transform: scale(0.98);
background: rgba(255, 255, 255, 0.95);
}
.di-icon[data-v-c1a60359] {
width: 2.5rem;
height: 2.5rem;
display: flex;
justify-content: center;
align-items: center;
background: rgba(108, 99, 255, 0.08);
border-radius: 0.5625rem;
margin-right: 0.625rem;
flex-shrink: 0;
}
.di-icon .iconfont[data-v-c1a60359] {
font-size: 1.25rem;
color: #6c63ff;
}
.di-info[data-v-c1a60359] {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.1875rem;
min-width: 0;
}
.di-name[data-v-c1a60359] {
font-size: 0.875rem;
font-weight: 500;
color: #333;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.di-meta[data-v-c1a60359] {
font-size: 0.6875rem;
color: #999;
}
.di-path[data-v-c1a60359] {
font-size: 0.625rem;
color: #bbb;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.di-delete[data-v-c1a60359] {
width: 1.75rem;
height: 1.75rem;
display: flex;
justify-content: center;
align-items: center;
flex-shrink: 0;
}
.di-delete .iconfont[data-v-c1a60359] {
font-size: 1.125rem;
color: #ccc;
transition: color 0.15s ease;
}
.di-delete:active .iconfont[data-v-c1a60359] {
color: #ff5e57;
}