瀏覽代碼

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

shaogen1995 4 年之前
父節點
當前提交
f09ab7da64
共有 2 個文件被更改,包括 2 次插入0 次删除
  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;