-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from AppCanOpenSource/develop
merge develop
- Loading branch information
Showing
38 changed files
with
1,779 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<!DOCTYPE html> | ||
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px"> | ||
<head> | ||
<title> | ||
</title> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> | ||
<link rel="stylesheet" href="../css/ui-base.css"> | ||
<link rel="stylesheet" href="../css/ui-box.css"> | ||
<link rel="stylesheet" href="../css/ui-color.css"> | ||
<link rel="stylesheet" href="../css/ui-res.css"> | ||
<link rel="stylesheet" href="../css/ui-btn.css"> | ||
<link rel="stylesheet" href="../css/index.css"> | ||
<script src="../js/zy_control.js"> | ||
</script> | ||
<script src="../js/zy_click.js"> | ||
</script> | ||
<script type="text/javascript"> | ||
function showConfirm(){ | ||
var value = document.getElementById('confirmbutton').value; | ||
if(value == null || value.length == 0){ | ||
alert("参数不能为空"); | ||
return; | ||
} | ||
var mycars=value.split(";"); | ||
uexWindow.confirm(document.getElementById('confirmTitle').value,document.getElementById('confirmMsg').value,mycars); | ||
} | ||
window.uexOnload = function(type){ | ||
if(type == 0){ | ||
|
||
} | ||
} | ||
|
||
function winBack(){ | ||
uexWindow.evaluateScript("uexWindow","0", "winBack()"); | ||
} | ||
|
||
function share() { | ||
var imgs=new Array("res://1_1.jpg"); | ||
var params = { | ||
type:0, | ||
text:"test text...text", | ||
title:"title", | ||
desc:"desc", | ||
imgPaths:imgs | ||
}; | ||
|
||
var paramStr = JSON.stringify(params); | ||
uexWindow.share(paramStr); | ||
} | ||
|
||
|
||
function testForwardWin() { | ||
|
||
//打开一个窗口 | ||
|
||
var name = "uexWindow_Forward"; | ||
|
||
uexWindow.open(name, '0', name+".html", '2', '', '', 0); | ||
} | ||
|
||
|
||
function winOpenPop2() { | ||
uexWindow.evaluateScript("wintestNormal/uexWindow","0", "winPopOpen2()"); | ||
} | ||
|
||
function closeOpenPop2() { | ||
uexWindow.evaluateScript("wintestNormal/uexWindow","0", "closeOpenPop2()"); | ||
} | ||
|
||
function winOpenMultiPop() { | ||
uexWindow.evaluateScript("wintestNormal/uexWindow","0", "winOpenMultiPop()"); | ||
} | ||
|
||
function winCloseMultiPop() { | ||
uexWindow.evaluateScript("wintestNormal/uexWindow","0", "winCloseMultiPop()"); | ||
} | ||
|
||
</script> | ||
</head> | ||
<body class="um-vp" ontouchstart bgcolor="#03A9F4"> | ||
<div class="conbor"> | ||
<div class="consj"> | ||
|
||
<span>1.分享(share)</span> | ||
<input class="btn" type="button" value="分享" onclick="share()"><br> | ||
|
||
|
||
<span>2.窗口前进后退(windowForward, windowBack forward, back, pageForward, pageBack)</span> | ||
<input class="btn" type="button" value="窗口前进后退" onclick="testForwardWin()"><br> | ||
|
||
<span>5.打开浮动窗口2(测试closePopover)</span> | ||
<input class="btn" type="button" value="打开浮动窗2" onclick="winOpenPop2()"><br> | ||
<input class="btn" type="button" value="关闭浮动窗2" onclick="closeOpenPop2()"><br> | ||
|
||
<span>6.打开多页面浮动窗口(openMultiPopover)</span> | ||
<input class="btn" type="button" value="打开多页面浮动窗口" onclick="winOpenMultiPop()"><br> | ||
<input class="btn" type="button" value="关闭多页面浮动窗口" onclick="winCloseMultiPop()"><br> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.