Skip to content

Let's use AI to Earn!

style

bulaienaofutuojiesenzhangd7256ccf27da
diff --git a/src/app/[lng]/material/styles/material.module.scss b/src/app/[lng]/material/styles/material.module.scss
index bc0bb1b6..e4c21b77 100644
--- a/src/app/[lng]/material/styles/material.module.scss
+++ b/src/app/[lng]/material/styles/material.module.scss
@@ -224,6 +224,96 @@
}
}
+// 视频预览相关样式
+.videoLoading,
+.videoError,
+.videoDefault {
+ width: 100%;
+ height: 100%;
+ border-radius: 8px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 24px;
+ transition: all 0.3s ease;
+}
+
+.videoLoading {
+ background-color: #f5f5f5;
+ color: #999;
+}
+
+.videoError {
+ background-color: #fff2f0;
+ color: #ff4d4f;
+}
+
+.videoPreviewFallback {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ height: 100%;
+ color: #ff4d4f;
+}
+
+// 视频预览样式
+.videoPreview {
+ width: 100%;
+ height: 100%;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ border-radius: 8px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ overflow: hidden;
+}
+
+.videoPreviewContent {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ color: white;
+ text-align: center;
+}
+
+.videoPreviewIcon {
+ font-size: 32px;
+ margin-bottom: 8px;
+ color: white;
+}
+
+.videoPreviewText {
+ font-size: 12px;
+ font-weight: 500;
+ margin-bottom: 12px;
+}
+
+.videoPreviewPlayButton {
+ width: 48px;
+ height: 48px;
+ background: rgba(255, 255, 255, 0.2);
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: white;
+ backdrop-filter: blur(10px);
+ transition: all 0.3s ease;
+
+ &:hover {
+ background: rgba(255, 255, 255, 0.3);
+ transform: scale(1.1);
+ }
+}
+
+.videoDefault {
+ background-color: #f0f0f0;
+ color: #666;
+}
+
.videoIcon {
position: absolute;
top: 50%;