index.wxss 6.6 KB

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