index.wxss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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. }
  94. .container .below .sBox .title {
  95. margin-top: 8rpx;
  96. font-size: 26rpx;
  97. color: #333;
  98. }
  99. .container .below .sBox .noticeTips {
  100. position: absolute;
  101. right: 8rpx;
  102. top: -8rpx;
  103. width: 34rpx;
  104. padding: 4rpx 0rpx;
  105. border-radius: 40rpx;
  106. color: white;
  107. font-size: 18rpx;
  108. text-align: center;
  109. background-color: #FF0000;
  110. }
  111. .container .below .contactBtn {
  112. border: none;
  113. padding: 0rpx;
  114. line-height: normal;
  115. margin: 0;
  116. }
  117. .container .medalBox {
  118. margin: 30rpx 0rpx;
  119. padding: 20rpx 30rpx;
  120. background-color: white;
  121. border-radius: 20rpx;
  122. }
  123. .container .medalBox .header {
  124. display: flex;
  125. align-items: center;
  126. justify-content: space-between;
  127. }
  128. .container .medalBox .header .title {
  129. font-size: 30rpx;
  130. font-weight: bold;
  131. color: #000;
  132. }
  133. .container .medalBox .header .jump {
  134. font-size: 26rpx;
  135. color: #666666;
  136. }
  137. .container .medalBox .header .jump .jumpIcon {
  138. width: 12rpx;
  139. height: 22rpx;
  140. }
  141. .container .medalBox .body {
  142. margin-top: 20rpx;
  143. display: flex;
  144. align-items: center;
  145. justify-content: space-between;
  146. }
  147. .container .medalBox .body .medal {
  148. width: 112rpx;
  149. height: 94rpx;
  150. }
  151. .container .activation {
  152. margin-top: 30rpx;
  153. padding: 28rpx 20rpx;
  154. display: flex;
  155. align-items: center;
  156. justify-content: space-between;
  157. background-color: white;
  158. border-radius: 20rpx;
  159. box-shadow: 0px 2px 14px 0px rgba(0, 0, 0, 0.15);
  160. }
  161. .container .activation .tips {
  162. display: flex;
  163. align-items: center;
  164. font-weight: 400;
  165. font-size: 30rpx;
  166. }
  167. .container .activation .tips .tipsImg {
  168. margin-right: 14rpx;
  169. width: 44rpx;
  170. height: 44rpx;
  171. }
  172. .container .activation .subBtn {
  173. padding: 10rpx 26rpx;
  174. border-radius: 50rpx;
  175. color: white;
  176. font-size: 25rpx;
  177. background-color: #30C866;
  178. }
  179. .container .goodsList {
  180. position: absolute;
  181. margin-top: 40rpx;
  182. left: 0;
  183. padding-left: 20rpx;
  184. width: 100%;
  185. height: 310rpx;
  186. white-space: nowrap;
  187. box-sizing: border-box;
  188. }
  189. .container .goodsList .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. }
  199. .container .goodsList .payBox .pay {
  200. position: absolute;
  201. bottom: 24rpx;
  202. left: 50%;
  203. transform: translateX(-50%);
  204. padding: 6rpx 40rpx;
  205. font-size: 26rpx;
  206. font-weight: bold;
  207. border-radius: 50rpx;
  208. }
  209. .container .goodsList .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. .container .goodsList .pbbg1 {
  221. background-image: url(http://reader-wx.ai160.com/images/reader/v3/12992x.png);
  222. }
  223. .container .goodsList .pbbg1 .pay {
  224. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  225. }
  226. .container .goodsList .pbbg2 {
  227. background-image: url(http://reader-wx.ai160.com/images/reader/v3/2992x.png);
  228. }
  229. .container .goodsList .pbbg2 .pay {
  230. background: linear-gradient(285deg, #DFF2EE 0%, #D8E9FD 39%, #BDE6F8 72%, #BAE7F7 100%);
  231. }
  232. .container .goodsList .pbbg3 {
  233. background-image: url(http://reader-wx.ai160.com/images/reader/v3/55152x.png);
  234. }
  235. .container .goodsList .pbbg3 .pay {
  236. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  237. }
  238. .container .iosVip {
  239. margin-top: 30rpx;
  240. height: 294rpx;
  241. width: 710rpx;
  242. }
  243. .container .activationModal {
  244. position: fixed;
  245. z-index: 2;
  246. left: 0rpx;
  247. top: 0rpx;
  248. width: 100vw;
  249. height: 100vh;
  250. background: rgba(0, 0, 0, 0.7);
  251. /* .vipModal {
  252. position: relative;
  253. left: 0;
  254. right: 0;
  255. top: 30%;
  256. margin: auto;
  257. border-radius: 20rpx;
  258. text-align: center;
  259. .mBg {
  260. width: 600rpx;
  261. }
  262. }
  263. */
  264. }
  265. .container .activationModal .box {
  266. position: absolute;
  267. left: 0;
  268. right: 0;
  269. top: 30%;
  270. margin: auto;
  271. width: 496rpx;
  272. height: 365rpx;
  273. background-color: white;
  274. border-radius: 20rpx;
  275. text-align: center;
  276. }
  277. .container .activationModal .box .sLcon {
  278. margin-top: 34rpx;
  279. width: 100rpx;
  280. height: 100rpx;
  281. }
  282. .container .activationModal .box .tips1 {
  283. margin: 36rpx 0rpx 24rpx;
  284. color: #131313;
  285. font-weight: bold;
  286. font-size: 34rpx;
  287. }
  288. .container .activationModal .box .tips2 {
  289. font-size: 30rpx;
  290. color: #12C962;
  291. }
  292. .container .activationModal .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. }