index.wxss 6.0 KB

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