myworks.wxss 6.3 KB

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