Commit 65ca4030 by 高淑倩

add: tabBar

parent 552afe42
...@@ -19,7 +19,6 @@ Component({ ...@@ -19,7 +19,6 @@ Component({
currentRoute: `/${utils.getCurrentPageUrl()}` currentRoute: `/${utils.getCurrentPageUrl()}`
}) })
}, },
// pages/consumptionDetails/consumptionDetails
observers: { observers: {
currentRoute(nRoute, oRoute) { currentRoute(nRoute, oRoute) {
console.log('nRoute, oRoute', nRoute, oRoute) console.log('nRoute, oRoute', nRoute, oRoute)
...@@ -38,7 +37,7 @@ Component({ ...@@ -38,7 +37,7 @@ Component({
{ {
active: '/assets/imgs/heart-primary.png', active: '/assets/imgs/heart-primary.png',
inactive: '/assets/imgs/heart-default.png', inactive: '/assets/imgs/heart-default.png',
route: '/pages/consumptionDetails/consumptionDetails' route: '/pages/userCenter/userCenter'
}, },
{ {
active: '/assets/imgs/heart-primary.png', active: '/assets/imgs/heart-primary.png',
......
{ {
"navigationBarTitleText": "我的", "navigationBarTitleText": "我的",
"usingComponents": {} "usingComponents": {
"bottom-tabs": "./../../component/bottomTabs/bottomTabs"
}
} }
\ No newline at end of file
...@@ -193,3 +193,4 @@ ...@@ -193,3 +193,4 @@
</view> </view>
</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