提交 1e6aa9e7 编写于 作者: DCloud-yyl's avatar DCloud-yyl

优化自定义导航栏示例

上级 bc310c65
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
mounted() { mounted() {
uni.setNavigationBarColor({ uni.setNavigationBarColor({
frontColor: "#000000", frontColor: "#000000",
backgroundColor: "#ffffff", backgroundColor: "#007aff",
}); });
}, },
methods: { methods: {
......
...@@ -1144,7 +1144,8 @@ ...@@ -1144,7 +1144,8 @@
"path": "pages/template/navbar-lite/navbar-lite", "path": "pages/template/navbar-lite/navbar-lite",
"style": { "style": {
"navigationBarTitleText": "自定义导航栏", "navigationBarTitleText": "自定义导航栏",
"navigationStyle": "custom" "navigationStyle": "custom",
"navigationBarBackgroundColor": "#007aff"
} }
}, },
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册