From e0cb82c8dbf83fabc0cab548abc873926366fb75 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 21 五月 2025 17:29:15 +0800
Subject: [PATCH] fix: 修改ui
---
apps/taro/src/components/Layout/layout.ts | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/apps/taro/src/components/Layout/layout.ts b/apps/taro/src/components/Layout/layout.ts
index a43fe7f..9062962 100644
--- a/apps/taro/src/components/Layout/layout.ts
+++ b/apps/taro/src/components/Layout/layout.ts
@@ -1,4 +1,5 @@
import { PropType } from 'vue';
+import { commonNavigationBarProps } from '../NavigationBar/commonNavigationBar';
export const loadingLayoutProps = {
loading: {
@@ -17,3 +18,27 @@
type: String,
},
};
+
+export const pageLayoutProps = {
+ ...commonNavigationBarProps,
+ needAuth: {
+ type: Boolean,
+ default: true,
+ },
+ useView: {
+ type: Boolean,
+ default: false,
+ },
+ hasLinearBg: {
+ type: Boolean,
+ default: false,
+ },
+ linearBgHeight: {
+ type: Number,
+ default: 388,
+ },
+ hasBgColor: {
+ type: Boolean,
+ default: false,
+ },
+};
--
Gitblit v1.9.1