index.wxss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. .container {
  2. position: relative;
  3. padding: 55rpx 20rpx 240rpx;
  4. }
  5. .container .userBox {
  6. background-color: white;
  7. padding: 20rpx 20rpx 0;
  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. position: relative;
  142. width: 100vw;
  143. }
  144. .container .scrollViewBox .goodsList {
  145. margin-top: 40rpx;
  146. width: 100%;
  147. height: 310rpx;
  148. white-space: nowrap;
  149. box-sizing: border-box;
  150. }
  151. .container .scrollViewBox .goodsList .payBox {
  152. position: relative;
  153. margin-right: 22rpx;
  154. width: 268rpx;
  155. height: 268rpx;
  156. background-size: cover;
  157. text-align: center;
  158. display: inline-block;
  159. border-radius: 20rpx;
  160. }
  161. .container .scrollViewBox .goodsList .payBox .pay {
  162. position: absolute;
  163. bottom: 24rpx;
  164. left: 50%;
  165. transform: translateX(-50%);
  166. padding: 6rpx 40rpx;
  167. font-size: 26rpx;
  168. font-weight: bold;
  169. border-radius: 50rpx;
  170. }
  171. .container .scrollViewBox .goodsList .payBox::after {
  172. content: '';
  173. position: absolute;
  174. width: 268rpx;
  175. height: 45rpx;
  176. left: 0;
  177. bottom: -42rpx;
  178. background: linear-gradient(180deg, #2A2116 0%, rgba(255, 255, 255, 0) 100%);
  179. border-radius: 22rpx 22rpx 0rpx 0rpx;
  180. opacity: 0.26;
  181. }
  182. .container .scrollViewBox .goodsList .pbbg1 {
  183. background-image: url(http://reader-wx.ai160.com/images/reader/v3/12992x.png);
  184. }
  185. .container .scrollViewBox .goodsList .pbbg1 .pay {
  186. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  187. }
  188. .container .scrollViewBox .goodsList .pbbg2 {
  189. background-image: url(http://reader-wx.ai160.com/images/reader/v3/2992x.png);
  190. }
  191. .container .scrollViewBox .goodsList .pbbg2 .pay {
  192. background: linear-gradient(285deg, #DFF2EE 0%, #D8E9FD 39%, #BDE6F8 72%, #BAE7F7 100%);
  193. }
  194. .container .scrollViewBox .goodsList .pbbg3 {
  195. background-image: url(http://reader-wx.ai160.com/images/reader/v3/55152x.png);
  196. }
  197. .container .scrollViewBox .goodsList .pbbg3 .pay {
  198. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  199. }
  200. .container .scrollViewBox .goodsTips {
  201. position: absolute;
  202. font-size: 24rpx;
  203. color: #555;
  204. bottom: 0;
  205. }
  206. .container .longpressBox {
  207. position: relative;
  208. }
  209. .container .longpressBox .iosVip {
  210. margin-top: 30rpx;
  211. height: 230rpx;
  212. width: 710rpx;
  213. }
  214. .container .longpressBox .qrCode {
  215. position: absolute;
  216. top: 59rpx;
  217. right: 40rpx;
  218. width: 174rpx;
  219. height: 174rpx;
  220. }
  221. .container .activationModal {
  222. position: fixed;
  223. z-index: 2;
  224. left: 0rpx;
  225. top: 0rpx;
  226. width: 100vw;
  227. height: 100vh;
  228. background: rgba(0, 0, 0, 0.7);
  229. /* .vipModal {
  230. position: relative;
  231. left: 0;
  232. right: 0;
  233. top: 30%;
  234. margin: auto;
  235. border-radius: 20rpx;
  236. text-align: center;
  237. .mBg {
  238. width: 600rpx;
  239. }
  240. }
  241. */
  242. }
  243. .container .activationModal .box {
  244. position: absolute;
  245. left: 0;
  246. right: 0;
  247. top: 30%;
  248. margin: auto;
  249. width: 496rpx;
  250. height: 365rpx;
  251. background-color: white;
  252. border-radius: 20rpx;
  253. text-align: center;
  254. }
  255. .container .activationModal .box .sLcon {
  256. margin-top: 34rpx;
  257. width: 100rpx;
  258. height: 100rpx;
  259. }
  260. .container .activationModal .box .tips1 {
  261. margin: 36rpx 0rpx 24rpx;
  262. color: #131313;
  263. font-weight: bold;
  264. font-size: 34rpx;
  265. }
  266. .container .activationModal .box .tips2 {
  267. font-size: 30rpx;
  268. color: #12C962;
  269. }
  270. .container .activationModal .close {
  271. position: absolute;
  272. padding: 40rpx;
  273. width: 54rpx;
  274. height: 54rpx;
  275. left: 0;
  276. right: 0;
  277. bottom: -140rpx;
  278. margin: auto;
  279. }