mine.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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: -500rpx;
  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: 44rpx;
  42. font-family: 'PingFangSC-Medium, PingFang SC';
  43. font-weight: 700;
  44. }
  45. }
  46. &-right {
  47. background: linear-gradient(270deg, #FF6100 0%, #FE7C02 100%);
  48. border-top-left-radius: 40rpx;
  49. border-bottom-left-radius: 40rpx;
  50. border: solid 2px rgba(255, 255, 255, 0.3);
  51. border-right: none;
  52. display: flex;
  53. align-items: center;
  54. padding: 0 30rpx 0 26rpx;
  55. height: 82rpx;
  56. view {
  57. &:first-child {
  58. font-size: 22rpx;
  59. color: #fff;
  60. line-height: 24rpx;
  61. }
  62. &:nth-child(2) {
  63. font-size: 60rpx;
  64. color: #fff;
  65. font-weight: 500;
  66. margin: 0 22rpx 0 16rpx;
  67. }
  68. }
  69. }
  70. }
  71. &-authentication {
  72. display: flex;
  73. justify-content: space-between;
  74. width: calc(100% - 220rpx);
  75. margin: 50rpx auto;
  76. font-size: 28rpx;
  77. color: rgba(255, 255, 255, .6);
  78. &-item {
  79. display: flex;
  80. align-items: center;
  81. .no-certified {
  82. padding: 6rpx 16rpx;
  83. background-color: rgba(255, 255, 255, 0.2);
  84. border-radius: 30rpx;
  85. margin-left: 10rpx;
  86. font-size: 24rpx;
  87. }
  88. .had {
  89. width: 134rpx;
  90. height: 68rpx;
  91. line-height: 72rpx;
  92. text-align: right;
  93. color: #684B06;
  94. font-size: 24rpx;
  95. padding-right: 12rpx;
  96. }
  97. .certified {
  98. background: url(../../static/img/certified-icon.png) no-repeat center center;
  99. background-size: 100% 100%;
  100. }
  101. .passed {
  102. background: url(../../static/img/passed-icon.png) no-repeat center center;
  103. background-size: 100% 100%;
  104. }
  105. }
  106. }
  107. &-gain {
  108. display: flex;
  109. justify-content: space-between;
  110. width: calc(100% - 60rpx);
  111. margin: 0 auto;
  112. background-color: #fff;
  113. border-radius: 10rpx;
  114. padding: 36rpx 34rpx;
  115. &-item {
  116. text-align: center;
  117. view {
  118. &:first-child {
  119. font-size: 50rpx;
  120. font-weight: 500;
  121. text {
  122. font-size: 32rpx;
  123. font-weight: 400;
  124. color: #6E6E6E;
  125. }
  126. }
  127. &:last-child {
  128. font-size: 30rpx;
  129. margin-top: 10rpx;
  130. font-weight: 400;
  131. }
  132. }
  133. &:first-child {
  134. view {
  135. &:first-child {
  136. color: #4591E7;
  137. }
  138. }
  139. }
  140. &:nth-child(2) {
  141. view {
  142. &:first-child {
  143. color: #FF5733;
  144. }
  145. }
  146. }
  147. &:last-child {
  148. view {
  149. &:first-child {
  150. color: #17BEB2;
  151. }
  152. }
  153. }
  154. }
  155. }
  156. &-cell1 {
  157. width: calc(100% - 60rpx);
  158. margin: 20rpx auto;
  159. background-color: #fff;
  160. border-radius: 10rpx;
  161. .cell-icon {
  162. margin-right: 24rpx;
  163. }
  164. // .jianli {
  165. // width: 34rpx;
  166. // height: 34rpx;
  167. // }
  168. // .toudi {
  169. // width: 34rpx;
  170. // height: 34rpx;
  171. // }
  172. // .mianshi {
  173. // width: 28rpx;
  174. // height: 34rpx;
  175. // }
  176. // .peixun {
  177. // width: 30rpx;
  178. // height: 38rpx;
  179. // }
  180. // .pingjia {
  181. // width: 36rpx;
  182. // height: 30rpx;
  183. // }
  184. // .shezhi {
  185. // width: 32rpx;
  186. // height: 32rpx;
  187. // }
  188. }
  189. }
  190. }