H5SDKTestPage.html 1.84 KB
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>H5SDK测试</title>
    <script type="text/javascript" src="game_Simulate.js"></script>
    <script type="text/javascript" src="https://static.public.sdk.guangkatf.com/h5_sdk/guangkaH5SDK.js?" + new Date().getTime().toString()></script>

    <script type="text/javascript">
    </script>
</head>

<body>
<center>
    <h1>H5SDK测试页面</h1>
</center>
<hr>
<center>
    <table>
        <tr>
            <td>
                <pre><button type="button" onclick="game.init()">   初  始  化  </button></pre>
            </td>
            <td>
                <pre><button type="button" onclick="game.submitInfo()">提交角色信息</button></pre>
            </td>
        </tr>
        <tr>
            <td>
                <pre><button type="button" onclick="game.login()">   登      录   </button></pre>
            </td>
            <td>
                <pre><button type="button" onclick="game.logout()">   注      销   </button></pre>
            </td>
        </tr>
        <tr>
            <td>
                <pre><button type="button" onclick="game.pay()">   支      付   </button></pre>
            </td>
            <td>
                <pre><button type="button" onclick="game.switchAccount()">   切换账号   </button></pre>
            </td>
        </tr>
        <tr>
            <td>
                <pre><button type="button" onclick="game.statistics()">   统      计   </button></pre>
            </td>
            <td>
                <pre><button type="button" onclick="game.showExitDialog()">   退出游戏   </button></pre>
            </td>
        </tr>
        <tr>
            <td>
                <pre><button type="button" onclick="game.expansionInterface()">   扩展接口   </button></pre>
            </td>
        </tr>
    </table>
</center>
<hr>


</body>

</html>