当前位置:网站首页>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 . /
边栏推荐
- Mmseg - Mutli view time series data inspection and visualization
- Idea set method annotation and class annotation
- 关于 Notion-Like 工具的反思和畅想
- 4年工作经验,多线程间的5种通信方式都说不出来,你敢信?
- Shu tianmeng map × Weiyan technology - Dream map database circle of friends + 1
- [notes of in-depth study paper]transbtsv2: wider instead of deep transformer for medical image segmentation
- Intranet penetration tool NetApp
- Fragmented knowledge management tool memos
- 网络安全-HSRP协议
- 同事半个月都没搞懂selenium,我半个小时就给他整明白!顺手秀了一波爬淘宝的操作[通俗易懂]
猜你喜欢

Laravel框架运行报错:No application encryption key has been specified

What happened to the communication industry in the first half of this year?

Interviewer soul torture: why does the code specification require SQL statements not to have too many joins?
![[deep learning paper notes] hnf-netv2 for segmentation of brain tumors using multimodal MR imaging](/img/52/5e85743b1817de96a52e02b92fd08c.png)
[deep learning paper notes] hnf-netv2 for segmentation of brain tumors using multimodal MR imaging

TortoiseSVN使用情形、安装与使用

Flutter draws animation effects of wave movement, curves and line graphs

真正的缓存之王,Google Guava 只是弟弟

Binder communication process and servicemanager creation process

蜀天梦图×微言科技丨达梦图数据库朋友圈+1

南理工在线交流群
随机推荐
C# 对象存储
My colleague didn't understand selenium for half a month, so I figured it out for him in half an hour! Easily showed a wave of operations of climbing Taobao [easy to understand]
restTemplate详解
【 script secret pour l'utilisation de MySQL 】 un jeu en ligne sur l'heure et le type de date de MySQL et les fonctions d'exploitation connexes (3)
go 指针
Sorry, we can't open xxxxx Docx, because there is a problem with the content (repackaging problem)
Cloudcompare - point cloud slice
Parsing XML using Dom4j
Can and can FD
MySQL - database query - sort query, paging query
“百度杯”CTF比赛 九月场,Web:Upload
Win10 - lightweight gadget
CAN和CAN FD
Address book (linked list implementation)
MySQL get time
Shu tianmeng map × Weiyan technology - Dream map database circle of friends + 1
先写API文档还是先写代码?
Changing JS code has no effect
JPA规范总结和整理
【Hot100】33. 搜索旋转排序数组