项目结构
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
网友评论