index.wxss 4.9 KB

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