调整图片比例

This commit is contained in:
李志鹏
2025-10-31 11:01:14 +08:00
parent 6abca4840b
commit 387904e36d
3 changed files with 11 additions and 11 deletions

View File

@@ -26,7 +26,7 @@
const obj = {
visitRecordId: v.visitRecordId,
defaultImageUrl: v.defaultImageUrl,
datetime: FormatDate(v.visitTime, 'dd-MM-yyyy HH:mm'),
datetime: FormatDate(v.visitTime, 'dd/MM/yyyy HH:mm'),
lastopened: FormatDate(v.visitTime, 'HH:mm')
}
list.push(obj)
@@ -146,7 +146,7 @@
margin-top: 0;
}
> .image {
width: 21.4rem;
width: 22.9rem;
height: 100%;
overflow: hidden;
border-radius: 2rem;
@@ -154,7 +154,7 @@
> img {
width: 100%;
height: 100%;
object-fit: contain;
object-fit: cover;
display: block;
}
}