素材云解决组件懒加载问题

This commit is contained in:
Lrd
2026-07-01 17:57:56 +08:00
parent 935af9ee2d
commit 0c562fb325
7 changed files with 879 additions and 1053 deletions
+24
View File
@@ -885,4 +885,28 @@ body {
.homepage-tabs .ant-tabs-ink-bar {
background: linear-gradient(135deg, #6366f1, #8b5cf6);
}
.media-download-btn {
position: absolute;
top: 8px;
right: 8px;
z-index: 10;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s;
}
.media-card:hover .media-download-btn {
opacity: 1;
pointer-events: auto;
}
.media-preview-tip {
opacity: 0;
transition: opacity 0.2s;
}
.media-card:hover .media-preview-tip {
opacity: 1;
}