myworks.wxss 6.4 KB

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