wzy
2021-04-01 d388e2788b7ef088d7cd40f901b0acdcec460bc3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 
/**
 * 加载后台运行时支持的css样式和js脚本
 * by 姜友瑶
 * 2015-12-1
 */
function getRootPath() {
    var curWwwPath = window.document.location.href;
 
    var pathName = window.document.location.pathname;
 
    var url=curWwwPath.substring(0, curWwwPath.indexOf(pathName));
        return url;
}
/** 全局路径,代表当前网站的根URL */
var basePath = getRootPath();
 
/*******************************************************************************
 * base style and script not change the file order
 ******************************************************************************/
document.write( 
 
         '<link href="' + basePath + '/css/dingStyle.css" rel="stylesheet"></link>'
    
        + '<script type="text/javascript" src="' + basePath + '/plugin/amazingUI/js/amazeui.min.js" ></script>'
        
        + '<script type="text/javascript" src="' + basePath+ '/plugin/Validform_v5.3.2/Validform_v5.3.2.js"></script>'
        + '<link href="' + basePath+ '/plugin/Validform_v5.3.2/style.css" rel="stylesheet"></link>'
        + '<link href="' + basePath + '/css/common-style.css" rel="stylesheet"></link>'
        
        + '<link href="' + basePath + '/plugin/select2/select2.min.css" rel="stylesheet" />'
        + '    <script src="' + basePath + '/plugin/select2/select2.min.js"></script>'
        
        + '<script type="text/javascript" src="' + basePath + '/plugin/layer_mobile/layer.js" ></script>'
        + '<script type="text/javascript" src="' + basePath + '/js/plugin/jquery.query.js"  ></script>'
        + '<script type="text/javascript" src="' + basePath + '/js/systools/AjaxProxyForMobile.js" ></script>'
        + '<script type="text/javascript" src="' + basePath + '/js/systools/MCommon.js" ></script>'
        + '<script type="text/javascript" src="' + basePath + '/js/systools/MUI.js" ></script>'
        + '<script type="text/javascript" src="' + basePath + '/js/systools/MForm.js" ></script>'
        + '<script type="text/javascript" src="' + basePath + '/js/systools/MValidform.js" ></script>'
        + '<script type="text/javascript" src="' + basePath + '/js/systools/Pagination.js" ></script>'
        + '<script type="text/javascript" src="' + basePath + '/js/systools/MGrid.js" ></script>');