camera.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. .camera-container {
  2. position: relative;
  3. width: 100%;
  4. height: 100vh;
  5. background-color: #ffffff;
  6. display: flex;
  7. flex-direction: column;
  8. }
  9. .header {
  10. height: 90rpx;
  11. /* background-color: #000000; */
  12. display: flex;
  13. align-items: center;
  14. padding: 0 30rpx;
  15. color: #ffffff;
  16. }
  17. .back-button {
  18. width: 60rpx;
  19. height: 60rpx;
  20. display: flex;
  21. align-items: center;
  22. justify-content: center;
  23. }
  24. .title {
  25. flex: 1;
  26. text-align: center;
  27. font-size: 32rpx;
  28. font-weight: bold;
  29. }
  30. .controls {
  31. display: flex;
  32. gap: 30rpx;
  33. }
  34. .iconfont {
  35. font-size: 40rpx;
  36. }
  37. .content {
  38. flex: 1;
  39. display: flex;
  40. flex-direction: column;
  41. position: relative;
  42. padding: 90rpx 20rpx 0;
  43. }
  44. .progress-container {
  45. display: flex;
  46. flex-direction: column;
  47. justify-content: space-between;
  48. margin-bottom: 20rpx;
  49. }
  50. .progress-step {
  51. display: flex;
  52. align-items: center;
  53. margin-bottom: 10rpx;
  54. }
  55. .step-circle {
  56. width: 40rpx;
  57. height: 40rpx;
  58. border-radius: 50%;
  59. background-color: #e0e0e0;
  60. display: flex;
  61. align-items: center;
  62. justify-content: center;
  63. font-size: 24rpx;
  64. margin-right: 10rpx;
  65. }
  66. .step-circle.active {
  67. background-color: #ff9500;
  68. color: #ffffff;
  69. }
  70. .step-text {
  71. font-size: 24rpx;
  72. color: #666666;
  73. }
  74. .progress-bar {
  75. height: 10rpx;
  76. background-color: #e0e0e0;
  77. border-radius: 5rpx;
  78. overflow: hidden;
  79. margin-bottom: 20rpx;
  80. }
  81. .progress-fill {
  82. height: 100%;
  83. background-color: #00c853;
  84. transition: width 0.3s;
  85. }
  86. .interview-content {
  87. flex: 1;
  88. display: flex;
  89. flex-direction: column;
  90. }
  91. .video-area {
  92. display: flex;
  93. /* flex-direction: column; */
  94. justify-content: space-between;
  95. height: auto;
  96. margin-bottom: 20rpx;
  97. }
  98. .video-camera {
  99. display: flex;
  100. flex-direction: row;
  101. align-items: center;
  102. justify-content: space-between;
  103. width: 65%;
  104. }
  105. .interviewer {
  106. background-color: #f5f5f5;
  107. display: flex;
  108. align-items: center;
  109. justify-content: center;
  110. position: relative;
  111. width: 48% !important;
  112. height: 300rpx;
  113. }
  114. .interviewer-video {
  115. width: 100%;
  116. height: 100%;
  117. object-fit: cover;
  118. }
  119. .interviewer-avatar {
  120. width: 80%;
  121. height: 80%;
  122. object-fit: contain;
  123. }
  124. .user-camera-container {
  125. width: 48%;
  126. height: 300rpx;
  127. border-radius: 10rpx;
  128. overflow: hidden;
  129. border: 4rpx solid #ffffff;
  130. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.2);
  131. }
  132. .question-area {
  133. flex: 1;
  134. display: flex;
  135. flex-direction: column;
  136. }
  137. .question {
  138. background-color: #f9f9f9;
  139. padding: 20rpx;
  140. border-radius: 10rpx;
  141. margin-bottom: 20rpx;
  142. font-size: 28rpx;
  143. color: #333;
  144. }
  145. .options {
  146. display: flex;
  147. flex-direction: column;
  148. gap: 20rpx;
  149. margin-bottom: 30rpx;
  150. }
  151. .option-item {
  152. display: flex;
  153. padding: 20rpx;
  154. background-color: #f5f5f5;
  155. border-radius: 10rpx;
  156. font-size: 28rpx;
  157. transition: all 0.3s;
  158. border: 1px solid transparent;
  159. }
  160. .option-selected {
  161. background-color: #e6f7ff;
  162. border: 1px solid #1890ff;
  163. }
  164. .option-label {
  165. margin-right: 10rpx;
  166. font-weight: bold;
  167. color: #666;
  168. }
  169. .option-text {
  170. color: #333;
  171. }
  172. .next-button {
  173. background-color: #333333;
  174. color: #ffffff;
  175. border-radius: 50rpx;
  176. font-size: 30rpx;
  177. margin: 200rpx auto;
  178. height: 80rpx;
  179. line-height: 80rpx;
  180. width: 90%;
  181. padding: 0 30rpx;
  182. display: flex;
  183. justify-content: space-between;
  184. align-items: center;
  185. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.2);
  186. }
  187. .button-content {
  188. padding: 0 20px;
  189. display: flex;
  190. justify-content: space-between;
  191. width: 100%;
  192. align-items: center;
  193. }
  194. .timer-text {
  195. color: #4cd964;
  196. font-size: 28rpx;
  197. }
  198. .next-text {
  199. color: #ffffff;
  200. font-size: 28rpx;
  201. }
  202. .footer {
  203. height: 100rpx;
  204. background-color: #000000;
  205. display: flex;
  206. justify-content: space-between;
  207. align-items: center;
  208. padding: 0 30rpx;
  209. color: #ffffff;
  210. }
  211. .timer {
  212. font-size: 28rpx;
  213. }
  214. .next-step {
  215. font-size: 28rpx;
  216. }
  217. .interview-end-modal {
  218. position: fixed;
  219. top: 0;
  220. left: 0;
  221. right: 0;
  222. bottom: 0;
  223. background-color: rgba(0, 0, 0, 0.5);
  224. display: flex;
  225. align-items: center;
  226. justify-content: center;
  227. z-index: 999;
  228. }
  229. .modal-content {
  230. width: 80%;
  231. background-color: #ffffff;
  232. border-radius: 20rpx;
  233. padding: 40rpx;
  234. display: flex;
  235. flex-direction: column;
  236. align-items: center;
  237. }
  238. .modal-title {
  239. font-size: 36rpx;
  240. font-weight: bold;
  241. margin-bottom: 30rpx;
  242. }
  243. .modal-message {
  244. font-size: 28rpx;
  245. color: #666;
  246. text-align: center;
  247. margin-bottom: 40rpx;
  248. }
  249. @keyframes speaking {
  250. 0% {
  251. opacity: 0.8;
  252. }
  253. 50% {
  254. opacity: 1;
  255. }
  256. 100% {
  257. opacity: 0.8;
  258. }
  259. }
  260. .speaking {
  261. animation: speaking 1.5s infinite;
  262. }