selectProduct.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. .count {
  2. padding: 20rpx 30rpx;
  3. font-family: PingFang SC, PingFang SC;
  4. font-weight: 400;
  5. font-size: 24rpx;
  6. color: #333333;
  7. text-align: left;
  8. font-style: normal;
  9. text-transform: none;
  10. }
  11. .product-list {
  12. padding: 20rpx 0;
  13. }
  14. .product-item {
  15. margin-bottom: 2rpx;
  16. .item-content {
  17. display: flex;
  18. align-items: center;
  19. padding: 24rpx 30rpx;
  20. background: #fff;
  21. transition: background 0.2s;
  22. }
  23. .item-selected {
  24. background: #f0f7ff;
  25. }
  26. .checkbox-wrap {
  27. margin-right: 20rpx;
  28. flex-shrink: 0;
  29. }
  30. .checkbox {
  31. width: 44rpx;
  32. height: 44rpx;
  33. border-radius: 8rpx;
  34. border: 2rpx solid #ddd;
  35. display: flex;
  36. align-items: center;
  37. justify-content: center;
  38. background: #fff;
  39. box-sizing: border-box;
  40. }
  41. .checkbox-checked {
  42. background: #1060E3;
  43. border-color: #1060E3;
  44. }
  45. .item-img {
  46. flex-shrink: 0;
  47. }
  48. .item-info {
  49. flex: 1;
  50. margin-left: 20rpx;
  51. display: flex;
  52. flex-direction: column;
  53. justify-content: space-between;
  54. min-height: 160rpx;
  55. padding: 4rpx 0;
  56. }
  57. .item-name {
  58. font-family: Source Han Sans SC, Source Han Sans SC;
  59. font-weight: bold;
  60. font-size: 32rpx;
  61. color: #333333;
  62. text-align: left;
  63. font-style: normal;
  64. text-transform: none;
  65. display: -webkit-box;
  66. -webkit-box-orient: vertical;
  67. -webkit-line-clamp: 2;
  68. overflow: hidden;
  69. }
  70. .item-points {
  71. margin-top: 12rpx;
  72. .points-value {
  73. font-family: Source Han Sans SC, Source Han Sans SC;
  74. font-size: 36rpx;
  75. color: #E3041F;
  76. font-weight: bold;
  77. }
  78. .points-label {
  79. font-family: Source Han Sans SC, Source Han Sans SC;
  80. font-size: 24rpx;
  81. color: #999;
  82. margin-left: 6rpx;
  83. }
  84. }
  85. .item-qty {
  86. margin-top: 12rpx;
  87. }
  88. }
  89. .bottom-bar {
  90. position: fixed;
  91. bottom: 0;
  92. left: 0;
  93. right: 0;
  94. height: 120rpx;
  95. background: #fff;
  96. display: flex;
  97. align-items: center;
  98. padding: 0 30rpx ;
  99. box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
  100. z-index: 100;
  101. .bar-left {
  102. display: flex;
  103. flex: 1;
  104. .selected-count {
  105. font-family: PingFang SC, PingFang SC;
  106. font-weight: 400;
  107. font-size: 28rpx;
  108. color: #333333;
  109. text-align: left;
  110. font-style: normal;
  111. text-transform: none;
  112. }
  113. .selected-num {
  114. padding-left: 20rpx;
  115. font-family: PingFang SC, PingFang SC;
  116. font-weight: 400;
  117. font-size: 28rpx;
  118. color: #333333;
  119. text-align: left;
  120. font-style: normal;
  121. text-transform: none;
  122. }
  123. }
  124. .bar-right {
  125. width: 240rpx;
  126. height: 88rpx;
  127. display: flex;
  128. align-items: center;
  129. justify-content: center;
  130. background: #1060E3;
  131. color: #fff;
  132. font-size: 32rpx;
  133. font-weight: 500;
  134. border-radius: 10rpx;
  135. padding-bottom: 6rpx;
  136. }
  137. }