调整图片比例
This commit is contained in:
@@ -218,7 +218,7 @@
|
||||
// justify-content: space-around;
|
||||
.item {
|
||||
width: 47%;
|
||||
height: 52.9rem;
|
||||
height: 62.2rem;
|
||||
// overflow: hidden;
|
||||
border-radius: var(--border-radius);
|
||||
background-color: #fff;
|
||||
@@ -228,7 +228,7 @@
|
||||
> img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
object-fit: cover;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
> .corner {
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
font-size: 8.4rem;
|
||||
text-align: center;
|
||||
line-height: 124%;
|
||||
margin-top: 3.6rem;
|
||||
margin-top: 3.2rem;
|
||||
}
|
||||
> .tip {
|
||||
margin-top: 0.56rem;
|
||||
@@ -159,7 +159,7 @@
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
> .input-box {
|
||||
margin-top: 6rem;
|
||||
margin-top: 4.5rem;
|
||||
width: 87.5rem;
|
||||
height: 8.3rem;
|
||||
border-radius: 0.5rem;
|
||||
@@ -196,9 +196,9 @@
|
||||
}
|
||||
}
|
||||
> .card {
|
||||
margin-top: 6.4rem;
|
||||
width: 72.9rem;
|
||||
height: 102.3rem;
|
||||
margin-top: 5rem;
|
||||
width: 73rem;
|
||||
height: 109.5rem;
|
||||
border-radius: 2rem;
|
||||
// box-shadow: 1.3rem 1.4rem 2rem 0.2rem #0000004d;
|
||||
border: 0.2rem solid #d9d9d9;
|
||||
@@ -250,7 +250,7 @@
|
||||
}
|
||||
}
|
||||
> .btns {
|
||||
margin-top: 5.6rem;
|
||||
margin-top: 5rem;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
@@ -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