1v1.wxss 2.1 KB

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