groupCalling.wxss 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. .transition-animation {
  2. transform: translateY(-100%);
  3. animation: slideInDown 0.5s ease forwards;
  4. }
  5. @keyframes slideInDown {
  6. from {
  7. transform: translateY(-100%);
  8. }
  9. to {
  10. transform: translateY(0);
  11. }
  12. }
  13. .footer {
  14. position: absolute;
  15. bottom: 5vh;
  16. width: 100%;
  17. display: flex;
  18. flex-direction: column;
  19. justify-content: center;
  20. align-items: center;
  21. }
  22. .button-container {
  23. display: flex;
  24. flex-direction: column;
  25. text-align: center;
  26. }
  27. .btn-operate {
  28. display: flex;
  29. justify-content: space-between;
  30. /* flex-direction: column;
  31. text-align: center; */
  32. }
  33. .btn-operate-item {
  34. display: flex;
  35. flex-direction: column;
  36. align-items: center;
  37. margin-bottom: 20px;
  38. }
  39. .btn-operate-item text {
  40. font-size: 14px;
  41. color: #f0e9e9;
  42. padding: 5px;
  43. letter-spacing: 0;
  44. font-weight: 400;
  45. }
  46. .call-switch text {
  47. padding: 5px;
  48. color: #f0e9e9;
  49. font-size: 14px;
  50. }
  51. .call-operate {
  52. width: 8vh;
  53. height: 8vh;
  54. border-radius: 8vh;
  55. margin: 0 15vw;
  56. box-sizing: border-box;
  57. display: flex;
  58. justify-content: center;
  59. align-items: center;
  60. }
  61. .call-switch .call-operate {
  62. width: 4vh;
  63. height: 3vh;
  64. }
  65. .call-operate image {
  66. width: 100%;
  67. height: 100%;
  68. background: none;
  69. }
  70. .tips {
  71. font-size: 20px;
  72. color: #FFFFFF;
  73. letter-spacing: 0;
  74. margin: 0 auto;
  75. /* text-shadow: 0 1px 2px rgba(0,0,0,0.40); */
  76. font-weight: 600;
  77. max-width: 150px;
  78. overflow: hidden;
  79. text-overflow: ellipsis;
  80. white-space: nowrap;
  81. }
  82. .tips-subtitle {
  83. font-family: PingFangSC-Regular;
  84. font-size: 14px;
  85. color: #FFFFFF;
  86. letter-spacing: 0;
  87. text-align: right;
  88. /* text-shadow: 0 1px 2px rgba(0,0,0,0.30); */
  89. font-weight: 400;
  90. }
  91. .invite-call {
  92. /* background: #ffffff; */
  93. position: absolute;
  94. top: 0;
  95. z-index: 100;
  96. width: 100px;
  97. height: 187px;
  98. }
  99. .invite-call .local-video {
  100. width: 100px;
  101. height: 187px;
  102. }
  103. .invite-call .invite-calling {
  104. position: absolute;
  105. top: 0;
  106. z-index: 101;
  107. width: 100vw;
  108. height: 100vh;
  109. }
  110. .invite-calling-header {
  111. margin-top: 107px;
  112. display: flex;
  113. justify-content: flex-end;
  114. padding: 0 16px;
  115. }
  116. .btn-container {
  117. display: flex;
  118. align-items: center;
  119. position: relative;
  120. }
  121. .invite-calling-header-left {
  122. position: absolute;
  123. right: 0;
  124. }
  125. .invite-calling-header-left image {
  126. width: 32px;
  127. height: 32px;
  128. }
  129. .invite-calling-header-right {
  130. display: flex;
  131. align-items: center;
  132. }
  133. .invite-calling-header-message {
  134. display: flex;
  135. flex-direction: column;
  136. padding: 0 16px;
  137. }
  138. .invite-calling-header-right image {
  139. width: 100px;
  140. height: 100px;
  141. border-radius: 12px;
  142. }
  143. .invite-calling .footer {
  144. position: absolute;
  145. bottom: 5vh;
  146. width: 100%;
  147. }
  148. .invite-calling .btn-operate {
  149. display: flex;
  150. justify-content: center;
  151. align-items: center;
  152. }
  153. .hidden {
  154. display: none;
  155. }
  156. .trtc-calling {
  157. width: 100vw;
  158. height: 100vh;
  159. overflow: hidden;
  160. margin: 0;
  161. z-index: 99;
  162. }
  163. .audio-call {
  164. width: 100vw;
  165. height: 100vh;
  166. position: absolute;
  167. top: 0;
  168. z-index: 100;
  169. background: #FFFFFF;
  170. }
  171. .audio-call>.btn-operate {
  172. display: flex;
  173. justify-content: center;
  174. }
  175. .audio-call>image {
  176. width: 40vw;
  177. height: 40vw;
  178. display: block;
  179. margin: 20vw 30vw;
  180. margin-top: 40vw;
  181. }
  182. .invite-calling-single>image {
  183. width: 120px;
  184. height: 120px;
  185. border-radius: 12px;
  186. display: block;
  187. margin: 120px auto 15px;
  188. /* margin: 20vw 30vw; */
  189. }
  190. .invite-calling-single .tips {
  191. width: 100%;
  192. height: 40px;
  193. line-height: 40px;
  194. text-align: center;
  195. font-size: 20px;
  196. color: #333333;
  197. letter-spacing: 0;
  198. font-weight: 500;
  199. }
  200. .invite-calling-single .tips-subtitle {
  201. height: 20px;
  202. font-family: PingFangSC-Regular;
  203. font-size: 14px;
  204. color: #97989C;
  205. letter-spacing: 0;
  206. font-weight: 400;
  207. text-align: center;
  208. }
  209. .swiper {
  210. margin-top: 107px;
  211. min-height: 374px;
  212. }
  213. .invite-calling-list {
  214. display: flex;
  215. flex-wrap: wrap;
  216. width: 100%;
  217. justify-content: flex-start
  218. }
  219. .invite-calling-item {
  220. flex: 0.5;
  221. /*设置最小宽度,才会让元素排不下,导致换行排列*/
  222. min-width: 50%;
  223. height: 187px;
  224. position: relative;
  225. }
  226. .invite-calling-item image {
  227. width: 100%;
  228. height: 100%;
  229. }
  230. .invite-calling-item-message {
  231. position: absolute;
  232. top: 0;
  233. left: 0;
  234. float: left;
  235. background: rgba(0, 0, 0, 0.60);
  236. width: 100%;
  237. height: 100%;
  238. z-index: 2;
  239. }
  240. .invite-calling-item-loadimg {
  241. position: absolute;
  242. left: calc(50% - 20px);
  243. top: calc(50% - 20px);
  244. width: 40px;
  245. height: 40px;
  246. -webkit-transform: rotate(360deg);
  247. animation: rotation 2s linear infinite;
  248. -moz-animation: rotation 2s linear infinite;
  249. -webkit-animation: rotation 2s linear infinite;
  250. -o-animation: rotation 2s linear infinite;
  251. }
  252. @-webkit-keyframes rotation {
  253. from {
  254. -webkit-transform: rotate(0deg);
  255. }
  256. to {
  257. -webkit-transform: rotate(360deg);
  258. }
  259. }
  260. .invite-calling-item-loadimg image {
  261. width: 100%;
  262. height: 100%;
  263. }
  264. .invite-calling-item-id {
  265. position: absolute;
  266. left: 2%;
  267. bottom: 2%;
  268. font-family: PingFangSC-Regular;
  269. font-weight: 400;
  270. font-size: 12px;
  271. color: #FFFFFF;
  272. }
  273. .avatar {
  274. background-color: black;
  275. }
  276. /* 被叫者 */
  277. .invite-txt {
  278. width: 126px;
  279. height: 20px;
  280. font-family: PingFangSC-Regular;
  281. font-weight: 400;
  282. font-size: 14px;
  283. color: #333333;
  284. letter-spacing: 0;
  285. margin: 16px auto 60px auto;
  286. }
  287. .invite-other-txt {
  288. width: 112px;
  289. height: 20px;
  290. font-family: PingFangSC-Regular;
  291. font-weight: 400;
  292. font-size: 14px;
  293. color: #333333;
  294. letter-spacing: 0;
  295. margin: 0 auto 24px auto;
  296. }
  297. .invite-other-list {
  298. position: absolute;
  299. left: 14vw;
  300. margin-top: 0 auto;
  301. display: flex;
  302. flex-wrap: wrap;
  303. width: 272px;
  304. justify-content: center;
  305. flex-wrap: wrap;
  306. }
  307. .invite-other-item {
  308. flex: 0.25;
  309. /*设置最小宽度,才会让元素排不下,导致换行排列*/
  310. text-align: center;
  311. max-width: 64px;
  312. margin: 2px;
  313. }
  314. .invite-other-item image {
  315. border-radius: 10%;
  316. max-width: 64px;
  317. height: 64px;
  318. }
  319. .invite-other-item-name {
  320. font-family: PingFangSC-Regular;
  321. font-weight: 400;
  322. font-size: 12px;
  323. color: #666666;
  324. letter-spacing: 0;
  325. line-height: 18px;
  326. }