1234567891011121314151617181920212223242526272829303132 |
- (function() {
- var pathname = window.location.pathname;
- pathname = pathname.substring(0, pathname.substring(1).indexOf('/') + 1);
- // 上下文路径
- var http_path = window.location.protocol + "//" + window.location.host
- + pathname + "/";
- // 框架必需
- document.write('<script type="text/javascript" src="' + http_path
- + 'scripts/qui/libs/js/main.js"></script>');
- document.write('<script type="text/javascript" src="' + http_path
- + 'scripts/qui/libs/js/jquery.js"></script> ');
- document.write('<script type="text/javascript" src="' + http_path
- + 'scripts/qui/libs/js/language/cn.js"></script>');
- document.write('<script type="text/javascript" src="' + http_path
- + 'scripts/qui/libs/js/framework.js"></script>');
- document
- .write('<link href="'
- + http_path
- + 'scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>');
- document.write('<link rel="stylesheet" type="text/css" id="skin" prePath="'
- + http_path + 'scripts/qui/" scrollerY="false"/>');
- document.write('<link rel="stylesheet" type="text/css" id="customSkin"/>');
- // 树组件
- document.write('<link rel="stylesheet" type="text/css" href="' + http_path
- + 'scripts/qui/libs/js/tree/ztree/ztree.css" />');
- document.write('<script type="text/javascript" src="' + http_path
- + 'scripts/qui/libs/js/tree/ztree/ztree.js"></script>');
- document.write('<script type="text/javascript" src="' + http_path
- + 'scripts/qui/libs/js/form/selectTree.js"></script> ');
- document.write('<script type="text/javascript" src="' + http_path
- + 'scripts/qui/libs/js/form/listerTree.js"></script>');
- })();
|