index.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. box-sizing: border-box;
  39. .product {
  40. .mian {
  41. position: relative;
  42. display: flex;
  43. width: 100%;
  44. box-sizing: border-box;
  45. .img {
  46. position: relative;
  47. flex-shrink: 0;
  48. width: 112rpx;
  49. height: 112rpx;
  50. border-radius: 16rpx;
  51. margin-right: 28rpx;
  52. .err {
  53. display: flex;
  54. width: 100%;
  55. height: 100%;
  56. align-items: center;
  57. justify-content: center;
  58. font-size: 22rpx;
  59. border: 1px solid #ddd;
  60. box-sizing: border-box;
  61. color: #666;
  62. border-radius: 16rpx;
  63. }
  64. }
  65. .dec {
  66. flex: 1;
  67. width: 0;
  68. min-height: 128rpx;
  69. height: 100%;
  70. font-size: 24rpx;
  71. font-family: PingFang SC-Regular, PingFang SC;
  72. color: #999999;
  73. .title {
  74. display: flex;
  75. width: 95%;
  76. height: 40rpx;
  77. font-size: 28rpx;
  78. font-weight: 600;
  79. color: #333333;
  80. .line-1 {
  81. max-width: 460rpx;
  82. }
  83. .tag {
  84. display: inline-block;
  85. color: #fff;
  86. background-color: #F80700;
  87. padding: 0 20rpx;
  88. margin-left: 20rpx;
  89. border-radius: 20rpx;
  90. font-weight: normal;
  91. font-size: 22rpx;
  92. line-height: 40rpx;
  93. }
  94. }
  95. .subfield {
  96. display: flex;
  97. margin-top: 8rpx;
  98. height: 34rpx;
  99. line-height: 34rpx;
  100. text {
  101. display: inline-block;
  102. width: 48%;
  103. }
  104. }
  105. .price {
  106. font-size: 25rpx;
  107. color: #FF3B30;
  108. }
  109. .old-price {
  110. font-size: 24rpx;
  111. font-family: PingFang SC-Regular, PingFang SC;
  112. color: #999999;
  113. margin-left: 8rpx;
  114. text-decoration-line: line-through;
  115. }
  116. .bottom {
  117. display: flex;
  118. align-items: center;
  119. height: 58rpx;
  120. font-family: PingFang SC, PingFang SC;
  121. font-size: 24rpx;
  122. color: #333333;
  123. margin-top: 24rpx;
  124. margin-left: -130rpx;
  125. padding-bottom: 2rpx;
  126. textarea,
  127. input {
  128. flex: 1;
  129. height: 58rpx;
  130. line-height: 58rpx;
  131. background: #FFFFFF;
  132. border-radius: 8rpx;
  133. border: 1rpx solid #CCCCCC;
  134. padding-left: 20rpx;
  135. }
  136. }
  137. }
  138. .iconfont-box {
  139. position: absolute;
  140. right: 0rpx;
  141. color: #B5B5B5;
  142. border-radius: 8rpx;
  143. }
  144. }
  145. }
  146. }