person.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. @charset "UTF-8";
  2. /* 需要放到文件最上面 */
  3. /* 水平间距 */
  4. /* 水平间距 */
  5. /*
  6. 以下变量是默认值,如不需要修改可以不用给下面的变量重新赋值
  7. */
  8. /* 水平间距 */
  9. .my-box {
  10. height: 100vh;
  11. background: #fff;
  12. overflow-y: auto;
  13. }
  14. .my-box .my-content {
  15. display: flex;
  16. flex-direction: column;
  17. align-items: center;
  18. padding-bottom: 80rpx;
  19. }
  20. .my-box .my-top {
  21. height: 260rpx;
  22. background-image: url("https://images.unsplash.com/photo-1558591710-4b4a1ae0f04d?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwyMDUzMDJ8MHwxfHNlYXJjaHw1fHxhYnN0cmFjdHxlbnwxfHx8fDE2NTI4OTYzNTU&ixlib=rb-1.2.1&q=80&w=1080");
  23. background-position: center center;
  24. background-size: cover;
  25. background-repeat: no-repeat;
  26. width: 100%;
  27. }
  28. .my-box .my-avatar {
  29. width: 200rpx;
  30. height: 200rpx;
  31. border-radius: 50%;
  32. margin-top: -100rpx;
  33. border: 6rpx solid #fff;
  34. overflow: hidden;
  35. }
  36. .my-box .name {
  37. font-size: 20px;
  38. font-weight: 700;
  39. margin: 10rpx 0;
  40. }
  41. .my-box .organization {
  42. color: #8c8c8c;
  43. font-weight: 300;
  44. }
  45. .my-box .btn-box {
  46. box-sizing: border-box;
  47. padding: 30rpx;
  48. width: 100%;
  49. }
  50. .my-box .my-button {
  51. width: 100%;
  52. height: 68rpx;
  53. line-height: 68rpx;
  54. border-radius: 68rpx;
  55. border: 1px solid #08979c;
  56. background: #08979c;
  57. text-align: center;
  58. color: #fff;
  59. }
  60. .my-box .my-button.my-button-cancel {
  61. border-color: #8c8c8c;
  62. color: #8c8c8c;
  63. background: #fff;
  64. }
  65. .my-box .my-house {
  66. width: 100%;
  67. padding: 0 30rpx;
  68. box-sizing: border-box;
  69. }
  70. .my-box .my-house .item {
  71. position: absolute;
  72. bottom: 0;
  73. width: 100%;
  74. height: 56rpx;
  75. background-color: rgba(0, 0, 0, 0.6);
  76. line-height: 56rpx;
  77. font-size: 24rpx;
  78. font-weight: 300;
  79. padding: 0 20rpx;
  80. overflow: hidden;
  81. color: #fff;
  82. }
  83. .my-box .my-house .my-house-title {
  84. font-weight: 500;
  85. margin-bottom: 20rpx;
  86. }