interview-question.wxss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. .identity-verify-container.data-v-2a02c54e {
  2. padding: 0;
  3. max-width: 100%;
  4. margin: 0 auto;
  5. height: 100vh;
  6. display: flex;
  7. flex-direction: column;
  8. background-color: #f5f5f5;
  9. }
  10. .digital-human-container.data-v-2a02c54e {
  11. position: relative;
  12. width: 100%;
  13. height: 100vh;
  14. overflow: hidden;
  15. background-color: #f0f0f0;
  16. }
  17. .digital-human-video.data-v-2a02c54e {
  18. width: 100%;
  19. height: 100%;
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. }
  24. /* 添加视频蒙层样式 */
  25. .video-overlay.data-v-2a02c54e {
  26. position: absolute;
  27. top: 0;
  28. left: 0;
  29. width: 100%;
  30. height: 100%;
  31. background-color: transparent; /* 完全透明 */
  32. z-index: 6; /* 确保在视频之上,但在按钮和字幕之下 */
  33. pointer-events: auto; /* 允许捕获点击事件 */
  34. }
  35. /* 用户摄像头容器样式 */
  36. .user-camera-container.data-v-2a02c54e {
  37. position: absolute;
  38. top: 50px;
  39. right: 5px;
  40. width: 110px; /* 稍微增加宽度 */
  41. height: 160px; /* 稍微增加高度 */
  42. border-radius: 4px; /* 减小圆角 */
  43. overflow: hidden;
  44. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  45. z-index: 20;
  46. }
  47. /* 用户摄像头视频样式 */
  48. .user-camera-video.data-v-2a02c54e {
  49. width: 100%;
  50. height: 100%;
  51. object-fit: cover;
  52. background-color: #333;
  53. }
  54. .video-player.data-v-2a02c54e {
  55. width: 100%;
  56. height: 100%;
  57. object-fit: cover;
  58. outline: none; /* 移除视频获得焦点时的轮廓 */
  59. -webkit-tap-highlight-color: transparent; /* 移除移动设备上的点击高亮 */
  60. }
  61. /* 隐藏视频控制条 */
  62. video.data-v-2a02c54e::-webkit-media-controls {
  63. display: none !important;
  64. }
  65. video.data-v-2a02c54e::-webkit-media-controls-enclosure {
  66. display: none !important;
  67. }
  68. video.data-v-2a02c54e::-webkit-media-controls-panel {
  69. display: none !important;
  70. }
  71. video.data-v-2a02c54e::-webkit-media-controls-play-button {
  72. display: none !important;
  73. }
  74. video.data-v-2a02c54e::-webkit-media-controls-timeline {
  75. display: none !important;
  76. }
  77. video.data-v-2a02c54e::-webkit-media-controls-current-time-display {
  78. display: none !important;
  79. }
  80. video.data-v-2a02c54e::-webkit-media-controls-time-remaining-display {
  81. display: none !important;
  82. }
  83. video.data-v-2a02c54e::-webkit-media-controls-mute-button {
  84. display: none !important;
  85. }
  86. video.data-v-2a02c54e::-webkit-media-controls-volume-slider {
  87. display: none !important;
  88. }
  89. video.data-v-2a02c54e::-webkit-media-controls-fullscreen-button {
  90. display: none !important;
  91. }
  92. /* 修改字幕覆盖层样式,使其与图片中的样式一致 */
  93. .subtitle-overlay.data-v-2a02c54e {
  94. position: absolute;
  95. bottom: 100px; /* 调整位置,使其更靠近底部 */
  96. left: 5%; /* 从左侧留出5%的空间 */
  97. width: 80%; /* 宽度设为90%,两侧各留5%实现居中 */
  98. padding: 15px 20px; /* 增加左右内边距 */
  99. border-radius: 15px;
  100. background-color: rgba(255, 255, 255, 0.9); /* 白色半透明背景 */
  101. color: #333; /* 文字颜色为深色 */
  102. text-align: left; /* 文字左对齐 */
  103. font-size: 16px;
  104. line-height: 1.5;
  105. z-index: 10;
  106. margin: 0 auto; /* 添加自动边距实现居中 */
  107. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
  108. display: flex;
  109. flex-direction: column;
  110. align-items: center;
  111. gap: 10px;
  112. }
  113. /* 继续按钮样式 */
  114. .next-button.data-v-2a02c54e {
  115. background-color: #0039b3;
  116. color: white;
  117. border: none;
  118. padding: 8px 20px;
  119. border-radius: 20px;
  120. cursor: pointer;
  121. font-size: 14px;
  122. margin-top: 10px;
  123. transition: all 0.3s;
  124. width: 140px;
  125. height: 36px;
  126. display: flex;
  127. justify-content: center;
  128. align-items: center;
  129. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  130. }
  131. .next-button.data-v-2a02c54e:hover {
  132. background-color: #002b8f;
  133. transform: translateY(-1px);
  134. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  135. }
  136. .next-button.data-v-2a02c54e:active {
  137. background-color: #001d66;
  138. transform: translateY(1px);
  139. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  140. }
  141. /* 添加计时器样式,右侧显示橙色圆点和时间 */
  142. .subtitle-overlay.data-v-2a02c54e::after {
  143. content: attr(data-time);
  144. position: absolute;
  145. right: 20px;
  146. bottom: 15px;
  147. color: #333;
  148. font-size: 14px;
  149. }
  150. .control-panel.data-v-2a02c54e {
  151. padding: 15px;
  152. display: flex;
  153. justify-content: center;
  154. }
  155. .control-button.data-v-2a02c54e {
  156. padding: 10px 20px;
  157. background-color: #4CAF50;
  158. color: white;
  159. border: none;
  160. border-radius: 4px;
  161. cursor: pointer;
  162. }
  163. .loading.data-v-2a02c54e {
  164. text-align: center;
  165. margin: 20px 0;
  166. font-size: 16px;
  167. }
  168. .response-container.data-v-2a02c54e {
  169. margin-top: 20px;
  170. padding: 0 20px;
  171. display: none; /* 默认隐藏调试信息 */
  172. }
  173. /* 当showDebugInfo为true时显示 */
  174. .showDebugInfo .response-container.data-v-2a02c54e {
  175. display: block;
  176. }
  177. .response-item.data-v-2a02c54e {
  178. padding: 10px;
  179. border: 1px solid #eee;
  180. border-radius: 4px;
  181. margin-bottom: 10px;
  182. background-color: #f9f9f9;
  183. }
  184. .response-content.data-v-2a02c54e {
  185. display: flex;
  186. flex-direction: column;
  187. }
  188. .answer-button-container.data-v-2a02c54e {
  189. position: absolute;
  190. bottom: 50px; /* 将按钮放在底部而不是75%的位置 */
  191. left: 50%;
  192. transform: translateX(-50%); /* 只在X轴上平移,保持水平居中 */
  193. z-index: 20;
  194. }
  195. /* 修改回答按钮样式 */
  196. .answer-button.data-v-2a02c54e {
  197. width: 120px;
  198. height: 40px; /* 改为矩形按钮 */
  199. border-radius: 20px; /* 圆角矩形 */
  200. background-color: #ffffff; /* 白色背景 */
  201. color: #333; /* 深色文字 */
  202. font-size: 16px;
  203. border: none;
  204. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  205. display: flex;
  206. justify-content: center;
  207. align-items: center;
  208. cursor: pointer;
  209. animation: none; /* 移除脉动动画 */
  210. }
  211. .stop-recording-button-container.data-v-2a02c54e {
  212. position: absolute;
  213. bottom: 50px; /* 统一与其他按钮的位置 */
  214. left: 50%;
  215. transform: translateX(-50%);
  216. z-index: 20;
  217. }
  218. .stop-recording-button.data-v-2a02c54e {
  219. width: 120px;
  220. height: 40px; /* 改为矩形按钮 */
  221. border-radius: 20px; /* 圆角矩形 */
  222. background-color: #0039b3; /* 白色背景 */
  223. color: #fff; /* 深色文字 */
  224. font-size: 16px;
  225. border: none;
  226. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  227. display: flex;
  228. justify-content: center;
  229. align-items: center;
  230. cursor: pointer;
  231. animation: none; /* 移除脉动动画 */
  232. }
  233. .recording-indicator.data-v-2a02c54e {
  234. position: absolute;
  235. top: 20px;
  236. left: 20px;
  237. display: flex;
  238. align-items: center;
  239. background-color: rgba(255, 255, 255, 0.9); /* 改为白色半透明背景 */
  240. padding: 5px 10px;
  241. border-radius: 15px;
  242. z-index: 20;
  243. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  244. }
  245. .recording-dot.data-v-2a02c54e {
  246. width: 12px;
  247. height: 12px;
  248. background-color: #ff6b00; /* 改为橙色,与图片中的颜色一致 */
  249. border-radius: 50%;
  250. margin-right: 8px;
  251. animation: blink 1s infinite;
  252. }
  253. .recording-text.data-v-2a02c54e {
  254. color: #333; /* 改为深色文字 */
  255. font-size: 14px;
  256. }
  257. .timer-text.data-v-2a02c54e {
  258. color: #333; /* 改为深色文字 */
  259. font-size: 14px;
  260. margin-left: 8px;
  261. }
  262. .start-recording-button-container.data-v-2a02c54e {
  263. position: absolute;
  264. bottom: 50px; /* 统一与其他按钮的位置 */
  265. left: 50%;
  266. transform: translateX(-50%);
  267. z-index: 101;
  268. }
  269. .start-recording-button.data-v-2a02c54e {
  270. width: 120px;
  271. height: 40px; /* 改为矩形按钮 */
  272. border-radius: 20px; /* 圆角矩形 */
  273. background-color: #ffffff; /* 白色背景 */
  274. color: #333; /* 深色文字 */
  275. font-size: 16px;
  276. border: none;
  277. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  278. display: flex;
  279. justify-content: center;
  280. align-items: center;
  281. cursor: pointer;
  282. animation: none; /* 移除脉动动画 */
  283. }
  284. .retry-button-container.data-v-2a02c54e {
  285. position: absolute;
  286. bottom: 30px; /* 统一与其他按钮的位置 */
  287. left: 50%;
  288. transform: translateX(-50%);
  289. z-index: 20;
  290. }
  291. .retry-button.data-v-2a02c54e {
  292. padding: 10px 20px;
  293. background-color: #ffffff; /* 白色背景 */
  294. color: #333; /* 深色文字 */
  295. font-size: 16px;
  296. border: none;
  297. border-radius: 20px; /* 圆角矩形 */
  298. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  299. cursor: pointer;
  300. }
  301. .retry-button.data-v-2a02c54e:hover {
  302. background-color: #2980b9;
  303. }
  304. /* 录制时长显示 */
  305. .recording-timer.data-v-2a02c54e {
  306. position: absolute;
  307. top: 20px;
  308. left: 130px; /* 放在录制指示器旁边 */
  309. background-color: rgba(0, 0, 0, 0.6);
  310. padding: 5px 10px;
  311. border-radius: 15px;
  312. z-index: 20;
  313. display: flex;
  314. flex-direction: column;
  315. }
  316. .timer-text.data-v-2a02c54e {
  317. color: #000;
  318. font-size: 14px;
  319. font-family: monospace; /* 使用等宽字体,使时间显示更稳定 */
  320. }
  321. .remaining-time.data-v-2a02c54e {
  322. color: white;
  323. font-size: 12px;
  324. margin-top: 2px;
  325. }
  326. .remaining-time.warning.data-v-2a02c54e {
  327. color: #ff6b6b; /* 剩余时间少时显示红色 */
  328. animation: blink 1s infinite; /* 使用闪烁动画提醒用户 */
  329. }
  330. /* 添加上传状态指示器 */
  331. .upload-status-indicator.data-v-2a02c54e {
  332. position: absolute;
  333. top: 20px;
  334. left: 130px; /* 放在录制指示器旁边 */
  335. background-color: rgba(0, 0, 0, 0.6);
  336. padding: 5px 10px;
  337. border-radius: 15px;
  338. z-index: 20;
  339. }
  340. .upload-status-content.data-v-2a02c54e {
  341. display: flex;
  342. align-items: center;
  343. }
  344. .upload-status-icon.data-v-2a02c54e {
  345. width: 12px;
  346. height: 12px;
  347. border-radius: 50%;
  348. margin-right: 8px;
  349. }
  350. .upload-status-text.data-v-2a02c54e {
  351. color: white;
  352. font-size: 14px;
  353. }
  354. .uploading.data-v-2a02c54e {
  355. background-color: #e74c3c;
  356. }
  357. /* 添加倒计时蒙层样式 */
  358. .countdown-overlay.data-v-2a02c54e {
  359. position: fixed;
  360. top: 0;
  361. left: 0;
  362. width: 100%;
  363. height: 100%;
  364. background-color: rgba(0, 0, 0, 0.7);
  365. z-index: 100;
  366. display: flex;
  367. justify-content: center;
  368. align-items: center;
  369. }
  370. .countdown-content.data-v-2a02c54e {
  371. display: flex;
  372. flex-direction: column;
  373. align-items: center;
  374. }
  375. .countdown-number.data-v-2a02c54e {
  376. font-size: 80px;
  377. color: #ffffff;
  378. font-weight: bold;
  379. margin-bottom: 20px;
  380. }
  381. .countdown-text.data-v-2a02c54e {
  382. font-size: 24px;
  383. color: #ffffff;
  384. }
  385. /* 添加GIF播放器样式 */
  386. .gif-player.data-v-2a02c54e {
  387. width: 100%;
  388. height: 100%;
  389. object-fit: cover;
  390. position: absolute;
  391. top: 0;
  392. left: 0;
  393. z-index: 5; /* 确保GIF在视频上方但在字幕和按钮下方 */
  394. }
  395. /* AI语音播放蒙层样式 */
  396. .ai-voice-overlay.data-v-2a02c54e {
  397. position: fixed;
  398. top: 0;
  399. left: 0;
  400. width: 100%;
  401. height: 100%;
  402. background-color: rgba(0, 0, 0, 0.8); /* 0.8的透明度 */
  403. z-index: 99; /* 确保在其他元素之上,但在倒计时蒙层之下 */
  404. display: flex;
  405. justify-content: center;
  406. align-items: center;
  407. }
  408. .ai-voice-content.data-v-2a02c54e {
  409. display: flex;
  410. flex-direction: column;
  411. align-items: center;
  412. color: #ffffff;
  413. }
  414. .ai-voice-icon.data-v-2a02c54e {
  415. width: 40px;
  416. height: 40px;
  417. border-radius: 50%;
  418. background-color: #ffffff;
  419. margin-bottom: 15px;
  420. position: relative;
  421. animation: pulse-2a02c54e 1.5s infinite;
  422. }
  423. .ai-voice-icon.data-v-2a02c54e::before {
  424. content: '';
  425. position: absolute;
  426. top: 50%;
  427. left: 50%;
  428. transform: translate(-50%, -50%);
  429. width: 20px;
  430. height: 20px;
  431. background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M12 15c1.66 0 3-1.34 3-3V6c0-1.66-1.34-3-3-3S9 4.34 9 6v6c0 1.66 1.34 3 3 3zm-1-9c0-.55.45-1 1-1s1 .45 1 1v6c0 .55-.45 1-1 1s-1-.45-1-1V6z"/><path d="M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z"/></svg>');
  432. background-repeat: no-repeat;
  433. background-position: center;
  434. }
  435. .ai-voice-text.data-v-2a02c54e {
  436. font-size: 18px;
  437. color: #ffffff;
  438. }
  439. @keyframes pulse-2a02c54e {
  440. 0% {
  441. transform: scale(1);
  442. opacity: 1;
  443. }
  444. 50% {
  445. transform: scale(1.1);
  446. opacity: 0.8;
  447. }
  448. 100% {
  449. transform: scale(1);
  450. opacity: 1;
  451. }
  452. }
  453. /* 继续提问按钮样式 */
  454. .continue-question-container.data-v-2a02c54e {
  455. position: absolute;
  456. bottom: 100px; /* 位置高于结束面试按钮 */
  457. left: 50%;
  458. transform: translateX(-50%);
  459. z-index: 20;
  460. }
  461. .continue-question-button.data-v-2a02c54e {
  462. width: 120px;
  463. height: 40px;
  464. border-radius: 20px;
  465. background-color: #ffffff;
  466. color: #333;
  467. font-size: 16px;
  468. border: none;
  469. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  470. display: flex;
  471. justify-content: center;
  472. align-items: center;
  473. cursor: pointer;
  474. }
  475. /* 结束面试按钮样式 */
  476. .end-interview-container.data-v-2a02c54e {
  477. position: absolute;
  478. bottom: 50px;
  479. left: 50%;
  480. transform: translateX(-50%);
  481. z-index: 20;
  482. }
  483. .end-interview-button.data-v-2a02c54e {
  484. width: 120px;
  485. height: 40px;
  486. border-radius: 20px;
  487. background-color: #e74c3c; /* 红色背景 */
  488. color: #ffffff; /* 白色文字 */
  489. font-size: 16px;
  490. border: none;
  491. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  492. display: flex;
  493. justify-content: center;
  494. align-items: center;
  495. cursor: pointer;
  496. }
  497. /* 提问轮次指示器样式 */
  498. .question-round-indicator.data-v-2a02c54e {
  499. position: absolute;
  500. top: 20px;
  501. right: 120px; /* 位置在用户摄像头左侧 */
  502. background-color: rgba(255, 255, 255, 0.9);
  503. padding: 5px 10px;
  504. border-radius: 15px;
  505. z-index: 20;
  506. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  507. }
  508. .round-text.data-v-2a02c54e {
  509. color: #333;
  510. font-size: 14px;
  511. }