فهرست منبع

🎈 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;