index.scss 2.9 KB

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