Explorar o código

修复藏品总账查看页面图片比例问题

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

+ 1 - 0
src/views/collect/collect0_look.vue

@@ -372,6 +372,7 @@ body .el-table::before {
       display: flex;
       align-items: center;
       img {
+        object-fit: contain;
         width: 100%;
         height: 340px;
         border: 15px solid #ccc;

+ 1 - 0
src/views/holding/holding3_look.vue

@@ -452,6 +452,7 @@ body .el-table::before {
       display: flex;
       align-items: center;
       img {
+        object-fit: contain;
         width: 100%;
         height: 340px;
         border: 15px solid #ccc;