myworks.wxss 6.9 KB

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