Commit c35e2b5b by 高淑倩

add: 动态设置导航栏背景颜色

parent 2181b981
......@@ -32,6 +32,8 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad () {
// 设置 导航栏背景颜色
// wxService.getNavBarBackGroundColor('#000000', '#ff0000')
this.setData(
{
pages: [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment