You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
1.6 KiB
19 lines
1.6 KiB
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=renderer content=webkit><meta http-equiv=X-UA-Compatible content=edge><title>ShowDoc</title><meta name=keywords content="在线API文档 技术文档 数据字典 在线手册"><meta name=description content=一个非常适合IT团队的在线API文档、技术文档工具。你可以使用Showdoc来编写在线API文档、技术文档、数据字典、在线手册><script type=text/javascript>var Wwidth = window.innerWidth ;
|
|
window.addEventListener('resize', function() {
|
|
///宽度变化大于50像素的时候刷新整个窗口以适应新宽度
|
|
if ( Math.abs(Wwidth - window.innerWidth) > 50 ) {
|
|
//如果不在编辑页面,则在窗口变化后刷新窗口以适应宽度
|
|
if(window.location.href.indexOf("/edit") === -1){
|
|
window.location.reload();
|
|
}
|
|
};
|
|
|
|
});
|
|
|
|
//挂在window下的全局配置
|
|
window.DocConfig = {
|
|
//"server":'http://127.0.0.1/showdoc/server/index.php?s=',
|
|
"server": window.location.protocol +'//'+ window.location.host + window.location.pathname+ '../server/index.php?s=',
|
|
//"lang" :'en'
|
|
"lang" :'zh-cn'
|
|
}</script><link href=./static/css/app.293e899fb703a5fd4a271a52b46266b8.css rel=stylesheet></head><body class=grey-bg><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.451f9dec262f7b7fd825.js></script><script type=text/javascript src=./static/js/app.2d331ccfa7a38331f49e.js></script></body></html>
|