# Weixin Mini Program Configuration

# Global configuration

The apagejsonfile in the [[TIS-1]] root directory is used to configure [[TIS-0]] globally.

For a complete configuration item explaination, please refer to Weixin Mini Program Global configuration

Here is aapagejsonwith some common configuration options:

{
  "pages": [
    "pages/index/index",
    "pages/logs/index"
  ],
  "window": {
    "navigationBarTitleText": "Demo"
  },
  "tabBar": {
    "list": [{
      "pagePath": "pages/index/index",
      "text": "首页"
    }, {
      "pagePath": "pages/logs/index",
      "text": "日志"
    }]
  },
  "networkTimeout": {
    "request": 10000,
    "downloadFile": 10000
  },
  "debug": true
}

For a complete configuration item explaination, please refer to Weixin Mini Program Global configuration

# Page configuration

Each Weixin Mini Program page can also use the same name.jsonFile to configure the window behavior of this page. The configuration items in the page cover the same configuration items inapagejsonofwindow.

For a complete explaination of the configuration item, please refer to Weixin Mini Program page configuration

For example:

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