当前位置:网站首页>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 . /
边栏推荐
- "Baidu Cup" CTF competition in September, web:upload
- go 指针
- Aikesheng sqle audit tool successfully completed the evaluation of "SQL quality management platform grading ability" of the Academy of communications and communications
- Asemi rectifier bridge hd06 parameters, hd06 pictures, hd06 applications
- Shu tianmeng map × Weiyan technology - Dream map database circle of friends + 1
- 内网穿透工具 netapp
- 【MySQL 使用秘籍】一网打尽 MySQL 时间和日期类型与相关操作函数(三)
- Flutter InkWell & Ink组件
- 数据泄露怎么办?'华生·K'7招消灭安全威胁
- Parsing XML using Dom4j
猜你喜欢

A detailed explanation of ASCII code, Unicode and UTF-8

Asemi rectifier bridge hd06 parameters, hd06 pictures, hd06 applications

Mmseg - Mutli view time series data inspection and visualization

什么是网络端口

MSTP and eth trunk

jenkins安装

Interviewer soul torture: why does the code specification require SQL statements not to have too many joins?

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

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

French scholars: the explicability of counter attack under optimal transmission theory
随机推荐
Wonderful express | Tencent cloud database June issue
mysql econnreset_Nodejs 套接字报错处理 Error: read ECONNRESET
什么是网络端口
Intranet penetration tool NetApp
“百度杯”CTF比赛 九月场,Web:Upload
前缀、中缀、后缀表达式「建议收藏」
Word document injection (tracking word documents) incomplete
Datapipeline was selected into the 2022 digital intelligence atlas and database development report of China Academy of communications and communications
【Hot100】33. 搜索旋转排序数组
【MySQL 使用秘籍】一网打尽 MySQL 时间和日期类型与相关操作函数(三)
【每日一题】1200. 最小绝对差
Flutter 3.0更新后如何应用到小程序开发中
Go pointer
从外卖点单浅谈伪需求
CloudCompare——点云切片
Shu tianmeng map × Weiyan technology - Dream map database circle of friends + 1
【Hot100】34. Find the first and last positions of elements in a sorted array
Nantong online communication group
Go array and slice
[notes of in-depth study paper]transbtsv2: wider instead of deep transformer for medical image segmentation