Showing
3 changed files
with
50 additions
and
0 deletions
@@ -39,6 +39,8 @@ | @@ -39,6 +39,8 @@ | ||
39 | <url-pattern>/html/h5Share/css/font/sf-pro-text-medium.svg</url-pattern> | 39 | <url-pattern>/html/h5Share/css/font/sf-pro-text-medium.svg</url-pattern> |
40 | <url-pattern>/html/h5Share/css/font/sf-pro-text-medium.ttf</url-pattern> | 40 | <url-pattern>/html/h5Share/css/font/sf-pro-text-medium.ttf</url-pattern> |
41 | <url-pattern>/html/h5Share/css/font/sf-pro-text-medium.woff</url-pattern> | 41 | <url-pattern>/html/h5Share/css/font/sf-pro-text-medium.woff</url-pattern> |
42 | + <url-pattern>/html/content.html</url-pattern> | ||
43 | + <url-pattern>/html/index.html</url-pattern> | ||
42 | </servlet-mapping> | 44 | </servlet-mapping> |
43 | <servlet> | 45 | <servlet> |
44 | <servlet-name>dispatcher</servlet-name> | 46 | <servlet-name>dispatcher</servlet-name> |
web/src/main/webapp/html/content.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | + <meta name="apple-mobile-web-app-capable" content="yes"> | ||
5 | + <meta name="apple-mobile-web-app-status-bar-style" content="default"> | ||
6 | + <meta content="text/html charset=UTF-8" http-equiv="Content-Type" /> | ||
7 | + <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" /> | ||
8 | + <link rel="apple-touch-icon" href="YHIconImageData"> | ||
9 | + <link rel="apple-touch-startup-image" href="YHLaunchImageData"> | ||
10 | + <title>YHAppTitle</title> | ||
11 | +</head> | ||
12 | +<body> | ||
13 | + <a href="YHAppScheme" id="qbt" style="display:none"></a> | ||
14 | + <div style="margin-left: 15px; margin-top: 150px"> <span id="msg"></span></div> | ||
15 | +</body> | ||
16 | +<script> | ||
17 | + if (window.navigator.standalone == true) | ||
18 | + { | ||
19 | + var lnk = document.getElementById("qbt").click(); | ||
20 | + } | ||
21 | + else | ||
22 | + { | ||
23 | + document.getElementById("msg").innerHTML='<div style="font-size:14px color=#292f33">点击页面下方的 '+ | ||
24 | + '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAABxpRE9UAAAAAgAAAAAAAAAPAAAAKAAAAA8AAAAPAAAAfhfbgPsAAABKSURBVEgNYmCY/J+BTHwYqA+EydNPtsbJ//8D9YLwqMXEhQDZQTUa1KQmstGgJiEERvMxcfkXlghJCFp0g4duUINqGJjr6UUfBgAAAP//MQoR /gAAAEJJREFUY2CY/P8wEP+nMz7CALSQXAxzLHn6Ry0mIQRGg5q0REZC0KIbPBrU6CGCnz8a1CSEwMhLXKBa7QgJIYSS2AAC/fdCABZhBAAAAABJRU5ErkJggg==" width="15" height="15"/> 或 ' + | ||
25 | + '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAgCAYAAAAIXrg4AAAAAXNSR0IArs4c6QAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAABxpRE9UAAAAAgAAAAAAAAAQAAAAKAAAABAAAAAQAAABC261E1IAAADXSURBVEgN3JIxCgIxFERzAWsbK2+hh9HOWntvsb3eSVBYC8F7iHGeJhC/YZN1wcJi2J9kZl4C61zjXQ9t5UX1mR7mtbw+aFOdqzSu5LuHciDM7JVfUmFahsKDvtcgZiALqRtSNDT+Jk8rjSWKEfNZ4mww4KKSSSiKAErZ42wwYJqUpACK07M8KAnnDe83tIBy5heAmSAnKf7j9pveMvcC649rOueEjx3lmL8FkG0J8z+z2EkjKS20c+4F1kPHXqLzWfYayuUU1QDwAfkA2Jvk1rUAsn8CeAAAAP//E744IQAAAHFJREFUY2CY/P8/FDMAaUL4ElANCBNSB5KHmAtnEKdp6FtATNDA1JAVRDDNxNCjFhBMqqNBNAiDiJfIMoaYPCAAL4KAjH9QzlwgDZIgxgB8akBmzIOa+Q+k8BqUA0lWsFKQOvQ1kAVWQHydBpaAzLQCAG7Afaa31ddjAAAAAElFTkSuQmCC" width="12" height="16">' + | ||
26 | + ' 按钮,在弹出的菜单中选择[添加至主屏幕],即可将选定的功能添加到主屏幕作为快捷方式。</div>'; | ||
27 | + } | ||
28 | + | ||
29 | + | ||
30 | +</script> | ||
31 | +</html> | ||
32 | + |
web/src/main/webapp/html/index.html
0 → 100644
-
Please register or login to post a comment