当前位置:网站首页>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 . /
边栏推荐
- Idea设置方法注释和类注释
- Jenkins installation
- go map
- Integer = = the comparison will unpack automatically. This variable cannot be assigned empty
- 时钟周期
- 今年上半年,通信行业发生了哪些事?
- Principle and configuration of RSTP protocol
- 个人组件 - 消息提示
- [notes of in-depth study paper]transbtsv2: wider instead of deep transformer for medical image segmentation
- Address book (linked list implementation)
猜你喜欢

Operational research 68 | the latest impact factors in 2022 were officially released. Changes in journals in the field of rapid care

山东大学暑期实训一20220620

SAE international strategic investment geometry partner

Huawei push service content, read notes

华为推送服务内容,阅读笔记

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

Don't know these four caching modes, dare you say you understand caching?
![[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
![[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

Aikesheng sqle audit tool successfully completed the evaluation of "SQL quality management platform grading ability" of the Academy of communications and communications
随机推荐
[深度学习论文笔记]TransBTSV2: Wider Instead of Deeper Transformer for Medical Image Segmentation
leetcode 10. Regular expression matching regular expression matching (difficult)
53. 最大子数组和:给你一个整数数组 nums ,请你找出一个具有最大和的连续子数组(子数组最少包含一个元素),返回其最大和。
redis6数据类型及操作总结
今年上半年,通信行业发生了哪些事?
[深度学习论文笔记]UCTransNet:从transformer的通道角度重新思考U-Net中的跳跃连接
真正的缓存之王,Google Guava 只是弟弟
关于 Notion-Like 工具的反思和畅想
go 指针
Talking about fake demand from takeout order
mysql econnreset_ Nodejs socket error handling error: read econnreset
Shu tianmeng map × Weiyan technology - Dream map database circle of friends + 1
[MySQL usage Script] catch all MySQL time and date types and related operation functions (3)
C object storage
[notes of in-depth study paper]uctransnet: rethink the jumping connection in u-net from the perspective of transformer channel
jenkins安装
RHCSA9
Summary and arrangement of JPA specifications
"Baidu Cup" CTF competition in September, web:upload
Godson 2nd generation burn PMON and reload system