index.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. .video-swiper {
  2. width: 100%;
  3. height: 100%;
  4. background-color: #000;
  5. .video-swiper-item {
  6. display: flex;
  7. flex-direction: column;
  8. position: relative;
  9. box-sizing: border-box;
  10. .custom-video {
  11. width: 100%;
  12. height: 100%;
  13. position: relative;
  14. .video {
  15. width: 100%;
  16. height: calc(100% - 6px);
  17. }
  18. .progress-bg {
  19. position: absolute;
  20. bottom: 0;
  21. width: 100%;
  22. height: 40px;
  23. .progress-container {
  24. position: absolute;
  25. bottom: 0;
  26. width: 100%;
  27. height: 6px;
  28. border-radius: 3px;
  29. background-color: #0f0f0f;
  30. .progress {
  31. height: inherit;
  32. border-radius: 4px 0 0 4px;
  33. background-color: #4c4c4c;
  34. }
  35. }
  36. }
  37. .progress-indicator {
  38. position: absolute;
  39. bottom: 20px;
  40. left: 0;
  41. width: 100%;
  42. height: 100px;
  43. display: flex;
  44. flex-direction: column;
  45. justify-content: space-between;
  46. align-items: center;
  47. background-color: linear-gradient(to bottom, rgba(0, 0, 0, 0), 10%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
  48. ;
  49. .showInfo {
  50. display: flex;
  51. flex-direction: row;
  52. height: 60px;
  53. width: 400px;
  54. align-items: center;
  55. justify-content: center;
  56. font-size: 36px;
  57. font-weight: 500;
  58. .showInfo-a {
  59. height: 60px;
  60. color: #fff;
  61. margin-right: 20px;
  62. }
  63. .showInfo-m {
  64. height: 24px;
  65. width: 2px;
  66. background-color: #999;
  67. }
  68. .showInfo-b {
  69. height: 60px;
  70. color: #999;
  71. margin-left: 20px;
  72. }
  73. }
  74. .indicator-bg {
  75. display: flex;
  76. flex-direction: row;
  77. width: 90%;
  78. height: 20px;
  79. background-color: #979797;
  80. align-items: center;
  81. border-radius: 10px;
  82. .indcator-active {
  83. height: 20px;
  84. background-color: #d5d5d5;
  85. border-radius: 10px 0 0 10px;
  86. }
  87. .indicator-dot {
  88. background-color: white;
  89. height: 32px;
  90. width: 12px;
  91. border-radius: 6px;
  92. }
  93. }
  94. }
  95. .video-play-end-cover {
  96. position: absolute;
  97. top: 0;
  98. bottom: 0;
  99. left: 0;
  100. right: 0;
  101. background: rgba(0, 0, 0, .5);
  102. z-index: 1;
  103. display: flex;
  104. flex-direction: column;
  105. align-items: center;
  106. justify-content: center;
  107. .container {
  108. width: 100%;
  109. display: flex;
  110. justify-content: space-around;
  111. color: #fff;
  112. margin-top: 150px;
  113. margin-bottom: 300px;
  114. .item {
  115. display: flex;
  116. flex-direction: column;
  117. font-size: 30px;
  118. align-items: center;
  119. margin: 0;
  120. padding: 0;
  121. background: transparent;
  122. color: #fff;
  123. Image {
  124. width: 120px;
  125. height: 120px;
  126. margin-bottom: 20px;
  127. }
  128. }
  129. }
  130. .more-video {
  131. position: relative;
  132. width: 100%;
  133. color: #fff;
  134. font-size: 26px;
  135. display: flex;
  136. align-items: center;
  137. flex-direction: column;
  138. Image {
  139. position: absolute;
  140. bottom: 0;
  141. width: 108px;
  142. height: 106px;
  143. animation: turn 1.5s infinite;
  144. }
  145. }
  146. }
  147. }
  148. .video-introduce {
  149. box-sizing: border-box;
  150. width: calc(100% - 120px);
  151. position: absolute;
  152. left: 0;
  153. bottom: 40px;
  154. color: #fff;
  155. font-size: 32px;
  156. padding: 0 20px;
  157. text-shadow: #000 1px 0 6px;
  158. background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), 10%, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0.1));
  159. .video-user-info {
  160. display: flex;
  161. align-items: center;
  162. font-size: 36px;
  163. .avatar {
  164. width: 50px;
  165. height: 50px;
  166. border-radius: 50%;
  167. margin-right: 15px;
  168. }
  169. }
  170. .video-title {
  171. margin: 20px 0;
  172. }
  173. .redShareBtn {
  174. width: 90%;
  175. height: 80px;
  176. background-color: #EE2C4F;
  177. border-radius: 8px;
  178. text-align: center;
  179. font-size: 38px;
  180. line-height: 80px;
  181. color: #fff;
  182. text-shadow: none;
  183. }
  184. }
  185. .video-bar {
  186. display: flex;
  187. flex-direction: column;
  188. align-items: center;
  189. box-sizing: border-box;
  190. width: 90px;
  191. height: 100%;
  192. padding: 10px 0px;
  193. margin-right: 20px;
  194. justify-content: flex-end;
  195. position: absolute;
  196. right: 0;
  197. bottom: 10px;
  198. .friend {
  199. display: flex;
  200. flex-direction: column;
  201. align-items: center;
  202. height: 190px;
  203. width: 70px;
  204. color: #fff;
  205. font-size: 24px;
  206. padding-bottom: 16px;
  207. border-radius: 40px;
  208. background-color: #04740399;
  209. image {
  210. width: 70px;
  211. height: 70px;
  212. margin-bottom: 10px;
  213. }
  214. .text {
  215. width: 30px;
  216. font-size: 30px;
  217. line-height: 44px;
  218. }
  219. }
  220. .pyq {
  221. display: flex;
  222. flex-direction: column;
  223. align-items: center;
  224. background-color: transparent;
  225. width: 70px;
  226. height: 110px;
  227. margin-top: 40px;
  228. font-size: 26px;
  229. image {
  230. width: 70px;
  231. height: 70px;
  232. margin-bottom: 10px;
  233. }
  234. .text {
  235. color: white;
  236. width: 90px;
  237. font-size: 22px;
  238. line-height: 30px;
  239. }
  240. }
  241. .more {
  242. height: 60px;
  243. display: flex;
  244. position: relative;
  245. align-items: center;
  246. margin-top: 40px;
  247. .bot {
  248. width: 4px;
  249. height: 4px;
  250. background-color: #999;
  251. border: 2px solid #999;
  252. border-radius: 50%;
  253. }
  254. .margin10 {
  255. margin: 0 10px;
  256. }
  257. .tips {
  258. position: absolute;
  259. width: 100px;
  260. height: 40px;
  261. border-radius: 4px;
  262. background: #fff;
  263. font-size: 22px;
  264. display: flex;
  265. justify-content: center;
  266. align-items: center;
  267. padding: 4px 10px;
  268. color: #6a6969;
  269. right: 60px;
  270. z-index: 1;
  271. image {
  272. width: 40px;
  273. height: 40px;
  274. margin-right: 8px;
  275. }
  276. }
  277. .tips::after {
  278. position: absolute;
  279. content: ' ';
  280. right: -26px;
  281. width: 0;
  282. height: 0;
  283. border: 10px solid transparent;
  284. border-left: 26px solid #fff;
  285. }
  286. }
  287. .share-btn-f {
  288. margin-left: 20px;
  289. height: 60px;
  290. background: #55c57c;
  291. display: flex;
  292. align-items: center;
  293. color: #fff;
  294. font-size: 28px;
  295. .wechat-icon {
  296. margin-right: 10px;
  297. width: 40px;
  298. height: 40px;
  299. background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABGCAMAAABsQOMZAAAAflBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////vroaSAAAAKXRSTlMA9wjz1ykDEMQx5IHeXG7ovVQao2jtzqmdkXoVi0g9tU1CIMmvlmI4dBMRDGIAAALGSURBVFjDtddnc6MwEAbglRCYYtPdwL2///8P3lzgBoWiQnLPp8zGZrza1SLRqPy1P4vEYc7yfi4+b04/scieAt+xNHJpptvewSg/88heUDBMCitum+wWauJKNq4htIqaTPEDTCSBabp3mHGOZIL7MMVeJs9LYWFFOt4ZNhztOh5gZ7nQ9AuTP1y+Lzs0JmNndcJC3mFfuyED1DFlqWO5hLcmVozE5H20UVU4QUdQY6WJIaOhsc/51LhoYhA0yYfE4U0wUsQa7uSeY5Admqno6GL4qDKWPWvyLqE+ltKE/XCQMmhjLBScxqWwE+5WJ1e1U5awkMZtLeqc04Q1TLFtQMRPUSoSBsBZ+sUqpwEGQzuXeHl2elHx7I8ex3DprlRH49mk1xlr+Fjw/XQumxN17jAQ01tAgR26Gu2gV3oRg9rGpVYJrY/3gJbzL20XOpG3tXrTCKj5XgEj6/aJFZSYG8FQ0uzInKkTdlmXVZR9BCRstypTqfcH82Zoyf0up1v/jHHsfb9p8dxRdWAp/d2v4pb+4t0GamdarCjdQkox6G/WeDABM91MfAToXJp3hvRuGPTJo4nkISa85AU+97si/CrrVa5SO3qDqWV015AUOfGKoXMPyMsSSEpqHNlEE/ZbjfW7uRcoqHVyRpsmg6HhGSVYjv07hqVEfanwI1hiJBkOAfGzB96HA8Q65ZA6OQbYak5RBrNb6gTrB+6GhxL/xE/xtq15lMBO2T/XbY7U8Gr3fTy6e9i5fT/XiYx6AljxqbPF8uXRgMDMSxYXMacRL1gQnvRArj2D62VkwGUw9SAjlfEuqcnMzu6SqucVdld9PZPDzTIgC17FdB1dk51AQOXpkS1+cDDtRDMsqgRTDjQLfz36P5O1JaG5vHd03oTs67p3f65cHifSbXe+RXc149UaQEW/aBE52NCvqvcsp9+Vu/Sf/AGRfvtxDfRcnAAAAABJRU5ErkJggg==) no-repeat no-repeat center/contain;
  300. }
  301. }
  302. }
  303. }
  304. @keyframes turn {
  305. 0% {
  306. transform: translate(0px, -150px);
  307. }
  308. 50% {
  309. transform: translate(0px, -50px);
  310. }
  311. 100% {
  312. transform: translate(0px, -150px);
  313. }
  314. }
  315. }