myworks.wxss 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  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. /* background: #e8e8e8; */
  207. }
  208. .recommdSection .hotWares .worksCard {
  209. position: relative;
  210. overflow: hidden;
  211. width: 100%;
  212. height: 484rpx;
  213. background: #fff;
  214. /* padding: 26rpx; */
  215. /* border-radius: 12rpx; */
  216. /* margin: 0 0 18rpx 16rpx; */
  217. margin: 0 auto 10rpx;
  218. /* box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28); */
  219. }
  220. .worksCard {
  221. position: relative;
  222. overflow: hidden;
  223. width: 100%;
  224. height: 484rpx;
  225. background: #fff;
  226. margin: 0 auto 20rpx;
  227. }
  228. .worksCard .wareCardImg {
  229. display: block;
  230. width: 704rpx;
  231. height: 290rpx;
  232. margin: 21rpx auto 0;
  233. border-radius: 20rpx;
  234. }
  235. .worksCard .titleSummary {
  236. display: flex;
  237. justify-content: space-between;
  238. margin-top: 12rpx;
  239. }
  240. .worksCard .wareCardTitle {
  241. /* margin: 0 auto; */
  242. width: 80%;
  243. height: 46rpx;
  244. display: block;
  245. /* text-align: left; */
  246. color: #444;
  247. font-size: 32rpx;
  248. /* letter-spacing: 4rpx; */
  249. margin-left: 28rpx;
  250. font-family: MicrosoftYaHei;
  251. }
  252. .worksCard .topData {
  253. height: 92rpx;
  254. margin-top: 22rpx;
  255. display: flex;
  256. flex-direction: row;
  257. /* justify-content: space-between; */
  258. align-items: center;
  259. }
  260. .worksLeft {
  261. display: flex;
  262. flex-direction: row;
  263. flex: 1;
  264. margin-left: 10rpx;
  265. }
  266. .worksLeft .worksInfo .authorName {
  267. color: #393939;
  268. font-size: 30rpx;
  269. margin-top: 8rpx;
  270. }
  271. .worksLeft .worksInfo .time {
  272. color: #393939;
  273. font-size: 30rpx;
  274. }
  275. .worksCard .topData .wareCardPlays {
  276. width: 100rpx;
  277. /* margin-left: 270rpx; */
  278. display: flex;
  279. flex-direction: row-reverse;
  280. align-items: center;
  281. padding-right: 35rpx;
  282. }
  283. .worksCard .topData .authorAvatar {
  284. width: 92rpx;
  285. height: 92rpx;
  286. margin: 0 22rpx 0 22rpx;
  287. display: block;
  288. border: 4rpx solid #61CA54;
  289. border-radius: 50%;
  290. }
  291. .worksCard .topData .profession {
  292. width: 68rpx;
  293. height: 24rpx;
  294. background: rgba(97, 202, 84, 1);
  295. border-radius: 166rpx;
  296. border: 2rpx solid rgba(255, 255, 255, 1);
  297. font-size: 16rpx;
  298. /* font-family: PingFangSC-Medium; */
  299. /* font-weight: 500; */
  300. color: rgba(255, 255, 255, 1);
  301. line-height: 24rpx;
  302. text-align: center;
  303. position: absolute;
  304. bottom: -7rpx;
  305. left: 37rpx;
  306. }
  307. .topData .numberInfo {
  308. display: flex;
  309. flex-direction: column;
  310. }
  311. .worksCard .wareCardTip {
  312. width: 178rpx;
  313. height: 40rpx;
  314. display: block;
  315. text-align: left;
  316. color: #444;
  317. font-size: 24rpx;
  318. line-height: 44rpx;
  319. }
  320. .worksCard .wareCardPlays .wareCardPlaysImg {
  321. width: 30rpx;
  322. height: 26rpx;
  323. margin-left: 7rpx;
  324. float: right;
  325. }
  326. .worksCard .wareCardPlays text {
  327. /* margin-left: 4rpx; */
  328. color: #848484;
  329. font-size: 24rpx;
  330. text-align: right;
  331. /* width:57%; */
  332. float: right;
  333. }
  334. .worksCard .wareCardLikes {
  335. width: 100rpx;
  336. margin-right: 18rpx;
  337. display: flex;
  338. flex-direction: row-reverse;
  339. align-items: center;
  340. }
  341. .worksCard .wareCardLikes .wareCardLikesImg {
  342. width: 22rpx;
  343. height: 26rpx;
  344. margin-left: 7rpx;
  345. }
  346. .worksCard .wareCardLikes text {
  347. /* margin-left: 4rpx; */
  348. color: #848484;
  349. font-size: 24rpx;
  350. }