From 576faac21bf731461bc596513f34d64b13ed9377 Mon Sep 17 00:00:00 2001
From: ppxb <317842449@qq.com>
Date: Wed, 9 Apr 2025 15:01:27 +0800
Subject: [PATCH] chore(GiPageLayout): add collapse mask and remove animation
---
src/components/GiPageLayout/index.vue | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/src/components/GiPageLayout/index.vue b/src/components/GiPageLayout/index.vue
index 1e7455c..95a83cb 100644
--- a/src/components/GiPageLayout/index.vue
+++ b/src/components/GiPageLayout/index.vue
@@ -6,16 +6,19 @@
-
-
+
+
+
@@ -144,6 +147,7 @@ watch(() => breakpoint.value, (val) => {
}
.gi-page-layout__body {
+ position: relative;
flex: 1;
display: flex;
flex-direction: column;
@@ -173,7 +177,6 @@ watch(() => breakpoint.value, (val) => {
box-sizing: border-box;
background-color: var(--color-bg-1);
cursor: pointer;
- transition: all .3s cubic-bezier(.4,0,.2,1);
width: 24px;
height: 24px;
border-radius: 50%;
@@ -182,7 +185,18 @@ watch(() => breakpoint.value, (val) => {
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}
-.gi-split-button.none {
+.gi-page-layout__mask{
+ content: "";
+ position: absolute;
+ top: 0;
left: 0;
+ right: 0;
+ bottom: 0;
+ backdrop-filter: blur(20px);
+ z-index: 20;
+}
+
+.gi-split-button.none {
+ left: -12px;
}