/* 背景渐变和星星样式 */ page { background: linear-gradient(135deg, #1A1A1A 0%, #3A3A57 50%, #000C40 100%); background-size: cover, 3px 3px; background-repeat: no-repeat, repeat; font-size: 32rpx; line-height: 1.6; } /* 容器样式 */ .container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; } /* 卡片样式 */ .video-extract { width: 90%; max-width: 400px; background: linear-gradient(to bottom right, rgba(58, 85, 97, 0.2), rgba(56, 76, 165, 0.2), rgba(142, 98, 96, 0.2)); backdrop-filter: blur(20px); border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.3); padding: 20px; margin-bottom: 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; } .text-extract { width: 90%; max-width: 400px; background: linear-gradient(to bottom right, rgba(105, 105, 105, 0.3), rgba(169, 169, 169, 0.3), rgba(192, 192, 192, 0.3)); /* 金属灰渐变 */ backdrop-filter: blur(20px); border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.3); padding: 20px; margin-bottom: 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; } .card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3); } .bottom-actions { display: flex; justify-content: space-around; margin-top: 20px; } .bottom-button { border-radius: 20px; padding: 5px 20px; font-size: 14px; border: none; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 添加阴影,增强立体效果 */ transition: transform 0.3s ease, box-shadow 0.3s ease; } .bottom-button:hover { transform: translateY(-3px); /* 悬停时轻微上移 */ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* 悬停时阴影加深 */ } .bottom-button:first-child { background-color: #4CAF50; /* 视频号提取按钮颜色:绿色 */ color: white; } .bottom-button:last-child { background-color: #ecb35e; /* 下载机器人按钮颜色:橙色 */ color: white; } /* 卡片标题 */ .card-title { font-size: 18px; font-weight: bold; color: rgb(255, 255, 255); margin-bottom: 10px; text-align: center; } /* 卡片描述 */ .card-description { font-size: 14px; color: rgb(201, 199, 199); margin-bottom: 20px; text-align: center; } /* 输入框部分 */ .input-section { display: flex; align-items: center; border-radius: 8px; padding: 10px; border: solid .2px rgb(155, 150, 150); margin-bottom: 15px; } .input-icon { width: 20px; height: 20px; margin-right: 10px; } .input-field { flex: 1; border: none; outline: none; font-size: 14px; background: none; color: rgb(201, 199, 199); } /* 上传按钮 */ .upload-button { flex: 1; padding: 10px; color: white; font-size: 14px; text-align: center; border-radius: 8px; } /* 操作按钮 */ .action-button { width: 100%; background: linear-gradient(90deg, #8d72d2, #7183f3); border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); color: white; font-size: 16px; font-weight: bold; text-align: center; border: none; transition: background 0.3s ease, transform 0.3s ease; } .action-button:hover { background: linear-gradient(to bottom right, rgba(58, 85, 97, 0.8), rgba(56, 76, 165, 0.8), rgba(142, 98, 96, 0.8)); transform: scale(1.02); } /* 单选按钮组样式 */ .radio-buttons { display: flex; justify-content: space-around; margin-bottom: 15px; } /* 单个选项样式 */ .radio-option { display: flex; align-items: center; font-size: 14px; color: rgb(201, 199, 199); cursor: pointer; } /* 圆圈样式 */ .radio-circle { width: 16px; height: 16px; border: 2px solid #ccc; border-radius: 50%; margin-right: 8px; background-color: transparent; /* 默认空心 */ transition: background-color 0.3s, border-color 0.3s; } /* 选中状态 */ .radio-circle.selected { background-color: #5b8def; /* 圆圈变为实心 */ border-color: #eeeeee; /* 边框颜色跟随实心颜色 */ } .record-button-container { width: 100%; display: flex; justify-content: center; padding: 20rpx 0; margin-top: 30rpx; } .record-button { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #4CAF50, #45a049); padding: 20rpx 40rpx; border-radius: 40rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.15); transition: transform 0.2s ease; } .record-button:active { transform: scale(0.98); } .record-icon { width: 40rpx; height: 40rpx; margin-right: 10rpx; } .record-text { color: #ecf5f3; font-size: 28rpx; font-weight: 500; } /* 蒙版样式 */ .record-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .record-num{ color:rgb(192, 186, 180) } .record-mask.show { opacity: 1; visibility: visible; } .record-content { position: fixed; bottom: -100%; left: 0; width: 100%; height: 80vh; background: #fff; border-radius: 24rpx 24rpx 0 0; transition: all 0.3s ease; } .record-mask.show .record-content { bottom: 0; } /* 标题栏 */ .record-header { padding: 30rpx; border-bottom: 1rpx solid #eee; display: flex; justify-content: space-between; align-items: center; } .close-btn { font-size: 40rpx; color: #999; padding: 10rpx; } /* 记录列表 */ .record-list { height: calc(80vh - 100rpx); } .record-item { padding: 30rpx; border-bottom: 1rpx solid #f5f5f5; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.2s ease; } .record-item:active { background-color: #f9f9f9; } .record-item-left { display: flex; align-items: center; flex: 1; } .record-info { margin-left: 20rpx; flex: 1; } .record-time { font-size: 24rpx; color: #999; margin-top: 8rpx; display: block; } .record-status { font-size: 24rpx; padding: 6rpx 16rpx; border-radius: 20rpx; } .record-status.completed { background: #e8f5e9; color: #4caf50; } .record-status.False { background: #fcfeff; color: #e97a92; } /* 加载动画 */ .loading { padding: 30rpx; text-align: center; color: #999; font-size: 24rpx; } .loading-dots { display: flex; justify-content: center; margin-bottom: 10rpx; } .dot { width: 12rpx; height: 12rpx; background: #999; border-radius: 50%; margin: 0 6rpx; animation: dot-jump 1.2s infinite; } .dot:nth-child(2) { animation-delay: 0.2s; } .dot:nth-child(3) { animation-delay: 0.4s; } @keyframes dot-jump { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10rpx); } }