美文网首页
电影项目——配置页面组件

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

作者: 皮皮灬 | 来源:发表于2019-08-29 15:59 被阅读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

    相关文章

      网友评论

          本文标题:电影项目——配置页面组件

          本文链接:https://www.haomeiwen.com/subject/odwiectx.html