This repository has been archived by the owner on Nov 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
index.html
72 lines (64 loc) · 1.92 KB
/
index.html
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
66
67
68
69
70
71
72
<html>
<head>
<meta charset="GBK">
<title>
测试页面
</title>
<script>
Console_WriteLine("测试调用后台方法" + Date.parse(new Date()))
alert("hhaxx是");
//var testJson = '{ "name": "he" }';
function testInt() {
return 1213;
}
function testBool() {
return true;
}
function testString() {
return "123";
}
var res = jsReturnValueTest("2017");
//var xc =JsGetValue;
Console_WriteLine(res);
//Console_WriteLine2(1231511, "第二个参数");
setTimeout(function () {
//testJson.name = "C#";
testJson = '{ "name": "he11111111111111111111111" }';
console.log("testJson:" + testJson);
}, 2000);
var sleep = function (time) {
return new Promise(function (resolve, reject) {
setTimeout(function () {
resolve();
}, time);
})
};
//异步调用测试,由于工程还原成2.0了所以这个方法没意义了。
/*
function asyncTest(str) {
Console_WriteLine("async down ########" +unescape(str));
}
var start = async function () {
// 在这里使用起来就像同步代码那样直观
console.log('start');
alert(1);
DOTaskWithAsync("前台传值到后台");
alert(2);
console.log('end');
};
*/
start();
</script>
</head>
<!--设置margin才能显示阴影-->
<body style="margin:8px;">
documen
<div>
<a>迅雷下载说明:</a>
<p>1,拷贝 libs/XL 目录中文件到软件运行目录。</p>
<p>2,地址栏输入如:https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe</p>
<p>3,点击加载URL按钮</p>
<a href="https://www.baidu.com/" target="_self">百度一下</a>
</div>
</body>
</html>