index.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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: 16rpx;
  10. box-sizing: border-box;
  11. .top {
  12. display: flex;
  13. padding: 20rpx 30rpx 0rpx;
  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. right: 10rpx;
  61. }
  62. }
  63. }
  64. .bottom {
  65. display: flex;
  66. justify-content: space-between;
  67. align-items: center;
  68. height: 58rpx;
  69. padding: 0 30rpx;
  70. box-sizing: border-box;
  71. margin-top: 12rpx;
  72. .check {
  73. display: flex;
  74. align-items: center;
  75. height: 100%;
  76. width: 380rpx;
  77. font-size: 24rpx;
  78. font-family: PingFang SC-Regular, PingFang SC;
  79. color: #999999;
  80. }
  81. .input-class {
  82. width: 120rpx;
  83. }
  84. }
  85. }
  86. .cell-right {
  87. background-color: #E54D42;
  88. display: flex;
  89. align-items: center;
  90. justify-content: center;
  91. color: #fff;
  92. font-weight: 700;
  93. font-size: 28rpx;
  94. width: 65px;
  95. height: 100%;
  96. }
  97. .footer-box {
  98. position: fixed;
  99. bottom: 0;
  100. padding: 0;
  101. height: calc(216rpx + env(safe-area-inset-bottom) / 2);
  102. padding-bottom: calc(env(safe-area-inset-bottom) / 2);
  103. z-index: 99;
  104. .footer {
  105. width: 100vw;
  106. min-height: 130rpx;
  107. z-index: 999;
  108. display: flex;
  109. justify-content: space-between;
  110. padding: 0 30rpx;
  111. box-sizing: border-box;
  112. background-color: #fff;
  113. box-shadow: rgba(0, 0, 0, 0.15) 0px 5rpx 15rpx 0px;
  114. .left {
  115. flex: 1;
  116. color: #333333;
  117. .selected {
  118. font-size: 24rpx;
  119. color: #999;
  120. }
  121. .sum {
  122. height: 40rpx;
  123. line-height: 40rpx;
  124. font-size: 28rpx;
  125. font-family: PingFang SC-Medium, PingFang SC;
  126. font-weight: 500;
  127. margin-top: 10rpx;
  128. text {
  129. color: #FF3B30;
  130. }
  131. }
  132. .transport {
  133. height: 34rpx;
  134. line-height: 34rpx;
  135. font-size: 24rpx;
  136. font-family: PingFang SC-Regular, PingFang SC;
  137. margin-top: 8rpx;
  138. text {
  139. color: #FF3B30;
  140. }
  141. }
  142. }
  143. .but {
  144. width: 230rpx;
  145. height: 90rpx;
  146. background: #3874F6;
  147. border-radius: 16rpx;
  148. font-size: 28rpx;
  149. font-weight: 600;
  150. color: #FFFFFF;
  151. margin-top: 10rpx;
  152. }
  153. }
  154. }