Bladeren bron

店铺图标大小适配处理。

yangc 8 jaren geleden
bovenliggende
commit
f065323178
1 gewijzigde bestanden met toevoegingen van 8 en 3 verwijderingen
  1. 8 3
      components/searchStore/StoreContent.vue

+ 8 - 3
components/searchStore/StoreContent.vue

@@ -153,13 +153,18 @@
   .store-content-left >a {
     color: black;
     float: left;
-  }
-  .store-content-left >a >img.storeImg {
-    border: 1px solid rgb( 231, 231, 231 );
     width: 100px;
     height: 100px;
+    line-height: 100px;
+    display: inline-block;
+    border: 1px solid rgb( 231, 231, 231 );
+    overflow: hidden;
     margin-left: 10px;
   }
+  .store-content-left >a >img.storeImg {
+    max-width: 100px;
+    max-height: 100px;
+  }
   .btn-content {
     display: block!important;
     margin-top: 20px;