interview-question.wxss 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  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. .user-camera-container.data-v-2a02c54e {
  26. position: absolute;
  27. top: 50px;
  28. right: 5px;
  29. width: 110px; /* 稍微增加宽度 */
  30. height: 160px; /* 稍微增加高度 */
  31. border-radius: 4px; /* 减小圆角 */
  32. overflow: hidden;
  33. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  34. z-index: 20;
  35. }
  36. /* 用户摄像头视频样式 */
  37. .user-camera-video.data-v-2a02c54e {
  38. width: 100%;
  39. height: 100%;
  40. object-fit: cover;
  41. background-color: #333;
  42. }
  43. .video-player.data-v-2a02c54e {
  44. width: 100%;
  45. height: 100%;
  46. object-fit: cover;
  47. outline: none; /* 移除视频获得焦点时的轮廓 */
  48. -webkit-tap-highlight-color: transparent; /* 移除移动设备上的点击高亮 */
  49. }
  50. /* 隐藏视频控制条 */
  51. video.data-v-2a02c54e::-webkit-media-controls {
  52. display: none !important;
  53. }
  54. video.data-v-2a02c54e::-webkit-media-controls-enclosure {
  55. display: none !important;
  56. }
  57. video.data-v-2a02c54e::-webkit-media-controls-panel {
  58. display: none !important;
  59. }
  60. video.data-v-2a02c54e::-webkit-media-controls-play-button {
  61. display: none !important;
  62. }
  63. video.data-v-2a02c54e::-webkit-media-controls-timeline {
  64. display: none !important;
  65. }
  66. video.data-v-2a02c54e::-webkit-media-controls-current-time-display {
  67. display: none !important;
  68. }
  69. video.data-v-2a02c54e::-webkit-media-controls-time-remaining-display {
  70. display: none !important;
  71. }
  72. video.data-v-2a02c54e::-webkit-media-controls-mute-button {
  73. display: none !important;
  74. }
  75. video.data-v-2a02c54e::-webkit-media-controls-volume-slider {
  76. display: none !important;
  77. }
  78. video.data-v-2a02c54e::-webkit-media-controls-fullscreen-button {
  79. display: none !important;
  80. }
  81. /* 修改字幕覆盖层样式,使其与图片中的样式一致 */
  82. .subtitle-overlay.data-v-2a02c54e {
  83. position: absolute;
  84. bottom: 180px; /* 调整位置,使其更靠近底部 */
  85. left: 5%; /* 从左侧留出5%的空间 */
  86. width: 80%; /* 宽度设为90%,两侧各留5%实现居中 */
  87. padding: 15px 20px; /* 增加左右内边距 */
  88. border-radius: 15px;
  89. background-color: rgba(255, 255, 255, 0.9); /* 白色半透明背景 */
  90. color: #333; /* 文字颜色为深色 */
  91. text-align: left; /* 文字左对齐 */
  92. font-size: 16px;
  93. line-height: 1.5;
  94. z-index: 10;
  95. margin: 0 auto; /* 添加自动边距实现居中 */
  96. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
  97. }
  98. /* 添加计时器样式,右侧显示橙色圆点和时间 */
  99. .subtitle-overlay.data-v-2a02c54e::after {
  100. content: attr(data-time);
  101. position: absolute;
  102. right: 20px;
  103. bottom: 15px;
  104. color: #333;
  105. font-size: 14px;
  106. }
  107. .control-panel.data-v-2a02c54e {
  108. padding: 15px;
  109. display: flex;
  110. justify-content: center;
  111. }
  112. .control-button.data-v-2a02c54e {
  113. padding: 10px 20px;
  114. background-color: #4CAF50;
  115. color: white;
  116. border: none;
  117. border-radius: 4px;
  118. cursor: pointer;
  119. }
  120. .loading.data-v-2a02c54e {
  121. text-align: center;
  122. margin: 20px 0;
  123. font-size: 16px;
  124. }
  125. .response-container.data-v-2a02c54e {
  126. margin-top: 20px;
  127. padding: 0 20px;
  128. display: none; /* 默认隐藏调试信息 */
  129. }
  130. /* 当showDebugInfo为true时显示 */
  131. .showDebugInfo .response-container.data-v-2a02c54e {
  132. display: block;
  133. }
  134. .response-item.data-v-2a02c54e {
  135. padding: 10px;
  136. border: 1px solid #eee;
  137. border-radius: 4px;
  138. margin-bottom: 10px;
  139. background-color: #f9f9f9;
  140. }
  141. .response-content.data-v-2a02c54e {
  142. display: flex;
  143. flex-direction: column;
  144. }
  145. .answer-button-container.data-v-2a02c54e {
  146. position: absolute;
  147. bottom: 50px; /* 将按钮放在底部而不是75%的位置 */
  148. left: 50%;
  149. transform: translateX(-50%); /* 只在X轴上平移,保持水平居中 */
  150. z-index: 20;
  151. }
  152. /* 修改回答按钮样式 */
  153. .answer-button.data-v-2a02c54e {
  154. width: 120px;
  155. height: 40px; /* 改为矩形按钮 */
  156. border-radius: 20px; /* 圆角矩形 */
  157. background-color: #ffffff; /* 白色背景 */
  158. color: #333; /* 深色文字 */
  159. font-size: 16px;
  160. border: none;
  161. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  162. display: flex;
  163. justify-content: center;
  164. align-items: center;
  165. cursor: pointer;
  166. animation: none; /* 移除脉动动画 */
  167. }
  168. .stop-recording-button-container.data-v-2a02c54e {
  169. position: absolute;
  170. bottom: 50px; /* 统一与其他按钮的位置 */
  171. left: 50%;
  172. transform: translateX(-50%);
  173. z-index: 20;
  174. }
  175. .stop-recording-button.data-v-2a02c54e {
  176. width: 120px;
  177. height: 40px; /* 改为矩形按钮 */
  178. border-radius: 20px; /* 圆角矩形 */
  179. background-color: #e74c3c; /* 白色背景 */
  180. color: #333; /* 深色文字 */
  181. font-size: 16px;
  182. border: none;
  183. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  184. display: flex;
  185. justify-content: center;
  186. align-items: center;
  187. cursor: pointer;
  188. animation: none; /* 移除脉动动画 */
  189. }
  190. .recording-indicator.data-v-2a02c54e {
  191. position: absolute;
  192. top: 20px;
  193. left: 20px;
  194. display: flex;
  195. align-items: center;
  196. background-color: rgba(255, 255, 255, 0.9); /* 改为白色半透明背景 */
  197. padding: 5px 10px;
  198. border-radius: 15px;
  199. z-index: 20;
  200. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  201. }
  202. .recording-dot.data-v-2a02c54e {
  203. width: 12px;
  204. height: 12px;
  205. background-color: #ff6b00; /* 改为橙色,与图片中的颜色一致 */
  206. border-radius: 50%;
  207. margin-right: 8px;
  208. animation: blink 1s infinite;
  209. }
  210. .recording-text.data-v-2a02c54e {
  211. color: #333; /* 改为深色文字 */
  212. font-size: 14px;
  213. }
  214. .timer-text.data-v-2a02c54e {
  215. color: #333; /* 改为深色文字 */
  216. font-size: 14px;
  217. margin-left: 8px;
  218. }
  219. .start-recording-button-container.data-v-2a02c54e {
  220. position: absolute;
  221. bottom: 50px; /* 统一与其他按钮的位置 */
  222. left: 50%;
  223. transform: translateX(-50%);
  224. z-index: 101;
  225. }
  226. .start-recording-button.data-v-2a02c54e {
  227. width: 120px;
  228. height: 40px; /* 改为矩形按钮 */
  229. border-radius: 20px; /* 圆角矩形 */
  230. background-color: #ffffff; /* 白色背景 */
  231. color: #333; /* 深色文字 */
  232. font-size: 16px;
  233. border: none;
  234. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  235. display: flex;
  236. justify-content: center;
  237. align-items: center;
  238. cursor: pointer;
  239. animation: none; /* 移除脉动动画 */
  240. }
  241. .retry-button-container.data-v-2a02c54e {
  242. position: absolute;
  243. bottom: 30px; /* 统一与其他按钮的位置 */
  244. left: 50%;
  245. transform: translateX(-50%);
  246. z-index: 20;
  247. }
  248. .retry-button.data-v-2a02c54e {
  249. padding: 10px 20px;
  250. background-color: #ffffff; /* 白色背景 */
  251. color: #333; /* 深色文字 */
  252. font-size: 16px;
  253. border: none;
  254. border-radius: 20px; /* 圆角矩形 */
  255. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  256. cursor: pointer;
  257. }
  258. .retry-button.data-v-2a02c54e:hover {
  259. background-color: #2980b9;
  260. }
  261. /* 录制时长显示 */
  262. .recording-timer.data-v-2a02c54e {
  263. position: absolute;
  264. top: 20px;
  265. left: 130px; /* 放在录制指示器旁边 */
  266. background-color: rgba(0, 0, 0, 0.6);
  267. padding: 5px 10px;
  268. border-radius: 15px;
  269. z-index: 20;
  270. display: flex;
  271. flex-direction: column;
  272. }
  273. .timer-text.data-v-2a02c54e {
  274. color: #000;
  275. font-size: 14px;
  276. font-family: monospace; /* 使用等宽字体,使时间显示更稳定 */
  277. }
  278. .remaining-time.data-v-2a02c54e {
  279. color: white;
  280. font-size: 12px;
  281. margin-top: 2px;
  282. }
  283. .remaining-time.warning.data-v-2a02c54e {
  284. color: #ff6b6b; /* 剩余时间少时显示红色 */
  285. animation: blink 1s infinite; /* 使用闪烁动画提醒用户 */
  286. }
  287. /* 添加上传状态指示器 */
  288. .upload-status-indicator.data-v-2a02c54e {
  289. position: absolute;
  290. top: 20px;
  291. left: 130px; /* 放在录制指示器旁边 */
  292. background-color: rgba(0, 0, 0, 0.6);
  293. padding: 5px 10px;
  294. border-radius: 15px;
  295. z-index: 20;
  296. }
  297. .upload-status-content.data-v-2a02c54e {
  298. display: flex;
  299. align-items: center;
  300. }
  301. .upload-status-icon.data-v-2a02c54e {
  302. width: 12px;
  303. height: 12px;
  304. border-radius: 50%;
  305. margin-right: 8px;
  306. }
  307. .upload-status-text.data-v-2a02c54e {
  308. color: white;
  309. font-size: 14px;
  310. }
  311. .uploading.data-v-2a02c54e {
  312. background-color: #e74c3c;
  313. }
  314. /* 添加倒计时蒙层样式 */
  315. .countdown-overlay.data-v-2a02c54e {
  316. position: fixed;
  317. top: 0;
  318. left: 0;
  319. width: 100%;
  320. height: 100%;
  321. background-color: rgba(0, 0, 0, 0.7);
  322. z-index: 100;
  323. display: flex;
  324. justify-content: center;
  325. align-items: center;
  326. }
  327. .countdown-content.data-v-2a02c54e {
  328. display: flex;
  329. flex-direction: column;
  330. align-items: center;
  331. }
  332. .countdown-number.data-v-2a02c54e {
  333. font-size: 80px;
  334. color: #ffffff;
  335. font-weight: bold;
  336. margin-bottom: 20px;
  337. }
  338. .countdown-text.data-v-2a02c54e {
  339. font-size: 24px;
  340. color: #ffffff;
  341. }
  342. /* 添加GIF播放器样式 */
  343. .gif-player.data-v-2a02c54e {
  344. width: 100%;
  345. height: 100%;
  346. object-fit: cover;
  347. position: absolute;
  348. top: 0;
  349. left: 0;
  350. z-index: 5; /* 确保GIF在视频上方但在字幕和按钮下方 */
  351. }