From 0e37434eb84156ce9a1bd3c823ca5eb2d8bcedab Mon Sep 17 00:00:00 2001 From: xiaowen <372193233@qq.com> Date: Tue, 28 Jun 2022 13:49:27 +0800 Subject: [PATCH] cxw-010203 --- app.json | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/app.json b/app.json index 49c233d..83ef706 100644 --- a/app.json +++ b/app.json @@ -1,19 +1,32 @@ { - "pages":[ - "pages/bar/index", + "pages": [ "pages/index/index", + "pages/bar/index", "pages/logs/logs" - ], - "window":{ - "backgroundTextStyle":"light", + "window": { + "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#fff", "navigationBarTitleText": "Weixin", - "navigationBarTextStyle":"black" + "navigationBarTextStyle": "black" }, "sitemapLocation": "sitemap.json", "usingComponents": { "ec-canvas": "../ec-canvas/ec-canvas", - "van-button": "@vant/weapp/button/index" + "van-button": "@vant/weapp/button/index", + "van-tabbar": "@vant/weapp/tabbar/index", + "van-tabbar-item": "@vant/weapp/tabbar-item/index" + }, + "tabBar": { + "custom": true, + "list": [{ + "pagePath": "page/index/index", + "text": "首页" + }, + { + "pagePath": "page/bar/index", + "text": "个人中心" + } + ] } -} +} \ No newline at end of file