ab56a9bcf7
SVN-Revision: r240
72 lines
1.9 KiB
HTML
72 lines
1.9 KiB
HTML
<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> |