index.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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 .uRtopRight {
  58. display: flex;
  59. align-items: center;
  60. }
  61. .container .userBox .above .userRight .uRtop .uRtopRight .edit {
  62. width: 22rpx;
  63. height: 28rpx;
  64. }
  65. .container .userBox .above .userRight .uRtop .uRtopRight text {
  66. margin: 0px 10rpx;
  67. font-size: 24rpx;
  68. color: #666;
  69. }
  70. .container .scrollViewBox {
  71. margin-top: 40rpx;
  72. width: 100%;
  73. box-sizing: border-box;
  74. background-color: white;
  75. padding: 18rpx 23rpx 70rpx;
  76. border-radius: 20rpx;
  77. }
  78. .container .scrollViewBox .title {
  79. margin-bottom: 14rpx;
  80. font-size: 28rpx;
  81. color: #000000;
  82. }
  83. .container .scrollViewBox .goodsList {
  84. margin-top: 40rpx;
  85. width: 100%;
  86. white-space: nowrap;
  87. box-sizing: border-box;
  88. }
  89. .container .scrollViewBox .goodsList .payBox {
  90. position: relative;
  91. width: 318rpx;
  92. height: 318rpx;
  93. margin-right: 30rpx;
  94. background-size: cover;
  95. text-align: center;
  96. display: inline-block;
  97. border-radius: 20rpx;
  98. }
  99. .container .scrollViewBox .goodsList .payBox .name {
  100. margin-top: 42rpx;
  101. font-weight: 500;
  102. font-size: 40rpx;
  103. }
  104. .container .scrollViewBox .goodsList .payBox .price {
  105. margin-top: 22rpx;
  106. font-weight: 500;
  107. font-size: 56rpx;
  108. }
  109. .container .scrollViewBox .goodsList .payBox .originPrice {
  110. margin-top: 28rpx;
  111. font-size: 24rpx;
  112. text-decoration: line-through;
  113. }
  114. .container .scrollViewBox .goodsList .year {
  115. background-image: url(https://reader-wx.ai160.com/images/reader/pay/yuedao365.webp);
  116. color: #FEF4B5;
  117. }
  118. .container .scrollViewBox .goodsList .month {
  119. background-image: url(http://reader-wx.ai160.com/images/reader/pay/yuedao90.webp);
  120. color: #7D320A;
  121. }