From daed00b0e646f80cf7dbbaea6a1ac6f558296a7e Mon Sep 17 00:00:00 2001 From: Netfan Date: Thu, 5 Dec 2024 11:50:56 +0800 Subject: [PATCH] fix: layout and `Page` style adjustment, fixed #5021 #5027 --- .../ui-kit/layout-ui/src/vben-layout.vue | 2 +- .../common-ui/src/components/page/page.vue | 94 ++++++++++++++----- .../src/views/examples/vxe-table/basic.vue | 1 + 3 files changed, 70 insertions(+), 27 deletions(-) diff --git a/packages/@core/ui-kit/layout-ui/src/vben-layout.vue b/packages/@core/ui-kit/layout-ui/src/vben-layout.vue index 98932e250ba..a598f291384 100644 --- a/packages/@core/ui-kit/layout-ui/src/vben-layout.vue +++ b/packages/@core/ui-kit/layout-ui/src/vben-layout.vue @@ -503,7 +503,7 @@ function handleHeaderToggle() {
- -
- {{ title }} -
-
- - -

- {{ description }} -

-
- -
+
+ +
+ {{ title }} +
+
+ + +

+ {{ description }} +

+
+
+ +
@@ -133,9 +174,10 @@ onMounted(() => { :class=" cn( footerClass, - 'bg-card align-center absolute bottom-0 left-0 right-0 flex px-6 py-4', + 'bg-card align-center border-border fixed right-0 flex border-t px-6 py-4 transition-all duration-200', ) " + :style="footerStyle" >
diff --git a/playground/src/views/examples/vxe-table/basic.vue b/playground/src/views/examples/vxe-table/basic.vue index 1216468d4d8..9e4e336d89a 100644 --- a/playground/src/views/examples/vxe-table/basic.vue +++ b/playground/src/views/examples/vxe-table/basic.vue @@ -71,6 +71,7 @@ function changeLoading() {