index.module.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. .coursewarePlay {
  2. position: relative;
  3. height: 100vh;
  4. background-color: rgba(89, 98, 126, 0.2);
  5. }
  6. .headerContainer {
  7. position: fixed;
  8. top: 0;
  9. left: 0;
  10. right: 0;
  11. z-index: 1;
  12. padding: 10Px 10Px 0 40Px;
  13. display: flex;
  14. align-items: center;
  15. }
  16. .backBtn {
  17. color: #fff;
  18. width: 40px;
  19. height: 26px;
  20. display: flex;
  21. justify-content: space-between;
  22. align-items: center;
  23. z-index: 10;
  24. }
  25. .menu {
  26. flex: 1;
  27. display: flex;
  28. justify-content: center;
  29. margin-left: 10Px;
  30. .menuLine {
  31. position: absolute;
  32. left: 0;
  33. top: 0;
  34. height: 100%;
  35. z-index: -1;
  36. background: #ff8057;
  37. transition: width 0.3s;
  38. }
  39. :global {
  40. .van-tabs__content,
  41. .van-tabs__line {
  42. display: none;
  43. }
  44. .van-tabs__wrap {
  45. height: 26px;
  46. }
  47. .van-tabs__nav {
  48. padding: 0;
  49. background: rgba(255, 128, 87, 0.5);
  50. .van-tab {
  51. color: #fff;
  52. font-size: 14px;
  53. }
  54. .van-tab:not(:first-child) {
  55. // border-left: 1px solid #fff;
  56. }
  57. .van-tab.van-tab--active {
  58. background: var(--van-primary);
  59. }
  60. }
  61. }
  62. }
  63. .tabsContent {
  64. width: 100vw;
  65. height: 100vh;
  66. :global {
  67. .van-tabs__wrap {
  68. display: none !important;
  69. }
  70. .van-tabs__content {
  71. width: 100%;
  72. height: 100%;
  73. }
  74. }
  75. }
  76. .videoItem {
  77. width: 100%;
  78. height: 100%;
  79. --plyr-color-main: var(--van-primary);
  80. video {
  81. width: 100%;
  82. height: 100%;
  83. }
  84. :global {
  85. .plyr {
  86. height: 100%;
  87. }
  88. }
  89. }
  90. .imgItem {
  91. width: 100%;
  92. height: 100%;
  93. img {
  94. display: block;
  95. width: 100%;
  96. height: 100%;
  97. object-fit: contain;
  98. }
  99. }
  100. .songItem {
  101. width: 100%;
  102. height: 100%;
  103. }
  104. .fullBtn {
  105. position: fixed;
  106. top: 50%;
  107. right: 40px;
  108. width: 38px;
  109. height: 55px;
  110. transform: translateY(-50%);
  111. background: rgba(51, 51, 51, 0.15);
  112. border-radius: 8px;
  113. display: flex;
  114. flex-direction: column;
  115. align-items: center;
  116. color: #fff;
  117. justify-content: space-evenly;
  118. &:active {
  119. opacity: 0.8;
  120. }
  121. }
  122. .popup {
  123. background: transparent;
  124. }
  125. .overlayClass {
  126. --van-overlay-background: transparent;
  127. }
  128. :global{
  129. .top-enter-active,
  130. .top-leave-active {
  131. transition: transform 0.5s;
  132. }
  133. .top-enter-from,
  134. .top-leave-to {
  135. transform: translateY(-100%);
  136. }
  137. }