From 7d1839681a600e602f16c94410ca2c2c59e76411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8A=B2=E6=9D=BE?= Date: Wed, 18 Mar 2020 21:36:37 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B0=83=E6=95=B4=E5=8A=A8=E7=94=BB?= =?UTF-8?q?=E3=80=81=E8=B0=83=E6=95=B4=E5=88=87=E6=8D=A2module=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/page/project/project.vue | 32 +++++++++++++++---- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/nezha-fronted/src/components/page/project/project.vue b/nezha-fronted/src/components/page/project/project.vue index c6b4c2b3a..59f0f8604 100644 --- a/nezha-fronted/src/components/page/project/project.vue +++ b/nezha-fronted/src/components/page/project/project.vue @@ -34,6 +34,7 @@ .sub-list { height: calc(50% - 4px); transition: .4s height; + position: relative; } .sub-list-resize { margin: 0 -6px; @@ -75,15 +76,14 @@ } .pagination-position { position: absolute; - transition: .4s right, .4s top, .4s width; } .pagination-position-bottom { width: 100%; - top: calc(100% - 50px); } .pagination-position-top { top: 0; right: 0; + transition: .1s transform; }