<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>msg</title>
</head>
<body>
<div class="content"
     style="text-align:center;overflow: hidden;padding:30% 10% 10% 10%;margin:0 10%;background-color: #fff;box-shadow:0 4px 20px rgba(0,0,0,0.1);word-break: break-all;min-height: 300px">
    <span style="padding: 40px 70px; background-color: #EB6F5A;border-radius:10px;color:#fff;"
          onclick="payOKButton()">付款成功</span>
</div>
</body>
<script type="text/javascript">
    // 点击付款成功按钮
    function payOKButton() {
        // 复杂数据
        // JS通知WKWebView
        window.webkit.messageHandlers.jsCallOC.postMessage({"status": 1});
    }
</script>

</html>