Skip to content

Latest commit

 

History

History
138 lines (107 loc) · 5.52 KB

index.md

File metadata and controls

138 lines (107 loc) · 5.52 KB

论文名/模型名

摘要/功能介绍

absxacsa

<script type="text/javascript"> function myFunction() { // 这里写入要执行的代码逻辑 // alert("Hello World!"); var table = document.getElementById("mytab1"); var td1=table.getElementsByTagName("tr").item(1).getElementsByTagName("td").item(0) code1 = 'print("hello world1")' code2 = 'print("hello world2")' defined_content = '
' + code1 + '\n' + code2 + '
'
        td1.innerHTML = defined_content
    }

    function myFunction2() {
        var table = document.getElementById("mytab2");
        var td1=table.getElementsByTagName("tr").item(1).getElementsByTagName("td").item(0)

        // XML数据(这里只作为示例)
        var xmlString = "<access-lists><access-list><name>BlockEntertainment</name><aces><ace><name>DenyEntertainmentSite1</name><matches><ipv4><destination-ip-address>220.181.38.148</destination-ip-address></ipv4></matches><actions><forwarding>drop</forwarding></actions></ace><!-- Add more ACEs for other entertainment sites --></aces></access-list></access-lists>";

        xmlString = "&lt;access-lists&gt;\n\t&lt;access-list&gt;\n\t\t&lt;name&gt;BlockEntertainment&lt;/name&gt;\n\t\t&lt;aces&gt;\n\t\t\t&lt;ace&gt;\n\t\t\t\t&lt;name&gt;DenyEntertainmentSite1&lt;/name&gt;\n\t\t\t\t&lt;matches&gt;\n\t\t\t\t\t&lt;ipv4&gt;\n\t\t\t\t\t\t&lt;destination-ip-address&gt;220.181.38.148&lt;/destination-ip-address&gt;\n\t\t\t\t\t&lt;/ipv4&gt;\n\t\t\t\t&lt;/matches&gt;\n\t\t\t\t&lt;actions&gt;\n\t\t\t\t\t&lt;forwarding&gt;drop&lt;/forwarding&gt;\n\t\t\t\t&lt;/actions&gt;\n\t\t\t&lt;/ace&gt;\n\t\t\t&lt;!-- Add more ACEs for other entertainment sites --&gt;\n\t\t&lt;/aces&gt;\n\t&lt;/access-list&gt;\n&lt;/access-lists&gt;";

        <!-- xmlString = "&lt;access-lists&gt;\n&lt;access-list&gt;\n&lt;name&gt;BlockEntertainment&lt;/name&gt;\n&lt;aces&gt;\n&lt;ace&gt;\n&lt;name&gt;DenyEntertainmentSite1&lt;/name&gt;\n&lt;matches&gt;\n&lt;ipv4&gt;\n&lt;destination-ip-address&gt;220.181.38.148&lt;/destination-ip-address&gt;\n&lt;/ipv4&gt;\n&lt;/matches&gt;\n&lt;actions&gt;\n&lt;forwarding&gt;drop&lt;/forwarding&gt;\n&lt;/actions&gt;\n&lt;/ace&gt;\n&lt;!-- Add more ACEs for other entertainment sites --&gt;\n&lt;/aces&gt;\n&lt;/access-list&gt;\n&lt;/access-lists&gt;"; -->
        
       
        
        defined_content = '<pre><code>' + xmlString + '</code></pre>'
        td1.innerHTML = defined_content
    }
    
    function progress() {
        var bar = document.getElementById("progress1");
        var width = 0;
        var id = setInterval(frame, 10);
        function frame() {
            if (width >= 100) {
                clearInterval(id);
                myFunction();
            }
            else {
                width++;
                bar.style.width = width + '%';
            }
        }
    }

    function progress2() {
        var bar = document.getElementById("progress2");
        var width = 0;
        var id = setInterval(frame, 10);
        function frame() {
            if (width >= 100) {
                clearInterval(id);
                myFunction2();
            }
            else {
                width++;
                bar.style.width = width + '%';
            }
        }
    }
</script>

模型演示

1. 运行

    </tr>
</tbody>
</table>

2. 转化

模型输出-1
    </tr>
</tbody>
</table>
模型输出-2