index.wxss 9.6 KB

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