index.scss 2.3 KB

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