Skip to content

Commit

Permalink
feat: 更改默认动画
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhenfei committed Sep 29, 2020
1 parent bdd9ae4 commit 4c3a439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mixin/page-transitions/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ uni-page.animation-show {

uni-page.animation-enter,
uni-page.animation-leave {
transition: all 0.3s $pi-animation-timing-function;
transition: all 0.3s ease-in-out;
}

uni-page.animation-forward {
Expand Down
2 changes: 1 addition & 1 deletion scss/variable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $pi-content-padding: 24rpx !default; // pi-content内容区域默认padding

// 动画
$pi-animation-duration: 0.3s !default; // 动画执行时长
$pi-animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !default; // 动画执行函数
$pi-animation-timing-function: ease-in-out !default; // 动画执行函数

// 颜色
$pi-font-color: #666666 !default; // 文字颜色
Expand Down

0 comments on commit 4c3a439

Please sign in to comment.