mine.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /* pages/mine/mine.wxss */
  2. page {
  3. background-color: #F8F9FA;
  4. }
  5. .container {
  6. min-height: 100vh !important;
  7. background: #F8F9FA;
  8. justify-content: flex-start;
  9. display: flex;
  10. flex-direction: column;
  11. box-sizing: border-box;
  12. }
  13. .top-box {
  14. width: 100vw;
  15. display: flex;
  16. flex-direction: column;
  17. background: white;
  18. position: relative;
  19. }
  20. .top-bg {
  21. width: 100vw;
  22. display: block;
  23. }
  24. .userInfo-box {
  25. position: absolute;
  26. left: 0;
  27. right: 0;
  28. top: 0;
  29. bottom: 0;
  30. display: flex;
  31. flex-direction: column;
  32. justify-content: center;
  33. }
  34. .user-h-view {
  35. width: 100%;
  36. display: flex;
  37. flex-direction: row;
  38. }
  39. .avatar {
  40. width: 128rpx;
  41. height: 128rpx;
  42. display: block;
  43. margin-left: 40rpx;
  44. border-radius: 100%;
  45. overflow: hidden;
  46. }
  47. .username {
  48. flex: 1;
  49. font-size: 36rpx;
  50. color: #333333;
  51. }
  52. .edit {
  53. width: 40rpx;
  54. height: 40rpx;
  55. display: block;
  56. }
  57. .phoneNumber {
  58. margin-top: 16rpx;
  59. font-size: 28rpx;
  60. color: #666666;
  61. }
  62. .ad-banner {
  63. width: calc(100% - 20rpx);
  64. display: block;
  65. }
  66. .menu-card {
  67. background: #FFFFFF;
  68. margin-top: 20rpx;
  69. width: calc(100% - 60rpx);
  70. overflow: hidden;
  71. min-height: 600rpx;
  72. align-items: center;
  73. display: flex;
  74. box-shadow: 0rpx 8rpx 20rpx 0rpx #EEEEEE;
  75. flex-direction: column;
  76. border-radius: 24rpx;
  77. }
  78. .menu-item {
  79. width: calc(100% - 60rpx);
  80. display: flex;
  81. height: 116rpx;
  82. position: relative;
  83. flex-direction: row;
  84. align-items: center;
  85. border-bottom: 1rpx solid #EEEEEE;
  86. }
  87. .menu-item button {
  88. position: absolute;
  89. top: 0;
  90. left: 0;
  91. bottom: 0;
  92. right: 0;
  93. width: 100%;
  94. height: 100%;
  95. padding: 0;
  96. opacity: 0;
  97. margin: 0;
  98. }
  99. .ic-menu {
  100. width: 36rpx;
  101. height: 36rpx;
  102. }
  103. .menu-title {
  104. flex: 1;
  105. margin-left: 16rpx;
  106. }
  107. .menu-item:active {
  108. opacity: 0.7;
  109. }