index.wxss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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 .menu {
  75. margin-top: 30rpx;
  76. border-radius: 20rpx;
  77. background-color: white;
  78. }
  79. .container .menu .activation {
  80. padding: 28rpx 20rpx;
  81. display: flex;
  82. align-items: center;
  83. justify-content: space-between;
  84. border-bottom: 1rpx solid #EEEEEE;
  85. }
  86. .container .menu .activation .tips {
  87. display: flex;
  88. align-items: center;
  89. font-weight: 400;
  90. font-size: 30rpx;
  91. }
  92. .container .menu .activation .tips .tipsImg {
  93. margin-right: 14rpx;
  94. width: 44rpx;
  95. height: 44rpx;
  96. }
  97. .container .menu .activation .black {
  98. margin-right: 20rpx;
  99. width: 16rpx;
  100. height: 30rpx;
  101. opacity: 0.8;
  102. }
  103. .container .menu .activation:last-child {
  104. border: none;
  105. }
  106. .container .scrollViewBox {
  107. position: relative;
  108. width: 100vw;
  109. }
  110. .container .scrollViewBox .goodsList {
  111. margin-top: 40rpx;
  112. width: 100%;
  113. height: 310rpx;
  114. white-space: nowrap;
  115. box-sizing: border-box;
  116. }
  117. .container .scrollViewBox .goodsList .payBox {
  118. position: relative;
  119. margin-right: 22rpx;
  120. width: 268rpx;
  121. height: 268rpx;
  122. background-size: cover;
  123. text-align: center;
  124. display: inline-block;
  125. border-radius: 20rpx;
  126. }
  127. .container .scrollViewBox .goodsList .payBox .pay {
  128. position: absolute;
  129. bottom: 24rpx;
  130. left: 50%;
  131. transform: translateX(-50%);
  132. padding: 6rpx 40rpx;
  133. font-size: 26rpx;
  134. font-weight: bold;
  135. border-radius: 50rpx;
  136. }
  137. .container .scrollViewBox .goodsList .payBox::after {
  138. content: '';
  139. position: absolute;
  140. width: 268rpx;
  141. height: 45rpx;
  142. left: 0;
  143. bottom: -42rpx;
  144. background: linear-gradient(180deg, #2A2116 0%, rgba(255, 255, 255, 0) 100%);
  145. border-radius: 22rpx 22rpx 0rpx 0rpx;
  146. opacity: 0.26;
  147. }
  148. .container .scrollViewBox .goodsList .pbbg1 {
  149. background-image: url(http://reader-wx.ai160.com/images/reader/v3/12992x.png);
  150. }
  151. .container .scrollViewBox .goodsList .pbbg1 .pay {
  152. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  153. }
  154. .container .scrollViewBox .goodsList .pbbg2 {
  155. background-image: url(http://reader-wx.ai160.com/images/reader/v3/2992x.png);
  156. }
  157. .container .scrollViewBox .goodsList .pbbg2 .pay {
  158. background: linear-gradient(285deg, #DFF2EE 0%, #D8E9FD 39%, #BDE6F8 72%, #BAE7F7 100%);
  159. }
  160. .container .scrollViewBox .goodsList .pbbg3 {
  161. background-image: url(http://reader-wx.ai160.com/images/reader/v3/55152x.png);
  162. }
  163. .container .scrollViewBox .goodsList .pbbg3 .pay {
  164. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  165. }
  166. .container .scrollViewBox .goodsTips {
  167. position: absolute;
  168. font-size: 24rpx;
  169. color: #555;
  170. bottom: 0;
  171. }
  172. .container .longpressBox {
  173. position: relative;
  174. }
  175. .container .longpressBox .iosVip {
  176. margin-top: 30rpx;
  177. height: 230rpx;
  178. width: 710rpx;
  179. }
  180. .container .longpressBox .qrCode {
  181. position: absolute;
  182. top: 59rpx;
  183. right: 40rpx;
  184. width: 174rpx;
  185. height: 174rpx;
  186. }
  187. .container .activationModal {
  188. position: fixed;
  189. z-index: 2;
  190. left: 0rpx;
  191. top: 0rpx;
  192. width: 100vw;
  193. height: 100vh;
  194. background: rgba(0, 0, 0, 0.7);
  195. /* .vipModal {
  196. position: relative;
  197. left: 0;
  198. right: 0;
  199. top: 30%;
  200. margin: auto;
  201. border-radius: 20rpx;
  202. text-align: center;
  203. .mBg {
  204. width: 600rpx;
  205. }
  206. }
  207. */
  208. }
  209. .container .activationModal .box {
  210. position: absolute;
  211. left: 0;
  212. right: 0;
  213. top: 30%;
  214. margin: auto;
  215. width: 496rpx;
  216. height: 365rpx;
  217. background-color: white;
  218. border-radius: 20rpx;
  219. text-align: center;
  220. }
  221. .container .activationModal .box .sLcon {
  222. margin-top: 34rpx;
  223. width: 100rpx;
  224. height: 100rpx;
  225. }
  226. .container .activationModal .box .tips1 {
  227. margin: 36rpx 0rpx 24rpx;
  228. color: #131313;
  229. font-weight: bold;
  230. font-size: 34rpx;
  231. }
  232. .container .activationModal .box .tips2 {
  233. font-size: 30rpx;
  234. color: #12C962;
  235. }
  236. .container .activationModal .close {
  237. position: absolute;
  238. padding: 40rpx;
  239. width: 54rpx;
  240. height: 54rpx;
  241. left: 0;
  242. right: 0;
  243. bottom: -140rpx;
  244. margin: auto;
  245. }