1v1.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. @charset "UTF-8";
  2. /* 1v1 视频电话模式 */
  3. .template-1v1 {
  4. width: 100vw;
  5. height: 100%;
  6. position: relative;
  7. background-image: linear-gradient(180deg, #000000 22%, #354C57 96%);
  8. filter: blur(40);
  9. }
  10. .template-1v1.vertical {
  11. height: 100vh;
  12. }
  13. .template-1v1 .view-container {
  14. width: 50vw;
  15. height: 100%;
  16. position: absolute;
  17. top: 0;
  18. z-index: 2;
  19. }
  20. .template-1v1.vertical .view-container {
  21. padding-bottom: 88%;
  22. height: 0;
  23. top: 17%;
  24. }
  25. .template-1v1 .pusher-container {
  26. position: absolute;
  27. right: 0;
  28. }
  29. .template-1v1 .pusher-container.fullscreen {
  30. width: 100vw;
  31. height: 100vh;
  32. top: 0;
  33. right: 0;
  34. }
  35. .template-1v1 .loading {
  36. position: absolute;
  37. top: 40vh;
  38. left: 50vw;
  39. transform: translate(-50%, 0);
  40. width: 300rpx;
  41. height: 250rpx;
  42. border-radius: 12rpx;
  43. background: rgba(0, 0, 0, 0.6);
  44. color: white;
  45. padding: 40rpx;
  46. display: flex;
  47. flex-direction: column;
  48. }
  49. .template-1v1 .loading-img {
  50. height: 200rpx;
  51. display: flex;
  52. justify-content: center;
  53. align-items: center;
  54. animation: rotate 2s linear infinite;
  55. }
  56. .template-1v1 .rotate-img {
  57. width: 160rpx;
  58. height: 160rpx;
  59. }
  60. .template-1v1 .loading-text {
  61. width: 100%;
  62. padding-top: 40rpx;
  63. text-align: center;
  64. }
  65. @keyframes rotate {
  66. 0% {
  67. transform: rotate(0deg);
  68. }
  69. 50% {
  70. transform: rotate(180deg);
  71. }
  72. 100% {
  73. transform: rotate(360deg);
  74. }
  75. }
  76. /* .template-1v1 .player-container:nth-child(1){
  77. width: 100vw;
  78. height: 100vh;
  79. } */
  80. .template-1v1 .handle-btns {
  81. position: absolute;
  82. z-index: 3;
  83. bottom: 15vh;
  84. width: 100vw;
  85. display: flex;
  86. flex-direction: row;
  87. justify-content: space-around;
  88. }
  89. .template-1v1 .bottom-btns {
  90. position: absolute;
  91. z-index: 3;
  92. bottom: 3vh;
  93. width: 100vw;
  94. display: flex;
  95. flex-direction: row;
  96. justify-content: space-around;
  97. }
  98. /* .template-1v1 image {
  99. width: 4vh;
  100. height: 4vh;
  101. } */
  102. .template-1v1 .btn-normal {
  103. width: 8vh;
  104. height: 8vh;
  105. box-sizing: border-box;
  106. display: flex;
  107. background: white;
  108. justify-content: center;
  109. align-items: center;
  110. border-radius: 50%;
  111. }
  112. .template-1v1 .btn-hangup .btn-image,
  113. .template-1v1 .btn-normal .btn-image {
  114. width: 4vh;
  115. height: 4vh;
  116. }
  117. .template-1v1 .btn-hangup {
  118. width: 8vh;
  119. height: 8vh;
  120. background: #f75c45;
  121. box-sizing: border-box;
  122. display: flex;
  123. justify-content: center;
  124. align-items: center;
  125. border-radius: 50%;
  126. }