From a220d1bd5f0169b861cbfd495200f11482108d56 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 18 Nov 2021 16:53:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/less/base/view/drawer.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/less/base/view/drawer.less b/src/less/base/view/drawer.less index f364457e3..294c6fb3d 100644 --- a/src/less/base/view/drawer.less +++ b/src/less/base/view/drawer.less @@ -1,6 +1,6 @@ @import "../../index"; .bi-drawer { - .box-shadow(-6px 0 16px -8px #00000014, -9px 0 28px #0000000d, -12px 0 48px 16px #00000008); + .box-shadows(-6px 0 16px -8px #00000014, -9px 0 28px #0000000d, -12px 0 48px 16px #00000008); .transition(transform .3s cubic-bezier(.23, 1, .32, 1), box-shadow .3s cubic-bezier(.23, 1, .32, 1)); } From 0a5841ad976a1dc8bfafd0e189595ac2f389b65b Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 18 Nov 2021 16:57:55 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/less/base/view/drawer.less | 2 +- src/less/visual.less | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/less/base/view/drawer.less b/src/less/base/view/drawer.less index 294c6fb3d..80a8ca1be 100644 --- a/src/less/base/view/drawer.less +++ b/src/less/base/view/drawer.less @@ -2,5 +2,5 @@ .bi-drawer { .box-shadows(-6px 0 16px -8px #00000014, -9px 0 28px #0000000d, -12px 0 48px 16px #00000008); - .transition(transform .3s cubic-bezier(.23, 1, .32, 1), box-shadow .3s cubic-bezier(.23, 1, .32, 1)); + .transitions(transform .3s cubic-bezier(.23, 1, .32, 1), box-shadow .3s cubic-bezier(.23, 1, .32, 1)); } diff --git a/src/less/visual.less b/src/less/visual.less index cebb0eb61..9a1bda2b7 100644 --- a/src/less/visual.less +++ b/src/less/visual.less @@ -53,6 +53,13 @@ transition: @transition; } +.transitions(@transition1, @transition2) { + -webkit-transition: @transition1, @transition2; + -moz-transition: @transition1, @transition2; + -o-transition: @transition1, @transition2; + transition: @transition1, @transition2; +} + .rotate(@rotate) { -webkit-transform: rotate(@rotate); -moz-transform: rotate(@rotate);