myworks.wxss 6.4 KB

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