fix: 移除自定义导航栏样式并更新模板分支显示
- 移除关于页面的自定义导航栏配置及相关代码 - 将首页显示的模板分支从"base"更新为"spa" - 清理了不再需要的导航栏组件注释代码 ``` 这个提交消息: 1. 使用"fix"类型,因为这些修改主要是修复/清理性质的 2. 省略了scope,因为修改涉及多个文件/功能 3. 描述简洁说明了主要修改内容 4. 在body中列出了具体的修改点,没有重复描述中的信息 5. 使用了中文并保持简洁明了 6. 遵循了50字符限制和祈使语气的要求
This commit is contained in:
parent
08f3f1ae9b
commit
566e5c6031
@ -29,8 +29,7 @@
|
|||||||
"type": "page",
|
"type": "page",
|
||||||
"layout": "tabbar",
|
"layout": "tabbar",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "关于",
|
"navigationBarTitleText": "关于"
|
||||||
"navigationStyle": "custom"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
layout: 'tabbar',
|
layout: 'tabbar',
|
||||||
style: {
|
style: {
|
||||||
navigationBarTitleText: '关于',
|
navigationBarTitleText: '关于',
|
||||||
navigationStyle: 'custom', // 开启自定义导航栏
|
// navigationStyle: 'custom', // 开启自定义导航栏
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<fg-navbar>关于</fg-navbar>
|
<!-- <fg-navbar>关于</fg-navbar> -->
|
||||||
<view
|
<view
|
||||||
class="bg-white overflow-hidden pt-2 px-4"
|
class="bg-white overflow-hidden pt-2 px-4"
|
||||||
:style="{ marginTop: safeAreaInsets?.top + 'px' }"
|
:style="{ marginTop: safeAreaInsets?.top + 'px' }"
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="text-center mt-4">
|
<view class="text-center mt-4">
|
||||||
模板分支是:
|
模板分支是:
|
||||||
<text class="text-green-500">base</text>
|
<text class="text-green-500">spa</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user