提交 d6a7a3f0 编写于 作者: M mehaotian

fix: 修改自定义导航栏命名错误

上级 172928c7
......@@ -107,4 +107,4 @@
justify-content: center;
align-items: center;
}
</style>
\ No newline at end of file
</style>
......@@ -890,7 +890,7 @@
}
}, {
"path": "pages/template/navbar-light/navbar-light",
"path": "pages/template/navbar-lite/navbar-lite",
"style": {
"navigationBarTitleText": "自定义导航栏",
"navigationStyle": "custom"
......@@ -947,4 +947,4 @@
"query": "" //启动参数,在页面的onLoad函数里面得到
}]
}
}
\ No newline at end of file
}
......@@ -161,8 +161,8 @@ export default {
pages: [] as Page[],
},
{
id: 'navbar-light',
url: 'navbar-light',
id: 'navbar-lite',
url: 'navbar-lite',
name: '自定义导航栏',
open: false,
pages: [] as Page[],
......
<template>
<view class="content">
<uni-tabbar-light :title="title"></uni-tabbar-light>
<uni-navbar-lite :title="title"></uni-navbar-lite>
<scroll-view class="scroll-view" scroll-y="true">
<view class="content-item" v-for="item in 100">
<text class="text">内容:{{item+1}}</text>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册