提交 2bc0a78f 编写于 作者: A Anne_LXM

Update uni-navbar-lite.uvue

上级 6e730d49
...@@ -64,13 +64,10 @@ ...@@ -64,13 +64,10 @@
this.statusBarHeight = statusBarHeight; this.statusBarHeight = statusBarHeight;
}, },
mounted() { mounted() {
// TODO 暂时加定时器,否则不生效 uni.setNavigationBarColor({
setTimeout(() => { frontColor: "#000000",
uni.setNavigationBarColor({ backgroundColor: "#ffffff",
frontColor: "#000000", });
backgroundColor: "#ffffff",
});
}, 100);
}, },
methods: { methods: {
back() { back() {
...@@ -83,14 +80,13 @@ ...@@ -83,14 +80,13 @@
<style> <style>
.uni-icons { .uni-icons {
font-family: "UniIconsFontFamily" !important; font-family: "UniIconsFontFamily" !important;
font-size: 22px; font-size: 26px;
font-style: normal; font-style: normal;
color: #333; color: #333;
} }
.uni-navbar { .uni-navbar {
border: 1px #eee solid; background-color: #fff;
background-color: #ffffff;
} }
.uni-navbar-inner { .uni-navbar-inner {
...@@ -103,8 +99,8 @@ ...@@ -103,8 +99,8 @@
.left-content, .left-content,
.right-content { .right-content {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 66px; width: 18%;
height: 100%; height: 100%;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册