index.html 1.7 KB

12345678910111213141516171819
  1. <!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>//挂在window下的全局配置
  2. window.DocConfig = {
  3. //"server":'http://127.0.0.1/showdoc/server/index.php?s=',
  4. "server": window.location.protocol +'//'+ window.location.host + window.location.pathname+ '../server/index.php?s=',
  5. //"lang" :'en'
  6. "lang" :'zh-cn'
  7. }</script><link href=./static/css/app.8f471dbc1a542f85e173761b1e1e6d8f.css rel=stylesheet></head><body class=grey-bg><div id=app></div><script type=text/javascript src=./static/js/manifest.e2b980cf8968a5919fb1.js></script><script type=text/javascript src=./static/js/vendor.e142ae298b8919d4a6df.js></script><script type=text/javascript src=./static/js/app.6746119afa913347cb90.js></script></body></html><script language=JavaScript>var Wwidth = window.innerWidth ;
  8. window.addEventListener('resize', function() {
  9. ///宽度变化大于50像素的时候刷新整个窗口以适应新宽度
  10. if ( Math.abs(Wwidth - window.innerWidth) > 50 ) {
  11. //console.log(window.innerWidth + ' ' + window.innerHeight);
  12. //如果存在save-page,则保存内容后再刷新以免丢失内容
  13. if(document.getElementById("save-page")){
  14. document.getElementById("save-page").click();
  15. }
  16. window.location.reload();
  17. };
  18. });</script>