index.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. z-index: 99;
  102. .footer {
  103. width: 100vw;
  104. min-height: 130rpx;
  105. z-index: 999;
  106. display: flex;
  107. justify-content: space-between;
  108. padding: 0 30rpx;
  109. box-sizing: border-box;
  110. background-color: #fff;
  111. box-shadow: rgba(0, 0, 0, 0.15) 0px 5rpx 15rpx 0px;
  112. .left {
  113. flex: 1;
  114. color: #333333;
  115. .selected {
  116. font-size: 24rpx;
  117. color: #999;
  118. }
  119. .sum {
  120. height: 40rpx;
  121. line-height: 40rpx;
  122. font-size: 28rpx;
  123. font-family: PingFang SC-Medium, PingFang SC;
  124. font-weight: 500;
  125. margin-top: 10rpx;
  126. text {
  127. color: #FF3B30;
  128. }
  129. }
  130. .transport {
  131. height: 34rpx;
  132. line-height: 34rpx;
  133. font-size: 24rpx;
  134. font-family: PingFang SC-Regular, PingFang SC;
  135. margin-top: 8rpx;
  136. text {
  137. color: #FF3B30;
  138. }
  139. }
  140. }
  141. .but {
  142. width: 230rpx;
  143. height: 90rpx;
  144. background: #3874F6;
  145. border-radius: 16rpx;
  146. font-size: 28rpx;
  147. font-weight: 600;
  148. color: #FFFFFF;
  149. margin-top: 10rpx;
  150. }
  151. }
  152. }