user.wxss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /* components/user/user.wxss */
  2. .user-card {
  3. display: flex;
  4. flex-direction: column;
  5. align-items: center;
  6. margin-top: 150rpx;
  7. }
  8. .user-avatar {
  9. height: 200rpx;
  10. width: 200rpx;
  11. border-radius: 100%;
  12. margin-bottom: 20rpx;
  13. }
  14. .user-nickname {
  15. font-size: 40rpx;
  16. margin-bottom: 10rpx;
  17. }
  18. .pub-name {
  19. font-size: 30rpx;
  20. line-height: 50rpx;
  21. }
  22. .mid {
  23. margin-top: 40rpx;
  24. display: flex;
  25. flex-direction: column;
  26. align-items: center;
  27. }
  28. .btn {
  29. display: flex !important;
  30. justify-content: center;
  31. align-items: center;
  32. width: 200rpx !important;
  33. margin: 20rpx 0rpx 0rpx 0rpx !important;
  34. padding: 0rpx !important;
  35. font-size: 25rpx !important;
  36. font-weight: normal !important;
  37. background-color: transparent !important;
  38. }
  39. .btn-icon {
  40. height: 44rpx;
  41. width: 44rpx;
  42. margin-right: 10rpx;
  43. }
  44. .btn-text {
  45. font-size: 35rpx;
  46. }
  47. .publisher {
  48. position: absolute;
  49. top: 730rpx;
  50. height: 180rpx;
  51. width: 15%;
  52. border-radius: 20rpx;
  53. left: -20rpx;
  54. display: flex;
  55. align-items: center;
  56. padding-left: 40rpx;
  57. font-size: 35rpx;
  58. }
  59. .bottom-bar {
  60. position: absolute;
  61. bottom: 0rpx;
  62. display: flex;
  63. justify-content: space-around;
  64. align-items: center;
  65. z-index: 1;
  66. width: 100%;
  67. background-color: #FFFFFF;
  68. box-shadow: 0rpx -5rpx 15rpx 0rpx rgba(0, 0, 0, 0.16) inset;
  69. font-size: 24rpx;
  70. padding-bottom: 20rpx;
  71. }