-
Notifications
You must be signed in to change notification settings - Fork 0
/
验证码.html
178 lines (170 loc) · 6.57 KB
/
验证码.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<html>
<head>
<title></title>
<meta charset="utf-8" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
<link rel="stylesheet" type="text/css" href="sdk.css" />
<script>
function toggleOrigin() {
var origin = document.getElementById("smsOrigin");
var content = document.getElementById("smsContent");
var viewOrigin = document.getElementById("viewOrigin");
var menu = document.getElementById('menuArea');
var appTip = document.getElementById('appTipArea');
if (viewOrigin.innerText == "原文") {
origin.style.display = "none";
content.style.display = "flex";
viewOrigin.innerText = "卡片"
menu.style.display = "none";
appTip.style.display = "flex";
} else {
origin.style.display = "flex";
content.style.display = "none";
viewOrigin.innerText = "原文"
menu.style.display = "flex";
appTip.style.display = "none";
}
};
function remark(index){
var array = document.getElementsByName('manyi');
for(var i = 0; i < array.length; i++){
var score = array[i];
if (i == index) {
score.className='img-manyi-active';
} else {
score.className='img-manyi';
}
}
};
</script>
</head>
<body style="margin:0;">
<!-- <div class="modal"></div> -->
<!-- <div class="china-mobile">
<div class="bg"></div>
</div> -->
<div class="china-mobile">
<div class="container">
<div class="watermark">
<div class="yinzhang"></div>
</div>
<header>
<button onclick="toggleOrigin()" id="viewOrigin">原文</button>
<div class="title">
<p>${txt_serverName}</p>
<p>${txt_portNumber}</p>
</div>
<div class="close" onclick="Android.closeCard()"></div>
</header>
<section id="smsOrigin">
<div>
<p>
$veryCode$<span>${txt_验证码}</span>#veryCode#
$validTime$<span>${txt_有效期}</span>#validTime#
</p>
</div>
</section>
<section id="smsContent" style="display: none">
<div>
<p>${txt_origin}</p>
</div>
</section>
<footer>
<div id="menuArea" class="row-flex">
$menuItem$<div class="footer-button" onclick="Android.tapMenu('${txt_address}', '${txt_menuName}', '${txt_openType}', '${txt_openUrl}')" id="dowloadApp">${txt_menuName}</div>#menuItem#
</div>
<div id="appTipArea" style="display: none">
<div class="app-tip">
<div id="tipDetail"><span style="color:#aaaaaa">*该功能由${txt_appName}提供</span> <span style="color:#0185d0" onclick="Android.viewApp()">点击查看</span> <span style="color:#0185d0" onclick="Android.forbidCard()" id="forbidCard" hidden>禁止弹窗</span></div>
</div>
</div>
</footer>
</div>
</div>
</body>
</html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
<link rel="stylesheet" type="text/css" href="sdk.css" />
<script>
function toggleOrigin() {
var origin = document.getElementById("smsOrigin");
var content = document.getElementById("smsContent");
var viewOrigin = document.getElementById("viewOrigin");
var menu = document.getElementById('menuArea');
var appTip = document.getElementById('appTipArea');
if (viewOrigin.innerText == "原文") {
origin.style.display = "none";
content.style.display = "flex";
viewOrigin.innerText = "卡片"
menu.style.display = "none";
appTip.style.display = "flex";
} else {
origin.style.display = "flex";
content.style.display = "none";
viewOrigin.innerText = "原文"
menu.style.display = "flex";
appTip.style.display = "none";
}
};
function remark(index){
var array = document.getElementsByName('manyi');
for(var i = 0; i < array.length; i++){
var score = array[i];
if (i == index) {
score.className='img-manyi-active';
} else {
score.className='img-manyi';
}
}
};
</script>
</head>
<body style="margin:0;">
<!-- <div class="modal"></div> -->
<!-- <div class="china-mobile">
<div class="bg"></div>
</div> -->
<div class="china-mobile">
<div class="container">
<div class="watermark">
<div class="yinzhang"></div>
</div>
<header>
<button onclick="toggleOrigin()" id="viewOrigin">原文</button>
<div class="title">
<p>${txt_serverName}</p>
<p>${txt_portNumber}</p>
</div>
<div class="close" onclick="Android.closeCard()"></div>
</header>
<section id="smsOrigin">
<div>
<p>
$veryCode$<span>${txt_验证码}</span>#veryCode#
$validTime$<span>${txt_有效期}</span>#validTime#
</p>
</div>
</section>
<section id="smsContent" style="display: none">
<div>
<p>${txt_origin}</p>
</div>
</section>
<footer>
<div id="menuArea" class="row-flex">
$menuItem$<div class="footer-button" onclick="Android.tapMenu('${txt_address}', '${txt_menuName}', '${txt_openType}', '${txt_openUrl}')" id="dowloadApp">${txt_menuName}</div>#menuItem#
</div>
<div id="appTipArea" style="display: none">
<div class="app-tip">
<div id="tipDetail"><span style="color:#aaaaaa">*该功能由${txt_appName}提供</span> <span style="color:#0185d0" onclick="Android.viewApp()">点击查看</span> <span style="color:#0185d0" onclick="Android.forbidCard()" id="forbidCard" hidden>禁止弹窗</span></div>
</div>
</div>
</footer>
</div>
</div>
</body>
</html>