index.less 8.1 KB

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