调整图片比例
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user