index.wxss 7.6 KB

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