rtcCallStyle.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. /* #ifndef APP-PLUS-NVUE */
  2. page {
  3. flex: 1;
  4. }
  5. /* #endif */
  6. .nav-bar {
  7. position: fixed;
  8. top: 80rpx;
  9. left: 0;
  10. width: 750rpx;
  11. display: flex;
  12. justify-content: center;
  13. flex-direction: row;
  14. height: 120rpx;
  15. }
  16. .duration {
  17. color: #ffffff;
  18. }
  19. .call-view {
  20. flex: 1;
  21. flex-direction: column;
  22. background: #333333;
  23. position: relative;
  24. }
  25. /* #ifdef H5 */
  26. .call-view {
  27. height: 100%;
  28. }
  29. /* #endif */
  30. .profile {
  31. margin-top: 200rpx;
  32. display: flex;
  33. flex-direction: column;
  34. align-items: center;
  35. height: 400rpx;
  36. }
  37. .user-avatar {
  38. width: 200rpx;
  39. border-radius: 10%;
  40. background-color: rgba(0, 0, 0, 0.5);
  41. }
  42. .user-name {
  43. margin-top: 20rpx;
  44. line-height: 40rpx;
  45. font-size: 38rpx;
  46. color: #ffffff;
  47. text-align: center;
  48. }
  49. .caller-avatar {
  50. width: 300rpx;
  51. border-radius: 10%;
  52. background-color: rgba(0, 0, 0, 0.5);
  53. }
  54. .caller-name {
  55. margin-top: 20rpx;
  56. line-height: 60rpx;
  57. font-size: 42rpx;
  58. color: #ffffff;
  59. text-align: center;
  60. }
  61. .status-box {
  62. display: flex;
  63. flex-direction: row;
  64. justify-content: center;
  65. height: 100rpx;
  66. margin-top: 50rpx;
  67. }
  68. .status-notice {
  69. color: #949293;
  70. font-size: 32rpx;
  71. }
  72. .loading {
  73. width: 45rpx;
  74. height: 32rpx;
  75. }
  76. .content {
  77. flex: 1;
  78. flex-direction: column;
  79. justify-content: space-around;
  80. }
  81. .container {
  82. flex: 1;
  83. position: relative;
  84. display: flex;
  85. align-items: center;
  86. }
  87. .main-video {
  88. width: 750rpx;
  89. position: absolute;
  90. top: 0;
  91. bottom: 0;
  92. left: 0;
  93. right: 0;
  94. display: flex;
  95. align-items: center;
  96. }
  97. .main-avatar {
  98. margin-top: 200rpx;
  99. width: 200rpx;
  100. border-radius: 10%;
  101. background-color: rgba(0, 0, 0, 0.5);
  102. }
  103. .mini-avatar {
  104. width: 120rpx;
  105. border-radius: 10%;
  106. background-color: rgba(0, 0, 0, 0.5);
  107. }
  108. .mini-video {
  109. width: 240rpx;
  110. height: 450rpx;
  111. position: absolute;
  112. right: 0;
  113. top: 160rpx;
  114. background: #444444;
  115. border-radius: 10rpx;
  116. display: flex;
  117. align-items: center;
  118. justify-content: center;
  119. }
  120. .action-box {
  121. position: fixed;
  122. bottom: 100rpx;
  123. left: 0;
  124. right: 0;
  125. display: flex;
  126. justify-content: space-around;
  127. align-items: center;
  128. flex-direction: row;
  129. }
  130. .action-top {
  131. position: fixed;
  132. bottom: 340rpx;
  133. left: 0;
  134. right: 0;
  135. display: flex;
  136. justify-content: space-around;
  137. align-items: center;
  138. flex-direction: row;
  139. }
  140. .action-bar-icon {
  141. width: 70rpx;
  142. height: 70rpx;
  143. }
  144. .item-background {
  145. display: flex;
  146. align-items: center;
  147. justify-content: center;
  148. width: 140rpx;
  149. height: 140rpx;
  150. border-radius: 50%;
  151. background-color: rgba(255, 255, 255, 0.9);
  152. }
  153. .item-background-disable {
  154. display: flex;
  155. align-items: center;
  156. justify-content: center;
  157. width: 140rpx;
  158. height: 140rpx;
  159. border-radius: 50%;
  160. background-color: rgba(128, 128, 128, 0.3);
  161. }
  162. .switch-camera {
  163. position: fixed;
  164. bottom: 130rpx;
  165. right: 90rpx;
  166. }
  167. .switch-camera-icon {
  168. width: 70rpx;
  169. height: 70rpx;
  170. }
  171. .action-item {
  172. display: flex;
  173. }
  174. .accept-background {
  175. display: flex;
  176. align-items: center;
  177. justify-content: center;
  178. width: 150rpx;
  179. height: 150rpx;
  180. border-radius: 50%;
  181. background-color: #59CE73;
  182. }
  183. .end-background {
  184. display: flex;
  185. flex-direction: column;
  186. align-items: center;
  187. justify-content: center;
  188. width: 150rpx;
  189. height: 150rpx;
  190. border-radius: 50%;
  191. background-color: #F75855;
  192. }
  193. .action-icon {
  194. width: 80rpx;
  195. height: 80rpx;
  196. }
  197. .action-text {
  198. margin-top: 20rpx;
  199. color: #ffffff;
  200. font-size: 30rpx;
  201. text-align: center;
  202. }
  203. .user-list {
  204. padding-top: 160rpx;
  205. flex: 1;
  206. display: flex;
  207. flex-direction: row;
  208. flex-wrap: wrap;
  209. }
  210. .user-item {
  211. width: 250rpx;
  212. height: 250rpx;
  213. position: relative;
  214. }
  215. .callee-view {
  216. width: 250rpx;
  217. height: 250rpx;
  218. }
  219. .caller-view {
  220. width: 250rpx;
  221. height: 250rpx;
  222. }
  223. .user-item-avatar {
  224. background-color: rgba(0, 0, 0, 0.5);
  225. width: 250rpx;
  226. height: 250rpx;
  227. }
  228. .user-muted {
  229. width: 50rpx;
  230. height: 50rpx;
  231. position: absolute;
  232. bottom: 10rpx;
  233. left: 10rpx;
  234. background: #ffffff;
  235. border-radius: 50%;
  236. display: flex;
  237. flex-direction: column;
  238. align-items: center;
  239. justify-content: center;
  240. }
  241. .user-muted-icon {
  242. width: 40rpx;
  243. height: 40rpx;
  244. }
  245. .callee-info {
  246. position: fixed;
  247. bottom: 510rpx;
  248. left: 0;
  249. display: flex;
  250. flex-direction: column;
  251. }
  252. .callee-text {
  253. text-align: center;
  254. color: #949293;
  255. font-size: 30rpx;
  256. }
  257. .callee-list {
  258. width: 750rpx;
  259. display: flex;
  260. flex-direction: row;
  261. justify-content: center;
  262. align-items: center;
  263. flex-wrap: wrap;
  264. }
  265. .callee-avatar {
  266. width: 80rpx;
  267. }