index.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. html,
  2. body {
  3. height: 100%;
  4. background-color: #f5f5f5;
  5. font-size: 14px;
  6. }
  7. .banner {
  8. width: 750rpx;
  9. height: 300rpx;
  10. }
  11. .purchase-bg {
  12. width: 660rpx;
  13. margin: -86rpx 45rpx 30rpx;
  14. }
  15. .purchase-bg > view {
  16. background-color: white;
  17. border-radius: 16rpx;
  18. width: 100%;
  19. height: 450rpx;
  20. margin-bottom: 24rpx;
  21. box-shadow: 0 20rpx 52rpx 0 rgba(0, 0, 0, 0.04);
  22. position: relative;
  23. z-index: 10;
  24. }
  25. .purchase-bg > view > view:first-child {
  26. display: flex;
  27. height: 90rpx;
  28. font-size: 13px;
  29. color: #3296fb;
  30. line-height: 90rpx;
  31. border-bottom: 1px solid #f5f5f5;
  32. }
  33. .purchase-bg > view > view:first-child > text {
  34. margin-left: 45rpx;
  35. }
  36. .purchase-bg > view > view:first-child > image:nth-child(2),
  37. .person > image:nth-child(3) {
  38. width: 30rpx;
  39. height: 30rpx;
  40. margin: auto 45rpx auto auto;
  41. }
  42. .purchase-item {
  43. height: 180rpx;
  44. display: flex;
  45. margin-left: 50rpx;
  46. border-bottom: 1px solid #f5f5f5;
  47. }
  48. .purchase-item > image:nth-child(1) {
  49. width: 90rpx;
  50. height: 90rpx;
  51. margin: auto 24rpx auto 0;
  52. border-radius: 50%;
  53. }
  54. .purchase-item > view:nth-child(2) {
  55. display: flex;
  56. flex-direction: column;
  57. }
  58. .purchase-item > image:nth-child(3) {
  59. width: 20rpx;
  60. height: 30rpx;
  61. margin: auto 45rpx auto auto;
  62. }
  63. .purchase-item > view > text:first-child,
  64. .person > view > text:first-child {
  65. font-family: PingFangSC-Medium;
  66. font-size: 34rpx;
  67. color: #666666;
  68. line-height: 75rpx;
  69. margin-top: 24rpx;
  70. }
  71. .purchase-item > view > text:last-child,
  72. .person > view > text:last-child {
  73. font-family: PingFangSC-Regular;
  74. font-size: 26rpx;
  75. color: #999999;
  76. line-height: 36rpx;
  77. margin-top: 2rpx;
  78. }
  79. .person {
  80. width: 660rpx;
  81. height: 180rpx;
  82. display: flex;
  83. background-color: white;
  84. border-radius: 16rpx;
  85. margin: 0 45rpx 30rpx;
  86. box-shadow: 0 20rpx 52rpx 0 rgba(0, 0, 0, 0.04);
  87. position: relative;
  88. z-index: 10;
  89. }
  90. .person > image:nth-child(1) {
  91. width: 130rpx;
  92. height: 105rpx;
  93. margin: 45rpx 24rpx auto 50rpx;
  94. }
  95. .person > view {
  96. display: flex;
  97. flex-direction: column;
  98. }
  99. .footerbg {
  100. display: block;
  101. width: 280rpx;
  102. height: 56rpx;
  103. margin: 75rpx auto 45rpx;
  104. }