page

page分为全局配置和单页面配置

1.全局配置

微信文档介绍:https://developers.weixin.qq.com/miniprogram/dev/reference/configuration/app.html
写在全局的json文件中

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

2 页面配置

微信文档介绍
https://developers.weixin.qq.com/miniprogram/dev/reference/configuration/page.html
写到页面的全局配置中

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

你可能感兴趣的:(page)