Преглед на файлове

🎈 perf(product-item): 修改商品底部边距

陈雪 преди 1 месец
родител
ревизия
62b5939d43
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      src/components/product-list/product-item.vue

+ 5 - 0
src/components/product-list/product-item.vue

@@ -34,6 +34,11 @@
     width: 328rpx;
     margin-bottom: 26rpx;
 
+    &:nth-last-child(1),
+    &:nth-last-child(2) {
+      margin-bottom: 0;
+    }
+
     .is-collect {
       position: absolute;
       display: flex;