feat: 参考原型图 ui优化提交 个人端-用户中心 相关的页面
This commit is contained in:
@@ -64,15 +64,6 @@ Video Tutorial Component Styles
|
||||
border: 2px dashed color-mix(in srgb, var(--brand-primary) 20%, transparent);
|
||||
}
|
||||
|
||||
.video-tutorial-loading .semi-spin {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.video-tutorial-empty .semi-icon {
|
||||
color: color-mix(in srgb, var(--brand-primary) 40%, transparent);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* ===== 视频播放器区域 ===== */
|
||||
.video-player-section {
|
||||
width: 100%;
|
||||
@@ -81,7 +72,7 @@ Video Tutorial Component Styles
|
||||
.video-player-card {
|
||||
border-radius: 16px !important;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--semi-color-border) !important;
|
||||
border: 1px solid var(--ui-color-border) !important;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
@@ -118,12 +109,6 @@ Video Tutorial Component Styles
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.video-error .semi-icon {
|
||||
font-size: 72px;
|
||||
opacity: 0.4;
|
||||
animation: errorPulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes errorPulse {
|
||||
0%,
|
||||
100% {
|
||||
@@ -198,7 +183,7 @@ Video Tutorial Component Styles
|
||||
|
||||
.video-title {
|
||||
margin-bottom: 10px !important;
|
||||
color: var(--semi-color-text-0);
|
||||
color: var(--ui-color-text-0);
|
||||
font-size: 20px !important;
|
||||
font-weight: 600 !important;
|
||||
background: linear-gradient(135deg, #1a1a2e, #374151);
|
||||
@@ -210,7 +195,7 @@ Video Tutorial Component Styles
|
||||
.video-description {
|
||||
margin-bottom: 18px;
|
||||
line-height: 1.7;
|
||||
color: var(--semi-color-text-1);
|
||||
color: var(--ui-color-text-1);
|
||||
}
|
||||
|
||||
.video-meta {
|
||||
@@ -223,7 +208,7 @@ Video Tutorial Component Styles
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: var(--semi-color-text-2);
|
||||
color: var(--ui-color-text-2);
|
||||
font-size: 13px;
|
||||
padding: 6px 14px;
|
||||
background: color-mix(in srgb, var(--brand-primary) 6%, transparent);
|
||||
@@ -236,11 +221,6 @@ Video Tutorial Component Styles
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.video-meta-item .semi-icon {
|
||||
color: var(--brand-primary);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* ===== 视频列表 ===== */
|
||||
.video-list-section {
|
||||
width: 100%;
|
||||
@@ -444,7 +424,7 @@ Video Tutorial Component Styles
|
||||
.video-list-name {
|
||||
line-height: 1.5;
|
||||
font-weight: 600 !important;
|
||||
color: var(--semi-color-text-0) !important;
|
||||
color: var(--ui-color-text-0) !important;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
@@ -590,7 +570,7 @@ html.dark .video-tutorial-empty {
|
||||
}
|
||||
|
||||
html.dark .video-player-card {
|
||||
background: var(--semi-color-bg-1);
|
||||
background: var(--ui-color-bg-1);
|
||||
border-color: color-mix(in srgb, var(--brand-primary) 20%, transparent) !important;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
@@ -19,8 +19,8 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
|
||||
import React, { useState, useEffect, useRef } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Typography, Card, Empty, Spin, Toast } from '@douyinfe/semi-ui';
|
||||
import { IconPlayCircle, IconClock, IconFile } from '@douyinfe/semi-icons';
|
||||
import { Typography, Card, Empty, Spin, Toast } from '@/components/ui';
|
||||
import { IconPlayCircle, IconClock, IconFile } from '@/components/ui/icons';
|
||||
import { API } from '../../../helpers';
|
||||
import './VideoTutorial.css';
|
||||
|
||||
@@ -114,7 +114,7 @@ const VideoTutorial = () => {
|
||||
image={
|
||||
<IconPlayCircle
|
||||
size='extra-large'
|
||||
style={{ fontSize: 64, color: 'var(--semi-color-text-3)' }}
|
||||
style={{ fontSize: 64, color: 'var(--ui-color-text-3)' }}
|
||||
/>
|
||||
}
|
||||
title={t('暂无视频教程')}
|
||||
|
||||
Reference in New Issue
Block a user