index.less 8.0 KB

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