Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

我的开源项目 酷瓜云课堂 客户端是使用 uni-app 开发的,本来是想着全端支持省事,现在就遇到IOS下拉起h5支付不理想的问题。

uni-app 的 webview 对应到H5其实就是一个 iframe, 加上了sandbox属性

<web-view :src="targetUrl" sandbox="allow-scripts allow-top-navigation allow-same-origin"></web-view>

各浏览器拉起H5支付的测试的结果如下:

应用safarichromeqquc
支付宝????
微信????

有什么好的解决方案吗?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
3.8k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...