当前位置:网站首页>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 . /
边栏推荐
- Can and can FD
- 记录一下在深度学习-一些bug处理
- MMSeg——Mutli-view时序数据检查与可视化
- go 字符串操作
- French scholars: the explicability of counter attack under optimal transmission theory
- 什么是网络端口
- 蜀天梦图×微言科技丨达梦图数据库朋友圈+1
- Personal component - message prompt
- APICloud Studio3 API管理与调试使用教程
- Could not set property ‘id‘ of ‘class XX‘ with value ‘XX‘ argument type mismatch 解决办法
猜你喜欢
Win10——轻量级小工具
今年上半年,通信行业发生了哪些事?
Godson 2nd generation burn PMON and reload system
Although the volume and price fall, why are the structural deposits of commercial banks favored by listed companies?
French scholars: the explicability of counter attack under optimal transmission theory
Could not set property ‘id‘ of ‘class XX‘ with value ‘XX‘ argument type mismatch 解决办法
Android本地Sqlite数据库的备份和还原
redis6事务和锁机制
[深度学习论文笔记]UCTransNet:从transformer的通道角度重新思考U-Net中的跳跃连接
RHCSA9
随机推荐
49. Grouping of alphabetic ectopic words: give you a string array, please combine the alphabetic ectopic words together. You can return a list of results in any order. An alphabetic ectopic word is a
go map
ASEMI整流桥HD06参数,HD06图片,HD06应用
Solve the problem of "unable to open source file" xx.h "in the custom header file on vs from the source
同事半个月都没搞懂selenium,我半个小时就给他整明白!顺手秀了一波爬淘宝的操作[通俗易懂]
Could not set property 'ID' of 'class xx' with value 'XX' argument type mismatch solution
Can and can FD
这18个网站能让你的页面背景炫酷起来
Binder通信过程及ServiceManager创建过程
Operational research 68 | the latest impact factors in 2022 were officially released. Changes in journals in the field of rapid care
Although the volume and price fall, why are the structural deposits of commercial banks favored by listed companies?
Flutter 3.0更新后如何应用到小程序开发中
龙芯派2代烧写PMON和重装系统
山东大学暑期实训一20220620
量价虽降,商业银行结构性存款为何受上市公司所偏爱?
CloudCompare——点云切片
"Baidu Cup" CTF competition in September, web:upload
mysql econnreset_ Nodejs socket error handling error: read econnreset
C object storage
峰会回顾|保旺达-合规和安全双驱动的数据安全整体防护体系