如何将webview层 放着其他层下面

我想在webview上面添加一个button用来关闭webview,可是无论我这么设置 webview都在最上层我该怎么办

要么用原生的方法加按钮
要么更改webview的层级

你可以参考下这个,不过这个是creator的
https://mp.weixin.qq.com/s/Og8iX4CRIKte0hiVsdblWQ

解决了:
cocos js webview使用setOnJSCallback方法接收 html页面回掉
var scheme = “exit”;
// 设置JS回调
this.wv.setJavascriptInterfaceScheme(scheme);
this.wv.setOnJSCallback(this.OnJSCallback.bind(this));
button直接写在html上面:
退出按钮!

mark