var a = plus.webview.create(url,name,{width:'100%',height:'100%',popGesture:"close"});
this.$scope.$getAppWebview().append(a);
测试右滑无法关闭webview
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: Windows 11 家庭中文版 23H2
HBuilderX类型: 正式
HBuilderX版本号: 4.64
手机系统: iOS
手机系统版本号: iOS 18
手机厂商: 苹果
手机机型: iPhone Xr
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
var a = plus.webview.create(url,name,{width:'100%',height:'100%',popGesture:"close"});
this.$scope.$getAppWebview().append(a);
测试右滑无法关闭webview
var a = plus.webview.create(“https://www.baidu.com”,"baidu",{width:'100%',height:'100%',popGesture:"close"});
this.$scope.$getAppWebview().append(a);
IOS 右滑无法关闭webview
popGesture能生效
右滑无法返回
var a = plus.webview.create(url,name,{width:'100%',height:'100%',popGesture:"close"});
this.$scope.$getAppWebview().append(a);
测试右滑无法关闭webview
附件为deom
Johnny_new (作者)
在web点击返回肯定可以,但是我不是要实现侧滑返回吗?
2025-05-07 17:56