style(页面配置): 更新页面路由配置和注释代码
- 在分包页面中添加 navigationStyle 配置 - 注释掉 about 页面中未使用的分包跳转按钮代码 ``` 这个提交消息: 1. 使用了 `style` 类型,因为修改主要是样式配置和代码注释 2. 添加了 `页面配置` 作为可选范围 3. 描述简洁说明了两个主要修改点 4. 符合中文提交规范,使用简体中文且简明扼要 5. 没有使用句号结尾 6. 保持在50个字符以内
This commit is contained in:
parent
9ad46fe088
commit
91ee84cd49
@ -1,6 +1,9 @@
|
||||
<route lang="json5" type="page">
|
||||
{
|
||||
style: { navigationBarTitleText: '分包页面 标题' },
|
||||
style: {
|
||||
navigationStyle: 'default',
|
||||
navigationBarTitleText: '分包页面 标题',
|
||||
},
|
||||
}
|
||||
</route>
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
鸽友们好,我是
|
||||
<text class="text-red-500">菲鸽</text>
|
||||
</view>
|
||||
<!-- <button @click="toSubPage()">去分包</button> -->
|
||||
<view class="test-css">测试 scss 样式</view>
|
||||
<RequestComp />
|
||||
<UploadComp />
|
||||
@ -31,6 +32,11 @@ import UploadComp from './components/upload.vue'
|
||||
|
||||
// 获取屏幕边界到安全区域距离
|
||||
const { safeAreaInsets } = uni.getSystemInfoSync()
|
||||
const toSubPage = () => {
|
||||
uni.navigateTo({
|
||||
url: '/pages-sub/demo/index',
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
Loading…
x
Reference in New Issue
Block a user