index.module.less 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. .playContent {
  2. width: 100vw;
  3. height: 100vh;
  4. background-color: #000;
  5. overflow: hidden;
  6. --plyr-color-main: var(--van-primary);
  7. --plyr-range-track-height: 3px;
  8. }
  9. .coursewarePlay {
  10. position: relative;
  11. height: 100vh;
  12. margin: 0 auto;
  13. overflow: hidden;
  14. }
  15. .playModel {
  16. position: absolute;
  17. left: 0;
  18. top: 0;
  19. right: 0;
  20. bottom: 0;
  21. box-shadow: inset 0px 0px 164px 0px rgba(0, 0, 0, 1);
  22. pointer-events: none;
  23. }
  24. .headerContainer {
  25. position: fixed;
  26. top: 0;
  27. left: 0;
  28. right: 0;
  29. z-index: 10;
  30. display: flex;
  31. align-items: center;
  32. justify-content: space-between;
  33. height: 40px;
  34. background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
  35. transition: transform 0.5s;
  36. box-sizing: border-box;
  37. pointer-events: none;
  38. div {
  39. box-sizing: border-box;
  40. }
  41. }
  42. .backBtn {
  43. color: #fff;
  44. height: 100%;
  45. display: flex;
  46. justify-content: space-between;
  47. align-items: center;
  48. z-index: 10;
  49. padding: 0 15px;
  50. pointer-events: auto;
  51. :global {
  52. .van-icon {
  53. margin-right: 8px;
  54. }
  55. }
  56. }
  57. .headRight {
  58. position: relative;
  59. z-index: 10;
  60. display: flex;
  61. align-items: center;
  62. margin-left: auto;
  63. height: 100%;
  64. padding-right: 15px;
  65. .rightBtn {
  66. display: flex;
  67. justify-content: center;
  68. align-items: center;
  69. height: 100%;
  70. padding: 0 10px;
  71. img {
  72. width: 22px;
  73. height: 22px;
  74. display: block;
  75. }
  76. }
  77. }
  78. .menu {
  79. position: absolute;
  80. width: 100%;
  81. height: 100%;
  82. display: flex;
  83. justify-content: center;
  84. align-items: center;
  85. font-size: 12px;
  86. color: #fff;
  87. }
  88. .tabsContent {
  89. width: 100vw;
  90. height: 100vh;
  91. :global {
  92. .van-tabs__wrap {
  93. display: none !important;
  94. }
  95. .van-tabs__content {
  96. width: 100%;
  97. height: 100%;
  98. }
  99. }
  100. }
  101. .wraps {
  102. width: 100%;
  103. height: 100%;
  104. // transform-style: preserve-3d;
  105. perspective: (32rem);
  106. transition-timing-function: initial;
  107. }
  108. .itemDiv {
  109. position: absolute;
  110. left: 0;
  111. top: 0;
  112. width: calc(100% + 4Px);
  113. height: 100%;
  114. background-color: #000;
  115. transform-style: preserve-3d;
  116. transition-property: transform, opacity, height;
  117. backface-visibility: hidden;
  118. overflow: hidden;
  119. z-index: 1;
  120. .memberLock {
  121. position: absolute;
  122. // inset: 0;
  123. left: 0;
  124. right: 0;
  125. top: 0;
  126. bottom: 0;
  127. width: 100%;
  128. height: 100%;
  129. background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.5) 53%, rgba(0, 0, 0, 0.05) 100%);
  130. backdrop-filter: blur(4px);
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. flex-direction: column;
  135. z-index: 99;
  136. .memberLockBg {
  137. width: 303px;
  138. height: 91px;
  139. margin-bottom: 14px;
  140. }
  141. .selectIcon {
  142. width: 137px;
  143. height: 36px;
  144. }
  145. }
  146. .tempoPracticeGroup {
  147. width: 100%;
  148. }
  149. &.itemActive {
  150. z-index: 10;
  151. }
  152. &.acitveAnimation {
  153. transition-duration: .8s;
  154. }
  155. &.show {
  156. display: block;
  157. }
  158. &.hide {
  159. display: none;
  160. }
  161. video {
  162. width: 100%;
  163. height: 100%;
  164. }
  165. img {
  166. display: block;
  167. width: 100%;
  168. height: 100%;
  169. object-fit: contain;
  170. }
  171. }
  172. .rightFixedBtns {
  173. position: absolute;
  174. top: 50%;
  175. transform: translateY(-55%);
  176. right: 12px;
  177. z-index: 10;
  178. }
  179. .fullBtn {
  180. width: 38px;
  181. height: 46px;
  182. display: flex;
  183. flex-direction: column;
  184. align-items: center;
  185. color: #fff;
  186. justify-content: space-evenly;
  187. overflow: hidden;
  188. white-space: nowrap;
  189. background: rgba(51, 51, 51, 0.4);
  190. border-radius: 6px;
  191. overflow: hidden;
  192. &:not(:last-child):not(:first-child) {
  193. margin: 8px 0;
  194. }
  195. &:active {
  196. opacity: .8;
  197. }
  198. &.btnsDisabled {
  199. opacity: .3;
  200. pointer-events: none;
  201. }
  202. }
  203. .popup {
  204. background: rgba(0, 0, 0, 0.5);
  205. box-shadow: -5px 0 10px 0 rgba(0, 0, 0, 0.1);
  206. }
  207. .overlayClass {
  208. --van-overlay-background: transparent;
  209. }
  210. :global {
  211. .top-enter-active,
  212. .top-leave-active {
  213. transition: transform 0.5s;
  214. }
  215. .top-enter-from,
  216. .top-leave-to {
  217. transform: translateY(-100%);
  218. }
  219. .right-enter-active,
  220. .right-leave-active {
  221. transition: all 0.5s;
  222. }
  223. .right-enter-from,
  224. .right-leave-to {
  225. right: -60px;
  226. opacity: 0;
  227. }
  228. .bottom-enter-active,
  229. .bottom-leave-active {
  230. transition: transform 0.5s;
  231. }
  232. .bottom-enter-from,
  233. .bottom-leave-to {
  234. transform: translateY(100%);
  235. }
  236. }
  237. .loadWrap {
  238. position: absolute;
  239. left: 0;
  240. top: 0;
  241. right: 0;
  242. bottom: 0;
  243. background: linear-gradient(45deg, #21232a, #111218);
  244. display: flex;
  245. justify-content: center;
  246. align-items: center;
  247. }