电影项目——配置页面组件

2019-08-29  本文已影响0人  皮皮灬

项目结构

image.png

项目配置代码

app.json 

{
  "pages": [
    "pages/movie/movie",
    "pages/profile/profile"
  ],
  "window": {
    "backgroundColor": "#F6F6F6",
    "backgroundTextStyle": "light",
    "navigationBarBackgroundColor": "#E54847",
    "navigationBarTitleText": "最新电影",
    "navigationBarTextStyle": "white"
  },
  "tabBar": {
    "color": "#000000",
    "selectedColor": "#E54847",
    "list": [{
      "pagePath": "pages/movie/movie",
      "text": "电影",
      "iconPath": "images/home.png",
      "selectedIconPath": "images/home-now.png"
    },{
      "pagePath": "pages/profile/profile",
      "text": "我的",
      "iconPath": "images/me.png",
      "selectedIconPath": "images/me-now.png"
    }]
  },
  "sitemapLocation": "sitemap.json"
}

项目效果

image.png
上一篇下一篇

猜你喜欢

热点阅读