forked from zhongyuanhaiju/uniapp
【增加】文章tabbar
This commit is contained in:
parent
6710b2de4c
commit
ab8316cabb
|
|
@ -16,7 +16,7 @@ export default {
|
|||
redirectTo(to, param, mode) {
|
||||
let url = to;
|
||||
let tabbarList = ['/pages/index/index', '/pages/goods/category', '/pages/goods/cart',
|
||||
'/pages/member/index'
|
||||
'/pages/member/index','/pages_tool/article/list'
|
||||
]
|
||||
if (param != undefined) {
|
||||
Object.keys(param).forEach(function(key) {
|
||||
|
|
|
|||
13
pages.json
13
pages.json
|
|
@ -1031,6 +1031,15 @@
|
|||
// #endif
|
||||
"navigationBarTitleText": "消息中心"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "futures/payment",
|
||||
"style": {
|
||||
// #ifdef H5
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "交易下单"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -1677,6 +1686,10 @@
|
|||
"pagePath": "pages/goods/cart",
|
||||
"text": "购物车"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages_tool/article/list",
|
||||
"text": "咨询中心"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/member/index",
|
||||
"text": "个人中心"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,10 @@
|
|||
<loading-cover ref="loadingCover"></loading-cover>
|
||||
</block>
|
||||
</mescroll-uni>
|
||||
<!-- 底部tabBar -->
|
||||
<view id="tab-bar">
|
||||
<diy-bottom-nav></diy-bottom-nav>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue