index.less 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  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: 28rpx 20rpx;
  155. display: flex;
  156. align-items: center;
  157. justify-content: space-between;
  158. background-color: white;
  159. border-radius: 20rpx;
  160. box-shadow: 0px 2px 14px 0px rgba(0, 0, 0, 0.15);
  161. .tips {
  162. display: flex;
  163. align-items: center;
  164. font-weight: 400;
  165. .tipsImg {
  166. margin-right: 14rpx;
  167. width: 44rpx;
  168. height: 44rpx;
  169. }
  170. font-size: 30rpx;
  171. }
  172. .subBtn {
  173. padding: 10rpx 26rpx;
  174. border-radius: 50rpx;
  175. color: white;
  176. font-size: 25rpx;
  177. background-color: #30C866;
  178. }
  179. }
  180. .goodsList {
  181. position: absolute;
  182. margin-top: 40rpx;
  183. left: 0;
  184. padding-left: 20rpx;
  185. width: 100%;
  186. height: 310rpx;
  187. white-space: nowrap;
  188. box-sizing: border-box;
  189. .payBox {
  190. position: relative;
  191. margin-right: 22rpx;
  192. width: 268rpx;
  193. height: 268rpx;
  194. background-size: cover;
  195. text-align: center;
  196. display: inline-block;
  197. border-radius: 20rpx;
  198. .pay {
  199. position: absolute;
  200. bottom: 24rpx;
  201. left: 50%;
  202. transform: translateX(-50%);
  203. padding: 6rpx 40rpx;
  204. font-size: 26rpx;
  205. font-weight: bold;
  206. border-radius: 50rpx;
  207. }
  208. }
  209. .payBox::after {
  210. content: '';
  211. position: absolute;
  212. width: 268rpx;
  213. height: 45rpx;
  214. left: 0;
  215. bottom: -42rpx;
  216. background: linear-gradient(180deg, #2A2116 0%, rgba(255, 255, 255, 0) 100%);
  217. border-radius: 22rpx 22rpx 0rpx 0rpx;
  218. opacity: 0.26;
  219. }
  220. .pbbg1 {
  221. background-image: url(http://reader-wx.ai160.com/images/reader/v3/12992x.png);
  222. .pay {
  223. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  224. }
  225. }
  226. .pbbg2 {
  227. background-image: url(http://reader-wx.ai160.com/images/reader/v3/2992x.png);
  228. .pay {
  229. background: linear-gradient(285deg, #DFF2EE 0%, #D8E9FD 39%, #BDE6F8 72%, #BAE7F7 100%);
  230. }
  231. }
  232. .pbbg3 {
  233. background-image: url(http://reader-wx.ai160.com/images/reader/v3/55152x.png);
  234. .pay {
  235. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  236. }
  237. }
  238. }
  239. .iosVip {
  240. margin-top: 30rpx;
  241. height: 294rpx;
  242. width: 710rpx;
  243. }
  244. .activationModal {
  245. position: fixed;
  246. z-index: 2;
  247. left: 0rpx;
  248. top: 0rpx;
  249. width: 100vw;
  250. height: 100vh;
  251. background: rgba(0, 0, 0, 0.7);
  252. .box {
  253. position: absolute;
  254. left: 0;
  255. right: 0;
  256. top: 30%;
  257. margin: auto;
  258. width: 496rpx;
  259. height: 365rpx;
  260. background-color: white;
  261. border-radius: 20rpx;
  262. text-align: center;
  263. .sLcon {
  264. margin-top: 34rpx;
  265. width: 100rpx;
  266. height: 100rpx;
  267. }
  268. .tips1 {
  269. margin: 36rpx 0rpx 24rpx;
  270. color: #131313;
  271. font-weight: bold;
  272. font-size: 34rpx;
  273. }
  274. .tips2 {
  275. font-size: 30rpx;
  276. color: #12C962;
  277. }
  278. }
  279. /* .vipModal {
  280. position: relative;
  281. left: 0;
  282. right: 0;
  283. top: 30%;
  284. margin: auto;
  285. border-radius: 20rpx;
  286. text-align: center;
  287. .mBg {
  288. width: 600rpx;
  289. }
  290. }
  291. */
  292. .close {
  293. position: absolute;
  294. padding: 40rpx;
  295. width: 54rpx;
  296. height: 54rpx;
  297. left: 0;
  298. right: 0;
  299. bottom: -140rpx;
  300. margin: auto;
  301. }
  302. }
  303. }