Explorar o código

优化加入购物车图片

skyblued %!s(int64=3) %!d(string=hai) anos
pai
achega
5020a60bff
Modificáronse 1 ficheiros con 4 adicións e 6 borrados
  1. 4 6
      src/views/shop-mall/modal/add-goods-cart/index.module.less

+ 4 - 6
src/views/shop-mall/modal/add-goods-cart/index.module.less

@@ -22,7 +22,8 @@
   position: relative;
   width: 100px;
   height: 100px;
-
+  border-radius: 8px;
+  overflow: hidden;
   .sellOut {
     display: flex;
     align-items: center;
@@ -33,17 +34,14 @@
     right: 0;
     bottom: 0;
     background: rgba(0, 0, 0, 0.2);
-    .sellOutImg {
-      width: 52px;
-      height: 52px;
-    }
+    padding: 20px;
   }
 }
 .goodsImg {
   width: 100px;
   height: 100px;
   background: linear-gradient(180deg, #f0f0f0 0%, #d7d7d7 100%);
-  border-radius: 8px;
+
   overflow: hidden;
 }