소스 검색

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

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;
       display: flex;
       align-items: center;
       align-items: center;
       img {
       img {
+        object-fit: contain;
         width: 100%;
         width: 100%;
         height: 340px;
         height: 340px;
         border: 15px solid #ccc;
         border: 15px solid #ccc;

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

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