《utils 》文件夹下app.json插入代码
{ "pages": [ "pages/index/index", "pages/logs/logs" ], "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#fff", "navigationBarTitleText": "WeChat", "navigationBarTextStyle": "black" }, "tabBar": { "borderStyle": "white", "list": [ { "pagePath": "pages/index/index", "text": "首页" }, { "pagePath": "pages/logs/logs", "text": "日志" } ] }, "sitemapLocation": "sitemap76.json" }//使导航栏出现“首页”“日志”
原文地址:https://www.cnblogs.com/alinger/p/11525443.html
时间: 2024-11-06 20:29:15