index.less 7.7 KB

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