|
在app显示正常,但是用浏览器打开,显示的是源文件。
<!DOCTYPE HTML>
<html style="width:100%;height:100%" class="no-js">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<script src="../system/lib/base/modernizr-2.8.3.min.js"></script>
<script id="__varReplace">
window.__justep = window.__justep || {};
window.__justep.isDebug = false;
window.__justep.__packageMode = "1";
window.__justep.__isPackage = true;;
window.__justep.url = location.href;
window.__justep.versionInfo = {};
</script>
<script id="__updateVersion">
(function(url, mode){
if (("@"+"mode@") === mode) mode = "3";
if (("@"+"versionUrl@") === url) url = "system/service/common/app.j";
if ((mode!=="1" && (mode!="2") && (mode!="3"))) return;
var async = (mode=="1");
var x5Version = "noApp";
var x5AppAgents = /x5app\/([0-9.]*)/.exec(navigator.userAgent);
if(x5AppAgents && x5AppAgents.length > 1){
x5Version = x5AppAgents[1] || "";
}
function createXhr(){
try {
return new XMLHttpRequest();
}catch (tryMS) {
var version = ["MSXML2.XMLHttp.6.0",
"MSXML2.XMLHttp.3.0",
"MSXML2.XMLHttp",
"Miscrosoft.XMLHTTP"];
for(var i = 0; i < version.length; i++){
try{
return new ActiveXObject(version[i]);
}catch(e){}
}
} |
|