identity-verify.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  1. .identity-verify-container.data-v-464e78c6 {
  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-464e78c6 {
  11. position: relative;
  12. width: 100%;
  13. height: 100vh;
  14. overflow: hidden;
  15. background-color: #f0f0f0;
  16. }
  17. .digital-human-video.data-v-464e78c6 {
  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-464e78c6 {
  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-464e78c6 {
  38. width: 100%;
  39. height: 100%;
  40. object-fit: cover;
  41. background-color: #333;
  42. }
  43. .video-player.data-v-464e78c6 {
  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-464e78c6::-webkit-media-controls {
  52. display: none !important;
  53. }
  54. video.data-v-464e78c6::-webkit-media-controls-enclosure {
  55. display: none !important;
  56. }
  57. video.data-v-464e78c6::-webkit-media-controls-panel {
  58. display: none !important;
  59. }
  60. video.data-v-464e78c6::-webkit-media-controls-play-button {
  61. display: none !important;
  62. }
  63. video.data-v-464e78c6::-webkit-media-controls-timeline {
  64. display: none !important;
  65. }
  66. video.data-v-464e78c6::-webkit-media-controls-current-time-display {
  67. display: none !important;
  68. }
  69. video.data-v-464e78c6::-webkit-media-controls-time-remaining-display {
  70. display: none !important;
  71. }
  72. video.data-v-464e78c6::-webkit-media-controls-mute-button {
  73. display: none !important;
  74. }
  75. video.data-v-464e78c6::-webkit-media-controls-volume-slider {
  76. display: none !important;
  77. }
  78. video.data-v-464e78c6::-webkit-media-controls-fullscreen-button {
  79. display: none !important;
  80. }
  81. /* 修改字幕覆盖层样式,使其与图片中的样式一致 */
  82. .subtitle-overlay.data-v-464e78c6 {
  83. position: absolute;
  84. bottom: 180px;
  85. left: 5%;
  86. width: 80%;
  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. display: flex;
  98. flex-direction: column;
  99. gap: 8px;
  100. }
  101. .subtitle-main.data-v-464e78c6 {
  102. font-weight: 500;
  103. }
  104. .subtitle-translation.data-v-464e78c6 {
  105. font-size: 14px;
  106. color: #666;
  107. font-style: italic;
  108. }
  109. /* 添加计时器样式,右侧显示橙色圆点和时间 */
  110. .subtitle-overlay.data-v-464e78c6::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-464e78c6 {
  119. padding: 15px;
  120. display: flex;
  121. justify-content: center;
  122. }
  123. .control-button.data-v-464e78c6 {
  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-464e78c6 {
  132. text-align: center;
  133. margin: 20px 0;
  134. font-size: 16px;
  135. }
  136. .response-container.data-v-464e78c6 {
  137. margin-top: 20px;
  138. padding: 0 20px;
  139. display: none; /* 默认隐藏调试信息 */
  140. }
  141. /* 当showDebugInfo为true时显示 */
  142. .showDebugInfo .response-container.data-v-464e78c6 {
  143. display: block;
  144. }
  145. .response-item.data-v-464e78c6 {
  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-464e78c6 {
  153. display: flex;
  154. flex-direction: column;
  155. }
  156. .answer-button-container.data-v-464e78c6 {
  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-464e78c6 {
  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-464e78c6 {
  180. position: absolute;
  181. bottom: 50px; /* 统一与其他按钮的位置 */
  182. left: 50%;
  183. transform: translateX(-50%);
  184. z-index: 20;
  185. }
  186. .stop-recording-button.data-v-464e78c6 {
  187. width: 120px;
  188. height: 40px; /* 改为矩形按钮 */
  189. border-radius: 20px; /* 圆角矩形 */
  190. background-color: #002fff; /* 白色背景 */
  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-464e78c6 {
  202. position: fixed;
  203. bottom: 20px;
  204. left: 17%;
  205. transform: translateX(-50%);
  206. display: flex;
  207. flex-direction: column;
  208. align-items: center;
  209. /* background-color: rgba(0, 0, 0, 0.6); */
  210. padding: 10px 15px;
  211. border-radius: 10px;
  212. z-index: 100;
  213. }
  214. .timer-text.data-v-464e78c6 {
  215. color: #05dc8b;
  216. font-size: 14px;
  217. margin-top: 5px;
  218. }
  219. .start-recording-button-container.data-v-464e78c6 {
  220. position: absolute;
  221. bottom: 50px; /* 统一与其他按钮的位置 */
  222. left: 50%;
  223. transform: translateX(-50%);
  224. z-index: 101;
  225. }
  226. .start-recording-button.data-v-464e78c6 {
  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-464e78c6 {
  242. position: absolute;
  243. bottom: 30px; /* 统一与其他按钮的位置 */
  244. left: 50%;
  245. transform: translateX(-50%);
  246. z-index: 20;
  247. }
  248. .retry-button.data-v-464e78c6 {
  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-464e78c6:hover {
  259. background-color: #2980b9;
  260. }
  261. /* 录制时长显示 */
  262. .recording-timer.data-v-464e78c6 {
  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-464e78c6 {
  274. color: #000;
  275. font-size: 14px;
  276. font-family: monospace; /* 使用等宽字体,使时间显示更稳定 */
  277. }
  278. .remaining-time.data-v-464e78c6 {
  279. color: white;
  280. font-size: 12px;
  281. margin-top: 2px;
  282. }
  283. .remaining-time.warning.data-v-464e78c6 {
  284. color: #ff6b6b; /* 剩余时间少时显示红色 */
  285. animation: blink 1s infinite; /* 使用闪烁动画提醒用户 */
  286. }
  287. /* 添加上传状态指示器 */
  288. .upload-status-indicator.data-v-464e78c6 {
  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-464e78c6 {
  298. display: flex;
  299. align-items: center;
  300. }
  301. .upload-status-icon.data-v-464e78c6 {
  302. width: 12px;
  303. height: 12px;
  304. border-radius: 50%;
  305. margin-right: 8px;
  306. }
  307. .upload-status-text.data-v-464e78c6 {
  308. color: white;
  309. font-size: 14px;
  310. }
  311. .uploading.data-v-464e78c6 {
  312. background-color: #e74c3c;
  313. }
  314. /* 添加倒计时蒙层样式 */
  315. .countdown-overlay.data-v-464e78c6 {
  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-464e78c6 {
  328. display: flex;
  329. flex-direction: column;
  330. align-items: center;
  331. }
  332. .countdown-number.data-v-464e78c6 {
  333. font-size: 80px;
  334. color: #ffffff;
  335. font-weight: bold;
  336. margin-bottom: 20px;
  337. }
  338. .countdown-text.data-v-464e78c6 {
  339. font-size: 24px;
  340. color: #ffffff;
  341. }
  342. /* 添加GIF播放器样式 */
  343. .gif-player.data-v-464e78c6 {
  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. }
  352. /* 重新录制按钮容器样式 */
  353. .rerecord-button-container.data-v-464e78c6 {
  354. position: absolute;
  355. bottom: 50px; /* 统一与其他按钮的位置 */
  356. left: 50%;
  357. transform: translateX(-50%);
  358. z-index: 20;
  359. }
  360. /* 重新录制按钮样式 */
  361. .rerecord-button.data-v-464e78c6 {
  362. width: 120px;
  363. height: 40px;
  364. border-radius: 20px;
  365. background-color: #ffffff;
  366. color: #333;
  367. font-size: 16px;
  368. border: none;
  369. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  370. display: flex;
  371. justify-content: center;
  372. align-items: center;
  373. cursor: pointer;
  374. }
  375. .rerecord-button.data-v-464e78c6:hover {
  376. background-color: #f0f0f0;
  377. }
  378. /* 添加视频蒙层样式 */
  379. .video-overlay.data-v-464e78c6 {
  380. position: absolute;
  381. top: 0;
  382. left: 0;
  383. width: 100%;
  384. height: 100%;
  385. background-color: transparent; /* 完全透明 */
  386. z-index: 6; /* 确保在视频之上,但在按钮和字幕之下 */
  387. pointer-events: auto; /* 允许捕获点击事件 */
  388. }
  389. /* 调整其他元素的z-index以确保正确的层级关系 */
  390. .subtitle-overlay.data-v-464e78c6 {
  391. /* ... 现有样式 ... */
  392. z-index: 10; /* 确保字幕在蒙层之上 */
  393. }
  394. .answer-button-container.data-v-464e78c6,
  395. .stop-recording-button-container.data-v-464e78c6,
  396. .start-recording-button-container.data-v-464e78c6,
  397. .retry-button-container.data-v-464e78c6,
  398. .rerecord-button-container.data-v-464e78c6 {
  399. /* ... 现有样式 ... */
  400. z-index: 999; /* 确保按钮在蒙层之上 */
  401. }
  402. .user-camera-container.data-v-464e78c6 {
  403. /* ... 现有样式 ... */
  404. z-index: 20; /* 确保摄像头窗口在蒙层之上 */
  405. }
  406. .recording-indicator.data-v-464e78c6 {
  407. /* ... 现有样式 ... */
  408. z-index: 20; /* 确保录制指示器在蒙层之上 */
  409. }
  410. /* 环形进度条样式 */
  411. .circle-progress-container.data-v-464e78c6 {
  412. width: 60px;
  413. height: 60px;
  414. position: relative;
  415. margin: 0 auto 10px;
  416. }
  417. .circle-progress.data-v-464e78c6 {
  418. width: 100%;
  419. height: 100%;
  420. border-radius: 50%;
  421. display: flex;
  422. align-items: center;
  423. justify-content: center;
  424. position: relative;
  425. transform: rotate(-90deg); /* 从顶部开始进度 */
  426. }
  427. .circle-progress-inner.data-v-464e78c6 {
  428. width: 80%;
  429. height: 80%;
  430. background-color: rgba(255, 255, 255);
  431. border-radius: 50%;
  432. display: flex;
  433. align-items: center;
  434. justify-content: center;
  435. transform: rotate(90deg); /* 修正文本方向 */
  436. }
  437. .progress-text.data-v-464e78c6 {
  438. font-size: 14px;
  439. font-weight: bold;
  440. color: #05dc8b;
  441. }