index.wxss 4.7 KB

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