my.scss 5.6 KB

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