index.wxss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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: 20rpx;
  7. }
  8. .work .workHead {
  9. display: flex;
  10. justify-content: space-between;
  11. align-items: center;
  12. padding: 20rpx;
  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: 6rpx 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. font-size: 0px;
  83. }
  84. .work .workContent .videoBox {
  85. position: relative;
  86. width: 100%;
  87. height: 422rpx;
  88. }
  89. .work .workContent .videoBox .maskBg {
  90. position: absolute;
  91. top: 0px;
  92. left: 0px;
  93. width: 100%;
  94. height: 100%;
  95. background-color: rgba(0, 0, 0, 0.5);
  96. }
  97. .work .workContent .videoBox .maskImg {
  98. z-index: 10;
  99. width: 215rpx;
  100. height: 215rpx;
  101. position: absolute;
  102. top: 0px;
  103. right: 0px;
  104. left: 0px;
  105. bottom: 0px;
  106. margin: auto;
  107. }
  108. .work .workContent .videoBox .play {
  109. position: absolute;
  110. left: 50%;
  111. top: 40%;
  112. width: 90rpx;
  113. height: 90rpx;
  114. transform: translate(-50%);
  115. }
  116. .work .workContent .videoBox .cover {
  117. width: 100%;
  118. height: 100%;
  119. }
  120. .work .workContent .video {
  121. width: 100%;
  122. height: 422rpx;
  123. }
  124. .work .workContent .audioBox {
  125. position: relative;
  126. width: 100%;
  127. height: 208rpx;
  128. overflow: hidden;
  129. }
  130. .work .workContent .audioBox .audioBg {
  131. width: 100%;
  132. height: 100%;
  133. filter: blur(12px);
  134. }
  135. .work .workContent .audioBox .mask {
  136. position: absolute;
  137. width: 100%;
  138. height: 100%;
  139. left: 0px;
  140. top: 0px;
  141. background-color: rgba(0, 0, 0, 0.2);
  142. }
  143. .work .workContent .audioBox .audioPlay {
  144. position: absolute;
  145. left: 0;
  146. top: 0;
  147. right: 0;
  148. bottom: 0;
  149. margin: auto;
  150. width: 220rpx;
  151. height: 174rpx;
  152. border-radius: 20rpx;
  153. background-color: rgba(0, 0, 0, 0.3);
  154. display: flex;
  155. align-items: center;
  156. justify-content: center;
  157. }
  158. .work .workContent .audioBox .audioPlay .audioPlayBg {
  159. width: 150rpx;
  160. height: 150rpx;
  161. }
  162. .work .workContent .audioBox .audioPlay .audioPlayZhen {
  163. position: absolute;
  164. right: 30rpx;
  165. top: 16rpx;
  166. width: 32rpx;
  167. height: 40rpx;
  168. }
  169. .work .workContent .audioBox .audioPlay .cover {
  170. position: absolute;
  171. width: 130rpx;
  172. height: 130rpx;
  173. border-radius: 50%;
  174. }
  175. .work .workContent .audioBox .audioPlay .circle {
  176. animation: identifier 12s infinite linear;
  177. }
  178. .work .workFooter {
  179. margin-top: 15rpx;
  180. display: flex;
  181. justify-content: space-between;
  182. align-items: center;
  183. padding: 14rpx 20rpx 30rpx;
  184. }
  185. .work .workFooter .mangeL-box {
  186. display: flex;
  187. align-items: center;
  188. margin-right: 30rpx;
  189. }
  190. .work .workFooter .mangeL-box .icon {
  191. width: 44rpx;
  192. height: 44rpx;
  193. }
  194. .work .workFooter .mangeL-box .icon-name {
  195. margin-left: 8rpx;
  196. font-size: 28rpx;
  197. }
  198. .work .toReading {
  199. width: 166rpx;
  200. margin: 0 auto;
  201. display: flex;
  202. align-items: center;
  203. justify-content: center;
  204. padding: 12rpx 32rpx;
  205. border-radius: 50rpx;
  206. background-image: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%);
  207. box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46);
  208. }
  209. .work .toReading .reading {
  210. width: 24rpx;
  211. height: 32rpx;
  212. }
  213. .work .toReading .reading-text {
  214. color: white;
  215. font-size: 30rpx;
  216. margin-left: 12rpx;
  217. }