index.less 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. .work {
  2. margin-bottom: 38rpx;
  3. background-color: white;
  4. border-radius: 32rpx;
  5. box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
  6. padding-bottom: 34rpx;
  7. .workHead {
  8. display: flex;
  9. justify-content: space-between;
  10. align-items: center;
  11. padding: 20rpx 20rpx 10rpx;
  12. .wH-left {
  13. display: flex;
  14. justify-content: space-between;
  15. align-items: center;
  16. .avatar {
  17. width: 80rpx;
  18. height: 80rpx;
  19. border-radius: 50%;
  20. overflow: hidden;
  21. background-color: rgb(228, 225, 225);
  22. }
  23. .wH-left-user {
  24. margin-left: 18rpx;
  25. .nickname {
  26. max-width: 320rpx;
  27. font-size: 28rpx;
  28. font-weight: 400;
  29. color: #000;
  30. }
  31. .time {
  32. display: flex;
  33. align-items: center;
  34. margin-top: 4rpx;
  35. font-size: 26rpx;
  36. color: rgba(0, 0, 0, 0.6);
  37. }
  38. .playNum {
  39. margin: 4rpx 4rpx 0rpx 20rpx;
  40. width: 30rpx;
  41. height: 30rpx;
  42. }
  43. }
  44. }
  45. .wH-right {
  46. display: flex;
  47. align-items: center;
  48. .wH-right-btn {
  49. text-align: center;
  50. margin-left: 30rpx;
  51. .img {
  52. width: 27rpx;
  53. height: 32rpx;
  54. }
  55. .text {
  56. font-size: 26rpx;
  57. color: rgba(0, 0, 0, 0.74);
  58. }
  59. }
  60. .follow {
  61. display: flex;
  62. align-items: center;
  63. justify-content: center;
  64. width: 140rpx;
  65. font-size: 24rpx;
  66. padding: 8rpx 0rpx;
  67. border-radius: 50rpx;
  68. border: 1rpx solid #1BC665;
  69. color: #1BC665;
  70. .character {
  71. width: 22rpx;
  72. height: 22rpx;
  73. margin-right: 6rpx;
  74. }
  75. }
  76. .isFans {
  77. border: 1rpx solid #E2ECFB;
  78. background-color: #E2ECFB;
  79. color: #333;
  80. }
  81. .pkNum {
  82. color: #30C866;
  83. font-size: 44rpx;
  84. margin-right: 20rpx;
  85. }
  86. }
  87. }
  88. .workContent {
  89. position: relative;
  90. font-size: 0px;
  91. .videoBox {
  92. position: relative;
  93. width: 100%;
  94. height: 422rpx;
  95. .maskBg {
  96. position: absolute;
  97. top: 0px;
  98. left: 0px;
  99. width: 100%;
  100. height: 100%;
  101. background-color: rgba(0, 0, 0, 0.5);
  102. }
  103. .maskImg {
  104. z-index: 10;
  105. width: 215rpx;
  106. height: 215rpx;
  107. position: absolute;
  108. top: 0px;
  109. right: 0px;
  110. left: 0px;
  111. bottom: 0px;
  112. margin: auto;
  113. }
  114. .play {
  115. position: absolute;
  116. left: 20rpx;
  117. bottom: 15rpx;
  118. width: 70rpx;
  119. height: 70rpx;
  120. }
  121. .cover {
  122. width: 100%;
  123. height: 100%;
  124. }
  125. }
  126. .watermark {
  127. position: absolute;
  128. width: 100%;
  129. height: 100%;
  130. left: 0px;
  131. top: 0px;
  132. z-index: 2;
  133. }
  134. .video {
  135. width: 100%;
  136. height: 422rpx;
  137. pointer-events: auto;
  138. }
  139. .audioBox {
  140. position: relative;
  141. height: 270rpx;
  142. overflow: hidden;
  143. display: flex;
  144. align-items: center;
  145. .audioBg {
  146. position: absolute;
  147. width: 100%;
  148. height: 100%;
  149. }
  150. .titleBox {
  151. position: relative;
  152. margin-left: 50rpx;
  153. margin-right: 30rpx;
  154. width: 380rpx;
  155. font-size: 36rpx;
  156. line-height: 54rpx;
  157. color: white;
  158. text-align: center;
  159. }
  160. .audioPlay {
  161. position: relative;
  162. width: 220rpx;
  163. height: 174rpx;
  164. display: flex;
  165. align-items: center;
  166. justify-content: center;
  167. .audioPlayBg {
  168. width: 150rpx;
  169. height: 150rpx;
  170. }
  171. .audioPlayZhen {
  172. position: absolute;
  173. right: 30rpx;
  174. top: 16rpx;
  175. width: 32rpx;
  176. height: 40rpx;
  177. }
  178. .cover {
  179. position: absolute;
  180. width: 130rpx;
  181. height: 130rpx;
  182. border-radius: 50%;
  183. }
  184. .circle {
  185. animation: identifier 12s infinite linear;
  186. }
  187. }
  188. .progressBar {
  189. position: absolute;
  190. left: 0px;
  191. bottom: 0px;
  192. width: 100%;
  193. padding: 0rpx 24rpx;
  194. box-sizing: border-box;
  195. font-size: 0rpx;
  196. display: flex;
  197. align-items: center;
  198. .audioSwitch {
  199. width: 26rpx;
  200. height: 34rpx;
  201. padding: 10rpx;
  202. margin-right: 20rpx;
  203. }
  204. .time {
  205. color: white;
  206. font-size: 22rpx;
  207. }
  208. .slider {
  209. flex: 1;
  210. }
  211. }
  212. }
  213. }
  214. .workFooter {
  215. display: flex;
  216. justify-content: space-between;
  217. align-items: center;
  218. padding: 20rpx 20rpx 10rpx;
  219. .mangeL-box {
  220. position: relative;
  221. display: flex;
  222. align-items: center;
  223. margin-right: 30rpx;
  224. .noticeTips {
  225. position: absolute;
  226. right: -38rpx;
  227. top: -10rpx;
  228. width: 34rpx;
  229. padding: 4rpx 0rpx;
  230. border-radius: 40rpx;
  231. color: white;
  232. font-size: 16rpx;
  233. text-align: center;
  234. background-color: #FF0000;
  235. }
  236. .icon {
  237. width: 44rpx;
  238. height: 44rpx;
  239. }
  240. .icon-name {
  241. margin-left: 8rpx;
  242. font-size: 26rpx;
  243. }
  244. }
  245. }
  246. .toReading {
  247. width: 166rpx;
  248. display: flex;
  249. align-items: center;
  250. justify-content: center;
  251. padding: 12rpx 32rpx;
  252. border-radius: 50rpx;
  253. background-color: #81C7FF;
  254. box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46);
  255. .reading {
  256. width: 24rpx;
  257. height: 32rpx;
  258. }
  259. .reading-text {
  260. color: white;
  261. font-size: 30rpx;
  262. margin-left: 12rpx;
  263. }
  264. }
  265. .pkToReading {
  266. width: 250rpx;
  267. }
  268. .pkPageBtns {
  269. width: 100%;
  270. margin-top: 16rpx;
  271. padding: 0rpx 32rpx;
  272. box-sizing: border-box;
  273. display: flex;
  274. align-items: center;
  275. justify-content: center;
  276. }
  277. }