index.wxss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  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 .subBtn {
  174. padding: 10rpx 26rpx;
  175. border-radius: 50rpx;
  176. color: white;
  177. font-size: 25rpx;
  178. background-color: #30C866;
  179. }
  180. .container .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. }
  190. .container .goodsList .payBox {
  191. position: relative;
  192. margin-right: 22rpx;
  193. width: 268rpx;
  194. height: 268rpx;
  195. background-size: cover;
  196. text-align: center;
  197. display: inline-block;
  198. border-radius: 20rpx;
  199. }
  200. .container .goodsList .payBox .pay {
  201. position: absolute;
  202. bottom: 24rpx;
  203. left: 50%;
  204. transform: translateX(-50%);
  205. padding: 6rpx 40rpx;
  206. font-size: 26rpx;
  207. font-weight: bold;
  208. border-radius: 50rpx;
  209. }
  210. .container .goodsList .payBox::after {
  211. content: '';
  212. position: absolute;
  213. width: 268rpx;
  214. height: 45rpx;
  215. left: 0;
  216. bottom: -42rpx;
  217. background: linear-gradient(180deg, #2A2116 0%, rgba(255, 255, 255, 0) 100%);
  218. border-radius: 22rpx 22rpx 0rpx 0rpx;
  219. opacity: 0.26;
  220. }
  221. .container .goodsList .pbbg1 {
  222. background-image: url(http://reader-wx.ai160.com/images/reader/v3/12992x.png);
  223. }
  224. .container .goodsList .pbbg1 .pay {
  225. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  226. }
  227. .container .goodsList .pbbg2 {
  228. background-image: url(http://reader-wx.ai160.com/images/reader/v3/2992x.png);
  229. }
  230. .container .goodsList .pbbg2 .pay {
  231. background: linear-gradient(285deg, #DFF2EE 0%, #D8E9FD 39%, #BDE6F8 72%, #BAE7F7 100%);
  232. }
  233. .container .goodsList .pbbg3 {
  234. background-image: url(http://reader-wx.ai160.com/images/reader/v3/55152x.png);
  235. }
  236. .container .goodsList .pbbg3 .pay {
  237. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  238. }
  239. .container .iosVip {
  240. margin-top: 30rpx;
  241. height: 294rpx;
  242. width: 710rpx;
  243. }
  244. .container .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. /* .vipModal {
  253. position: relative;
  254. left: 0;
  255. right: 0;
  256. top: 30%;
  257. margin: auto;
  258. border-radius: 20rpx;
  259. text-align: center;
  260. .mBg {
  261. width: 600rpx;
  262. }
  263. }
  264. */
  265. }
  266. .container .activationModal .box {
  267. position: absolute;
  268. left: 0;
  269. right: 0;
  270. top: 30%;
  271. margin: auto;
  272. width: 496rpx;
  273. height: 365rpx;
  274. background-color: white;
  275. border-radius: 20rpx;
  276. text-align: center;
  277. }
  278. .container .activationModal .box .sLcon {
  279. margin-top: 34rpx;
  280. width: 100rpx;
  281. height: 100rpx;
  282. }
  283. .container .activationModal .box .tips1 {
  284. margin: 36rpx 0rpx 24rpx;
  285. color: #131313;
  286. font-weight: bold;
  287. font-size: 34rpx;
  288. }
  289. .container .activationModal .box .tips2 {
  290. font-size: 30rpx;
  291. color: #12C962;
  292. }
  293. .container .activationModal .close {
  294. position: absolute;
  295. padding: 40rpx;
  296. width: 54rpx;
  297. height: 54rpx;
  298. left: 0;
  299. right: 0;
  300. bottom: -140rpx;
  301. margin: auto;
  302. }