小程序改变顶部 导航颜色

wx.setNavigationBarColor({//设置导航栏颜色
      frontColor: '#000000',//注意frontColor的值只能为000000或者111111
      backgroundColor: app.globalData.background
    });

 

posted @ 2019-06-29 16:38  盘思动  阅读(3949)  评论(1编辑  收藏  举报