myworks.wxss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. /* pages/user/myworks/myworks.wxss */
  2. page{
  3. width: 100%;
  4. background: #F0F1F5;
  5. }
  6. .user-works{
  7. width: 750rpx;
  8. box-sizing: border-box;
  9. padding: 0 15rpx;
  10. background: #F0F1F5;
  11. display: flex;
  12. flex-direction: column;
  13. align-items: center;
  14. justify-content: space-between;
  15. }
  16. .follow-details{
  17. width: 100%;
  18. height: 382rpx;
  19. border-radius: 20rpx;
  20. background: #FFFFFF;
  21. margin-top: 30rpx;
  22. display: flex;
  23. position: relative;
  24. }
  25. .follow-info{
  26. width: 100%;
  27. display: flex;
  28. }
  29. .follow {
  30. display: flex;
  31. align-items: center;
  32. justify-content: center;
  33. width:154rpx;
  34. height:58rpx;
  35. border: 2rpx solid #ff0000;
  36. font-size: 28rpx;
  37. border-radius: 30rpx;
  38. /* text-align: center; */
  39. /* line-height: 60rpx; */
  40. color: #ff0000;
  41. position:absolute;
  42. top: 36rpx;
  43. right: 32rpx;
  44. }
  45. .follow image {
  46. width: 36rpx;
  47. height: 36rpx;
  48. margin-right: 15rpx;
  49. }
  50. .avatar-bg{
  51. margin-left: 20rpx;
  52. margin-top: 50rpx;
  53. width: 152rpx;
  54. height: 152rpx;
  55. background: #61CA54;
  56. border-radius: 50%;
  57. position: relative;
  58. }
  59. .avatar-box{
  60. width: 138rpx;
  61. height: 138rpx;
  62. border-radius: 50%;
  63. z-index: 300;
  64. /* position: absolute;
  65. top: 7rpx;
  66. left: 7rpx; */
  67. margin: 8rpx auto;
  68. }
  69. .avatar-image{
  70. width: 100%;
  71. height: 100%;
  72. border-radius: 50%;
  73. }
  74. .avatar-nickname{
  75. width: 500rpx;
  76. display: flex;
  77. }
  78. .avatar-address{
  79. width: 500rpx;
  80. }
  81. .flowers-box{
  82. width: 26rpx;
  83. height: 26rpx;
  84. margin-left: 10rpx;
  85. }
  86. .flowers-box>image{
  87. width: 100%;
  88. height: 100%;
  89. }
  90. .occupation-title{
  91. position: absolute;
  92. left: 48rpx;
  93. bottom: -10rpx;
  94. width: 68rpx;
  95. height: 26rpx;
  96. background: #61CA54;
  97. border-radius: 180rpx;
  98. z-index: 600;
  99. /* line-height: 26rpx; */
  100. text-align: center;
  101. color: #FFFFFF;
  102. font-size: 18rpx;
  103. }
  104. .avatar-msg{
  105. margin-left: 40rpx;
  106. margin-top: 50rpx;
  107. width: 500rpx;
  108. height: 150rpx;
  109. color: #444444;
  110. font-size: 32rpx;
  111. }
  112. .gender-size{
  113. margin-left: 10rpx;
  114. font-size: 28rpx;
  115. align-self: center;
  116. }
  117. .set-msg{
  118. width: 100%;
  119. height: 248rpx;
  120. display: flex;
  121. align-items: flex-start;
  122. justify-content: center;
  123. }
  124. .avatar-nickname,.avatar-birthday,.avatar-address{
  125. line-height: 50rpx;
  126. color: #444;
  127. font-size: 32rpx;
  128. }
  129. .mine-category{
  130. box-sizing: border-box;
  131. width: 674rpx;
  132. padding-top: 30rpx;
  133. border-top: 4rpx solid #F0F1F5;
  134. font-size: 28rpx;
  135. font-weight: 600;
  136. z-index: 900;
  137. display: flex;
  138. position: absolute;
  139. top: 246rpx;
  140. left: 23rpx;
  141. }
  142. .border-right {
  143. display: flex;
  144. justify-content: center;
  145. align-items: center;
  146. font-size: 24rpx;
  147. font-weight: lighter;
  148. height: 22rpx;
  149. border-right: 2rpx solid #D6D6D6;
  150. }
  151. .flower-count .border-right {
  152. border: none;
  153. }
  154. .play-count,
  155. .point-count,
  156. .follow-count,
  157. .flower-count {
  158. width: 25%;
  159. text-align: center;
  160. }
  161. .play-img {
  162. width: 28rpx;
  163. height: 26rpx;
  164. margin-right: 6rpx;
  165. margin-bottom: 6rpx;
  166. }
  167. .red-heart {
  168. width: 26rpx;
  169. height: 22rpx;
  170. margin-right: 6rpx;
  171. margin-bottom: 6rpx;
  172. }
  173. .point-img {
  174. width: 28rpx;
  175. height: 24rpx;
  176. margin-right: 6rpx;
  177. margin-bottom: 6rpx;
  178. }
  179. image {
  180. width: 100%;
  181. height: 100%;
  182. }
  183. .color {
  184. text-align: right;
  185. padding-right: 44rpx;
  186. }
  187. .play-count {
  188. color: #92D626;
  189. }
  190. .point-count {
  191. color: #FFA700;
  192. }
  193. .follow-count {
  194. color: #FF0000;
  195. }
  196. .flower-count {
  197. color: #EE5750;
  198. }
  199. .works-article{
  200. margin-top: 12rpx;
  201. box-sizing: border-box;
  202. width: 100%;
  203. padding: 0 27rpx;
  204. background: #FFFFFF;
  205. border-radius: 12rpx;
  206. }
  207. .user-info{
  208. width: 100%;
  209. height: 120rpx;
  210. display: flex;
  211. align-items: center;
  212. font-size:32rpx;
  213. }
  214. .user-img{
  215. width: 96rpx;
  216. height: 96rpx;
  217. border-radius: 50%;
  218. margin-right:20rpx;
  219. }
  220. .user-img>image{
  221. width: 100%;
  222. height: 100%;
  223. border-radius: 50%;
  224. }
  225. .user-details{
  226. /* margin-left: 26rpx; */
  227. display: flex;
  228. flex-direction: column;
  229. }
  230. .user-name{
  231. width: 552rpx;
  232. display: flex;
  233. justify-content: space-between;
  234. align-items: flex-end;
  235. color: #444;
  236. font-weight: 500;
  237. }
  238. .left-detail{
  239. width: 500rpx;
  240. font-size: 32rpx;
  241. }
  242. .right-detail{
  243. width: 90rpx;
  244. display: flex;
  245. font-size: 22rpx;
  246. flex-direction:row-reverse;
  247. margin-right: 6rpx;
  248. }
  249. .user-time{
  250. color: #686868;
  251. font-weight: lighter;
  252. }
  253. .video-preview{
  254. margin-top: 10rpx;
  255. width: 100%;
  256. height: 290rpx;
  257. border-radius: 20rpx;
  258. }
  259. .video-preview>image{
  260. width: 100%;
  261. height: 100%;
  262. border-radius: 20rpx;
  263. }
  264. .content-title{
  265. margin-top: 12rpx;
  266. margin-bottom: 30rpx;
  267. width: 100%;
  268. display: flex;
  269. justify-content: space-between;
  270. align-items: center;
  271. font-size: 32rpx;
  272. font-weight: 500;
  273. color: #414141;
  274. }
  275. .content-grage{
  276. font-size: 24rpx;
  277. margin-right:6rpx;
  278. }
  279. .user-info image{
  280. width: 100%;
  281. height: 100%;
  282. }
  283. .plays-img{
  284. width: 20rpx;
  285. height: 20rpx;
  286. margin-right:4rpx;
  287. }
  288. .likes-img{
  289. width: 26rpx;
  290. height: 24rpx;
  291. margin-right:4rpx;
  292. }
  293. .likes-count{
  294. color: #FD8B43;
  295. }
  296. .plays-count{
  297. color: #5E5E5E;
  298. }