微信小程序入门笔记4(回顾app.josn)

app.josn

  • 一、页面配制
  • 二、全局配置
  • 三、代码汇总

一、页面配制

​​​​​​微信小程序入门笔记4(回顾app.josn)_第1张图片

二、全局配置

微信小程序入门笔记4(回顾app.josn)_第2张图片

三、代码汇总

{
  "pages":[
    "pages/index/index",
    "pages/logs/logs",
    "pages/index2/index2"
  ],
  "window":{
    "backgroundTextStyle":"dark",
    "navigationBarBackgroundColor": "#0094ff",
    "navigationBarTitleText": "全局首页",
    "navigationBarTextStyle":"white",
    "enablePullDownRefresh":true,
    "pageOrientation":"auto",
   "navigationStyle":"default"
  },
  "tabBar": {
    "color": "bark",
    "list": [
    {
      "pagePath": "pages/index/index",
      "text":"首页",
      "iconPath": "icons/first.png",
      "selectedIconPath": "icons/first_1.png"
    },
    {
      "pagePath": "pages/logs/logs",
      "text":"日志",
      "iconPath": "icons/second.png",
      "selectedIconPath": "icons/second_1.png"
    }
    ]
  },
  "style": "v2",
  "sitemapLocation": "sitemap.json"
}

你可能感兴趣的:(微信小程序,js,app,小程序)