调整客户编辑弹窗居中显示
This commit is contained in:
@@ -142,20 +142,22 @@
|
||||
inset: 0;
|
||||
z-index: 80;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 32rpx;
|
||||
background: rgba(18, 15, 12, 0.48);
|
||||
animation: maskIn 180ms ease both;
|
||||
}
|
||||
|
||||
.customer-modal {
|
||||
width: 100%;
|
||||
max-height: 88vh;
|
||||
max-width: 640rpx;
|
||||
max-height: 82vh;
|
||||
overflow-y: auto;
|
||||
padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
|
||||
border-radius: 28rpx 28rpx 0 0;
|
||||
padding: 28rpx;
|
||||
border-radius: 28rpx;
|
||||
background: #fffaf4;
|
||||
box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16);
|
||||
box-shadow: 0 18rpx 48rpx rgba(41, 31, 23, 0.18);
|
||||
animation: modalUp 220ms ease both;
|
||||
}
|
||||
|
||||
@@ -257,9 +259,11 @@
|
||||
|
||||
@keyframes modalUp {
|
||||
from {
|
||||
transform: translateY(40rpx);
|
||||
opacity: 0;
|
||||
transform: translateY(20rpx) scale(0.98);
|
||||
}
|
||||
to {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
transform: translateY(0) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user