当前位置:网站首页>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 . /
边栏推荐
- Clock cycle
- The "Baidu Cup" CTF competition was held in February 2017, Web: explosion-2
- leetcode 10. Regular expression matching regular expression matching (difficult)
- Reflection and imagination on the notation like tool
- RHCSA10
- stm32逆向入门
- Datapipeline was selected into the 2022 digital intelligence atlas and database development report of China Academy of communications and communications
- 使用Dom4j解析XML
- 面试官灵魂拷问:为什么代码规范要求 SQL 语句不要过多的 join?
- The real king of caching, Google guava is just a brother
猜你喜欢

峰会回顾|保旺达-合规和安全双驱动的数据安全整体防护体系

ASEMI整流桥HD06参数,HD06图片,HD06应用

Flutter 3.0更新后如何应用到小程序开发中

C object storage

面试官灵魂拷问:为什么代码规范要求 SQL 语句不要过多的 join?

Redis6 master-slave replication and clustering
![[notes of in-depth study paper]uctransnet: rethink the jumping connection in u-net from the perspective of transformer channel](/img/b6/f9da8a36167db10c9a92dabb166c81.png)
[notes of in-depth study paper]uctransnet: rethink the jumping connection in u-net from the perspective of transformer channel

Android本地Sqlite数据库的备份和还原

CloudCompare——点云切片

What is a network port
随机推荐
MSTP and eth trunk
Interviewer soul torture: why does the code specification require SQL statements not to have too many joins?
Wonderful express | Tencent cloud database June issue
私有地址有那些
What are the private addresses
CloudCompare——点云切片
ASEMI整流桥HD06参数,HD06图片,HD06应用
jenkins安装
时钟周期
[深度学习论文笔记]使用多模态MR成像分割脑肿瘤的HNF-Netv2
[daily question] 1200 Minimum absolute difference
What happened to the communication industry in the first half of this year?
C object storage
Sorry, we can't open xxxxx Docx, because there is a problem with the content (repackaging problem)
Solve the problem of "unable to open source file" xx.h "in the custom header file on vs from the source
Flutter 3.0更新后如何应用到小程序开发中
Talk about seven ways to realize asynchronous programming
山东大学暑期实训一20220620
量价虽降,商业银行结构性存款为何受上市公司所偏爱?
[notes of in-depth study paper]transbtsv2: wider instead of deep transformer for medical image segmentation