index.wxss 6.7 KB

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