index.less 8.9 KB

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