user.wxss 1.2 KB

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