index.less 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  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. height: 310rpx;
  173. white-space: nowrap;
  174. .payBox {
  175. position: relative;
  176. margin-right: 22rpx;
  177. width: 268rpx;
  178. height: 268rpx;
  179. background-size: cover;
  180. text-align: center;
  181. display: inline-block;
  182. border-radius: 20rpx;
  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. .payBox::after {
  195. content: '';
  196. position: absolute;
  197. width: 268rpx;
  198. height: 45rpx;
  199. left: 0;
  200. bottom: -42rpx;
  201. background: linear-gradient(180deg, #2A2116 0%, rgba(255, 255, 255, 0) 100%);
  202. border-radius: 22rpx 22rpx 0rpx 0rpx;
  203. opacity: 0.26;
  204. }
  205. .pbbg1 {
  206. background-image: url(http://reader-wx.ai160.com/images/reader/v3/12992x.png);
  207. .pay {
  208. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  209. }
  210. }
  211. .pbbg2 {
  212. background-image: url(http://reader-wx.ai160.com/images/reader/v3/2992x.png);
  213. .pay {
  214. background: linear-gradient(285deg, #DFF2EE 0%, #D8E9FD 39%, #BDE6F8 72%, #BAE7F7 100%);
  215. }
  216. }
  217. .pbbg3 {
  218. background-image: url(http://reader-wx.ai160.com/images/reader/v3/55152x.png);
  219. .pay {
  220. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  221. }
  222. }
  223. }
  224. .activationModal {
  225. position: fixed;
  226. z-index: 2;
  227. left: 0rpx;
  228. top: 0rpx;
  229. width: 100vw;
  230. height: 100vh;
  231. background: rgba(0, 0, 0, 0.7);
  232. .box {
  233. position: absolute;
  234. left: 0;
  235. right: 0;
  236. top: 30%;
  237. margin: auto;
  238. width: 496rpx;
  239. height: 365rpx;
  240. background-color: white;
  241. border-radius: 20rpx;
  242. text-align: center;
  243. .sLcon {
  244. margin-top: 34rpx;
  245. width: 100rpx;
  246. height: 100rpx;
  247. }
  248. .tips1 {
  249. margin: 36rpx 0rpx 24rpx;
  250. color: #131313;
  251. font-weight: bold;
  252. font-size: 34rpx;
  253. }
  254. .tips2 {
  255. font-size: 30rpx;
  256. color: #12C962;
  257. }
  258. }
  259. /* .vipModal {
  260. position: relative;
  261. left: 0;
  262. right: 0;
  263. top: 30%;
  264. margin: auto;
  265. border-radius: 20rpx;
  266. text-align: center;
  267. .mBg {
  268. width: 600rpx;
  269. }
  270. }
  271. */
  272. .close {
  273. position: absolute;
  274. padding: 40rpx;
  275. width: 54rpx;
  276. height: 54rpx;
  277. left: 0;
  278. right: 0;
  279. bottom: -140rpx;
  280. margin: auto;
  281. }
  282. }
  283. }