Commit 65ca4030 by 高淑倩

add: tabBar

parent 552afe42
......@@ -19,7 +19,6 @@ Component({
currentRoute: `/${utils.getCurrentPageUrl()}`
})
},
// pages/consumptionDetails/consumptionDetails
observers: {
currentRoute(nRoute, oRoute) {
console.log('nRoute, oRoute', nRoute, oRoute)
......@@ -38,7 +37,7 @@ Component({
{
active: '/assets/imgs/heart-primary.png',
inactive: '/assets/imgs/heart-default.png',
route: '/pages/consumptionDetails/consumptionDetails'
route: '/pages/userCenter/userCenter'
},
{
active: '/assets/imgs/heart-primary.png',
......
{
"navigationBarTitleText": "我的",
"usingComponents": {}
"usingComponents": {
"bottom-tabs": "./../../component/bottomTabs/bottomTabs"
}
}
\ No newline at end of file
......@@ -193,3 +193,4 @@
</view>
</view>
<bottom-tabs />
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment