myworks.wxss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  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. align-items: center;
  46. justify-content: center;
  47. width: 154rpx;
  48. height: 58rpx;
  49. border: 2rpx solid #ff0000;
  50. font-size: 28rpx;
  51. border-radius: 30rpx;
  52. /* text-align: center; */
  53. /* line-height: 60rpx; */
  54. color: #ff0000;
  55. position: absolute;
  56. top: 36rpx;
  57. right: 32rpx;
  58. }
  59. .follow image {
  60. width: 36rpx;
  61. height: 32rpx;
  62. margin-right: 15rpx;
  63. }
  64. .avatar-bg {
  65. margin-left: 20rpx;
  66. margin-top: 50rpx;
  67. width: 152rpx;
  68. height: 152rpx;
  69. background: #61CA54;
  70. border-radius: 50%;
  71. position: relative;
  72. }
  73. .avatar-box {
  74. width: 100rpx;
  75. height: 100rpx;
  76. border-radius: 50%;
  77. z-index: 300;
  78. /* position: absolute;
  79. top: 7rpx;
  80. left: 7rpx; */
  81. }
  82. .avatar-image {
  83. width: 100rpx;
  84. height: 100rpx;
  85. border-radius: 50%;
  86. margin-right: 28rpx;
  87. }
  88. .avatar-nickname{
  89. max-width: 290rpx;
  90. overflow: hidden;
  91. text-overflow: ellipsis;
  92. white-space: nowrap;
  93. font-size: 30rpx;
  94. color: rgba(0, 0, 0, .6);
  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: 19rpx;
  137. font-size: 28rpx;
  138. /* font-weight: 600; */
  139. color: rgba(0,0,0,.6);
  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. }