Browse Source

style(swipe): transition 滑动动画优化

richard1015 4 years ago
parent
commit
f037c12e3b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/packages/__VUE/swipe/index.scss

+ 1 - 1
src/packages/__VUE/swipe/index.scss

@@ -1,7 +1,7 @@
 .nut-swipe {
 .nut-swipe {
   position: relative;
   position: relative;
   display: block;
   display: block;
-  transition: all 0.3s linear;
+  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
   &__left,
   &__left,
   &__right {
   &__right {
     position: absolute;
     position: absolute;