index.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. .container {
  2. position: relative;
  3. padding: 55rpx 20rpx 240rpx;
  4. .userBox {
  5. background-color: white;
  6. padding: 20rpx 20rpx 0;
  7. border-radius: 20rpx;
  8. .above {
  9. display: flex;
  10. align-items: center;
  11. justify-content: space-between;
  12. padding-bottom: 30rpx;
  13. .identity {
  14. position: relative;
  15. display: flex;
  16. flex-direction: column;
  17. align-items: center;
  18. text-align: center;
  19. .avatar {
  20. width: 106rpx;
  21. height: 106rpx;
  22. border-radius: 50%;
  23. position: relative;
  24. }
  25. .identityText {
  26. position: absolute;
  27. bottom: -10rpx;
  28. width: 80rpx;
  29. font-size: 24rpx;
  30. color: white;
  31. background-color: #10CA61;
  32. border-radius: 25rpx;
  33. }
  34. }
  35. .userRight {
  36. flex: 1;
  37. margin-left: 40rpx;
  38. padding: 0px 10rpx;
  39. .uRtop {
  40. display: flex;
  41. justify-content: space-between;
  42. .uRtopleft {
  43. .nickName {
  44. max-width: 340rpx;
  45. color: #333;
  46. font-size: 32rpx;
  47. }
  48. .gradeText {
  49. margin: 14rpx 0;
  50. font-size: 24rpx;
  51. color: #989A9C;
  52. }
  53. }
  54. .uRtopRight {
  55. display: flex;
  56. align-items: center;
  57. .edit {
  58. width: 22rpx;
  59. height: 28rpx;
  60. }
  61. text {
  62. margin: 0px 10rpx;
  63. font-size: 24rpx;
  64. color: #666;
  65. }
  66. }
  67. }
  68. }
  69. }
  70. }
  71. .scrollViewBox {
  72. margin-top: 40rpx;
  73. width: 100%;
  74. box-sizing: border-box;
  75. background-color: white;
  76. padding: 18rpx 23rpx 70rpx;
  77. border-radius: 20rpx;
  78. .title {
  79. margin-bottom: 14rpx;
  80. font-size: 28rpx;
  81. color: #000000;
  82. }
  83. .goodsList {
  84. margin-top: 40rpx;
  85. width: 100%;
  86. white-space: nowrap;
  87. box-sizing: border-box;
  88. .payBox {
  89. position: relative;
  90. width: 318rpx;
  91. height: 318rpx;
  92. margin-right: 30rpx;
  93. background-size: cover;
  94. text-align: center;
  95. display: inline-block;
  96. border-radius: 20rpx;
  97. .name {
  98. margin-top: 42rpx;
  99. font-weight: 500;
  100. font-size: 40rpx;
  101. }
  102. .price {
  103. margin-top: 22rpx;
  104. font-weight: 500;
  105. font-size: 56rpx;
  106. }
  107. .originPrice {
  108. margin-top: 28rpx;
  109. font-size: 24rpx;
  110. text-decoration: line-through;
  111. }
  112. }
  113. .year {
  114. background-image: url(https://reader-wx.ai160.com/images/reader/pay/yuedao365.webp);
  115. color: #FEF4B5;
  116. }
  117. .month {
  118. background-image: url(http://reader-wx.ai160.com/images/reader/pay/yuedao90.webp);
  119. color: #7D320A;
  120. }
  121. }
  122. }
  123. }