user.wxss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. flex-direction: row;
  30. margin-top: 20rpx;
  31. align-items: center;
  32. }
  33. .btn-hover {
  34. background: #c0c0c0;
  35. }
  36. .btn-icon {
  37. height: 44rpx;
  38. width: 44rpx;
  39. margin-right: 10rpx;
  40. }
  41. .btn-text {
  42. font-size: 35rpx;
  43. }
  44. .publisher{
  45. position: absolute;
  46. top: 730rpx;
  47. height: 180rpx;
  48. width: 15%;
  49. border-radius: 20rpx;
  50. left: -20rpx;
  51. display: flex;
  52. align-items: center;
  53. padding-left: 40rpx;
  54. font-size: 35rpx;
  55. }
  56. .bottom {
  57. bottom: 0rpx;
  58. position: absolute;
  59. display: flex;
  60. justify-content: space-around;
  61. align-items: center;
  62. width: 100%;
  63. z-index: 100;
  64. background-color: #ffffff;
  65. box-shadow: 0rpx -5rpx 15rpx 0rpx rgba(0, 0, 0, 0.16) inset;
  66. font-size: 24rpx;
  67. padding-bottom: 20rpx;
  68. }