1v1.wxss 2.0 KB

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