{
"path": "pages/tabBar/home", //首頁
"meta": {
"auth": false
},
"style": {
"navigationBarTitleText": "",
"navigationBarTextStyle": "white",
"navigationStyle": "custom",
"app-plus": {
"background": "#171717",
"scrollIndicator": "none",
"titleNView": true,
"pullToRefresh": {
"support": true,
"offset": "60px",
"color": "#FFFFFF",
"style": "default",
"contentdown": {
"caption": "Pull down refresh"
},
"contentover": {
"caption": "Release refreshable"
},
"contentrefresh": {
"caption": "Refreshing"
}
},
"subNVues": [{ //导航栏
"id": "head_home",
"path": "pages/subNvues/head-home", // nvue 路径
"type": "navigationBar",
"style": { //webview style 子集,文档可暂时开放出来位置,大小相关配置
"popGesture": "none", // 组织侧滑返回, none,close
"background": "transparent",
"position": "absolute",
"top": "0px",
"left": "0px",
"width": "100%",
"height": "100%"
}
}]
}
}
},
- 发布:2021-09-26 16:31
- 更新:2021-09-26 16:31
- 阅读:390
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 10
HBuilderX类型: 正式
HBuilderX版本号: 3.2.8
手机系统: Android
手机系统版本号: Android 9.0
手机厂商: 诺基亚
手机机型: X7
页面类型: vue
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
{
"path": "pages/tabBar/home", //首頁
"meta": {
"auth": false
},
"style": {
"navigationBarTitleText": "",
"navigationBarTextStyle": "white",
"navigationStyle": "custom",
"app-plus": {
"background": "#171717",
"scrollIndicator": "none",
"titleNView": true,
"pullToRefresh": {
"support": true,
"offset": "60px",
"color": "#FFFFFF",
"style": "default",
"contentdown": {
"caption": "Pull down refresh"
},
"contentover": {
"caption": "Release refreshable"
},
"contentrefresh": {
"caption": "Refreshing"
}
},
"subNVues": [{ //导航栏
"id": "head_home",
"path": "pages/subNvues/head-home", // nvue 路径
"type": "navigationBar",
"style": { //webview style 子集,文档可暂时开放出来位置,大小相关配置
"popGesture": "none", // 组织侧滑返回, none,close
"background": "transparent",
"position": "absolute",
"top": "0px",
"left": "0px",
"width": "100%",
"height": "100%"
}
}]
}
}
},
{
"path": "pages/tabBar/home", //首頁
"meta": {
"auth": false
},
"style": {
"navigationBarTitleText": "",
"navigationBarTextStyle": "white",
"navigationStyle": "custom",
"app-plus": {
"background": "#171717",
"scrollIndicator": "none",
"titleNView": true,
"pullToRefresh": {
"support": true,
"offset": "60px",
"color": "#FFFFFF",
"style": "default",
"contentdown": {
"caption": "Pull down refresh"
},
"contentover": {
"caption": "Release refreshable"
},
"contentrefresh": {
"caption": "Refreshing"
}
},
"subNVues": [{ //导航栏
"id": "head_home",
"path": "pages/subNvues/head-home", // nvue 路径
"type": "navigationBar",
"style": { //webview style 子集,文档可暂时开放出来位置,大小相关配置
"popGesture": "none", // 组织侧滑返回, none,close
"background": "transparent",
"position": "absolute",
"top": "0px",
"left": "0px",
"width": "100%",
"height": "100%"
}
}]
}
}
},
预期结果:
下拉刷新出现文字提示
下拉刷新出现文字提示
实际结果:
没有显示配置文字,只有灰色下拉背景
没有显示配置文字,只有灰色下拉背景
bug描述:
页面配置 subNvues ,navigationsBar导航栏模式,下拉刷新为default模式,出现下拉刷新没有文字显示bug