myworks.wxss 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. /* pages/user/myworks/myworks.wxss */
  2. page {
  3. width: 100%;
  4. background: #F0F1F5;
  5. }
  6. .user-works {
  7. width: 100%;
  8. box-sizing: border-box;
  9. /* padding: 0 15rpx; */
  10. background: #F0F1F5;
  11. display: flex;
  12. flex-direction: column;
  13. align-items: center;
  14. justify-content: space-between;
  15. }
  16. .follow-details {
  17. width: 100%;
  18. height: 382rpx;
  19. /* border-radius: 20rpx; */
  20. background: #FFFFFF;
  21. /* margin-top: 30rpx; */
  22. margin: 20rpx 15rpx 20rpx;
  23. display: flex;
  24. position: relative;
  25. box-sizing: border-box;
  26. }
  27. .follow-info {
  28. width: 100%;
  29. display: flex;
  30. }
  31. .follow {
  32. display: flex;
  33. align-items: center;
  34. justify-content: center;
  35. width: 154rpx;
  36. height: 58rpx;
  37. border: 2rpx solid #ff0000;
  38. font-size: 28rpx;
  39. border-radius: 30rpx;
  40. /* text-align: center; */
  41. /* line-height: 60rpx; */
  42. color: #ff0000;
  43. position: absolute;
  44. top: 36rpx;
  45. right: 32rpx;
  46. }
  47. .follow image {
  48. width: 36rpx;
  49. height: 32rpx;
  50. margin-right: 15rpx;
  51. }
  52. .avatar-bg {
  53. margin-left: 20rpx;
  54. margin-top: 50rpx;
  55. width: 152rpx;
  56. height: 152rpx;
  57. background: #61CA54;
  58. border-radius: 50%;
  59. position: relative;
  60. }
  61. .avatar-box {
  62. width: 138rpx;
  63. height: 138rpx;
  64. border-radius: 50%;
  65. z-index: 300;
  66. /* position: absolute;
  67. top: 7rpx;
  68. left: 7rpx; */
  69. margin: 8rpx auto;
  70. }
  71. .avatar-image {
  72. width: 100%;
  73. height: 100%;
  74. border-radius: 50%;
  75. }
  76. .avatar-nickname {
  77. width: 500rpx;
  78. display: flex;
  79. }
  80. .avatar-address {
  81. width: 500rpx;
  82. }
  83. .flowers-box {
  84. width: 26rpx;
  85. height: 26rpx;
  86. margin-left: 10rpx;
  87. }
  88. .flowers-box>image {
  89. width: 100%;
  90. height: 100%;
  91. }
  92. .occupation-title {
  93. position: absolute;
  94. left: 44rpx;
  95. bottom: -10rpx;
  96. width: 68rpx;
  97. height: 26rpx;
  98. background: #61CA54;
  99. border-radius: 180rpx;
  100. z-index: 600;
  101. /* line-height: 26rpx; */
  102. text-align: center;
  103. color: #FFFFFF;
  104. font-size: 18rpx;
  105. }
  106. .avatar-msg {
  107. margin-left: 40rpx;
  108. margin-top: 50rpx;
  109. width: 500rpx;
  110. height: 150rpx;
  111. color: #444444;
  112. font-size: 32rpx;
  113. }
  114. .gender-size {
  115. margin-left: 10rpx;
  116. font-size: 28rpx;
  117. align-self: center;
  118. }
  119. .set-msg {
  120. width: 100%;
  121. height: 248rpx;
  122. display: flex;
  123. align-items: flex-start;
  124. justify-content: center;
  125. }
  126. .avatar-nickname,
  127. .avatar-birthday,
  128. .avatar-address {
  129. line-height: 50rpx;
  130. color: #444;
  131. font-size: 32rpx;
  132. }
  133. .mine-category {
  134. box-sizing: border-box;
  135. width: 674rpx;
  136. padding-top: 30rpx;
  137. border-top: 4rpx solid #F0F1F5;
  138. font-size: 28rpx;
  139. /* font-weight: 600; */
  140. z-index: 900;
  141. display: flex;
  142. position: absolute;
  143. top: 246rpx;
  144. left: 5%;
  145. }
  146. .border-right {
  147. display: flex;
  148. justify-content: center;
  149. align-items: center;
  150. font-size: 24rpx;
  151. font-weight: lighter;
  152. height: 22rpx;
  153. border-right: 2rpx solid #D6D6D6;
  154. }
  155. .flower-count .border-right {
  156. border: none;
  157. }
  158. .play-count,
  159. .point-count,
  160. .follow-count,
  161. .flower-count {
  162. width: 25%;
  163. text-align: center;
  164. }
  165. .play-img {
  166. width: 28rpx;
  167. height: 26rpx;
  168. margin-right: 6rpx;
  169. margin-bottom: 6rpx;
  170. }
  171. .red-heart {
  172. width: 26rpx;
  173. height: 22rpx;
  174. margin-right: 6rpx;
  175. margin-bottom: 6rpx;
  176. }
  177. .point-img {
  178. width: 28rpx;
  179. height: 24rpx;
  180. margin-right: 6rpx;
  181. margin-bottom: 6rpx;
  182. }
  183. image {
  184. width: 100%;
  185. height: 100%;
  186. }
  187. .color {
  188. text-align: right;
  189. padding-right: 44rpx;
  190. }
  191. .play-count {
  192. color: #92D626;
  193. }
  194. .point-count {
  195. color: #FFA700;
  196. }
  197. .follow-count {
  198. color: #F466FF;
  199. }
  200. .flower-count {
  201. color: #EE5750;
  202. }
  203. .hotWares {
  204. display: flex;
  205. flex-wrap: wrap;
  206. width: 100%;
  207. /* background: #e8e8e8; */
  208. }
  209. .recommdSection .hotWares .worksCard {
  210. position: relative;
  211. overflow: hidden;
  212. width: 100%;
  213. height: 484rpx;
  214. background: #fff;
  215. /* padding: 26rpx; */
  216. /* border-radius: 12rpx; */
  217. /* margin: 0 0 18rpx 16rpx; */
  218. margin: 0 auto 10rpx;
  219. /* box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28); */
  220. }
  221. .worksCard {
  222. position: relative;
  223. overflow: hidden;
  224. width: 100%;
  225. height: 484rpx;
  226. background: #fff;
  227. margin: 0 auto 20rpx;
  228. }
  229. .worksCard .wareCardImg {
  230. display: block;
  231. width: 704rpx;
  232. height: 290rpx;
  233. margin: 21rpx auto 0;
  234. border-radius: 20rpx;
  235. }
  236. .worksCard .titleSummary {
  237. display: flex;
  238. justify-content: space-between;
  239. margin-top: 12rpx;
  240. }
  241. .worksCard .wareCardTitle {
  242. /* margin: 0 auto; */
  243. width: 80%;
  244. height: 46rpx;
  245. display: block;
  246. /* text-align: left; */
  247. color: #444;
  248. font-size: 32rpx;
  249. /* letter-spacing: 4rpx; */
  250. margin-left: 28rpx;
  251. font-family: MicrosoftYaHei;
  252. }
  253. .worksCard .topData {
  254. height: 92rpx;
  255. margin-top: 22rpx;
  256. display: flex;
  257. flex-direction: row;
  258. /* justify-content: space-between; */
  259. align-items: center;
  260. }
  261. .worksLeft {
  262. display: flex;
  263. flex-direction: row;
  264. flex: 1;
  265. margin-left: 10rpx;
  266. }
  267. .worksLeft .worksInfo .authorName {
  268. color: #393939;
  269. font-size: 30rpx;
  270. margin-top: 8rpx;
  271. }
  272. .worksLeft .worksInfo .time {
  273. color: #393939;
  274. font-size: 30rpx;
  275. }
  276. .worksCard .topData .wareCardPlays {
  277. width: 100rpx;
  278. /* margin-left: 270rpx; */
  279. display: flex;
  280. flex-direction: row-reverse;
  281. align-items: center;
  282. padding-right: 35rpx;
  283. margin-bottom: 7rpx;
  284. }
  285. .worksCard .topData .authorAvatar {
  286. width: 92rpx;
  287. height: 92rpx;
  288. margin: 0 22rpx 0 22rpx;
  289. display: block;
  290. border: 4rpx solid #61CA54;
  291. border-radius: 50%;
  292. }
  293. .worksCard .topData .profession {
  294. width: 68rpx;
  295. height: 24rpx;
  296. background: rgba(97, 202, 84, 1);
  297. border-radius: 166rpx;
  298. border: 2rpx solid rgba(255, 255, 255, 1);
  299. font-size: 16rpx;
  300. /* font-family: PingFangSC-Medium; */
  301. /* font-weight: 500; */
  302. color: rgba(255, 255, 255, 1);
  303. line-height: 24rpx;
  304. text-align: center;
  305. position: absolute;
  306. bottom: -7rpx;
  307. left: 37rpx;
  308. }
  309. .topData .numberInfo {
  310. display: flex;
  311. flex-direction: column;
  312. }
  313. .worksCard .wareCardTip {
  314. width: 178rpx;
  315. height: 40rpx;
  316. display: block;
  317. text-align: left;
  318. color: #444;
  319. font-size: 24rpx;
  320. line-height: 44rpx;
  321. }
  322. .worksCard .wareCardPlays .wareCardPlaysImg {
  323. width: 30rpx;
  324. height: 26rpx;
  325. margin-left: 7rpx;
  326. float: right;
  327. margin-right: -3rpx;
  328. }
  329. .worksCard .wareCardPlays text {
  330. /* margin-left: 4rpx; */
  331. color: #848484;
  332. font-size: 24rpx;
  333. text-align: right;
  334. /* width:57%; */
  335. float: right;
  336. }
  337. .worksCard .wareCardLikes {
  338. width: 100rpx;
  339. margin-right: 18rpx;
  340. display: flex;
  341. flex-direction: row-reverse;
  342. align-items: center;
  343. }
  344. .worksCard .wareCardLikes .wareCardLikesImg {
  345. width: 22rpx;
  346. height: 26rpx;
  347. margin-left: 7rpx;
  348. }
  349. .worksCard .wareCardLikes text {
  350. /* margin-left: 4rpx; */
  351. color: #848484;
  352. font-size: 24rpx;
  353. }