/*!function(e) { function t() { var t = n.clientWidth, r = "}"; !navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) && t > 1024 && (t = 640, r = ";margin-right:auto!important;margin-left:auto!important;}"), e.rem = t / 10, /ZTE U930_TD/.test(navigator.userAgent) && (e.rem = 1.13 * e.rem), /Android\s+4\.4\.4;\s+M351\s/.test(navigator.userAgent) && (e.rem = e.rem / 1.05), /Android\s+5\.0\.1;\s+MX4\s/.test(navigator.userAgent) && (e.rem = 1.06382 * e.rem), i.innerHTML = "html{font-size:" + e.rem + "px!important;}body{font-size:" + 12 * (t / 320) + "px" + r; } var n = document.documentElement, i = document.createElement("style"); n.firstElementChild.appendChild(i), e.addEventListener("resize", function() { t(); }, !1), e.addEventListener("pageshow", function(e) { e.persisted && t(); }, !1), t(); }(window);*/ /*!function ($){ var _w=$(window).width()>=640?640:$(window).width(); var fontPercent=_w/40;//16px; $('html').css('font-size',fontPercent); $(window).resize(function(){ var _w=$(window).width()>=640?640:$(window).width(); var fontPercent=_w/40;//16px; $('html,body').css('font-size',fontPercent); }) }(jQuery);*/ !function ($){ var _w=$(window).width()>=640?640:$(window).width(); var fontPercent=_w/40;//16px; $('html').css('font-size',fontPercent); $(window).resize(function(){ var _w=$(window).width()>=640?640:$(window).width(); var fontPercent=_w/40;//16px; $('html,body').css('font-size',fontPercent); }) }(jQuery); function ajx(url , type , dataType , data , successfn , errorfn) {//ajax灏佽 data = (data==null || data=="" || typeof(data)=="undefined") ? {"date": new Date().getTime()} : data; $.ajax({ type: type, async:false, url: url, data: data, dataType : dataType, success: function(d){ successfn(d); }, error: function(e){ errorfn(e); } }); }