index.less 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. .work {
  2. margin-bottom: 24rpx;
  3. background-color: white;
  4. border-radius: 32rpx;
  5. box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
  6. padding-bottom: 26rpx;
  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: 30rpx;
  28. font-weight: bold;
  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 30rpx;
  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-right: 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 #969696;
  78. color: #969696;
  79. }
  80. .pkNum {
  81. color: #30C866;
  82. font-size: 44rpx;
  83. margin-right: 20rpx;
  84. }
  85. }
  86. }
  87. .workContent {
  88. position: relative;
  89. font-size: 0px;
  90. .videoBox {
  91. position: relative;
  92. width: 100%;
  93. height: 422rpx;
  94. .maskBg {
  95. position: absolute;
  96. top: 0px;
  97. left: 0px;
  98. width: 100%;
  99. height: 100%;
  100. background-color: rgba(0, 0, 0, 0.5);
  101. }
  102. .maskImg {
  103. z-index: 10;
  104. width: 215rpx;
  105. height: 215rpx;
  106. position: absolute;
  107. top: 0px;
  108. right: 0px;
  109. left: 0px;
  110. bottom: 0px;
  111. margin: auto;
  112. }
  113. .play {
  114. position: absolute;
  115. left: 20rpx;
  116. bottom: 15rpx;
  117. width: 70rpx;
  118. height: 70rpx;
  119. }
  120. .cover {
  121. width: 100%;
  122. height: 100%;
  123. }
  124. }
  125. .watermark {
  126. position: absolute;
  127. width: 100%;
  128. height: 100%;
  129. left: 0px;
  130. top: 0px;
  131. z-index: 2;
  132. }
  133. .video {
  134. width: 100%;
  135. height: 422rpx;
  136. pointer-events: auto;
  137. }
  138. .audioBox {
  139. position: relative;
  140. height: 270rpx;
  141. overflow: hidden;
  142. display: flex;
  143. align-items: center;
  144. .audioBg {
  145. position: absolute;
  146. width: 100%;
  147. height: 100%;
  148. }
  149. .titleBox {
  150. position: relative;
  151. margin-left: 50rpx;
  152. margin-right: 30rpx;
  153. width: 380rpx;
  154. font-size: 36rpx;
  155. line-height: 54rpx;
  156. color: white;
  157. text-align: center;
  158. }
  159. .audioPlay {
  160. position: relative;
  161. width: 220rpx;
  162. height: 174rpx;
  163. display: flex;
  164. align-items: center;
  165. justify-content: center;
  166. .audioPlayBg {
  167. width: 150rpx;
  168. height: 150rpx;
  169. }
  170. .audioPlayZhen {
  171. position: absolute;
  172. right: 30rpx;
  173. top: 16rpx;
  174. width: 32rpx;
  175. height: 40rpx;
  176. }
  177. .cover {
  178. position: absolute;
  179. width: 130rpx;
  180. height: 130rpx;
  181. border-radius: 50%;
  182. }
  183. .circle {
  184. animation: identifier 12s infinite linear;
  185. }
  186. }
  187. .progressBar {
  188. position: absolute;
  189. left: 0px;
  190. bottom: 0px;
  191. width: 100%;
  192. padding: 0rpx 24rpx;
  193. box-sizing: border-box;
  194. font-size: 0rpx;
  195. display: flex;
  196. align-items: center;
  197. .audioSwitch {
  198. width: 26rpx;
  199. height: 34rpx;
  200. padding: 10rpx;
  201. margin-right: 20rpx;
  202. }
  203. .time {
  204. color: white;
  205. font-size: 22rpx;
  206. }
  207. .slider {
  208. flex: 1;
  209. }
  210. }
  211. }
  212. }
  213. .workFooter {
  214. display: flex;
  215. justify-content: space-between;
  216. align-items: center;
  217. padding: 20rpx 20rpx 10rpx;
  218. .mangeL-box {
  219. display: flex;
  220. align-items: center;
  221. margin-right: 30rpx;
  222. .icon {
  223. width: 44rpx;
  224. height: 44rpx;
  225. }
  226. .icon-name {
  227. margin-left: 8rpx;
  228. font-size: 26rpx;
  229. }
  230. }
  231. }
  232. .toReading {
  233. width: 166rpx;
  234. display: flex;
  235. align-items: center;
  236. justify-content: center;
  237. padding: 12rpx 32rpx;
  238. border-radius: 50rpx;
  239. background-color: #81C7FF;
  240. box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46);
  241. .reading {
  242. width: 24rpx;
  243. height: 32rpx;
  244. }
  245. .reading-text {
  246. color: white;
  247. font-size: 30rpx;
  248. margin-left: 12rpx;
  249. }
  250. }
  251. .pkToReading {
  252. width: 250rpx;
  253. }
  254. .pkPageBtns {
  255. width: 100%;
  256. margin-top: 16rpx;
  257. padding: 0rpx 32rpx;
  258. box-sizing: border-box;
  259. display: flex;
  260. align-items: center;
  261. justify-content: center;
  262. }
  263. }