index.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. .head {
  2. position: sticky;
  3. top: 0;
  4. z-index: 1;
  5. display: flex;
  6. justify-content: space-between;
  7. align-items: center;
  8. width: 100vw;
  9. height: 80rpx;
  10. background-color: #fff;
  11. box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  12. box-sizing: border-box;
  13. font-size: 30rpx;
  14. font-weight: bold;
  15. padding: 0 30rpx;
  16. navigator {
  17. line-height: 80rpx;
  18. }
  19. .line-1 {
  20. max-width: 500rpx;
  21. }
  22. }
  23. .swiper-box {
  24. box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  25. background-color: #fff;
  26. height: 330rpx;
  27. swiper-item {
  28. position: relative;
  29. flex-direction: column;
  30. background-color: #E9F3FF;
  31. width: 100vw;
  32. height: 330rpx;
  33. overflow: hidden;
  34. .upper {
  35. position: absolute;
  36. left: 100rpx;
  37. top: 36rpx;
  38. z-index: 9;
  39. .price {
  40. font-size: 40rpx;
  41. font-weight: bold;
  42. color: #43568C;
  43. margin-top: 8rpx;
  44. }
  45. }
  46. .lower {
  47. display: flex;
  48. position: absolute;
  49. left: 110rpx;
  50. top: 190rpx;
  51. z-index: 9;
  52. .item {
  53. width: 280rpx;
  54. .price {
  55. font-size: 34rpx;
  56. font-weight: bold;
  57. color: #43568C;
  58. margin-top: 8rpx;
  59. }
  60. }
  61. }
  62. .name {
  63. color: #999;
  64. font-size: 28rpx;
  65. }
  66. .image {
  67. position: absolute;
  68. width: 150rpx;
  69. height: 110rpx;
  70. top: 30rpx;
  71. right: 100rpx;
  72. z-index: 10;
  73. border-radius: 16rpx;
  74. }
  75. .top {
  76. position: relative;
  77. width: 100vw;
  78. height: 50%;
  79. background-color: #E9F3FF;
  80. border-radius: 0 0 70rpx 0;
  81. z-index: 3;
  82. }
  83. .angle {
  84. position: absolute;
  85. right: 0;
  86. width: 100rpx;
  87. height: 100%;
  88. background-color: #fff;
  89. z-index: 1;
  90. }
  91. .bottom {
  92. width: 100vw;
  93. height: 50%;
  94. background-color: #fff;
  95. border-radius: 70rpx 0 0 0;
  96. z-index: 3;
  97. }
  98. }
  99. }
  100. .total {
  101. height: 60rpx;
  102. line-height: 60rpx;
  103. text-align: center;
  104. font-size: 28rpx;
  105. }
  106. .record {
  107. display: flex;
  108. align-items: center;
  109. width: 100vw;
  110. padding: 20rpx 30rpx;
  111. background-color: #fff;
  112. box-sizing: border-box;
  113. border-bottom: 1rpx solid #ddd;
  114. .content {
  115. flex: 1;
  116. .title {
  117. font-size: 26rpx;
  118. font-weight: bold;
  119. color: #444;
  120. }
  121. .exp {
  122. font-size: 24rpx;
  123. color: #666;
  124. margin-top: 8rpx;
  125. }
  126. }
  127. .price {
  128. font-weight: bold;
  129. color: #DB0D27;
  130. font-size: 32rpx;
  131. }
  132. }