calling.wxss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. .footer {
  2. position: absolute;
  3. bottom: 5vh;
  4. width: 100%;
  5. display: flex;
  6. flex-direction: column;
  7. justify-content: center;
  8. align-items: center;
  9. }
  10. .button-container {
  11. display: flex;
  12. flex-direction: column;
  13. text-align: center;
  14. }
  15. .btn-operate {
  16. display: flex;
  17. justify-content: space-between;
  18. /* flex-direction: column;
  19. text-align: center; */
  20. }
  21. .btn-operate-item{
  22. display: flex;
  23. flex-direction: column;
  24. align-items: center;
  25. margin-bottom: 20px;
  26. }
  27. .btn-operate-item text {
  28. font-size: 14px;
  29. color: #f0e9e9;
  30. padding: 5px;
  31. letter-spacing: 0;
  32. font-weight: 400;
  33. }
  34. .call-switch text{
  35. padding: 5px;
  36. color: #f0e9e9;
  37. font-size: 14px;
  38. }
  39. .call-operate {
  40. width: 8vh;
  41. height: 8vh;
  42. border-radius: 8vh;
  43. margin: 0 15vw;
  44. box-sizing: border-box;
  45. display: flex;
  46. justify-content: center;
  47. align-items: center;
  48. }
  49. .call-switch .call-operate {
  50. width: 4vh;
  51. height: 3vh;
  52. }
  53. .call-operate image {
  54. width: 100%;
  55. height: 100%;
  56. background: none;
  57. }
  58. .tips {
  59. font-size: 20px;
  60. color: #FFFFFF;
  61. letter-spacing: 0;
  62. margin: 0 auto;
  63. /* text-shadow: 0 1px 2px rgba(0,0,0,0.40); */
  64. font-weight: 600;
  65. max-width: 150px;
  66. overflow: hidden;
  67. text-overflow: ellipsis;
  68. white-space: nowrap;
  69. }
  70. .tips-subtitle {
  71. font-family: PingFangSC-Regular;
  72. font-size: 14px;
  73. color: #FFFFFF;
  74. letter-spacing: 0;
  75. text-align: right;
  76. /* text-shadow: 0 1px 2px rgba(0,0,0,0.30); */
  77. font-weight: 400;
  78. }
  79. .invite-call {
  80. /* background: #ffffff; */
  81. position: absolute;
  82. top: 0;
  83. z-index: 100;
  84. width: 100vw;
  85. height: 100vh;
  86. background-color: black;
  87. }
  88. .transition-animation {
  89. transform: translateY(-100%);
  90. animation: slideInDown 0.5s ease forwards;
  91. }
  92. @keyframes slideInDown {
  93. from {
  94. transform: translateY(-100%);
  95. }
  96. to {
  97. transform: translateY(0);
  98. }
  99. }
  100. .invite-call .local-video {
  101. width: 100vw;
  102. height: 100vh;
  103. }
  104. .invite-call .invite-calling {
  105. position: absolute;
  106. top: 0;
  107. z-index: 101;
  108. width: 100vw;
  109. height: 100vh;
  110. }
  111. .invite-calling-header {
  112. margin-top:107px;
  113. display: flex;
  114. justify-content: flex-end;
  115. padding: 0 16px;
  116. }
  117. .btn-container {
  118. display: flex;
  119. align-items: center;
  120. position: relative;
  121. }
  122. .invite-calling-header-left {
  123. position: absolute;
  124. right: 0;
  125. }
  126. .invite-calling-header-left image {
  127. width: 32px;
  128. height: 32px;
  129. }
  130. .invite-calling-header-right {
  131. display: flex;
  132. align-items: center;
  133. }
  134. .invite-calling-header-message {
  135. display: flex;
  136. flex-direction: column;
  137. padding: 0 16px;
  138. }
  139. .invite-calling-header-right image {
  140. width: 100px;
  141. height: 100px;
  142. border-radius: 12px;
  143. }
  144. .invite-calling .footer {
  145. position: absolute;
  146. bottom: 5vh;
  147. width: 100%;
  148. }
  149. .invite-calling .btn-operate{
  150. display: flex;
  151. justify-content: center;
  152. align-items: center;
  153. }
  154. .hidden {
  155. display: none;
  156. }
  157. .trtc-calling {
  158. width: 100vw;
  159. height: 100vh;
  160. overflow: hidden;
  161. margin: 0;
  162. z-index: 99;
  163. }
  164. .audio-call {
  165. width: 100vw;
  166. height: 100vh;
  167. position: absolute;
  168. top: 0;
  169. z-index: 100;
  170. background: #FFFFFF;
  171. }
  172. .audio-call > .btn-operate{
  173. display: flex;
  174. justify-content: center;
  175. }
  176. .audio-call > image {
  177. width: 40vw;
  178. height: 40vw;
  179. display: block;
  180. margin: 20vw 30vw;
  181. margin-top: 40vw;
  182. }
  183. .invite-calling-single > image {
  184. width: 120px;
  185. height: 120px;
  186. border-radius: 12px;
  187. display: block;
  188. margin: 140px auto 15px;
  189. /* margin: 20vw 30vw; */
  190. }
  191. .invite-calling-single .tips {
  192. width: 100%;
  193. height: 40px;
  194. line-height: 40px;
  195. text-align: center;
  196. font-size: 20px;
  197. color: #333333;
  198. letter-spacing: 0;
  199. font-weight: 500;
  200. }
  201. .invite-calling-single .tips-subtitle {
  202. height: 20px;
  203. font-family: PingFangSC-Regular;
  204. font-size: 14px;
  205. color: #97989C;
  206. letter-spacing: 0;
  207. font-weight: 400;
  208. text-align: center;
  209. }
  210. .invite-calling-list {
  211. justify-content: flex-start;
  212. }
  213. .invite-calling-item {
  214. position: relative;
  215. margin: 0 12px;
  216. }
  217. .invite-calling-item image {
  218. width: 100px;
  219. height: 100px;
  220. border-radius: 12px;
  221. }
  222. .invite-calling-item-message {
  223. position: absolute;
  224. background: rgba(0, 0, 0, 0.5);
  225. width: 100px;
  226. height: 100px;
  227. top: 0;
  228. left: 0;
  229. z-index: 2;
  230. display: flex;
  231. flex-direction: column;
  232. align-items: center;
  233. justify-content: center;
  234. }
  235. .avatar {
  236. background: #dddddd;
  237. }