interview-question.wxss 12 KB

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