| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- .upload-video-modal {
- padding: 20px 0;
- }
- .upload-section {
- margin-bottom: 24px;
- padding: 20px;
- background: #fafafa;
- border-radius: 8px;
- border: 1px dashed #d9d9d9;
- }
- .file-info {
- margin-top: 12px;
- padding: 12px;
- background: #fff;
- border-radius: 6px;
- border: 1px solid #e8e8e8;
- }
- .file-info p {
- margin: 4px 0;
- color: #666;
- font-size: 14px;
- }
- .upload-progress-section {
- margin-bottom: 24px;
- padding: 20px;
- background: #fff;
- border-radius: 8px;
- border: 1px solid #e8e8e8;
- }
- .progress-info {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 12px;
- }
- .file-name {
- font-weight: 500;
- color: #333;
- font-size: 14px;
- }
- .upload-speed {
- color: #1890ff;
- font-size: 12px;
- font-weight: 500;
- }
- .progress-text {
- margin-top: 8px;
- text-align: center;
- color: #666;
- font-size: 12px;
- }
- .video-info-section {
- margin-bottom: 24px;
- padding: 20px;
- background: #fff;
- border-radius: 8px;
- border: 1px solid #e8e8e8;
- }
- .action-section {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 16px 20px;
- background: #f8f9fa;
- border-radius: 8px;
- border: 1px solid #e8e8e8;
- }
- .left-actions {
- flex: 1;
- }
- .right-actions {
- flex: 1;
- text-align: right;
- }
- /* 上传按钮样式 */
- .upload-section .ant-upload {
- width: 100%;
- }
- .upload-section .ant-upload .ant-btn {
- width: 100%;
- height: 48px;
- border: 1px dashed #d9d9d9;
- background: #fff;
- color: #666;
- font-size: 14px;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: all 0.3s;
- }
- .upload-section .ant-upload .ant-btn:hover {
- border-color: #1890ff;
- color: #1890ff;
- }
- /* 进度条样式 */
- .upload-progress-section .ant-progress {
- margin: 12px 0;
- }
- .upload-progress-section .ant-progress-bg {
- background: linear-gradient(90deg, #ff4383 0%, #ff6b9d 100%);
- }
- /* 更多设置按钮样式 */
- .more-btn {
- display: inline-flex;
- align-items: center;
- color: #acacac;
- font-size: 14px;
- cursor: pointer;
- transition: color 0.3s;
- }
- .more-btn:hover {
- color: #1890ff;
- }
- .more-btn .anticon {
- margin-right: 4px;
- }
- /* 发布按钮样式 */
- .publish-btn {
- width: 104px;
- height: 42px;
- background: rgba(17, 17, 17, 0.01);
- border: 1px solid rgba(236, 92, 142, 0.3);
- border-radius: 6px;
- color: #ec5c8e;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- transition: all 0.3s;
- font-size: 14px;
- }
- .publish-btn:hover {
- background: rgba(236, 92, 142, 0.1);
- border-color: rgba(236, 92, 142, 0.5);
- }
- .publish-btn.disable {
- background: rgba(17, 17, 17, 0.01) !important;
- opacity: 0.5 !important;
- cursor: not-allowed;
- }
- /* 重试按钮样式 */
- .retry-btn {
- color: #fff;
- background-color: #f2584f;
- border-color: #f2584f;
- }
- .retry-btn:hover {
- background-color: rgba(242, 88, 79, 0.8);
- border-color: rgba(242, 88, 79, 0.8);
- }
- /* 表单样式 */
- .video-info-section .ant-form-item {
- margin-bottom: 16px;
- }
- .video-info-section .ant-form-item-label > label {
- color: #333;
- font-weight: 500;
- }
- .video-info-section .ant-input,
- .video-info-section .ant-select-selector,
- .video-info-section .ant-input-number {
- border-radius: 6px;
- }
- .video-info-section .ant-input:focus,
- .video-info-section .ant-input-focused {
- border-color: #1890ff;
- box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
- }
- /* 响应式设计 */
- @media (max-width: 768px) {
- .action-section {
- flex-direction: column;
- gap: 12px;
- }
-
- .left-actions,
- .right-actions {
- width: 100%;
- text-align: center;
- }
-
- .upload-section,
- .upload-progress-section,
- .video-info-section,
- .action-section {
- margin: 0 0 16px 0;
- padding: 16px;
- }
- }
- /* 动画效果 */
- .upload-progress-section {
- animation: fadeInUp 0.3s ease-out;
- }
- .video-info-section {
- animation: fadeInUp 0.3s ease-out;
- }
- @keyframes fadeInUp {
- from {
- opacity: 0;
- transform: translateY(20px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
- /* 状态指示器 */
- .status-indicator {
- display: inline-flex;
- align-items: center;
- gap: 4px;
- font-size: 12px;
- padding: 2px 8px;
- border-radius: 12px;
- }
- .status-indicator.uploading {
- color: #1890ff;
- background: rgba(24, 144, 255, 0.1);
- }
- .status-indicator.uploaded {
- color: #52c41a;
- background: rgba(82, 196, 26, 0.1);
- }
- .status-indicator.error {
- color: #f2584f;
- background: rgba(242, 88, 79, 0.1);
- }
- .status-indicator.waiting {
- color: #faad14;
- background: rgba(250, 173, 20, 0.1);
- }
|