index.wxss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. .container {
  2. padding: 0rpx 20rpx 30rpx;
  3. }
  4. .container .userBox {
  5. background-color: white;
  6. padding: 20rpx 20rpx 0rpx;
  7. border-radius: 20rpx;
  8. }
  9. .container .userBox .above {
  10. display: flex;
  11. align-items: center;
  12. justify-content: space-between;
  13. padding-bottom: 30rpx;
  14. border-bottom: 1rpx solid #D6D6D6;
  15. }
  16. .container .userBox .above .identity {
  17. position: relative;
  18. display: flex;
  19. flex-direction: column;
  20. align-items: center;
  21. text-align: center;
  22. }
  23. .container .userBox .above .identity .avatar {
  24. width: 106rpx;
  25. height: 106rpx;
  26. border-radius: 50%;
  27. position: relative;
  28. }
  29. .container .userBox .above .identity .identityText {
  30. position: absolute;
  31. bottom: -10rpx;
  32. width: 80rpx;
  33. font-size: 24rpx;
  34. color: white;
  35. background-color: #10CA61;
  36. border-radius: 25rpx;
  37. }
  38. .container .userBox .above .userRight {
  39. flex: 1;
  40. margin-left: 40rpx;
  41. padding: 0px 10rpx;
  42. }
  43. .container .userBox .above .userRight .uRtop {
  44. display: flex;
  45. justify-content: space-between;
  46. }
  47. .container .userBox .above .userRight .uRtop .uRtopleft .nickName {
  48. margin: 10rpx 0rpx 18rpx;
  49. max-width: 340rpx;
  50. color: #333;
  51. font-size: 32rpx;
  52. }
  53. .container .userBox .above .userRight .uRtop .uRtopleft .gradeText {
  54. font-size: 24rpx;
  55. color: #989A9C;
  56. }
  57. .container .userBox .above .userRight .uRtop .uRtopRight {
  58. display: flex;
  59. align-items: center;
  60. }
  61. .container .userBox .above .userRight .uRtop .uRtopRight .edit {
  62. width: 22rpx;
  63. height: 28rpx;
  64. }
  65. .container .userBox .above .userRight .uRtop .uRtopRight text {
  66. margin: 0px 10rpx;
  67. font-size: 24rpx;
  68. color: #666;
  69. }
  70. .container .below {
  71. padding: 20rpx 0rpx;
  72. display: flex;
  73. align-items: center;
  74. justify-content: space-between;
  75. background-color: white;
  76. border-radius: 20rpx;
  77. }
  78. .container .below .sBox {
  79. width: 110rpx;
  80. position: relative;
  81. display: flex;
  82. flex-direction: column;
  83. align-items: center;
  84. }
  85. .container .below .sBox .img {
  86. width: 69rpx;
  87. height: 69rpx;
  88. }
  89. .container .below .sBox .title {
  90. margin-top: 8rpx;
  91. font-size: 26rpx;
  92. color: #333;
  93. }
  94. .container .below .sBox .noticeTips {
  95. position: absolute;
  96. right: 8rpx;
  97. top: -8rpx;
  98. width: 34rpx;
  99. padding: 4rpx 0rpx;
  100. border-radius: 40rpx;
  101. color: white;
  102. font-size: 18rpx;
  103. text-align: center;
  104. background-color: #FF0000;
  105. }
  106. .container .below .contactBtn {
  107. border: none;
  108. padding: 0rpx;
  109. line-height: normal;
  110. margin: 0;
  111. }
  112. .container .iosVip {
  113. margin: 4rpx 0px 0px 6rpx;
  114. font-size: 24rpx;
  115. color: #333;
  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: 13rpx 40rpx;
  154. display: flex;
  155. align-items: center;
  156. justify-content: space-between;
  157. background-color: white;
  158. border-radius: 50rpx;
  159. }
  160. .container .activation .tips {
  161. font-size: 28rpx;
  162. color: #666666;
  163. }
  164. .container .activation .subBtn {
  165. padding: 10rpx 50rpx;
  166. border-radius: 50rpx;
  167. color: white;
  168. font-size: 25rpx;
  169. background-color: #FC614E;
  170. }
  171. .container .activationModal {
  172. position: fixed;
  173. z-index: 2;
  174. left: 0rpx;
  175. top: 0rpx;
  176. width: 100vw;
  177. height: 100vh;
  178. background-color: rgba(0, 0, 0, 0.3);
  179. }
  180. .container .activationModal .box {
  181. position: absolute;
  182. left: 0;
  183. right: 0;
  184. top: 30%;
  185. margin: auto;
  186. width: 496rpx;
  187. height: 365rpx;
  188. background-color: white;
  189. border-radius: 20rpx;
  190. text-align: center;
  191. animation-name: zoomIn;
  192. animation-duration: 0.4s;
  193. animation-fill-mode: forwards;
  194. }
  195. .container .activationModal .box .sLcon {
  196. margin-top: 34rpx;
  197. width: 100rpx;
  198. height: 100rpx;
  199. }
  200. .container .activationModal .box .tips1 {
  201. margin: 40rpx 0rpx 24rpx;
  202. color: #131313;
  203. font-weight: bold;
  204. font-size: 34rpx;
  205. }
  206. .container .activationModal .box .tips2 {
  207. font-size: 30rpx;
  208. color: #12C962;
  209. }
  210. .container .activationModal .box .close {
  211. position: absolute;
  212. padding: 40rpx;
  213. width: 54rpx;
  214. height: 54rpx;
  215. left: 0;
  216. right: 0;
  217. bottom: -140rpx;
  218. margin: auto;
  219. }
  220. @keyframes zoomIn {
  221. from {
  222. transform: scale(0);
  223. opacity: 0;
  224. }
  225. to {
  226. opacity: 1;
  227. transform: scale(1);
  228. }
  229. }
  230. .container .payBox {
  231. position: relative;
  232. margin-top: 36rpx;
  233. width: 710rpx;
  234. height: 184rpx;
  235. border-radius: 20rpx;
  236. background: url(http://reader-wx.ai160.com/images/reader/v3/learn/vip_center.png);
  237. background-size: cover;
  238. }
  239. .container .payBox .copywriting {
  240. position: absolute;
  241. bottom: 70rpx;
  242. left: 30rpx;
  243. color: #FBF3CD;
  244. font-size: 26rpx;
  245. letter-spacing: 2rpx;
  246. }
  247. .container .payBox .copywriting text {
  248. margin: 0 6rpx;
  249. }
  250. .container .payBox .goPay {
  251. position: absolute;
  252. top: 30rpx;
  253. right: 28rpx;
  254. border-radius: 50rpx;
  255. display: inline-block;
  256. padding: 14rpx 36rpx;
  257. color: #292020;
  258. font-weight: bold;
  259. letter-spacing: 2rpx;
  260. background-image: linear-gradient(116deg, #FFF3DF 0%, #FEC98D 95%);
  261. font-size: 30rpx;
  262. }