mine.scss 3.7 KB

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