feat: 页面级入场动画 (fade + translateY) 应用到 5 个页面
This commit is contained in:
@@ -94,3 +94,13 @@ image {
|
||||
color: var(--text);
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
/* ---- page-level transition ---- */
|
||||
.page-enter {
|
||||
animation: pageIn 0.35s cubic-bezier(0.2, 0, 0.2, 1) both;
|
||||
}
|
||||
|
||||
@keyframes pageIn {
|
||||
from { opacity: 0; transform: translateY(20rpx); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user