编程语言
首页 > 编程语言> > 549 小程序阶段2:小程序架构和配置

549 小程序阶段2:小程序架构和配置

作者:互联网

--

--

--

{
  "pages": [
    "pages/home/home",
    "pages/about/about",
    "pages/profile/profile",
    "pages/category/category"
  ],
  "window": {
    "navigationBarBackgroundColor": "#ff5777",
    "navigationBarTextStyle": "white",
    "navigationBarTitleText": "我的小程序",
    "backgroundColor": "orange",
    "backgroundTextStyle": "light",
    "enablePullDownRefresh": false
  },
  "tabBar": {
    "selectedColor": "#ff5777",
    "list": [
      {
        "pagePath": "pages/home/home",
        "text": "首页",
        "iconPath": "assets/tabbar/home.png",
        "selectedIconPath": "assets/tabbar/home_active.png"
      },
      {
        "pagePath": "pages/category/category",
        "text": "分类",
        "iconPath": "assets/tabbar/category.png",
        "selectedIconPath": "assets/tabbar/category_active.png"
      }
    ]
  },
  "sitemapLocation": "sitemap.json"
}

--

--

--

--

--

--

--

--

--

--

--

--

--

--

--

--

--

标签:category,架构,--,程序,tabbar,home,549,pages,png
来源: https://www.cnblogs.com/jianjie/p/13722820.html