From 91ee84cd4999feb1c5eab6fa06606c8967a20004 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 3 Jun 2025 17:46:29 +0800 Subject: [PATCH] =?UTF-8?q?style(=E9=A1=B5=E9=9D=A2=E9=85=8D=E7=BD=AE):=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2=E8=B7=AF=E7=94=B1=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=92=8C=E6=B3=A8=E9=87=8A=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在分包页面中添加 navigationStyle 配置 - 注释掉 about 页面中未使用的分包跳转按钮代码 ``` 这个提交消息: 1. 使用了 `style` 类型,因为修改主要是样式配置和代码注释 2. 添加了 `页面配置` 作为可选范围 3. 描述简洁说明了两个主要修改点 4. 符合中文提交规范,使用简体中文且简明扼要 5. 没有使用句号结尾 6. 保持在50个字符以内 --- src/pages-sub/demo/index.vue | 5 ++++- src/pages/about/about.vue | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages-sub/demo/index.vue b/src/pages-sub/demo/index.vue index 6126ddc..d2033ad 100644 --- a/src/pages-sub/demo/index.vue +++ b/src/pages-sub/demo/index.vue @@ -1,6 +1,9 @@ { - style: { navigationBarTitleText: '分包页面 标题' }, + style: { + navigationStyle: 'default', + navigationBarTitleText: '分包页面 标题', + }, } diff --git a/src/pages/about/about.vue b/src/pages/about/about.vue index d234b89..351623d 100644 --- a/src/pages/about/about.vue +++ b/src/pages/about/about.vue @@ -18,6 +18,7 @@ 鸽友们好,我是 菲鸽 + 测试 scss 样式 @@ -31,6 +32,11 @@ import UploadComp from './components/upload.vue' // 获取屏幕边界到安全区域距离 const { safeAreaInsets } = uni.getSystemInfoSync() +const toSubPage = () => { + uni.navigateTo({ + url: '/pages-sub/demo/index', + }) +}