-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (33 loc) · 1.22 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
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<meta name="msapplication-tap-highlight" content="no" />
<title>Swin Plugin Test</title>
</head>
<body>
<div class="app">
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="SwinPlugin.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
app.initialize();
function switchApp()
{
SwinPlugin.switchApp();
}
function onDeviceReady() {
// console.log("Device ready");
}
document.addEventListener("deviceready", onDeviceReady, false);
</script>
<button id="VanButton" title="" onclick="switchApp()">点击进入应用</button>
</body>
<<<<<<< HEAD
</html>
=======
</html>
>>>>>>> 72bad5e0eac02d5e2e138144522ae28b4f49a204