identity-verify.wxss 13 KB

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