index.scss 2.9 KB

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