video.wxss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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. height: calc(100vh - 500rpx);
  169. background-color: #f8f8f8;
  170. }
  171. .list {
  172. padding: 30rpx;
  173. box-sizing: border-box;
  174. }
  175. /* 视频卡片样式 */
  176. .video-item {
  177. position: relative;
  178. margin-bottom: 20rpx;
  179. display: flex;
  180. }
  181. .video-cover-container {
  182. width: 240rpx;
  183. height: 160rpx;
  184. padding-right: 20rpx;
  185. }
  186. .video-cover-container .video-cover {
  187. width: 100%;
  188. height: 100%;
  189. border-radius: 8rpx;
  190. }
  191. .video-item-right {
  192. flex: 1;
  193. display: flex;
  194. flex-direction: column;
  195. justify-content: space-between;
  196. }
  197. .video-item-right .video-title {
  198. font-size: 34rpx;
  199. color: #333;
  200. }
  201. .video-item-right .video-play-count .icon {
  202. width: 30rpx;
  203. height: 30rpx;
  204. margin-right: 20rpx;
  205. }
  206. .video-item-right .video-play-count {
  207. font-size: 28rpx;
  208. color: #bfbfbf;
  209. display: flex;
  210. align-items: center;
  211. margin-top: 20rpx;
  212. }
  213. /* 加载状态样式 */
  214. .loading-status {
  215. padding: 30rpx 0;
  216. text-align: center;
  217. font-size: 28rpx;
  218. color: #999;
  219. }
  220. .loading {
  221. display: flex;
  222. flex-direction: column;
  223. align-items: center;
  224. justify-content: center;
  225. height: 100rpx;
  226. }
  227. .loading-spinner {
  228. width: 40rpx;
  229. height: 40rpx;
  230. border: 4rpx solid #f3f3f3;
  231. border-top: 4rpx solid #07c160;
  232. border-radius: 50%;
  233. animation: spin 1s linear infinite;
  234. margin-bottom: 10rpx;
  235. }
  236. .finished {
  237. height: 80rpx;
  238. line-height: 80rpx;
  239. color: #999;
  240. }
  241. .empty {
  242. display: flex;
  243. flex-direction: column;
  244. align-items: center;
  245. justify-content: center;
  246. padding: 100rpx 0;
  247. }
  248. .empty-icon {
  249. width: 200rpx;
  250. height: 200rpx;
  251. margin-bottom: 20rpx;
  252. }
  253. @keyframes spin {
  254. 0% {
  255. transform: rotate(0deg);
  256. }
  257. 100% {
  258. transform: rotate(360deg);
  259. }
  260. }