From 6a5eb210668fd89c03d5a5c54cef4e30a96be3e8 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 9 Jan 2022 14:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/combo/bubblecombo/combo.bubble.js | 2 +- src/less/motion.less | 24 ---------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/src/case/combo/bubblecombo/combo.bubble.js b/src/case/combo/bubblecombo/combo.bubble.js index 8f4dc80d5..3e9e4c750 100644 --- a/src/case/combo/bubblecombo/combo.bubble.js +++ b/src/case/combo/bubblecombo/combo.bubble.js @@ -56,7 +56,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { popup: BI.extend({ type: "bi.bubble_popup_view", animation: "bi-zoom-big", - animationDuring: 300, + animationDuring: 200, }, o.popup) }); this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { diff --git a/src/less/motion.less b/src/less/motion.less index 3bd4a4368..d5e02987e 100644 --- a/src/less/motion.less +++ b/src/less/motion.less @@ -52,27 +52,3 @@ pointer-events: none; } } - -.zoom-big-motion-enter() { - transform: scale(0); - opacity: 0; - animation-timing-function: @ease-out-circ; - - .motion-common(@animation-duration-base); - animation-play-state: paused; -} -.zoom-big-motion-enter-active() { - animation-name: biZoomBigIn; - animation-play-state: running; -} - -.zoom-big-motion-leave() { - animation-timing-function: @ease-in-out-circ; - - .motion-common-leave(@animation-duration-base); -} -.zoom-big-motion-leave-active() { - animation-name: biZoomBigOut; - animation-play-state: running; - pointer-events: none; -}