collection.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. /* 返回 */
  2. .nav {
  3. background-color: #101010;
  4. z-index: 3;
  5. position: fixed;
  6. top: 0;
  7. left: 0;
  8. width: 100%;
  9. /* height: 10%; */
  10. height: .88rem;
  11. display: flex;
  12. }
  13. .back{
  14. position: absolute;
  15. left: 0;
  16. top: 0;
  17. z-index: 3;
  18. width: 10%;
  19. height: .88rem;
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. }
  24. .back img {
  25. width: .18rem;
  26. }
  27. /* 页面标题 */
  28. .pageTitle {
  29. height: .88rem;
  30. width: 100%;
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. }
  35. /* 主要展示区 */
  36. .main {
  37. padding: 1rem .26rem 0;
  38. min-height: 70vh;
  39. }
  40. /* 视频 */
  41. .video {
  42. padding: .3rem 0 0;
  43. display: flex;
  44. flex-direction: column;
  45. /* justify-content: center; */
  46. align-items: center;
  47. }
  48. /* 单条视频 */
  49. .videoContent {
  50. background-color: #1C1A1B;
  51. width: 100%;
  52. border-radius: 5px;
  53. margin-bottom: .4rem;
  54. }
  55. .loading {
  56. display: flex;
  57. flex-direction: column;
  58. align-items: center;
  59. justify-content: center;
  60. }
  61. .loadingImg {
  62. width: 80px;
  63. height: 76px;
  64. }
  65. .loadingText {
  66. text-align: center;
  67. margin-top: 4px;
  68. color: #8E8D8D;
  69. font-size: 12px;
  70. }
  71. .videoPhoto {
  72. position: relative;
  73. width: 100%;
  74. height: 3.6rem;
  75. background-repeat: no-repeat;
  76. background-position: 50% 50%;
  77. background-size: cover;
  78. border-top-left-radius:4px;
  79. border-top-right-radius:4px;
  80. }
  81. .videoTitle {
  82. margin: .1rem .3rem;
  83. font-size: .28rem;
  84. /* 两行展示 */
  85. overflow: hidden;
  86. display: -webkit-box;
  87. -webkit-line-clamp: 2;
  88. -webkit-box-orient: vertical;
  89. word-break: break-all;
  90. }
  91. .videoTime {
  92. position: absolute;
  93. bottom: .1rem;
  94. right: .1rem;
  95. width: 1.6rem;
  96. background-color: rgba(0, 0, 0, 0.6);
  97. border-radius: .1rem;
  98. height: .4rem;
  99. line-height: .4rem;
  100. text-align: center;
  101. }
  102. .close {
  103. position: absolute;
  104. top: .1rem;
  105. right: .1rem;
  106. width: .8rem;
  107. height: .8rem;
  108. }
  109. .closeImg {
  110. float: right;
  111. width: .4rem;
  112. height: .4rem;
  113. }
  114. .backToTop {
  115. position: fixed;
  116. bottom: 1.3rem;
  117. right: .3rem;
  118. width: .68rem;
  119. height: .68rem;
  120. display: none;
  121. }
  122. .backToTopImg {
  123. width: 100%;
  124. height: 100%;
  125. opacity: .5;
  126. }
  127. .textwrap {
  128. display: flex;
  129. justify-content: center;
  130. align-items: center;
  131. }
  132. .tiptext {
  133. background-color: #000;
  134. border-radius: .1rem;
  135. text-align: center;
  136. padding: .1rem .2rem;
  137. }
  138. .tip {
  139. width: 6rem;
  140. color: #fff;
  141. position: absolute;
  142. top: 50%;
  143. left: 50%;
  144. transform: translate(-50%,-50%);
  145. display: none;
  146. }
  147. .container {
  148. width: 100vw;
  149. min-height: 100vh;
  150. position: relative;
  151. }
  152. .footer {
  153. width: 100%;
  154. }