index.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. .head {
  2. display: flex;
  3. align-items: center;
  4. width: 100vw;
  5. height: 120rpx;
  6. padding: 0 20rpx 0 30rpx;
  7. box-sizing: border-box;
  8. .count {
  9. font-size: 28rpx;
  10. font-family: PingFang SC-Regular, PingFang SC;
  11. color: #333333;
  12. }
  13. .expand {
  14. flex: 1;
  15. display: flex;
  16. align-items: center;
  17. justify-content: flex-end;
  18. .but {
  19. display: flex;
  20. align-items: center;
  21. justify-content: center;
  22. flex-shrink: 0;
  23. width: 80rpx;
  24. height: 80rpx;
  25. background: #FFFFFF;
  26. border-radius: 8rpx;
  27. border: 2rpx solid #CCCCCC;
  28. margin-left: 20rpx;
  29. color: #666666;
  30. }
  31. }
  32. }
  33. .custom-class {
  34. --search-background-color: #fff !important;
  35. padding-right: 10rpx !important;
  36. }
  37. .product-item {
  38. background-color: #fff;
  39. box-sizing: border-box;
  40. border-bottom: 1rpx solid #DDDDDD;
  41. margin-bottom: 20rpx;
  42. .product {
  43. box-sizing: border-box;
  44. .mian {
  45. position: relative;
  46. display: flex;
  47. width: 100%;
  48. box-sizing: border-box;
  49. padding: 20rpx;
  50. .img {
  51. position: relative;
  52. flex-shrink: 0;
  53. width: 112rpx;
  54. height: 112rpx;
  55. border-radius: 16rpx;
  56. margin-right: 20rpx;
  57. .err {
  58. display: flex;
  59. width: 100%;
  60. height: 100%;
  61. align-items: center;
  62. justify-content: center;
  63. font-size: 22rpx;
  64. border: 1px solid #ddd;
  65. box-sizing: border-box;
  66. color: #666;
  67. border-radius: 16rpx;
  68. }
  69. .tag-box {
  70. display: flex;
  71. justify-content: center;
  72. width: 100%;
  73. position: absolute;
  74. top: 94rpx;
  75. .tag {
  76. max-width: 70rpx;
  77. font-family: PingFang SC, PingFang SC;
  78. font-size: 18rpx;
  79. color: #FFFFFF;
  80. line-height: 32rpx;
  81. border-radius: 16rpx;
  82. background-color: #52C41A;
  83. padding: 0 12rpx;
  84. }
  85. }
  86. }
  87. .dec {
  88. flex: 1;
  89. width: 0;
  90. min-height: 128rpx;
  91. height: 100%;
  92. font-size: 24rpx;
  93. font-family: PingFang SC-Regular, PingFang SC;
  94. color: #999999;
  95. .title {
  96. display: flex;
  97. width: 90%;
  98. height: 40rpx;
  99. font-size: 28rpx;
  100. font-weight: 600;
  101. color: #333333;
  102. .line-1 {
  103. max-width: 380rpx;
  104. }
  105. .tag {
  106. display: inline-block;
  107. color: #fff;
  108. background-color: #F80700;
  109. padding: 0 20rpx;
  110. margin-left: 20rpx;
  111. border-radius: 20rpx;
  112. font-weight: normal;
  113. font-size: 22rpx;
  114. line-height: 40rpx;
  115. }
  116. }
  117. .subfield {
  118. display: flex;
  119. margin-top: 8rpx;
  120. height: 34rpx;
  121. line-height: 34rpx;
  122. text {
  123. display: inline-block;
  124. width: 48%;
  125. }
  126. }
  127. .price {
  128. font-size: 25rpx;
  129. color: #FF3B30;
  130. }
  131. .old-price {
  132. font-size: 24rpx;
  133. font-family: PingFang SC-Regular, PingFang SC;
  134. color: #999999;
  135. margin-left: 8rpx;
  136. text-decoration-line: line-through;
  137. }
  138. .bottom {
  139. display: flex;
  140. align-items: center;
  141. height: 58rpx;
  142. font-family: PingFang SC, PingFang SC;
  143. font-size: 24rpx;
  144. color: #333333;
  145. width: 100%;
  146. margin-top: 8rpx;
  147. margin-left: -130rpx;
  148. padding-bottom: 2rpx;
  149. input {
  150. width: 440rpx;
  151. height: 58rpx;
  152. background: #FFFFFF;
  153. border-radius: 8rpx;
  154. border: 1rpx solid #CCCCCC;
  155. padding-left: 20rpx;
  156. }
  157. }
  158. }
  159. .iconfont-box {
  160. position: absolute;
  161. bottom: 0rpx;
  162. right: 0rpx;
  163. padding: 30rpx;
  164. color: #B5B5B5;
  165. border-radius: 8rpx;
  166. }
  167. }
  168. }
  169. }