index.wxss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. page {
  2. padding-bottom: calc(32rpx + constant(safe-area-inset-bottom));
  3. padding-bottom: calc(32rpx + env(safe-area-inset-bottom));
  4. font-family: HarmonyOS Sans SC-Regular, HarmonyOS Sans SC;
  5. font-weight: 400;
  6. }
  7. .user .top {
  8. position: relative;
  9. width: 100%;
  10. height: 464rpx;
  11. }
  12. .user .top .backgroundImg {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%;
  16. }
  17. .user .top .navbar {
  18. position: fixed;
  19. top: 0;
  20. z-index: 980;
  21. width: 100%;
  22. }
  23. .user .top .header {
  24. position: relative;
  25. padding: 0 24rpx;
  26. }
  27. .user .top .header image {
  28. width: 120rpx;
  29. height: 120rpx;
  30. margin-right: 30rpx;
  31. border-radius: 50%;
  32. border: 4rpx solid #f5f5f5;
  33. }
  34. .user .header .text .name {
  35. width: 400rpx;
  36. margin-bottom: 10rpx;
  37. line-height: 46rpx;
  38. font-size: 40rpx;
  39. font-family: HarmonyOS Sans SC-Bold, HarmonyOS Sans SC;
  40. font-weight: bold;
  41. color: #fff;
  42. }
  43. .user .header .person {
  44. width: 100%;
  45. margin-top: 30rpx;
  46. }
  47. .user .header .person .personal {
  48. width: 50%;
  49. text-align: center;
  50. line-height: 32rpx;
  51. font-size: 24rpx;
  52. color: #fff;
  53. }
  54. .user .header .person .personal .count {
  55. margin-bottom: 16rpx;
  56. font-size: 32rpx;
  57. font-family: DIN Alternate-Bold, DIN Alternate;
  58. font-weight: bold;
  59. }
  60. .wrapper image {
  61. display: block;
  62. width: 100%;
  63. height: 300rpx;
  64. margin: 20rpx 0;
  65. }