index.scss 3.7 KB

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