index.wxss 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. @keyframes numberMove {
  2. from {
  3. bottom: 20rpx;
  4. opacity: 1;
  5. }
  6. to {
  7. bottom: 200rpx;
  8. font-size: 50rpx;
  9. opacity: 0;
  10. }
  11. }
  12. .swiper_container {
  13. width: 100%;
  14. height: 100%;
  15. background: #eee;
  16. }
  17. .swiper_container .video-swiper {
  18. width: 100%;
  19. height: 100%;
  20. display: block;
  21. background: #ffffff;
  22. }
  23. .swiper_container .swiper_item {
  24. width: 100%;
  25. background: #ffffff;
  26. margin-bottom: 20rpx;
  27. padding-bottom: 20rpx;
  28. overflow: hidden;
  29. position: relative;
  30. }
  31. .swiper_container .swiper_item.no_swiper {
  32. max-height: 879rpx;
  33. min-height: 640rpx;
  34. }
  35. .swiper_container .swiper_item .head_box {
  36. width: 100%;
  37. height: 120rpx;
  38. display: flex;
  39. justify-content: space-between;
  40. padding-left: 20rpx;
  41. box-sizing: border-box;
  42. padding-right: 20rpx;
  43. position: relative;
  44. }
  45. .swiper_container .swiper_item .head_box .tag_icon {
  46. width: 66rpx;
  47. height: 34rpx;
  48. position: absolute;
  49. right: 0;
  50. top: 0;
  51. }
  52. .swiper_container .swiper_item .head_box .user_box {
  53. width: 378rpx;
  54. height: 100%;
  55. display: flex;
  56. align-items: center;
  57. position: relative;
  58. }
  59. .swiper_container .swiper_item .head_box .user_box .avatar {
  60. width: 80rpx;
  61. height: 80rpx;
  62. border: 2rpx solid green;
  63. border-radius: 50%;
  64. }
  65. .swiper_container .swiper_item .head_box .user_box .avatar_fans {
  66. width: 34rpx;
  67. height: 34rpx;
  68. position: absolute;
  69. bottom: 5rpx;
  70. left: 26rpx;
  71. }
  72. .swiper_container .swiper_item .head_box .user_box .user_right {
  73. margin-left: 16rpx;
  74. display: flex;
  75. align-items: center;
  76. }
  77. .swiper_container .swiper_item .head_box .user_box .user_right .nickname {
  78. font-size: 30rpx;
  79. color: rgba(0, 0, 0, 0.8);
  80. font-weight: bold;
  81. }
  82. .swiper_container .swiper_item .head_box .user_box .user_right .efun_tag {
  83. width: 68rpx;
  84. height: 30rpx;
  85. margin-left: 4rpx;
  86. }
  87. .swiper_container .swiper_item .head_box .time {
  88. display: flex;
  89. align-items: center;
  90. font-size: 30rpx;
  91. color: rgba(0, 0, 0, 0.8);
  92. }
  93. .swiper_container .swiper_item .head_box .my_btn {
  94. display: flex;
  95. align-items: center;
  96. }
  97. .swiper_container .swiper_item .head_box .my_btn .delete {
  98. display: flex;
  99. flex-direction: column;
  100. align-items: center;
  101. margin-right: 45rpx;
  102. }
  103. .swiper_container .swiper_item .head_box .my_btn .delete .download_image {
  104. width: 29rpx;
  105. height: 32rpx;
  106. margin-bottom: 2rpx;
  107. }
  108. .swiper_container .swiper_item .head_box .my_btn .delete .delete_image {
  109. width: 25rpx;
  110. height: 32rpx;
  111. margin-bottom: 2rpx;
  112. }
  113. .swiper_container .swiper_item .head_box .my_btn .delete .delete_text {
  114. font-size: 26rpx;
  115. color: rgba(0, 0, 0, 0.8);
  116. }
  117. .swiper_container .swiper_item .head_box .my_btn .hide {
  118. display: flex;
  119. flex-direction: column;
  120. align-items: center;
  121. margin-right: 23rpx;
  122. box-sizing: border-box;
  123. }
  124. .swiper_container .swiper_item .head_box .my_btn .hide .hide_image {
  125. width: 32rpx;
  126. height: 33rpx;
  127. margin-bottom: 1rpx;
  128. }
  129. .swiper_container .swiper_item .head_box .my_btn .hide .hide_text {
  130. font-size: 26rpx;
  131. color: rgba(0, 0, 0, 0.8);
  132. }
  133. .swiper_container .swiper_item .video_item {
  134. width: 100%;
  135. height: 422rpx;
  136. }
  137. .swiper_container .swiper_item .video_place {
  138. width: 100%;
  139. height: 430rpx;
  140. background: rgba(0, 0, 0, 0.3);
  141. display: flex;
  142. align-items: center;
  143. justify-content: center;
  144. position: relative;
  145. }
  146. .swiper_container .swiper_item .video_place .play_btn {
  147. width: 100rpx;
  148. height: 100rpx;
  149. position: absolute;
  150. top: 170rpx;
  151. left: 0;
  152. right: 0;
  153. margin: 0 auto;
  154. }
  155. .swiper_container .swiper_item .video_place .place_img {
  156. width: 100%;
  157. height: 100%;
  158. }
  159. .swiper_container .swiper_item .video_item_dialog {
  160. width: 100%;
  161. height: 422rpx;
  162. background: rgba(0, 0, 0, 0.3);
  163. display: flex;
  164. align-items: center;
  165. justify-content: center;
  166. position: absolute;
  167. z-index: 1;
  168. }
  169. .swiper_container .swiper_item .video_item_dialog .video_item_dialog_img {
  170. width: 215rpx;
  171. height: 215rpx;
  172. }
  173. .swiper_container .swiper_item .video_title {
  174. width: 100%;
  175. height: 58rpx;
  176. font-size: 34rpx;
  177. color: #373737;
  178. display: flex;
  179. align-items: center;
  180. padding-left: 27rpx;
  181. font-weight: bold;
  182. }
  183. .swiper_container .swiper_item .foot_box {
  184. width: 100%;
  185. height: 65rpx;
  186. margin-top: 43rpx;
  187. display: flex;
  188. justify-content: space-between;
  189. padding-left: 20rpx;
  190. }
  191. .swiper_container .swiper_item .foot_box .foot_left,
  192. .swiper_container .swiper_item .foot_box .foot_right {
  193. display: flex;
  194. align-items: center;
  195. position: relative;
  196. }
  197. .swiper_container .swiper_item .foot_box .video_btn {
  198. margin-right: 42rpx;
  199. font-size: 28rpx;
  200. color: rgba(0, 0, 0, 0.8);
  201. display: flex;
  202. flex-direction: row;
  203. align-items: center;
  204. }
  205. .swiper_container .swiper_item .foot_box .video_btn .animation-flower {
  206. width: 90rpx;
  207. height: 40rpx;
  208. position: absolute;
  209. left: 17rpx;
  210. bottom: 24rpx;
  211. opacity: 0;
  212. display: flex;
  213. align-items: center;
  214. flex-direction: row;
  215. justify-content: center;
  216. }
  217. .swiper_container .swiper_item .foot_box .video_btn .animation-flower .animation-flower-icon {
  218. width: 32rpx;
  219. height: 38rpx;
  220. display: block;
  221. margin-right: 8rpx;
  222. }
  223. .swiper_container .swiper_item .foot_box .video_btn .animation-flower text {
  224. margin-top: -15rpx;
  225. display: block;
  226. font-size: 26rpx;
  227. font-weight: 800;
  228. color: #fc3b3b;
  229. }
  230. .swiper_container .swiper_item .foot_box .video_btn .add-one-come-out {
  231. animation: numberMove 1.2s ease;
  232. -webkit-animation: numberMove 1.2s ease;
  233. }
  234. .swiper_container .swiper_item .foot_box .video_btn.share_btn {
  235. outline: none;
  236. padding: 0;
  237. margin: 0;
  238. background: #fff;
  239. }
  240. .swiper_container .swiper_item .foot_box .video_btn .collect_btn_icon {
  241. width: 48rpx;
  242. height: 46rpx;
  243. margin-right: 7rpx;
  244. }
  245. .swiper_container .swiper_item .foot_box .video_btn .share_btn_icon {
  246. width: 46rpx;
  247. height: 46rpx;
  248. margin-right: 8rpx;
  249. outline: none;
  250. padding: 0;
  251. margin: 0;
  252. border-radius: 0;
  253. background: #fff;
  254. }
  255. .swiper_container .swiper_item .foot_box .video_btn .flower_btn_icon {
  256. width: 46rpx;
  257. height: 46rpx;
  258. margin-right: 10rpx;
  259. border-radius: none;
  260. }
  261. .swiper_container .swiper_item .foot_box .video_btn .comment_btn_icon {
  262. width: 49rpx;
  263. height: 47rpx;
  264. margin-right: 9rpx;
  265. border-radius: 0;
  266. }
  267. .swiper_container .swiper_item .btn_wrapper {
  268. width: 100%;
  269. height: 111rpx;
  270. display: flex;
  271. align-items: center;
  272. justify-content: center;
  273. margin-top: 45rpx;
  274. margin-bottom: 10rpx;
  275. padding-bottom: 20rpx;
  276. box-sizing: border-box;
  277. }
  278. .swiper_container .swiper_item .btn_wrapper .reading_btn {
  279. width: 271rpx;
  280. height: 80rpx;
  281. background: #3FACFF;
  282. border-radius: 100rpx;
  283. display: flex;
  284. align-items: center;
  285. justify-content: center;
  286. }
  287. .swiper_container .swiper_item .btn_wrapper .reading_btn image {
  288. width: 39rpx;
  289. height: 50rpx;
  290. margin-right: 20rpx;
  291. }
  292. .swiper_container .swiper_item .btn_wrapper .reading_btn text {
  293. color: #fff;
  294. font-size: 30rpx;
  295. }
  296. .swiper_container .no_work {
  297. width: 100%;
  298. height: 120rpx;
  299. display: flex;
  300. align-items: center;
  301. justify-content: center;
  302. }
  303. .swiper_container .no_work .no_work_text {
  304. color: #373737;
  305. font-size: 30rpx;
  306. }