index.module.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. .coursewarePlay {
  2. position: relative;
  3. height: 100vh;
  4. background-color: rgba(89, 98, 126, 0.2);
  5. }
  6. .playModel {
  7. position: absolute;
  8. left: 0;
  9. top: 0;
  10. right: 0;
  11. bottom: 0;
  12. box-shadow: inset 0px 0px 164px 0px rgba(0, 0, 0, 1);
  13. pointer-events: none;
  14. }
  15. .headerContainer {
  16. position: fixed;
  17. top: 0;
  18. left: 0;
  19. right: 0;
  20. z-index: 1;
  21. padding: 10px 24px;
  22. display: flex;
  23. align-items: center;
  24. color: #fff;
  25. font-size: 12px;
  26. background: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent);
  27. }
  28. .backBtn {
  29. color: #fff;
  30. width: 40px;
  31. height: 26px;
  32. display: flex;
  33. justify-content: space-between;
  34. align-items: center;
  35. z-index: 10;
  36. }
  37. .menu {
  38. flex: 1;
  39. display: flex;
  40. justify-content: center;
  41. color: #fff;
  42. }
  43. .tabsContent {
  44. width: 100vw;
  45. height: 100vh;
  46. :global {
  47. .van-tabs__wrap {
  48. display: none !important;
  49. }
  50. .van-tabs__content {
  51. width: 100%;
  52. height: 100%;
  53. }
  54. }
  55. }
  56. .itemDiv {
  57. position: relative;
  58. width: 100%;
  59. height: 100%;
  60. video {
  61. width: 100%;
  62. height: 100%;
  63. }
  64. img {
  65. display: block;
  66. width: 100%;
  67. height: 100%;
  68. object-fit: contain;
  69. }
  70. }
  71. .videoModel{
  72. position: absolute;
  73. top: 0;
  74. left: 0;
  75. width: 100%;
  76. height: 100%;
  77. display: flex;
  78. justify-content: center;
  79. align-items: center;
  80. & > img{
  81. width: 50px;
  82. height: 50px;
  83. }
  84. }
  85. .rightFixedBtns {
  86. position: fixed;
  87. top: 50%;
  88. transform: translateY(-50%);
  89. right: 20px;
  90. .point {
  91. margin-top: 10px;
  92. border-bottom-left-radius: 0;
  93. border-bottom-right-radius: 0;
  94. }
  95. .point + .fullBtn {
  96. border-top-left-radius: 0;
  97. border-top-right-radius: 0;
  98. }
  99. }
  100. .leftFixedBtns {
  101. position: fixed;
  102. top: 50%;
  103. transform: translateY(-50%);
  104. left: 20px;
  105. .prePoint {
  106. margin-bottom: 8px;
  107. }
  108. }
  109. .fullBtn {
  110. width: 38px;
  111. height: 55px;
  112. background: rgba(51, 51, 51, 0.15);
  113. border-radius: 8px;
  114. display: flex;
  115. flex-direction: column;
  116. align-items: center;
  117. color: #fff;
  118. justify-content: space-evenly;
  119. &:active {
  120. opacity: 0.8;
  121. }
  122. }
  123. .bottomFixedContainer {
  124. position: absolute;
  125. left: 0;
  126. right: 0;
  127. bottom: 0;
  128. z-index: 10;
  129. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent);
  130. padding: 0 30px;
  131. .time {
  132. display: flex;
  133. justify-content: space-between;
  134. color: #fff;
  135. font-size: 10px;
  136. padding: 4px 0;
  137. }
  138. .slider {
  139. padding: 10px 0;
  140. }
  141. .actions {
  142. display: flex;
  143. justify-content: space-between;
  144. color: #fff;
  145. font-size: 12px;
  146. align-items: center;
  147. .actionBtn{
  148. display: flex;
  149. }
  150. .actionBtn > img {
  151. width: 26px;
  152. height: 26px;
  153. display: block;
  154. padding: 8px 8px 14px 8px;
  155. }
  156. }
  157. }
  158. .popup {
  159. background: rgba(0, 0, 0, 0.5);
  160. }
  161. .overlayClass {
  162. --van-overlay-background: transparent;
  163. }
  164. :global {
  165. .top-enter-active,
  166. .top-leave-active {
  167. transition: transform 0.5s;
  168. }
  169. .top-enter-from,
  170. .top-leave-to {
  171. transform: translateY(-100%);
  172. }
  173. .left-enter-active,
  174. .left-leave-active {
  175. transition: all 0.5s;
  176. }
  177. .left-enter-from,
  178. .left-leave-to {
  179. left: -60px;
  180. }
  181. .right-enter-active,
  182. .right-leave-active {
  183. transition: all 0.5s;
  184. }
  185. .right-enter-from,
  186. .right-leave-to {
  187. right: -60px;
  188. }
  189. .bottom-enter-active,
  190. .bottom-leave-active {
  191. transition: transform 0.5s;
  192. }
  193. .bottom-enter-from,
  194. .bottom-leave-to {
  195. transform: translateY(100%);
  196. }
  197. }