user.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. /* pages/user/user.wxss */
  2. .hmly-body {
  3. background-color: #f1f1f1;
  4. }
  5. .hmly-top-bar {
  6. width: 100%;
  7. height: 270rpx;
  8. background-color: #fff;
  9. }
  10. .hmly-user-img {
  11. width: 95%;
  12. height: 200rpx;
  13. margin: 0rpx auto;
  14. display: flex;
  15. justify-content: space-around;
  16. align-items: center;
  17. }
  18. .hmly-avatar-nickname {
  19. width: 70%;
  20. height: 100%;
  21. display: flex;
  22. justify-content: start;
  23. align-items: center;
  24. }
  25. .hmly-avatar {
  26. width: 120rpx;
  27. height: 120rpx;
  28. border-radius: 50%;
  29. }
  30. .hmly-avatar-img {
  31. width: 120rpx;
  32. height: 120rpx;
  33. border-radius: 50%;
  34. }
  35. .hmly-nickname {
  36. margin-left: 20rpx;
  37. }
  38. .hmly-qian-dao {
  39. width: 90%;
  40. height: 70rpx;
  41. padding: 0rpx 30rpx;
  42. font-size: 32rpx;
  43. }
  44. .hmly-qian-text {
  45. float: left;
  46. }
  47. .hmly-icon_ {
  48. float: right;
  49. }
  50. .hmly-kefu {
  51. width: 160rpx;
  52. height: 50rpx;
  53. font-size: 25rpx;
  54. border-radius: 25rpx;
  55. outline: none;
  56. text-align: center;
  57. line-height: 50rpx;
  58. background-color: #f1f1f1;
  59. }
  60. /* 选项卡 */
  61. .hmly-chioce {
  62. width: 100%;
  63. height: auto;
  64. background-color: #fff;
  65. margin-top: 10rpx;
  66. font-size: 32rpx;
  67. }
  68. .hmly-choice-item {
  69. display: flex;
  70. width: 90%;
  71. height: 60rpx;
  72. padding: 20rpx 30rpx;
  73. justify-content: space-between;
  74. align-items: center;
  75. }
  76. /* 定时关闭 */
  77. .hmly-switch {
  78. width: 100%;
  79. height: 500rpx;
  80. position: fixed;
  81. bottom: 0rpx;
  82. z-index: 9999;
  83. display: flex;
  84. justify-content: space-around;
  85. align-items: center;
  86. flex-wrap: wrap;
  87. background: #fff;
  88. border-top-left-radius: 15rpx;
  89. border-top-right-radius: 15rpx;
  90. padding-top: 20rpx;
  91. }
  92. .hmly-switch-item {
  93. width: 100%;
  94. height: 120rpx;
  95. line-height: 120rpx;
  96. border-bottom: 1rpx solid #f1f1f1;
  97. display: flex;
  98. justify-content: space-between;
  99. align-items: center;
  100. /* padding: 0rpx 30rpx; */
  101. }
  102. .hmly-close {
  103. width: 100%;
  104. height: 100rpx;
  105. text-align: center;
  106. line-height: 100rpx;
  107. }
  108. .hmly-scroll-wrapper {
  109. white-space: nowrap;
  110. -webkit-overflow-scrolling: touch;
  111. background: #FFF;
  112. padding-left: 20rpx;
  113. width: 100%;
  114. height: 400rpx;
  115. box-sizing: border-box;
  116. }
  117. ::-webkit-scrollbar {
  118. width: 0;
  119. height: 0;
  120. color: transparent;
  121. }
  122. .hmly-active {
  123. width: 30rpx;
  124. height: 30rpx;
  125. background-color: red;
  126. border-radius: 50%;
  127. margin-right: 40rpx;
  128. }