Home  >  Article  >  WeChat Applet  >  WeChat applet configures top navigation bar title color implementation code

WeChat applet configures top navigation bar title color implementation code

小云云
小云云Original
2018-05-11 15:30:077447browse

This article mainly introduces to you the relevant information on how to configure the title color of the top navigation bar in the WeChat applet. I hope this article can help you. Friends in need can refer to it. I hope it can help you.

WeChat Mini Program How to configure the title color of the top navigation bar

The top configuration of the Mini Program navigation is written in the .json file.

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

  1. navigationBarBackgroundColor Navigation bar background color, such as "#000000"

  2. ##navigationBarTextStyle Navigation bar title color , only supports black/white

  3. navigationBarTitleText navigation bar title text content

  4. backgroundColor background color of the window

  5. backgroundTextStyle The style of the drop-down background font and loading image, only supports dark/light

  6. enablePullDownRefresh Whether to enable pull-down refresh, please see the page-related event processing function for details.

Related recommendations:


jquery scrollTop method shows and hides the top navigation bar based on scroll pixels_jquery

The above is the detailed content of WeChat applet configures top navigation bar title color implementation code. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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 admin@php.cn