index.wxss 6.9 KB

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