-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html
executable file
·70 lines (62 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>react-mishop</title>
<link rel="stylesheet" href="http://marvelapp.github.io/devices.css/assets/devices.min.css">
<script src="http://7o5118.com1.z0.glb.clouddn.com/qrcode.min.js"></script>
<script type="text/javascript">
var link="http://kunkun12.com/react-mishop/build/index.html"
var ua = navigator.userAgent;
var data = {
ios: /iphone|ipad|ipod/i.test(ua),
android: /android/i.test(ua),
};
if(data.ios||data.android){
location.href=link;
}
document.addEventListener('DOMContentLoaded', function(){
document.getElementById("iframe1").src=link;
new QRCode("qrcode", {
text: link,
width: 200,
height: 200,
colorDark : "#000000",
colorLight : "#ffffff",
correctLevel : QRCode.CorrectLevel.H
});
}, false);
</script>
</head>
<body>
<!-- src="http://7o5118.com1.z0.glb.clouddn.com/qrcode.png" -->
<div id='qrcode' style="
position: fixed;
width: 200px;
height: 200px;
right: 50px;
top: 100px;
"></div>
<div class="marvel-device iphone6 gold" style="-webkit-transform: scale(0.75,0.75);transform: scale(0.75,0.75);display: block;margin:-100px auto 0 auto">
<div class="top-bar"></div>
<div class="sleep"></div>
<div class="volume"></div>
<div class="camera"></div>
<div class="sensor"></div>
<div class="speaker"></div>
<div class="screen">
<!-- Content goes here -->
</div>
<div class="home"></div>
<div class="bottom-bar"></div>
<script type="text/javascript">
</script>
<iframe id='iframe1' style="position: absolute;z-index: 110;
width: 375px;
border: 0;
top: 104px;
height: 666px;
"></iframe>
</div>
</body>
</html>