index.scss 2.8 KB

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