index.less 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. .goodsList {
  72. margin-top: 40rpx;
  73. width: 100%;
  74. height: 310rpx;
  75. white-space: nowrap;
  76. box-sizing: border-box;
  77. .payBox {
  78. position: relative;
  79. margin-right: 22rpx;
  80. width: 268rpx;
  81. height: 268rpx;
  82. background-size: cover;
  83. text-align: center;
  84. display: inline-block;
  85. border-radius: 20rpx;
  86. .pay {
  87. position: absolute;
  88. bottom: 24rpx;
  89. left: 50%;
  90. transform: translateX(-50%);
  91. padding: 6rpx 40rpx;
  92. font-size: 26rpx;
  93. font-weight: bold;
  94. border-radius: 50rpx;
  95. }
  96. }
  97. .payBox::after {
  98. content: '';
  99. position: absolute;
  100. width: 268rpx;
  101. height: 45rpx;
  102. left: 0;
  103. bottom: -42rpx;
  104. background: linear-gradient(180deg, #2A2116 0%, rgba(255, 255, 255, 0) 100%);
  105. border-radius: 22rpx 22rpx 0rpx 0rpx;
  106. opacity: 0.26;
  107. }
  108. .pbbg1 {
  109. background-image: url(http://reader-wx.ai160.com/images/reader/v3/12992x.png);
  110. .pay {
  111. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  112. }
  113. }
  114. .pbbg2 {
  115. background-image: url(http://reader-wx.ai160.com/images/reader/v3/2992x.png);
  116. .pay {
  117. background: linear-gradient(285deg, #DFF2EE 0%, #D8E9FD 39%, #BDE6F8 72%, #BAE7F7 100%);
  118. }
  119. }
  120. .pbbg3 {
  121. background-image: url(http://reader-wx.ai160.com/images/reader/v3/55152x.png);
  122. .pay {
  123. background: linear-gradient(325deg, #FFBD96 0%, #FFF1E7 100%);
  124. }
  125. }
  126. }
  127. }