index.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. page {
  2. padding-bottom: calc(230rpx + env(safe-area-inset-bottom) / 2) !important;
  3. }
  4. .item-box {
  5. position: relative;
  6. width: 100vw;
  7. background-color: #fff;
  8. margin-bottom: 20rpx;
  9. padding-bottom: 20rpx;
  10. box-sizing: border-box;
  11. .top {
  12. display: flex;
  13. padding: 20rpx 30rpx 10rpx;
  14. box-sizing: border-box;
  15. .image {
  16. width: 128rpx;
  17. height: 128rpx;
  18. border-radius: 16rpx;
  19. overflow: hidden;
  20. margin-right: 20rpx;
  21. flex-shrink: 0;
  22. }
  23. .content {
  24. position: relative;
  25. flex: 1;
  26. .title {
  27. display: flex;
  28. align-items: center;
  29. justify-content: space-between;
  30. height: 40rpx;
  31. .line-1 {
  32. display: block;
  33. width: 500rpx;
  34. font-size: 28rpx;
  35. font-family: PingFang SC-Semibold, PingFang SC;
  36. font-weight: 600;
  37. color: #333333;
  38. }
  39. .iconfont {
  40. position: absolute;
  41. width: 60rpx;
  42. height: 60rpx;
  43. line-height: 60rpx;
  44. right: 0;
  45. flex-shrink: 0;
  46. }
  47. }
  48. .exp {
  49. line-height: 34rpx;
  50. font-size: 24rpx;
  51. font-family: PingFang SC-Regular, PingFang SC;
  52. color: #999999;
  53. margin-top: 8rpx;
  54. }
  55. .price {
  56. position: absolute;
  57. font-size: 28rpx;
  58. font-weight: 600;
  59. color: #FF3B30;
  60. bottom: 0rpx;
  61. right: 10rpx;
  62. }
  63. }
  64. }
  65. .bottom {
  66. display: flex;
  67. justify-content: space-between;
  68. align-items: center;
  69. height: 58rpx;
  70. padding: 0 30rpx;
  71. box-sizing: border-box;
  72. margin-top: 12rpx;
  73. .check {
  74. display: flex;
  75. align-items: center;
  76. height: 100%;
  77. width: 380rpx;
  78. .label-class {
  79. font-size: 24rpx;
  80. font-family: PingFang SC-Regular, PingFang SC;
  81. color: #999999;
  82. margin-left: -6rpx;
  83. }
  84. }
  85. .input-class {
  86. width: 120rpx;
  87. }
  88. }
  89. }
  90. .footer-box {
  91. position: fixed;
  92. bottom: 0;
  93. padding: 0;
  94. height: calc(216rpx + env(safe-area-inset-bottom) / 2);
  95. padding-bottom: calc(env(safe-area-inset-bottom) / 2);
  96. z-index: 99;
  97. .footer {
  98. width: 100vw;
  99. min-height: 130rpx;
  100. z-index: 999;
  101. display: flex;
  102. justify-content: space-between;
  103. padding: 0 30rpx;
  104. box-sizing: border-box;
  105. background-color: #fff;
  106. box-shadow: rgba(0, 0, 0, 0.15) 0px 5rpx 15rpx 0px;
  107. .left {
  108. flex: 1;
  109. color: #333333;
  110. .selected {
  111. font-size: 24rpx;
  112. color: #999;
  113. }
  114. .sum {
  115. height: 40rpx;
  116. line-height: 40rpx;
  117. font-size: 28rpx;
  118. font-family: PingFang SC-Medium, PingFang SC;
  119. font-weight: 500;
  120. margin-top: 10rpx;
  121. text {
  122. color: #FF3B30;
  123. }
  124. }
  125. .transport {
  126. height: 34rpx;
  127. line-height: 34rpx;
  128. font-size: 24rpx;
  129. font-family: PingFang SC-Regular, PingFang SC;
  130. margin-top: 8rpx;
  131. text {
  132. color: #FF3B30;
  133. }
  134. }
  135. }
  136. .but {
  137. width: 230rpx;
  138. height: 90rpx;
  139. background: #3874F6;
  140. border-radius: 16rpx;
  141. font-size: 28rpx;
  142. font-weight: 600;
  143. color: #FFFFFF;
  144. margin-top: 10rpx;
  145. }
  146. }
  147. }