1. pages
    1. 功能
      1. 设置页面路径
    2. 节点
      1. "pages":[ "pages/index/index", "pages/logs/logs" ]
    3. 类型
      1. String Array
    4. 必填
  2. window
    1. 功能
      1. 设置默认页面的窗口表现
    2. 节点
      1. navigationBarBackgroundColor
        1. 导航栏背景颜色,如"#000000"
      2. navigationBarTextStyle
        1. 导航栏标题颜色,仅支持 black/white
      3. navigationBarTitleText
        1. 导航栏标题文字内容
      4. backgroundColor
        1. 窗口的背景色
      5. backgroundTextStyle
        1. 下拉背景字体、loading 图的样式,仅支持 dark/light
      6. enablePullDownRefresh
        1. 是否开启下拉刷新
    3. 类型
      1. Object
    4. 必填
  3. tabBar
    1. 功能
      1. 设置底部 tab 的表现
    2. 节点
      1. color
        1. tab 上的文字默认颜色
      2. selectedColor
        1. tab 上的文字选中时的颜色
      3. backgroundColor
        1. tab 的背景色
      4. borderStyle
        1. tabbar上边框的颜色, 仅支持 black/white(默认black)
      5. list
        1. 功能
          1. tab 的列表,详见 list 属性说明,最少2个、最多5个 tab
        2. 节点
          1. pagePath
          2. 页面路径,必须在 pages 中先定义
          3. text
          4. tab 上按钮文字
          5. iconPath
          6. 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px
          7. selectedIconPath
          8. 选中时的图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px
      6. position
        1. 可选值 bottom、top(默认bottom)
    3. 类型
      1. Object
    4. 必填
  4. networkTimeout
    1. 功能
      1. 设置网络超时时间
    2. 节点
      1. request
        1. wx.request的超时时间,单位毫秒,默认为:60000
      2. connectSocket
        1. wx.connectSocket的超时时间,单位毫秒,默认为:60000
      3. uploadFile
        1. wx.uploadFile的超时时间,单位毫秒,默认为:60000
      4. downloadFile
        1. wx.downloadFile的超时时间,单位毫秒,默认为:60000
    3. 类型
      1. Object
    4. 必填
  5. debug
    1. 功能
      1. 设置是否开启 debug 模式
    2. 节点
    3. 类型
      1. Boolean
    4. 必填
  6. page.json
    1. 功能
      1. 每一个小程序页面也可以使用.json文件来对本页面的窗口表现进行配置。 页面的配置比app.json全局配置简单得多,只是设置 app.json 中的 window 配置项的内容,页面中配置项会覆盖 app.json 的 window 中相同的配置项。
      2. 页面的.json只能设置 window 相关的配置项,以决定本页面的窗口表现,所以无需写 window 这个键
    2. 节点
      1. navigationBarBackgroundColor
        1. 导航栏背景颜色,如"#000000"
      2. navigationBarBackgroundColor
        1. 导航栏标题颜色,仅支持 black/white(默认white)
      3. navigationBarTitleText
        1. 导航栏标题文字内容
      4. backgroundColor
        1. 窗口的背景色(默认#ffffff)
      5. backgroundTextStyle
        1. 下拉背景字体、loading 图的样式,仅支持 dark/light(默认dark)
      6. enablePullDownRefresh
        1. 是否开启下拉刷新(默认false)
      7. disableScroll
        1. 设置为 true 则页面整体不能上下滚动;只在 page.json 中有效,无法在 app.json 中设置该项(默认false)
  7. tabBar