omi-cloud - add tabBar

This commit is contained in:
dntzhang 2019-04-06 11:25:39 +08:00
parent 48fadc3844
commit 0e1ae183b7
3 changed files with 14 additions and 0 deletions

View File

@ -19,6 +19,20 @@ define('my-app', class extends WeElement {
navigationBarBackgroundColor: '#fff',
navigationBarTitleText: 'Omi Cloud',
navigationBarTextStyle: 'black'
},
tabBar: {
list: [
{
pagePath: "pages/list/index",
text: "首页",
"iconPath": "images/home-unslt.png",
"selectedIconPath": "images/home.png"
},
{
pagePath: "pages/code/index",
text: "日志"
}
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB