video.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. /* pages/collect-video/video/video.wxss */
  2. .nav-bar {
  3. background-color: #fff;
  4. position: relative;
  5. }
  6. .icon-back {
  7. width: 50rpx;
  8. height: 50rpx;
  9. position: absolute;
  10. left: 15px;
  11. }
  12. .collect-video-container {
  13. height: 100vh;
  14. background-color: #f8f8f8;
  15. position: relative;
  16. }
  17. .video-main {
  18. position: relative;
  19. width: 100%;
  20. height: 500rpx;
  21. }
  22. .my-video {
  23. position: relative;
  24. width: 100%;
  25. height: 100%;
  26. }
  27. .reward-mask {
  28. width: 100%;
  29. height: 100%;
  30. display: flex;
  31. flex-direction: column;
  32. justify-content: center;
  33. align-items: center;
  34. background-color: #333;
  35. }
  36. .reward-btn {
  37. background-color: #1b8edb;
  38. width: 460rpx;
  39. height: 80rpx;
  40. display: flex;
  41. justify-content: center;
  42. align-items: center;
  43. color: #ffffff;
  44. font-size: 26rpx;
  45. border-radius: 8rpx;
  46. margin-bottom: 20rpx;
  47. }
  48. .reward-btn .icon-lock {
  49. width: 40rpx;
  50. height: 40rpx;
  51. margin-right: 10rpx;
  52. }
  53. .reward-tip {
  54. color: #ffffff;
  55. font-size: 24rpx;
  56. padding-top: 20rpx;
  57. }
  58. /* 加载中样式 */
  59. .loading-container {
  60. position: absolute;
  61. top: 0;
  62. left: 0;
  63. right: 0;
  64. bottom: 0;
  65. display: flex;
  66. flex-direction: column;
  67. justify-content: center;
  68. align-items: center;
  69. background-color: #000;
  70. }
  71. .loading-spinner {
  72. width: 80rpx;
  73. height: 80rpx;
  74. border: 6rpx solid rgba(255, 255, 255, 0.1);
  75. border-left-color: #fff;
  76. border-radius: 50%;
  77. animation: spin 1s linear infinite;
  78. }
  79. @keyframes spin {
  80. to {
  81. transform: rotate(360deg);
  82. }
  83. }
  84. .loading-text {
  85. margin-top: 20rpx;
  86. font-size: 28rpx;
  87. color: rgba(255, 255, 255, 0.7);
  88. }
  89. .video-info {
  90. padding: 30rpx;
  91. }
  92. .video-info .video-title {
  93. width: 100%;
  94. font-size: 34rpx;
  95. font-family:
  96. PingFang SC,
  97. PingFang SC-Bold;
  98. letter-spacing: 2rpx;
  99. font-weight: bold;
  100. overflow: hidden;
  101. white-space: wrap;
  102. }
  103. .video-desc {
  104. margin-top: 30rpx;
  105. margin-bottom: 30rpx;
  106. }
  107. .video-desc .xuanji {
  108. color: #666;
  109. font-size: 30rpx;
  110. margin-right: 20rpx;
  111. }
  112. .video-desc .total-ep {
  113. color: #999;
  114. font-size: 30rpx;
  115. margin-right: 20rpx;
  116. }
  117. .video-desc .ep-tip {
  118. color: #bbb;
  119. font-size: 30rpx;
  120. }
  121. .video-eps-scroll {
  122. width: 100%;
  123. }
  124. .video-eps {
  125. display: flex;
  126. flex-wrap: nowrap;
  127. }
  128. .ep-item {
  129. flex-shrink: 0;
  130. width: 200rpx;
  131. height: 140rpx;
  132. border-radius: 8rpx;
  133. position: relative;
  134. margin-right: 15rpx;
  135. }
  136. .ep-item .ep-item-title {
  137. width: 200rpx;
  138. height: 50rpx;
  139. position: absolute;
  140. top: 0;
  141. left: 0;
  142. color: #fff;
  143. background-color: rgba(0, 0, 0, 0.7);
  144. border-top-left-radius: 8rpx;
  145. border-top-right-radius: 8rpx;
  146. display: flex;
  147. justify-content: center;
  148. align-items: center;
  149. font-size: 26rpx;
  150. }
  151. .ep-item .ep-item-title .icon {
  152. width: 30rpx;
  153. height: 30rpx;
  154. margin-right: 15rpx;
  155. }
  156. .ep-item .ep-item-cover {
  157. width: 100%;
  158. height: 100%;
  159. border-radius: 8rpx;
  160. }
  161. .title {
  162. padding-left: 30rpx;
  163. font-size: 34rpx;
  164. color: #111;
  165. }
  166. /* 列表容器 */
  167. .list-container {
  168. background-color: #f8f8f8;
  169. }
  170. .list {
  171. padding: 30rpx;
  172. box-sizing: border-box;
  173. }
  174. /* 视频卡片样式 */
  175. .video-item {
  176. position: relative;
  177. margin-bottom: 20rpx;
  178. display: flex;
  179. }
  180. .video-cover-container {
  181. width: 240rpx;
  182. height: 160rpx;
  183. padding-right: 20rpx;
  184. }
  185. .video-cover-container .video-cover {
  186. width: 100%;
  187. height: 100%;
  188. border-radius: 8rpx;
  189. }
  190. .video-item-right {
  191. flex: 1;
  192. display: flex;
  193. flex-direction: column;
  194. justify-content: space-between;
  195. }
  196. .video-item-right .video-title {
  197. font-size: 34rpx;
  198. color: #333;
  199. }
  200. .video-item-right .video-play-count .icon {
  201. width: 30rpx;
  202. height: 30rpx;
  203. margin-right: 20rpx;
  204. }
  205. .video-item-right .video-play-count {
  206. font-size: 28rpx;
  207. color: #bfbfbf;
  208. display: flex;
  209. align-items: center;
  210. margin-top: 20rpx;
  211. }
  212. /* 加载状态样式 */
  213. .loading-status {
  214. padding: 30rpx 0;
  215. text-align: center;
  216. font-size: 28rpx;
  217. color: #999;
  218. }
  219. .loading {
  220. display: flex;
  221. flex-direction: column;
  222. align-items: center;
  223. justify-content: center;
  224. height: 100rpx;
  225. }
  226. .loading-spinner {
  227. width: 40rpx;
  228. height: 40rpx;
  229. border: 4rpx solid #f3f3f3;
  230. border-top: 4rpx solid #07c160;
  231. border-radius: 50%;
  232. animation: spin 1s linear infinite;
  233. margin-bottom: 10rpx;
  234. }
  235. .finished {
  236. height: 80rpx;
  237. line-height: 80rpx;
  238. color: #999;
  239. }
  240. .empty {
  241. display: flex;
  242. flex-direction: column;
  243. align-items: center;
  244. justify-content: center;
  245. padding: 100rpx 0;
  246. }
  247. .empty-icon {
  248. width: 200rpx;
  249. height: 200rpx;
  250. margin-bottom: 20rpx;
  251. }
  252. @keyframes spin {
  253. 0% {
  254. transform: rotate(0deg);
  255. }
  256. 100% {
  257. transform: rotate(360deg);
  258. }
  259. }