interview-question.wxss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  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. max-height: calc(70vh - 100px); /* 最大高度为视口高度的70%减去底部距离 */
  99. padding: 15px 20px; /* 增加左右内边距 */
  100. border-radius: 15px;
  101. background-color: rgba(255, 255, 255, 0.9); /* 白色半透明背景 */
  102. color: #333; /* 文字颜色为深色 */
  103. text-align: left; /* 文字左对齐 */
  104. font-size: 16px;
  105. line-height: 1.5;
  106. z-index: 10;
  107. margin: 0 auto; /* 添加自动边距实现居中 */
  108. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
  109. display: flex;
  110. flex-direction: column;
  111. align-items: center;
  112. gap: 10px;
  113. overflow-y: auto; /* 添加垂直滚动 */
  114. transform: translateY(0); /* 用于动画 */
  115. transition: transform 0.3s ease, bottom 0.3s ease; /* 添加平滑过渡效果 */
  116. }
  117. /* 当内容高度超过一定值时,自动调整底部距离 */
  118. .subtitle-overlay.expanded.data-v-2a02c54e {
  119. bottom: 50px; /* 减小底部距离 */
  120. max-height: calc(80vh - 50px); /* 增加最大高度 */
  121. }
  122. /* 自定义滚动条样式 */
  123. .subtitle-overlay.data-v-2a02c54e::-webkit-scrollbar {
  124. width: 4px;
  125. }
  126. .subtitle-overlay.data-v-2a02c54e::-webkit-scrollbar-track {
  127. background: rgba(0, 0, 0, 0.1);
  128. border-radius: 2px;
  129. }
  130. .subtitle-overlay.data-v-2a02c54e::-webkit-scrollbar-thumb {
  131. background: rgba(0, 0, 0, 0.2);
  132. border-radius: 2px;
  133. }
  134. .subtitle-overlay.data-v-2a02c54e::-webkit-scrollbar-thumb:hover {
  135. background: rgba(0, 0, 0, 0.3);
  136. }
  137. /* 继续按钮样式 */
  138. .next-button.data-v-2a02c54e {
  139. background-color: #0039b3;
  140. color: white;
  141. border: none;
  142. padding: 8px 20px;
  143. border-radius: 20px;
  144. cursor: pointer;
  145. font-size: 14px;
  146. margin-top: 10px;
  147. transition: all 0.3s;
  148. width: 140px;
  149. height: 36px;
  150. display: flex;
  151. justify-content: center;
  152. align-items: center;
  153. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  154. }
  155. .next-button.data-v-2a02c54e:hover {
  156. background-color: #002b8f;
  157. transform: translateY(-1px);
  158. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  159. }
  160. .next-button.data-v-2a02c54e:active {
  161. background-color: #001d66;
  162. transform: translateY(1px);
  163. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  164. }
  165. /* 添加计时器样式,右侧显示橙色圆点和时间 */
  166. .subtitle-overlay.data-v-2a02c54e::after {
  167. content: attr(data-time);
  168. position: absolute;
  169. right: 20px;
  170. bottom: 15px;
  171. color: #333;
  172. font-size: 14px;
  173. }
  174. .control-panel.data-v-2a02c54e {
  175. padding: 15px;
  176. display: flex;
  177. justify-content: center;
  178. }
  179. .control-button.data-v-2a02c54e {
  180. padding: 10px 20px;
  181. background-color: #4CAF50;
  182. color: white;
  183. border: none;
  184. border-radius: 4px;
  185. cursor: pointer;
  186. }
  187. .loading.data-v-2a02c54e {
  188. text-align: center;
  189. margin: 20px 0;
  190. font-size: 16px;
  191. }
  192. .response-container.data-v-2a02c54e {
  193. margin-top: 20px;
  194. padding: 0 20px;
  195. display: none; /* 默认隐藏调试信息 */
  196. }
  197. /* 当showDebugInfo为true时显示 */
  198. .showDebugInfo .response-container.data-v-2a02c54e {
  199. display: block;
  200. }
  201. .response-item.data-v-2a02c54e {
  202. padding: 10px;
  203. border: 1px solid #eee;
  204. border-radius: 4px;
  205. margin-bottom: 10px;
  206. background-color: #f9f9f9;
  207. }
  208. .response-content.data-v-2a02c54e {
  209. display: flex;
  210. flex-direction: column;
  211. }
  212. .answer-button-container.data-v-2a02c54e {
  213. position: absolute;
  214. bottom: 50px; /* 将按钮放在底部而不是75%的位置 */
  215. left: 50%;
  216. transform: translateX(-50%); /* 只在X轴上平移,保持水平居中 */
  217. z-index: 20;
  218. }
  219. /* 修改回答按钮样式 */
  220. .answer-button.data-v-2a02c54e {
  221. width: 120px;
  222. height: 40px; /* 改为矩形按钮 */
  223. border-radius: 20px; /* 圆角矩形 */
  224. background-color: #ffffff; /* 白色背景 */
  225. color: #333; /* 深色文字 */
  226. font-size: 16px;
  227. border: none;
  228. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  229. display: flex;
  230. justify-content: center;
  231. align-items: center;
  232. cursor: pointer;
  233. animation: none; /* 移除脉动动画 */
  234. }
  235. .stop-recording-button-container.data-v-2a02c54e {
  236. position: absolute;
  237. bottom: 50px; /* 统一与其他按钮的位置 */
  238. left: 50%;
  239. transform: translateX(-50%);
  240. z-index: 20;
  241. }
  242. .stop-recording-button.data-v-2a02c54e {
  243. width: 120px;
  244. height: 40px; /* 改为矩形按钮 */
  245. border-radius: 20px; /* 圆角矩形 */
  246. background-color: #0039b3; /* 白色背景 */
  247. color: #fff; /* 深色文字 */
  248. font-size: 16px;
  249. border: none;
  250. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  251. display: flex;
  252. justify-content: center;
  253. align-items: center;
  254. cursor: pointer;
  255. animation: none; /* 移除脉动动画 */
  256. }
  257. .recording-indicator.data-v-2a02c54e {
  258. position: absolute;
  259. top: 20px;
  260. left: 20px;
  261. display: flex;
  262. align-items: center;
  263. background-color: rgba(255, 255, 255, 0.9); /* 改为白色半透明背景 */
  264. padding: 5px 10px;
  265. border-radius: 15px;
  266. z-index: 20;
  267. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  268. }
  269. .recording-dot.data-v-2a02c54e {
  270. width: 12px;
  271. height: 12px;
  272. background-color: #ff6b00; /* 改为橙色,与图片中的颜色一致 */
  273. border-radius: 50%;
  274. margin-right: 8px;
  275. animation: blink 1s infinite;
  276. }
  277. .recording-text.data-v-2a02c54e {
  278. color: #333; /* 改为深色文字 */
  279. font-size: 14px;
  280. }
  281. .timer-text.data-v-2a02c54e {
  282. color: #333; /* 改为深色文字 */
  283. font-size: 14px;
  284. margin-left: 8px;
  285. }
  286. .start-recording-button-container.data-v-2a02c54e {
  287. position: absolute;
  288. bottom: 50px; /* 统一与其他按钮的位置 */
  289. left: 50%;
  290. transform: translateX(-50%);
  291. z-index: 101;
  292. }
  293. .start-recording-button.data-v-2a02c54e {
  294. width: 120px;
  295. height: 40px; /* 改为矩形按钮 */
  296. border-radius: 20px; /* 圆角矩形 */
  297. background-color: #ffffff; /* 白色背景 */
  298. color: #333; /* 深色文字 */
  299. font-size: 16px;
  300. border: none;
  301. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  302. display: flex;
  303. justify-content: center;
  304. align-items: center;
  305. cursor: pointer;
  306. animation: none; /* 移除脉动动画 */
  307. }
  308. .retry-button-container.data-v-2a02c54e {
  309. position: absolute;
  310. bottom: 30px; /* 统一与其他按钮的位置 */
  311. left: 50%;
  312. transform: translateX(-50%);
  313. z-index: 20;
  314. }
  315. .retry-button.data-v-2a02c54e {
  316. padding: 10px 20px;
  317. background-color: #ffffff; /* 白色背景 */
  318. color: #333; /* 深色文字 */
  319. font-size: 16px;
  320. border: none;
  321. border-radius: 20px; /* 圆角矩形 */
  322. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  323. cursor: pointer;
  324. }
  325. .retry-button.data-v-2a02c54e:hover {
  326. background-color: #2980b9;
  327. }
  328. /* 录制时长显示 */
  329. .recording-timer.data-v-2a02c54e {
  330. position: absolute;
  331. top: 20px;
  332. left: 130px; /* 放在录制指示器旁边 */
  333. background-color: rgba(0, 0, 0, 0.6);
  334. padding: 5px 10px;
  335. border-radius: 15px;
  336. z-index: 20;
  337. display: flex;
  338. flex-direction: column;
  339. }
  340. .timer-text.data-v-2a02c54e {
  341. color: #000;
  342. font-size: 14px;
  343. font-family: monospace; /* 使用等宽字体,使时间显示更稳定 */
  344. }
  345. .remaining-time.data-v-2a02c54e {
  346. color: white;
  347. font-size: 12px;
  348. margin-top: 2px;
  349. }
  350. .remaining-time.warning.data-v-2a02c54e {
  351. color: #ff6b6b; /* 剩余时间少时显示红色 */
  352. animation: blink 1s infinite; /* 使用闪烁动画提醒用户 */
  353. }
  354. /* 添加上传状态指示器 */
  355. .upload-status-indicator.data-v-2a02c54e {
  356. position: absolute;
  357. top: 20px;
  358. left: 130px; /* 放在录制指示器旁边 */
  359. background-color: rgba(0, 0, 0, 0.6);
  360. padding: 5px 10px;
  361. border-radius: 15px;
  362. z-index: 20;
  363. }
  364. .upload-status-content.data-v-2a02c54e {
  365. display: flex;
  366. align-items: center;
  367. }
  368. .upload-status-icon.data-v-2a02c54e {
  369. width: 12px;
  370. height: 12px;
  371. border-radius: 50%;
  372. margin-right: 8px;
  373. }
  374. .upload-status-text.data-v-2a02c54e {
  375. color: white;
  376. font-size: 14px;
  377. }
  378. .uploading.data-v-2a02c54e {
  379. background-color: #e74c3c;
  380. }
  381. /* 添加倒计时蒙层样式 */
  382. .countdown-overlay.data-v-2a02c54e {
  383. position: fixed;
  384. top: 0;
  385. left: 0;
  386. width: 100%;
  387. height: 100%;
  388. background-color: rgba(0, 0, 0, 0.7);
  389. z-index: 100;
  390. display: flex;
  391. justify-content: center;
  392. align-items: center;
  393. }
  394. .countdown-content.data-v-2a02c54e {
  395. display: flex;
  396. flex-direction: column;
  397. align-items: center;
  398. }
  399. .countdown-number.data-v-2a02c54e {
  400. font-size: 80px;
  401. color: #ffffff;
  402. font-weight: bold;
  403. margin-bottom: 20px;
  404. }
  405. .countdown-text.data-v-2a02c54e {
  406. font-size: 24px;
  407. color: #ffffff;
  408. }
  409. /* 添加GIF播放器样式 */
  410. .gif-player.data-v-2a02c54e {
  411. width: 100%;
  412. height: 100%;
  413. object-fit: cover;
  414. position: absolute;
  415. top: 0;
  416. left: 0;
  417. z-index: 5; /* 确保GIF在视频上方但在字幕和按钮下方 */
  418. }
  419. /* AI语音播放蒙层样式 */
  420. .ai-voice-overlay.data-v-2a02c54e {
  421. position: fixed;
  422. top: 0;
  423. left: 0;
  424. width: 100%;
  425. height: 100%;
  426. background-color: rgba(0, 0, 0, 0.8); /* 0.8的透明度 */
  427. z-index: 99; /* 确保在其他元素之上,但在倒计时蒙层之下 */
  428. display: flex;
  429. justify-content: center;
  430. align-items: center;
  431. }
  432. .ai-voice-content.data-v-2a02c54e {
  433. display: flex;
  434. flex-direction: column;
  435. align-items: center;
  436. color: #ffffff;
  437. }
  438. .ai-voice-icon.data-v-2a02c54e {
  439. width: 40px;
  440. height: 40px;
  441. border-radius: 50%;
  442. background-color: #ffffff;
  443. margin-bottom: 15px;
  444. position: relative;
  445. animation: pulse-2a02c54e 1.5s infinite;
  446. }
  447. .ai-voice-icon.data-v-2a02c54e::before {
  448. content: '';
  449. position: absolute;
  450. top: 50%;
  451. left: 50%;
  452. transform: translate(-50%, -50%);
  453. width: 20px;
  454. height: 20px;
  455. 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>');
  456. background-repeat: no-repeat;
  457. background-position: center;
  458. }
  459. .ai-voice-text.data-v-2a02c54e {
  460. font-size: 18px;
  461. color: #ffffff;
  462. }
  463. @keyframes pulse-2a02c54e {
  464. 0% {
  465. transform: scale(1);
  466. opacity: 1;
  467. }
  468. 50% {
  469. transform: scale(1.1);
  470. opacity: 0.8;
  471. }
  472. 100% {
  473. transform: scale(1);
  474. opacity: 1;
  475. }
  476. }
  477. /* 继续提问按钮样式 */
  478. .continue-question-container.data-v-2a02c54e {
  479. position: absolute;
  480. bottom: 100px; /* 位置高于结束面试按钮 */
  481. left: 50%;
  482. transform: translateX(-50%);
  483. z-index: 20;
  484. }
  485. .continue-question-button.data-v-2a02c54e {
  486. width: 120px;
  487. height: 40px;
  488. border-radius: 20px;
  489. background-color: #ffffff;
  490. color: #333;
  491. font-size: 16px;
  492. border: none;
  493. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  494. display: flex;
  495. justify-content: center;
  496. align-items: center;
  497. cursor: pointer;
  498. }
  499. /* 结束面试按钮样式 */
  500. .end-interview-container.data-v-2a02c54e {
  501. position: absolute;
  502. bottom: 50px;
  503. left: 50%;
  504. transform: translateX(-50%);
  505. z-index: 20;
  506. }
  507. .end-interview-button.data-v-2a02c54e {
  508. width: 120px;
  509. height: 40px;
  510. border-radius: 20px;
  511. background-color: #e74c3c; /* 红色背景 */
  512. color: #ffffff; /* 白色文字 */
  513. font-size: 16px;
  514. border: none;
  515. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  516. display: flex;
  517. justify-content: center;
  518. align-items: center;
  519. cursor: pointer;
  520. }
  521. /* 提问轮次指示器样式 */
  522. .question-round-indicator.data-v-2a02c54e {
  523. position: absolute;
  524. top: 20px;
  525. right: 120px; /* 位置在用户摄像头左侧 */
  526. background-color: rgba(255, 255, 255, 0.9);
  527. padding: 5px 10px;
  528. border-radius: 15px;
  529. z-index: 20;
  530. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  531. }
  532. .round-text.data-v-2a02c54e {
  533. color: #333;
  534. font-size: 14px;
  535. }