微信小程序配置顶部导航条标题颜色实现代码

小云云
Release: 2018-05-11 15:30:07
original
7296 people have browsed it

本文主要和大家介绍微信小程序配置顶部导航条标题颜色的实现方法的相关资料,希望通过本文能帮助到大家,需要的朋友可以参考下,希望能帮助到大家。

微信小程序 配置顶部导航条标题颜色的实现方法

关于小程序导航顶部配置都写在.json文件中。

{
 "window":{
 "navigationBarBackgroundColor": "#ffffff",
 "navigationBarTextStyle": "black",
 "navigationBarTitleText": "微信接口功能演示",
 "backgroundColor": "#eeeeee",
 "backgroundTextStyle": "light"
 }
}
Copy after login

  1. navigationBarBackgroundColor 导航栏背景颜色,如”#000000”

  2. navigationBarTextStyle 导航栏标题颜色,仅支持 black/white

  3. navigationBarTitleText 导航栏标题文字内容

  4. backgroundColor 窗口的背景色

  5. backgroundTextStyle 下拉背景字体、loading 图的样式,仅支持 dark/light

  6. enablePullDownRefresh 是否开启下拉刷新,详见页面相关事件处理函数。

相关推荐:

jquery scrollTop方法根据滚动像素显示隐藏顶部导航条_jquery

The above is the detailed content of 微信小程序配置顶部导航条标题颜色实现代码. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Latest issues
Popular Tutorials
More>
Latest downloads
More>
web effects
Website source code
Website materials
Front end template
About us Disclaimer Sitemap
PHP Chinese website:Public welfare online PHP training,Help PHP learners grow quickly!