{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": true
}
},
{
"path": "pages/login/login",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "pages/order/order",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"onReachBottomDistance": 100
}
},
{
"path": "pages/center/center",
"style": {
"navigationBarBackgroundColor": "#338F6C",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "我的",
"enablePullDownRefresh": true
}
}
],
"tabBar": {
"color": "#BDBDBD",
"selectedColor": "#338F6C",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页"
},
{
"pagePath": "pages/order/order",
"text": "订单"
},
{
"pagePath": "pages/center/center",
"text": "我的"
}
]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "油站端",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#F8F8F8"
}
}
3***@qq.com (作者)
云打包和本地打包都试过了,在联迪的a8s中页面直接错误,表现出来的就是白屏,页面就一个文本,其余型号机子可以,或者A8s本身刷调试模式也是正常工作
2025-02-05 16:55
DCloud_App_Array
回复 3***@qq.com: 联迪的a8s是什么设备?系统有没有带默认的webview?uni-app项目中vue页面是依赖系统webview渲染的,如果没有系统webview则无法渲染。
如果系统不带webview,建议使用uni-app x。
2025-02-06 12:59