edit top text
uni.setNavigationBarTitle({
title: "首页" //这是修改后的导航栏文字
})
Modify the top text color and the background color of the navigation bar
uni.setNavigationBarColor({
frontColor: "#ffffff", //文字颜色
backgroundColor: "#007AFF" //底部背景色
})
edit top text
uni.setNavigationBarTitle({
title: "首页" //这是修改后的导航栏文字
})
Modify the top text color and the background color of the navigation bar
uni.setNavigationBarColor({
frontColor: "#ffffff", //文字颜色
backgroundColor: "#007AFF" //底部背景色
})