index.less 8.0 KB

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