提交 d6a7a3f0 编写于 作者: M mehaotian

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

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