index.less 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. .container {
  2. position: relative;
  3. padding: 0rpx 20rpx 240rpx;
  4. .userBox {
  5. background-color: white;
  6. padding: 20rpx 20rpx 0rpx;
  7. border-radius: 20rpx;
  8. .above {
  9. display: flex;
  10. align-items: center;
  11. justify-content: space-between;
  12. padding-bottom: 30rpx;
  13. border-bottom: 1rpx solid #D6D6D6;
  14. .identity {
  15. position: relative;
  16. display: flex;
  17. flex-direction: column;
  18. align-items: center;
  19. text-align: center;
  20. .avatar {
  21. width: 106rpx;
  22. height: 106rpx;
  23. border-radius: 50%;
  24. position: relative;
  25. }
  26. .identityText {
  27. position: absolute;
  28. bottom: -10rpx;
  29. width: 80rpx;
  30. font-size: 24rpx;
  31. color: white;
  32. background-color: #10CA61;
  33. border-radius: 25rpx;
  34. }
  35. }
  36. .userRight {
  37. flex: 1;
  38. margin-left: 40rpx;
  39. padding: 0px 10rpx;
  40. .uRtop {
  41. display: flex;
  42. justify-content: space-between;
  43. .uRtopleft {
  44. .nickName {
  45. margin: 10rpx 0rpx 18rpx;
  46. max-width: 340rpx;
  47. color: #333;
  48. font-size: 32rpx;
  49. }
  50. .gradeText {
  51. font-size: 24rpx;
  52. color: #989A9C;
  53. }
  54. }
  55. .uRtopRight {
  56. display: flex;
  57. align-items: center;
  58. .edit {
  59. width: 22rpx;
  60. height: 28rpx;
  61. }
  62. text {
  63. margin: 0px 10rpx;
  64. font-size: 24rpx;
  65. color: #666;
  66. }
  67. }
  68. }
  69. }
  70. }
  71. }
  72. .below {
  73. padding: 20rpx 0rpx;
  74. display: flex;
  75. align-items: center;
  76. justify-content: space-between;
  77. background-color: white;
  78. border-radius: 20rpx;
  79. .sBox {
  80. width: 110rpx;
  81. position: relative;
  82. display: flex;
  83. flex-direction: column;
  84. align-items: center;
  85. .img {
  86. width: 69rpx;
  87. height: 69rpx;
  88. }
  89. .title {
  90. margin-top: 8rpx;
  91. font-size: 26rpx;
  92. color: #333;
  93. }
  94. .noticeTips {
  95. position: absolute;
  96. right: 8rpx;
  97. top: -8rpx;
  98. width: 34rpx;
  99. padding: 4rpx 0rpx;
  100. border-radius: 40rpx;
  101. color: white;
  102. font-size: 18rpx;
  103. text-align: center;
  104. background-color: #FF0000;
  105. }
  106. }
  107. .contactBtn {
  108. border: none;
  109. padding: 0rpx;
  110. line-height: normal;
  111. margin: 0;
  112. }
  113. }
  114. .medalBox {
  115. margin: 30rpx 0rpx;
  116. padding: 20rpx 30rpx;
  117. background-color: white;
  118. border-radius: 20rpx;
  119. .header {
  120. display: flex;
  121. align-items: center;
  122. justify-content: space-between;
  123. .title {
  124. font-size: 30rpx;
  125. font-weight: bold;
  126. color: #000;
  127. }
  128. .jump {
  129. font-size: 26rpx;
  130. color: #666666;
  131. .jumpIcon {
  132. width: 12rpx;
  133. height: 22rpx;
  134. }
  135. }
  136. }
  137. .body {
  138. margin-top: 20rpx;
  139. display: flex;
  140. align-items: center;
  141. justify-content: space-between;
  142. .medal {
  143. width: 112rpx;
  144. height: 94rpx;
  145. }
  146. }
  147. }
  148. .activation {
  149. margin-top: 30rpx;
  150. padding: 13rpx 40rpx;
  151. display: flex;
  152. align-items: center;
  153. justify-content: space-between;
  154. background-color: white;
  155. border-radius: 50rpx;
  156. .tips {
  157. font-size: 28rpx;
  158. color: #666666;
  159. }
  160. .subBtn {
  161. padding: 10rpx 50rpx;
  162. border-radius: 50rpx;
  163. color: white;
  164. font-size: 25rpx;
  165. background-color: #FC614E;
  166. }
  167. }
  168. .goodsList {
  169. position: absolute;
  170. margin-top: 40rpx;
  171. width: 100%;
  172. white-space: nowrap;
  173. .payBox {
  174. position: relative;
  175. margin-right: 22rpx;
  176. width: 268rpx;
  177. height: 268rpx;
  178. background-size: cover;
  179. text-align: center;
  180. display: inline-block;
  181. border-radius: 20rpx;
  182. overflow: hidden;
  183. .pay {
  184. position: absolute;
  185. bottom: 24rpx;
  186. left: 50%;
  187. transform: translateX(-50%);
  188. padding: 6rpx 40rpx;
  189. font-size: 26rpx;
  190. font-weight: bold;
  191. border-radius: 50rpx;
  192. }
  193. }
  194. .pbbg1 {
  195. background-image: url(http://reader-wx.ai160.com/images/reader/v3/12992x.png);
  196. .pay {
  197. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  198. }
  199. }
  200. .pbbg2 {
  201. background-image: url(http://reader-wx.ai160.com/images/reader/v3/2992x.png);
  202. .pay {
  203. background: linear-gradient(285deg, #DFF2EE 0%, #D8E9FD 39%, #BDE6F8 72%, #BAE7F7 100%);
  204. }
  205. }
  206. .pbbg3 {
  207. background-image: url(http://reader-wx.ai160.com/images/reader/v3/55152x.png);
  208. .pay {
  209. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  210. }
  211. }
  212. }
  213. .activationModal {
  214. position: fixed;
  215. z-index: 2;
  216. left: 0rpx;
  217. top: 0rpx;
  218. width: 100vw;
  219. height: 100vh;
  220. background: rgba(0, 0, 0, 0.7);
  221. .box {
  222. position: absolute;
  223. left: 0;
  224. right: 0;
  225. top: 30%;
  226. margin: auto;
  227. width: 496rpx;
  228. height: 365rpx;
  229. background-color: white;
  230. border-radius: 20rpx;
  231. text-align: center;
  232. .sLcon {
  233. margin-top: 34rpx;
  234. width: 100rpx;
  235. height: 100rpx;
  236. }
  237. .tips1 {
  238. margin: 36rpx 0rpx 24rpx;
  239. color: #131313;
  240. font-weight: bold;
  241. font-size: 34rpx;
  242. }
  243. .tips2 {
  244. font-size: 30rpx;
  245. color: #12C962;
  246. }
  247. }
  248. /* .vipModal {
  249. position: relative;
  250. left: 0;
  251. right: 0;
  252. top: 30%;
  253. margin: auto;
  254. border-radius: 20rpx;
  255. text-align: center;
  256. .mBg {
  257. width: 600rpx;
  258. }
  259. }
  260. */
  261. .close {
  262. position: absolute;
  263. padding: 40rpx;
  264. width: 54rpx;
  265. height: 54rpx;
  266. left: 0;
  267. right: 0;
  268. bottom: -140rpx;
  269. margin: auto;
  270. }
  271. }
  272. }