user.wxss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /* pages/user/user.wxss */
  2. .body{
  3. background-color: #f1f1f1;
  4. }
  5. .topBar{
  6. width: 100%;
  7. height: 270rpx;
  8. background-color: #fff;
  9. }
  10. .userImg{
  11. width: 95%;
  12. height: 200rpx;
  13. margin: 0rpx auto;
  14. display: flex;
  15. justify-content: space-around;
  16. align-items: center;
  17. }
  18. .avatar_nickname{
  19. width: 70%;
  20. height: 100%;
  21. display: flex;
  22. justify-content: start;
  23. align-items: center;
  24. }
  25. .avatar{
  26. width: 120rpx;
  27. height: 120rpx;
  28. border-radius: 50%;
  29. }
  30. .avatarImg{
  31. width: 120rpx;
  32. height: 120rpx;
  33. border-radius: 50%;
  34. }
  35. .nickname{
  36. margin-left: 20rpx;
  37. }
  38. .qiandao{
  39. width: 90%;
  40. height: 70rpx;
  41. padding: 0rpx 30rpx;
  42. font-size: 32rpx;
  43. }
  44. .qianText{
  45. float: left;
  46. }
  47. .icon_{
  48. float: right;
  49. }
  50. .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. .chioce{
  62. width: 100%;
  63. height: auto;
  64. background-color: #fff;
  65. margin-top:10rpx;
  66. font-size: 32rpx;
  67. }
  68. .choiceItem{
  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. .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. .switch-item{
  93. width: 100%;
  94. height: 100rpx;
  95. border-bottom: 1rpx solid #f1f1f1;
  96. line-height: 100rpx;
  97. }
  98. .close{
  99. width: 100%;
  100. height: 100rpx;
  101. text-align: center;
  102. line-height: 100rpx;
  103. }
  104. .scroll-wrapper {
  105. white-space: nowrap;
  106. -webkit-overflow-scrolling: touch;
  107. background: #FFF;
  108. padding-left: 20rpx;
  109. width: 100%;
  110. height: 400rpx;
  111. box-sizing: border-box;
  112. }
  113. ::-webkit-scrollbar {
  114. width: 0;
  115. height: 0;
  116. color: transparent;
  117. }