myworks.wxss 6.3 KB

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