
- 在分包页面中添加 navigationStyle 配置 - 注释掉 about 页面中未使用的分包跳转按钮代码 ``` 这个提交消息: 1. 使用了 `style` 类型,因为修改主要是样式配置和代码注释 2. 添加了 `页面配置` 作为可选范围 3. 描述简洁说明了两个主要修改点 4. 符合中文提交规范,使用简体中文且简明扼要 5. 没有使用句号结尾 6. 保持在50个字符以内
24 lines
428 B
Vue
24 lines
428 B
Vue
<route lang="json5" type="page">
|
|
{
|
|
style: {
|
|
navigationStyle: 'default',
|
|
navigationBarTitleText: '分包页面 标题',
|
|
},
|
|
}
|
|
</route>
|
|
|
|
<template>
|
|
<view class="text-center">
|
|
<view class="m-8">http://localhost:9000/#/pages-sub/demo/index</view>
|
|
<view class="text-green-500">分包页面demo</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
// code here
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
//
|
|
</style>
|