animate popup

This commit is contained in:
Timi
2025-12-10 15:08:01 +08:00
parent 69bf186f0e
commit 71cbf554d4
3 changed files with 30 additions and 13 deletions

View File

@ -90,11 +90,17 @@
z-index: 999;
display: flex;
position: fixed;
transition: transform 350ms cubic-bezier(.19, .1, .22, 1);
transform: translateY(100%);
background: var(--theme-bg-card);
box-shadow: 0 -2rpx 20rpx rgba(0, 0, 0, .15);
border-radius: 24rpx 24rpx 0 0;
flex-direction: column;
&.visible {
transform: translateY(0);
}
.detail-content {
flex: 1;
display: flex;