当前位置:网站首页>Solve the problem of invalid uni app configuration page and tabbar
Solve the problem of invalid uni app configuration page and tabbar
2022-07-05 13:35:00 【No Bug】
pages.json
{
"pages": [ //pages The first item in the array represents the application startup page , Reference resources :https://uniapp.dcloud.io/collocation/pages
{
"path" : "./pages/toBraille/toBraille",
"style" :
{
"navigationBarTitleText": " Committed to changing the lives of blind people ",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#f8f8f8"
}
}
,{
"path" : "./pages/about/about",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "./pages/my/my",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"backgroundColor": "#ffffff",
"navigationBarBackgroundColor": "#ffffff"
},
"tabBar": {
"list": [
{
"pagePath": "./pages/toBraille/toBraille",
"iconPath": "./static/images/instant-message.png",
"selectedIconPath": "./static/images/instant-message.png",
"text": " To braille "
},
{
"pagePath": "./pages/about/about",
"iconPath": "./static/images/process-inquire.png",
"selectedIconPath": "./static/images/process-inquire.png",
"text": " About "
},
{
"pagePath": "./pages/my/my",
"iconPath": "./static/images/staff-manage.png",
"selectedIconPath": "./static/images/staff-manage.png",
"text": " my "
}
]
}
}
Clearly configured, but the page does not show any

Then put the... In front of the path “ ./ ” Get rid of
![]()

Normal display
I guess it's because pages and tabBar The access path is configured instead of the file address , So don't . /
边栏推荐
- 龙芯派2代烧写PMON和重装系统
- How to apply the updated fluent 3.0 to applet development
- stm32逆向入门
- SAE international strategic investment geometry partner
- Could not set property 'ID' of 'class xx' with value 'XX' argument type mismatch solution
- Flutter InkWell & Ink组件
- Jenkins installation
- MySQL - database query - sort query, paging query
- TortoiseSVN使用情形、安装与使用
- C# 对象存储
猜你喜欢

Could not set property 'ID' of 'class xx' with value 'XX' argument type mismatch solution

一文详解ASCII码,Unicode与utf-8

“百度杯”CTF比赛 九月场,Web:SQL

Write macro with word

Word document injection (tracking word documents) incomplete

MMSeg——Mutli-view时序数据检查与可视化

C# 对象存储

什么是网络端口

Intranet penetration tool NetApp

Sorry, we can't open xxxxx Docx, because there is a problem with the content (repackaging problem)
随机推荐
Backup and restore of Android local SQLite database
STM32 reverse entry
Notion 类笔记软件如何选择?Notion 、FlowUs 、Wolai 对比评测
华为推送服务内容,阅读笔记
MySQL get time
Shu tianmeng map × Weiyan technology - Dream map database circle of friends + 1
运筹说 第68期|2022年最新影响因子正式发布 快看管科领域期刊的变化
[daily question] 1200 Minimum absolute difference
多人合作项目查看每个人写了多少行代码
With 4 years of working experience, you can't tell five ways of communication between multithreads. Dare you believe it?
Flutter InkWell & Ink组件
Binder communication process and servicemanager creation process
记录一下在深度学习-一些bug处理
南理工在线交流群
JPA规范总结和整理
个人组件 - 消息提示
mysql econnreset_ Nodejs socket error handling error: read econnreset
MMSeg——Mutli-view时序数据检查与可视化
蜀天梦图×微言科技丨达梦图数据库朋友圈+1
CAN和CAN FD