.camera-container { position: relative; width: 100%; height: 100vh; background-color: #ffffff; display: flex; flex-direction: column; } .header { height: 90rpx; /* background-color: #000000; */ display: flex; align-items: center; padding: 0 30rpx; /* color: #ffffff; */ } .back-button { width: 60rpx; height: 60rpx; display: flex; align-items: center; justify-content: center; } .title { flex: 1; text-align: center; font-size: 32rpx; font-weight: bold; } .controls { display: flex; gap: 30rpx; } .iconfont { font-size: 40rpx; } .content { flex: 1; display: flex; flex-direction: column; position: relative; padding: 50rpx 20rpx 0; } .progress-container { display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 20rpx; } .progress-step { display: flex; align-items: center; margin-bottom: 10rpx; } .step-circle { width: 40rpx; height: 40rpx; border-radius: 50%; background-color: #e0e0e0; display: flex; align-items: center; justify-content: center; font-size: 24rpx; margin-right: 10rpx; } .step-circle.active { background-color: #ff9500; color: #ffffff; } .step-text { font-size: 24rpx; color: #666666; } .progress-bar { height: 10rpx; background-color: #e0e0e0; border-radius: 5rpx; overflow: hidden; margin-bottom: 20rpx; } .progress-fill { height: 100%; background-color: #00c853; transition: width 0.3s; } .interview-content { flex: 1; display: flex; flex-direction: column; } .video-area { display: flex; /* flex-direction: column; */ justify-content: space-between; height: auto; margin-bottom: 20rpx; } .video-camera { display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: 65%; } .interviewer { background-color: #f5f5f5; display: flex; align-items: center; justify-content: center; position: relative; width: 48% !important; height: 300rpx; } .interviewer-video { width: 100%; height: 100%; object-fit: cover; } .interviewer-avatar { width: 80%; height: 80%; object-fit: contain; } .user-camera-container { width: 48%; height: 300rpx; border-radius: 10rpx; overflow: hidden; border: 4rpx solid #ffffff; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.2); } .question-area { flex: 1; display: flex; flex-direction: column; } .question-number { font-size: 28rpx; color: #666; margin-bottom: 20rpx; } .question-importance { background-color: #f9f9f9; padding: 20rpx; border-radius: 10rpx; margin-bottom: 20rpx; font-size: 28rpx; color: #333; } .question-importance text { color: #ff0000; margin-right: 10rpx; } .options { display: flex; flex-direction: column; gap: 20rpx; margin-bottom: 30rpx; } .option-item { padding: 20rpx; background-color: #f5f5f5; border-radius: 10rpx; font-size: 28rpx; transition: all 0.3s; border: 1px solid #e0e0e0; } .option-selected { background-color: #e6f7ff; border: 1px solid #1890ff; } .option-correct { background-color: #d4f7d4; border: 1px solid #52c41a; } .option-wrong { background-color: #fff1f0; border: 1px solid #ff4d4f; } .option-text { color: #333; } .timer-container { text-align: center; margin: 20rpx 0; } .timer-text { font-size: 24rpx; color: #666; } .next-button { background-color: #0039b3; color: #ffffff; border-radius: 10rpx; font-size: 30rpx; margin: 20rpx auto; height: 80rpx; line-height: 80rpx; width: 90%; text-align: center; } .next-button[disabled] { background-color: #cccccc; color: #999999; } .footer { height: 100rpx; background-color: #000000; display: flex; justify-content: space-between; align-items: center; padding: 0 30rpx; color: #ffffff; } .timer { font-size: 28rpx; } .next-step { font-size: 28rpx; } .interview-end-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 999; } .modal-content { width: 80%; background-color: #ffffff; border-radius: 20rpx; padding: 40rpx; display: flex; flex-direction: column; align-items: center; } .modal-title { font-size: 36rpx; font-weight: bold; margin-bottom: 30rpx; } .score-display { font-size: 48rpx; font-weight: bold; color: #0039b3; margin: 20rpx 0; } .modal-message { font-size: 28rpx; color: #666; text-align: center; margin-bottom: 40rpx; } .modal-buttons { display: flex; justify-content: space-between; width: 100%; margin-top: 20rpx; } .modal-button { width: 45%; } @keyframes speaking { 0% { opacity: 0.8; } 50% { opacity: 1; } 100% { opacity: 0.8; } } .speaking { animation: speaking 1.5s infinite; } .digital-avatar { width: 120rpx; height: 120rpx; z-index: 10; overflow: hidden; border-radius: 20rpx; } .camera { width: 120rpx; height: 120rpx; border-radius: 20rpx; border: 2rpx solid #e0e0e0; } .avatar-image { width: 120rpx; height: 120rpx; border-radius: 20rpx; border: 2rpx solid #e0e0e0; } .digital-human-webview { width: 120rpx; height: 120rpx; border-radius: 20rpx; border: 2rpx solid #e0e0e0; } .interview-complete-screen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: #f0f5ff; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1000; padding: 40rpx; } .digital-avatar-large { width: 200rpx; height: 200rpx; margin-bottom: 60rpx; } .avatar-image-large { width: 100%; height: 100%; border-radius: 30rpx; } .complete-message { font-size: 40rpx; font-weight: bold; color: #333; margin-bottom: 30rpx; } .complete-description { font-size: 28rpx; color: #666; text-align: center; margin-bottom: 80rpx; line-height: 1.5; } .complete-button { background-color: #0039b3; color: #ffffff; border-radius: 10rpx; font-size: 32rpx; padding: 20rpx 60rpx; margin-top: 40rpx; } /* 添加加载状态样式 */ .loading-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: rgba(255, 255, 255, 0.9); z-index: 100; } .loading-text { margin-top: 20rpx; font-size: 28rpx; color: #666; } .error-container { text-align: center; } .error-message { font-size: 28rpx; color: #ff4d4f; margin-bottom: 30rpx; } .retry-button { background-color: #0039b3; color: #ffffff; border-radius: 10rpx; font-size: 28rpx; padding: 10rpx 30rpx; } .question-type { display: inline-block; background-color: #0039b3; color: white; font-size: 24rpx; padding: 4rpx 10rpx; border-radius: 6rpx; margin-right: 10rpx; } /* 新增的开放问题样式 */ .open-question-container { display: flex; flex-direction: column; width: 100%; margin-bottom: 20rpx; } .open-question-input { width: 100%; height: 300rpx; background-color: #f9f9f9; border: 1px solid #e0e0e0; border-radius: 10rpx; padding: 20rpx; font-size: 28rpx; color: #333; } .word-count { text-align: right; font-size: 24rpx; color: #999; margin-top: 10rpx; } .option-prefix { margin-right: 10rpx; color: #6c5ce7; font-weight: bold; }