一、uni-app 中pages.json的配置
1、pages数组中第一项表示应用启动页
pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path":"pages/index/index",
"style":{
// 设置下拉
"enablePullDownRefresh":true
}
}
]
二、pages.json中的内链样式设置
1、navigationBarTitleText:是设置当前页面的标题
2、navigationBarBackgroundColor:是设置背景颜色
{
"path": "pages/message/message",
"style": {
//设置页面的标题
"navigationBarTitleText":"脱单技巧",
"navigationBarBackgroundColor":"#007AFF",
"h5": {
"pullToRefresh":