index.less 9.1 KB

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