mine.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. /* 部分菜单图标 */
  2. .mine {
  3. min-height: calc(100vh - 44px);
  4. background-color: #F2F2F2;
  5. font-family: 'PingFangSC-Regular, PingFang SC';
  6. &-bg {
  7. height: 650rpx;
  8. margin-top: -70rpx;
  9. background-image: url(../../static/img/mine-bg.png);
  10. background-repeat: no-repeat;
  11. background-position: center center;
  12. background-size: cover;
  13. }
  14. &-info {
  15. margin-top: -430rpx;
  16. &-header {
  17. display: flex;
  18. justify-content: space-between;
  19. align-items: center;
  20. &-left {
  21. margin-left: 20rpx;
  22. display: flex;
  23. align-items: center;
  24. .avatar {
  25. background-color: rgba(255, 255, 255, 0.2);
  26. width: 146rpx;
  27. height: 146rpx;
  28. border-radius: 50%;
  29. display: flex;
  30. align-items: center;
  31. justify-content: center;
  32. margin-right: 20rpx;
  33. image {
  34. width: 130rpx;
  35. height: 130rpx;
  36. border-radius: 50%;
  37. }
  38. }
  39. .name {
  40. color: #fff;
  41. font-size: 40rpx;
  42. font-family: 'PingFangSC-Medium, PingFang SC';
  43. // width: 180rpx;
  44. // overflow: hidden !important;
  45. // word-break: break-all; /* break-all(允许在单词内换行。) */
  46. // text-overflow: ellipsis; /* 超出部分省略号 */
  47. // display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
  48. // -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  49. // -webkit-line-clamp: 1; /** 显示的行数 **/
  50. }
  51. }
  52. &-right {
  53. background: linear-gradient(270deg, #FF6100 0%, #FE7C02 100%);
  54. border-top-left-radius: 40rpx;
  55. border-bottom-left-radius: 40rpx;
  56. border: solid 2px rgba(255, 255, 255, 0.3);
  57. border-right: none;
  58. display: flex;
  59. align-items: center;
  60. padding: 0 30rpx 0 26rpx;
  61. height: 82rpx;
  62. view {
  63. &:first-child {
  64. font-size: 22rpx;
  65. color: #fff;
  66. opacity: 0.7;
  67. }
  68. &:nth-child(2) {
  69. font-size: 60rpx;
  70. color: #fff;
  71. font-weight: 500;
  72. margin: 0 22rpx 0 16rpx;
  73. }
  74. }
  75. }
  76. }
  77. &-authentication {
  78. display: flex;
  79. justify-content: space-between;
  80. width: calc(100% - 220rpx);
  81. margin: 30rpx auto;
  82. font-size: 24rpx;
  83. color: rgba(255, 255, 255, .6);
  84. &-item {
  85. display: flex;
  86. align-items: center;
  87. view {
  88. &:last-child {
  89. padding: 6rpx 16rpx;
  90. background-color: rgba(255, 255, 255, 0.2);
  91. border-radius: 30rpx;
  92. margin-left: 10rpx;
  93. font-size: 18rpx;
  94. }
  95. }
  96. }
  97. }
  98. &-gain {
  99. display: flex;
  100. justify-content: space-between;
  101. width: calc(100% - 60rpx);
  102. margin: 0 auto;
  103. background-color: #fff;
  104. border-radius: 10rpx;
  105. padding: 36rpx 34rpx;
  106. &-item {
  107. text-align: center;
  108. view {
  109. &:first-child {
  110. font-size: 70rpx;
  111. font-weight: 500;
  112. text {
  113. font-size: 38rpx;
  114. font-weight: 400;
  115. color: #6E6E6E;
  116. }
  117. }
  118. &:last-child {
  119. font-size: 32rpx;
  120. margin-top: 10rpx;
  121. font-weight: 400;
  122. }
  123. }
  124. &:first-child {
  125. view {
  126. &:first-child {
  127. color: #4591E7;
  128. }
  129. }
  130. }
  131. &:nth-child(2) {
  132. view {
  133. &:first-child {
  134. color: #FF5733;
  135. }
  136. }
  137. }
  138. &:last-child {
  139. view {
  140. &:first-child {
  141. color: #17BEB2;
  142. }
  143. }
  144. }
  145. }
  146. }
  147. &-cell1 {
  148. width: calc(100% - 60rpx);
  149. margin: 20rpx auto;
  150. padding: 0 34rpx;
  151. background-color: #fff;
  152. border-radius: 10rpx;
  153. .cell-icon {
  154. margin-right: 24rpx;
  155. }
  156. .jianli {
  157. width: 34rpx;
  158. height: 34rpx;
  159. }
  160. .toudi {
  161. width: 34rpx;
  162. height: 34rpx;
  163. }
  164. .mianshi {
  165. width: 28rpx;
  166. height: 34rpx;
  167. }
  168. .peixun {
  169. width: 30rpx;
  170. height: 38rpx;
  171. }
  172. .pingjia {
  173. width: 36rpx;
  174. height: 30rpx;
  175. }
  176. .shezhi {
  177. width: 32rpx;
  178. height: 32rpx;
  179. }
  180. }
  181. }
  182. }