index.rpx.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. .tabBarLineHeight{
  2. height: 138rpx;
  3. }
  4. .tabBarView {
  5. position: fixed;
  6. bottom: 0;
  7. }
  8. .content-wrap {
  9. background: rgb(255, 255, 255);
  10. }
  11. /* 头部内容 */
  12. .head-wrap {
  13. height: 1200rpx;
  14. position: relative;
  15. .head-bg {
  16. height: 680rpx;
  17. // background: #FFE05C;
  18. }
  19. .content {
  20. // background: #fff;
  21. position: absolute;
  22. top:6%;
  23. left: 20rpx;
  24. right: 12rpx;
  25. border-radius: 6px;
  26. .user-info {
  27. margin: 0 auto;
  28. margin-bottom: 68rpx;
  29. display: flex;
  30. align-items: center;
  31. .user-head {
  32. margin-right: 12rpx;
  33. image {
  34. border-radius: 76rpx;
  35. height: 152rpx;
  36. width: 152rpx;
  37. }
  38. }
  39. .h-content {
  40. .user-name {
  41. margin-top: 12rpx;
  42. font-size: 32rpx;
  43. font-weight: 600;
  44. height: 60rpx;
  45. }
  46. .user-desc {
  47. height: 60rpx;
  48. font-size: 12px;
  49. color: #333333;
  50. display: flex;
  51. }
  52. }
  53. }
  54. /* 钱包 */
  55. .balance-info {
  56. width: 100%;
  57. background: #fff;
  58. border-radius: 20rpx;
  59. padding-bottom: 40rpx;
  60. .balance-name {
  61. padding-left: 24rpx;
  62. padding-top: 20rpx;
  63. font-family: PingFangSC-Medium, PingFang SC;
  64. font-weight: 600;
  65. color: #333333;
  66. line-height: 48rpx;
  67. font-size: 16px;
  68. }
  69. .h-content {
  70. display: flex;
  71. justify-content: space-around; // 平均分布
  72. justify-content: center;
  73. .button-wrap {
  74. flex: 1;
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. margin-top: 20rpx;
  79. margin-bottom: 36rpx;
  80. padding-bottom: 28rpx;
  81. .btn {
  82. padding-left: 24rpx;
  83. padding-right: 24rpx;
  84. height: 72rpx;
  85. border-radius: 36rpx;
  86. .icon {
  87. display: flex;
  88. padding-right: 12rpx;
  89. align-items: center;
  90. justify-content: center;
  91. image {
  92. height: 28rpx;
  93. width: 28rpx;
  94. }
  95. }
  96. }
  97. .h-name {
  98. padding-top: 8rpx;
  99. font-size: 11px;
  100. text-align: center;
  101. .name {
  102. color: #999999;
  103. }
  104. .num {
  105. line-height: 76rpx;
  106. font-size: 18px;
  107. }
  108. }
  109. }
  110. }
  111. }
  112. /* 导航菜单 */
  113. .nav-bar {
  114. background: #fff;
  115. border-radius: 20rpx;
  116. margin-top: 24rpx;
  117. /* 商店信息 */
  118. .nav-content {
  119. padding-top: 20rpx;
  120. padding-bottom: 12rpx;
  121. .nav-info {
  122. display: flex;
  123. align-items: center;
  124. .logo {
  125. display: flex;
  126. width: 12%;
  127. justify-content: center;
  128. text-align: center;
  129. align-items: center;
  130. image {
  131. width: 52rpx;
  132. height: 52rpx;
  133. }
  134. }
  135. .nav-desc {
  136. width: 78%;
  137. display: flex;
  138. line-height: 30rpx;
  139. .nav-name {
  140. font-size: 16px;
  141. width: 60%;
  142. }
  143. .change-store {
  144. text-align: right;
  145. width: 40%;
  146. font-size: 12px;
  147. color: #666;
  148. }
  149. }
  150. .arrow-right {
  151. width: 2%;
  152. text-align: right;
  153. margin: 0 auto;
  154. cursor: pointer;
  155. padding-top: 6rpx;
  156. image {
  157. width: 18rpx;
  158. height: 18rpx;
  159. }
  160. }
  161. }
  162. }
  163. }
  164. }
  165. }