1v1.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. display: none;
  35. }
  36. .template-1v1 .loading-img {
  37. height: 200rpx;
  38. display:flex;
  39. justify-content: center;
  40. align-items: center;
  41. animation: rotate 2s linear infinite;
  42. }
  43. .template-1v1 .rotate-img {
  44. width:160rpx;
  45. height: 160rpx;
  46. }
  47. .template-1v1 .loading-text {
  48. width: 100%;
  49. padding-top: 40rpx;
  50. text-align: center;
  51. }
  52. @keyframes rotate {
  53. 0%{ transform: rotate(0deg);}
  54. 50%{ transform: rotate(180deg);}
  55. 100%{ transform: rotate(360deg);}
  56. }
  57. .template-1v1 .player-container:nth-child(1){
  58. width: 100vw;
  59. height: 100vh;
  60. }
  61. .template-1v1 .handle-btns {
  62. position: absolute;
  63. z-index: 3;
  64. bottom: 15vh;
  65. width: 100vw;
  66. display: none;
  67. flex-direction: row;
  68. justify-content: space-around;
  69. }
  70. .template-1v1 .bottom-btns {
  71. position: absolute;
  72. z-index: 3;
  73. bottom: 3vh;
  74. width: 100vw;
  75. display: none;
  76. flex-direction: row;
  77. justify-content: space-around;
  78. }
  79. .template-1v1 image {
  80. width: 4vh;
  81. height: 4vh;
  82. }
  83. .template-1v1 .btn-normal {
  84. width: 8vh;
  85. height: 8vh;
  86. box-sizing: border-box;
  87. display: flex;
  88. background: white;
  89. justify-content: center;
  90. align-items: center;
  91. border-radius: 50%;
  92. }
  93. .template-1v1 .btn-hangup {
  94. width: 8vh;
  95. height: 8vh;
  96. background: #f75c45;
  97. box-sizing: border-box;
  98. display: flex;
  99. justify-content: center;
  100. align-items: center;
  101. border-radius: 50%;
  102. }