david-PC\david
2018-06-12 f240ac3ccd37c541cab2c21cfc433d3510999a3c
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<title>CBI管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
<link rel="stylesheet" href="../../css/aui.css" />
<script src="../../js/jquery-1.7.2.min.js"></script>
<script src="../../js/foundation-2.0.js"></script>
 
<style type="text/css">
    body:{
        position: absolute; 
        top: 0px; 
        bottom: 2.25rem; 
        width: 100%;
    },
    footer:{
        flex-flow: row nowrap;
        justify-content:space-between;
    },
    footer-item:{
         flex:0 1 auto
    }
        
</style>
    
 
<script type="text/javascript"> 
    var tab, content;
    
    var url = [
        "root/page/menu/main.html",
        "root/page/menu/platform.html",
        "root/page/menu/material.html",
        "root/page/menu/me.html"
    ];
    
    $(document).ready(function() {
        content = $("#content");
        tab = new auiTab({
                element:document.getElementById("footer")
        },function(ret){
            if(ret){     
                   content.attr("src", url[ret.index -1]);
            }
        });
    });
     
</script> 
 
</head>
 
<body>
    <div class="index_content" >
         <iframe id="content" src="root/page/menu/main.html" style="width: 100%; height: 100%; border: none; background-color: #fff;"></iframe>           
    </div>
    <div class="footer">
        
    </div>
</body>
</html>