H5SDKTestPage.html
1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!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>