123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472 |
- .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;
- display: flex;
- align-items: center;
- }
- .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: right;
- margin: 20rpx 0;
- }
- .timer-text {
- font-size: 24rpx;
- color: #666;
- background-color: #f0f0f0;
- padding: 6rpx 12rpx;
- border-radius: 6rpx;
- }
- .bottom-button-container {
- position: fixed;
- bottom: 30px;
- left:7%;
- right: 0;
- background-color: #ffffff;
- /* border-top: 1px solid #e0e0e0; */
- padding: 20rpx;
- display: flex;
- justify-content: center;
- }
- .bottom-button-wrapper {
- display: flex;
- width: 100%;
- justify-content: space-between;
- align-items: center;
- }
- .timer-display {
- font-size: 28rpx;
- color: #666;
- padding: 10rpx 20rpx;
- border-radius: 6rpx;
- }
- .next-button {
- background-color: #0039b3;
- color: #ffffff;
- border-radius: 10rpx;
- font-size: 30rpx;
- height: 80rpx;
- line-height: 80rpx;
- width: 90%;
- text-align: center;
- margin: 0;
- }
- .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 {
- display: flex;
- flex-direction: row;
- align-items: flex-start;
- justify-content: space-between;
- width: 100%;
- margin-bottom: 20rpx;
- }
- .message-box {
- width: 65%;
- min-height: 120rpx;
- background-color: #f5f5f5;
- border-radius: 10rpx;
- padding: 15rpx;
- margin-right: 20rpx;
- display: flex;
- align-items: center;
- }
- .message-text {
- font-size: 24rpx;
- color: #333;
- line-height: 1.5;
- }
- .user-avatar {
- width: 110px;
- height: 160px;
- border-radius: 10rpx;
- overflow: hidden;
- }
- .camera {
- width: 100%;
- height: 100%;
- border-radius: 10rpx;
- border: 2rpx solid #e0e0e0;
- }
- .avatar-image {
- width: 100%;
- height: 100%;
- border-radius: 10rpx;
- border: 2rpx solid #e0e0e0;
- }
- .digital-human-webview {
- width: 100%;
- height: 100%;
- border-radius: 10rpx;
- 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;
- font-weight: bold;
- color: #333;
- min-width: 30rpx;
- }
|