index.scss 2.3 KB

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