identity-verify.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  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: #e74c3c; /* 白色背景 */
  191. color: #333; /* 深色文字 */
  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: 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-464e78c6 {
  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-464e78c6 {
  222. color: #333; /* 改为深色文字 */
  223. font-size: 14px;
  224. }
  225. .timer-text.data-v-464e78c6 {
  226. color: #333; /* 改为深色文字 */
  227. font-size: 14px;
  228. margin-left: 8px;
  229. }
  230. .start-recording-button-container.data-v-464e78c6 {
  231. position: absolute;
  232. bottom: 50px; /* 统一与其他按钮的位置 */
  233. left: 50%;
  234. transform: translateX(-50%);
  235. z-index: 101;
  236. }
  237. .start-recording-button.data-v-464e78c6 {
  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-464e78c6 {
  253. position: absolute;
  254. bottom: 30px; /* 统一与其他按钮的位置 */
  255. left: 50%;
  256. transform: translateX(-50%);
  257. z-index: 20;
  258. }
  259. .retry-button.data-v-464e78c6 {
  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-464e78c6:hover {
  270. background-color: #2980b9;
  271. }
  272. /* 录制时长显示 */
  273. .recording-timer.data-v-464e78c6 {
  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-464e78c6 {
  285. color: #000;
  286. font-size: 14px;
  287. font-family: monospace; /* 使用等宽字体,使时间显示更稳定 */
  288. }
  289. .remaining-time.data-v-464e78c6 {
  290. color: white;
  291. font-size: 12px;
  292. margin-top: 2px;
  293. }
  294. .remaining-time.warning.data-v-464e78c6 {
  295. color: #ff6b6b; /* 剩余时间少时显示红色 */
  296. animation: blink 1s infinite; /* 使用闪烁动画提醒用户 */
  297. }
  298. /* 添加上传状态指示器 */
  299. .upload-status-indicator.data-v-464e78c6 {
  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-464e78c6 {
  309. display: flex;
  310. align-items: center;
  311. }
  312. .upload-status-icon.data-v-464e78c6 {
  313. width: 12px;
  314. height: 12px;
  315. border-radius: 50%;
  316. margin-right: 8px;
  317. }
  318. .upload-status-text.data-v-464e78c6 {
  319. color: white;
  320. font-size: 14px;
  321. }
  322. .uploading.data-v-464e78c6 {
  323. background-color: #e74c3c;
  324. }
  325. /* 添加倒计时蒙层样式 */
  326. .countdown-overlay.data-v-464e78c6 {
  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-464e78c6 {
  339. display: flex;
  340. flex-direction: column;
  341. align-items: center;
  342. }
  343. .countdown-number.data-v-464e78c6 {
  344. font-size: 80px;
  345. color: #ffffff;
  346. font-weight: bold;
  347. margin-bottom: 20px;
  348. }
  349. .countdown-text.data-v-464e78c6 {
  350. font-size: 24px;
  351. color: #ffffff;
  352. }
  353. /* 添加GIF播放器样式 */
  354. .gif-player.data-v-464e78c6 {
  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. /* 重新录制按钮容器样式 */
  364. .rerecord-button-container.data-v-464e78c6 {
  365. position: absolute;
  366. bottom: 50px; /* 统一与其他按钮的位置 */
  367. left: 50%;
  368. transform: translateX(-50%);
  369. z-index: 20;
  370. }
  371. /* 重新录制按钮样式 */
  372. .rerecord-button.data-v-464e78c6 {
  373. width: 120px;
  374. height: 40px;
  375. border-radius: 20px;
  376. background-color: #ffffff;
  377. color: #333;
  378. font-size: 16px;
  379. border: none;
  380. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  381. display: flex;
  382. justify-content: center;
  383. align-items: center;
  384. cursor: pointer;
  385. }
  386. .rerecord-button.data-v-464e78c6:hover {
  387. background-color: #f0f0f0;
  388. }
  389. /* 添加视频蒙层样式 */
  390. .video-overlay.data-v-464e78c6 {
  391. position: absolute;
  392. top: 0;
  393. left: 0;
  394. width: 100%;
  395. height: 100%;
  396. background-color: transparent; /* 完全透明 */
  397. z-index: 6; /* 确保在视频之上,但在按钮和字幕之下 */
  398. pointer-events: auto; /* 允许捕获点击事件 */
  399. }
  400. /* 调整其他元素的z-index以确保正确的层级关系 */
  401. .subtitle-overlay.data-v-464e78c6 {
  402. /* ... 现有样式 ... */
  403. z-index: 10; /* 确保字幕在蒙层之上 */
  404. }
  405. .answer-button-container.data-v-464e78c6,
  406. .stop-recording-button-container.data-v-464e78c6,
  407. .start-recording-button-container.data-v-464e78c6,
  408. .retry-button-container.data-v-464e78c6,
  409. .rerecord-button-container.data-v-464e78c6 {
  410. /* ... 现有样式 ... */
  411. z-index: 999; /* 确保按钮在蒙层之上 */
  412. }
  413. .user-camera-container.data-v-464e78c6 {
  414. /* ... 现有样式 ... */
  415. z-index: 20; /* 确保摄像头窗口在蒙层之上 */
  416. }
  417. .recording-indicator.data-v-464e78c6 {
  418. /* ... 现有样式 ... */
  419. z-index: 20; /* 确保录制指示器在蒙层之上 */
  420. }