myworks.wxss 6.2 KB

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