Explorar o código

修改总帐图片显示模式

shaogen1995 %!s(int64=4) %!d(string=hai) anos
pai
achega
379d792ef4
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 2 0
      src/views/collect/collect0.vue
  2. 2 0
      src/views/holding/holding3.vue

+ 2 - 0
src/views/collect/collect0.vue

@@ -366,6 +366,7 @@ export default {
           overflow: auto;
           padding: 24px;
           .smimg {
+            text-align: center;
             // width: 80px;
             // height: 60px;
             img {
@@ -400,6 +401,7 @@ export default {
               // object-fit:scale-down;
               width: 215px;
               height: 200px;
+              object-fit: contain;
               margin-bottom: 8px;
               border: 5px solid #ccc;
             }

+ 2 - 0
src/views/holding/holding3.vue

@@ -451,6 +451,7 @@ export default {
           overflow: auto;
           padding: 24px;
           .smimg {
+            text-align: center;
             // width: 80px;
             // height: 60px;
             img {
@@ -485,6 +486,7 @@ export default {
               // object-fit:scale-down;
               width: 215px;
               height: 200px;
+              object-fit: contain;
               margin-bottom: 8px;
               border: 5px solid #ccc;
             }