提交 d6a7a3f0 编写于 作者: M mehaotian

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

上级 172928c7
...@@ -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"
......
...@@ -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.
先完成此消息的编辑!
想要评论请 注册