my.scss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. page {
  2. background-color: #fff;
  3. }
  4. .page {
  5. background-color: #fff;
  6. width: 100%;
  7. height:100vh;
  8. }
  9. .topBody {
  10. width:750rpx;
  11. }
  12. .header {
  13. display: flex;
  14. flex-direction: row;
  15. justify-content: flex-start;
  16. align-items: flex-start;
  17. width:750rpx;
  18. height:420rpx;
  19. position: relative;
  20. z-index: 10;
  21. position: relative;
  22. .topBg {
  23. width:750rpx;
  24. height:250rpx;
  25. background: #FFA54F;
  26. border-radius: 0 0 50% 50% / 0 0 20% 20%;
  27. z-index: 0;
  28. position: absolute;
  29. }
  30. .top_num {
  31. position: absolute;
  32. top: 20rpx;
  33. right: 30rpx;
  34. display: flex;
  35. flex-direction: row;
  36. justify-content: flex-end;
  37. align-items: center;
  38. z-index: 10;
  39. .num_1, .num_2 {
  40. display: flex;
  41. flex-direction: row;
  42. align-items: center;
  43. justify-content: center;
  44. background: rgba(255, 255, 255, 0.8);
  45. border-radius: 30rpx;
  46. padding: 10rpx 20rpx;
  47. margin-left: 20rpx;
  48. text:first-child {
  49. font-size: 24rpx;
  50. color: #666;
  51. }
  52. text:last-child {
  53. font-size: 32rpx;
  54. font-weight: bold;
  55. color: #333;
  56. }
  57. }
  58. }
  59. .infoBg {
  60. display: flex;
  61. flex-direction: column;
  62. justify-content: flex-start;
  63. align-items: stretch;
  64. width: 690rpx;
  65. height: 320rpx;
  66. margin: 20rpx 30rpx;
  67. margin-top: 90rpx;
  68. background: rgba(255, 255, 255, 0.95);
  69. backdrop-filter: blur(10px);
  70. border-radius: 24rpx;
  71. padding-top: calc(var(--status-bar-height) + 0rpx);
  72. box-shadow: 0 8rpx 20rpx rgba(0, 0, 0, 0.1);
  73. .top_row {
  74. display: flex;
  75. flex-direction: row;
  76. justify-content: space-between;
  77. align-items: flex-start;
  78. padding: 20rpx 0;
  79. .left {
  80. padding-left: 30rpx;padding-right: 0rpx;
  81. width:200rpx;
  82. image {
  83. width:136rpx;
  84. height:136rpx;
  85. border-radius: 100rpx;
  86. border:solid 4rpx #fff;
  87. }
  88. .level {
  89. display: flex;
  90. flex-direction: row;
  91. justify-content: center;
  92. align-items: center;
  93. height: 32rpx;
  94. padding: 0 12rpx;
  95. margin-left: 10rpx;
  96. border-radius: 12rpx;
  97. background: linear-gradient(90deg, #FF5869 0%, #F83881 100%);
  98. font-size: 20rpx;
  99. color: #fff;
  100. font-weight: normal;
  101. }
  102. }
  103. .right {
  104. color:#333;
  105. width:500rpx;
  106. font-size: 40rpx;padding-top: 20rpx;
  107. .nickname {
  108. font-weight: bold;
  109. margin-bottom: 0rpx;
  110. display: flex;
  111. flex-direction: row;
  112. justify-content: flex-start;
  113. align-items: center;
  114. image {
  115. width:36rpx;
  116. margin-left: 8rpx;
  117. margin-right: 10rpx;
  118. }
  119. .level {
  120. font-weight: normal;font-size: 32rpx;
  121. }
  122. }
  123. .tags_list {
  124. .tag {
  125. margin-right: 8rpx;
  126. }
  127. }
  128. .join_date {
  129. display: flex;
  130. flex-direction: row;
  131. justify-content: flex-start;
  132. align-items: center;
  133. font-size: 28rpx;
  134. color:#333;
  135. image {
  136. width:36rpx;
  137. margin-left: 6rpx;
  138. }
  139. }
  140. .follow_info {
  141. display: none;
  142. }
  143. }
  144. }
  145. .bottom_row {
  146. padding: 20rpx 50rpx;
  147. .intro_row {
  148. display: flex;
  149. flex-direction: row;
  150. align-items: center;
  151. margin-bottom: 20rpx;
  152. .intro_text {
  153. color: #999;
  154. font-size: 28rpx;
  155. }
  156. .add_icon {
  157. width: 28rpx;
  158. margin-left: 10rpx;
  159. }
  160. }
  161. .follow_info {
  162. display: flex;
  163. flex-direction: row;
  164. align-items: center;
  165. justify-content: flex-start;
  166. .num {
  167. font-size: 36rpx;
  168. font-weight: bold;
  169. color: #333;
  170. margin-right: 8rpx;
  171. }
  172. .label {
  173. font-size: 28rpx;
  174. color: #999;
  175. }
  176. .separator {
  177. width: 2rpx;
  178. height: 24rpx;
  179. background-color: #E5E5E5;
  180. margin: 0 30rpx;
  181. }
  182. }
  183. }
  184. }
  185. .title {
  186. font-size: 34rpx;
  187. }
  188. }
  189. .whiteItem {
  190. width:690rpx;margin:20rpx auto;
  191. .btn {
  192. width:100%;height:120rpx;
  193. display: flex;flex-direction: row;justify-content: center;align-items: center;
  194. background: #2B65D9;color:#fff;
  195. border-radius: 120rpx;
  196. }
  197. }
  198. .thread {
  199. height:210rpx;
  200. padding:50rpx;
  201. font-size: 52rpx;
  202. color:#6E6A6A;
  203. padding-top: 80rpx;
  204. }
  205. .myinfo {
  206. width: 690rpx;
  207. display:flex;
  208. flex-direction: column;
  209. margin:30rpx 30rpx 60rpx;
  210. justify-content: flex-start;
  211. .numlist {
  212. display: flex;
  213. flex-direction: row;
  214. justify-content: center;
  215. align-items: center;
  216. .item {
  217. display: flex;
  218. justify-content: center;
  219. padding:20rpx;
  220. border-radius: 38rpx;
  221. width:316rpx;
  222. height:186rpx;
  223. image {
  224. width:64rpx;
  225. }
  226. .num {
  227. color:#fff;
  228. font-size: 36rpx;
  229. text-align: center;
  230. display: flex;
  231. flex-direction: column;
  232. justify-content: center;
  233. align-items: center;
  234. .name {
  235. font-size: 28rpx;
  236. color:#BABABA;
  237. margin-top: 12rpx;
  238. }
  239. }
  240. }
  241. }
  242. .numlist2 {
  243. display: flex;
  244. flex-direction: row;
  245. justify-content: flex-start;
  246. align-items: center;
  247. flex-wrap: wrap;
  248. border-radius: 2rpx;
  249. .item {
  250. display: flex;
  251. justify-content: center;
  252. padding:20rpx;
  253. border-radius: 2rpx;
  254. width:340rpx;
  255. background: rgba(120, 120, 120, 0.09);margin:2rpx;
  256. image {
  257. width:224rpx;
  258. }
  259. .num {
  260. color:#fff;
  261. text-align: center;
  262. display: flex;
  263. flex-direction: column;
  264. justify-content: center;
  265. align-items: center;
  266. .name {
  267. font-size: 24rpx;
  268. color:#BABABA;
  269. margin-top: 12rpx;
  270. }
  271. }
  272. }
  273. }
  274. .tablist {
  275. display: flex;
  276. flex-direction: row;
  277. justify-content: flex-start;
  278. align-items: center;
  279. margin: 20rpx 0;
  280. position: relative;
  281. .item {
  282. flex: 1;
  283. height: 80rpx;
  284. display: flex;
  285. justify-content: center;
  286. align-items: center;
  287. position: relative;
  288. .name {
  289. font-size: 32rpx;
  290. color: #666;
  291. transition: all 0.3s;
  292. }
  293. &.active {
  294. .name {
  295. color: #2B65D9;
  296. font-weight: bold;
  297. }
  298. &::after {
  299. content: '';
  300. position: absolute;
  301. bottom: -10rpx;
  302. left: 50%;
  303. transform: translateX(-50%);
  304. width: 40rpx;
  305. height: 6rpx;
  306. background: #2B65D9;
  307. border-radius: 3rpx;
  308. }
  309. }
  310. &:active {
  311. opacity: 0.8;
  312. }
  313. }
  314. }
  315. }
  316. .btn_submit {
  317. width: 660rpx;
  318. height: 96rpx;
  319. margin:0 auto;
  320. border: 2rpx solid #404040;
  321. border-radius: 28rpx;
  322. font-weight: bold;
  323. font-size: 32rpx;
  324. color: #FF2A95;
  325. display: flex;
  326. flex-direction: row;
  327. justify-content: center;
  328. align-items: center;
  329. }
  330. .blankHeight {
  331. height:100rpx;
  332. }