style(页面配置): 更新页面路由配置和注释代码

- 在分包页面中添加 navigationStyle 配置
- 注释掉 about 页面中未使用的分包跳转按钮代码
```

这个提交消息:
1. 使用了 `style` 类型,因为修改主要是样式配置和代码注释
2. 添加了 `页面配置` 作为可选范围
3. 描述简洁说明了两个主要修改点
4. 符合中文提交规范,使用简体中文且简明扼要
5. 没有使用句号结尾
6. 保持在50个字符以内
This commit is contained in:
feige996 2025-06-03 17:46:29 +08:00
parent 9ad46fe088
commit 91ee84cd49
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,9 @@
<route lang="json5" type="page"> <route lang="json5" type="page">
{ {
style: { navigationBarTitleText: '分包页面 标题' }, style: {
navigationStyle: 'default',
navigationBarTitleText: '分包页面 标题',
},
} }
</route> </route>

View File

@ -18,6 +18,7 @@
鸽友们好我是 鸽友们好我是
<text class="text-red-500">菲鸽</text> <text class="text-red-500">菲鸽</text>
</view> </view>
<!-- <button @click="toSubPage()">去分包</button> -->
<view class="test-css">测试 scss 样式</view> <view class="test-css">测试 scss 样式</view>
<RequestComp /> <RequestComp />
<UploadComp /> <UploadComp />
@ -31,6 +32,11 @@ import UploadComp from './components/upload.vue'
// //
const { safeAreaInsets } = uni.getSystemInfoSync() const { safeAreaInsets } = uni.getSystemInfoSync()
const toSubPage = () => {
uni.navigateTo({
url: '/pages-sub/demo/index',
})
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>