myworks.wxss 6.5 KB

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