123456789101112131415161718192021222324252627282930313233343536373839 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <title></title>
- <script type="text/javascript">
- $(function(){
- haifmp.loadMobilePage("haifmp", "hpSjlrIndex.htm?mcid=" + $("#mcid").val());
- });
- </script>
- </head>
- <body>
- <input type="hidden" id="mcid" value="$!mcid" />
- <input type="hidden" id="devType" value="$!devType" />
- <input type="hidden" id="oldDwebIndex" value="" />
- <div id="haifmp" style="height:100% !important;display: flex;flex: 1;-webkit-flex: 1;flex-direction: column;"></div>
- </body>
- <script type="text/javascript">
- (function (doc,win) {
- var docEl = doc.documentElement;
- var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';
- var recalc = function () {
- var clientWidth = docEl.clientWidth;
- if (!clientWidth) return;
- if(clientWidth>=640){
- docEl.style.fontSize = '100px';
- }else{
- docEl.style.fontSize = 100 * (clientWidth / 640) + 'px';
- }
- };
- if (!doc.addEventListener) return;
- win.addEventListener(resizeEvt, recalc, false);
- doc.addEventListener('DOMContentLoaded', recalc, false);
- })(document, window);
- </script>
- </html>
|