flowchart.html 22.8 KB
Newer Older
C
Catouse 已提交
1 2 3 4 5 6 7 8 9 10 11
<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="ZUI,一个简单灵活的前端框架。">
    <meta name="author" content="Zentao">
    <title>ZUI - 流程图例子</title>
    <link href="../../dist/css/zui.css" rel="stylesheet">
C
Catouse 已提交
12
    <style>
C
Catouse 已提交
13 14 15 16
    .panel-body, .panel-heading {padding: 7px}
    #toolbar .btn, #variables .btn {margin: 3px; cursor: move;}
    #properties tr > th {width: 80px; border-right: 1px solid #ddd;}
    #properties tr > td {word-break: break-all;}
C
Catouse 已提交
17
    </style>
C
Catouse 已提交
18 19 20
</head>

<body style="padding: 20px">
21
    <svg class="hidden" width="100px" height="100px" version="1.1" xmlns="http://www.w3.org/2000/svg">
C
Catouse 已提交
22 23 24
        <path d="M0 50 Q 20 0, 50 50 T 100 50" stroke="black" fill="transparent">
            <set attributeName='fill' to='blue' begin='mouseover' end="mouseout">
        </path>
25 26 27 28 29 30 31 32 33 34
    </svg>
    <div class="clearfix">
        <div class="btn-group pull-left" style="margin-bottom: 10px; margin-right: 10px;">
            <button type="button" class="btn btn-success" id="showFsmExampleBtn">FSM 例子</button>
            <button type="button" class="btn btn-success" id="showFbdExampleBtn">FBD 例子</button>
            <button type="button" class="btn btn-success" id="showExampleBtn">默认示例</button>
        </div>
        <div class="pull-left margin-bottom: 10px">
            <button type="button" class="btn btn-danger" id="resetDataBtn">清空</button>
            <button type="button" class="btn btn-primary" id="exportDataBtn">导出</button>
C
Catouse 已提交
35
            <button type="button" class="btn btn-primary" id="exportTypeBtn">导出类型定义</button>
36
        </div>
C
Catouse 已提交
37
    </div>
38
    <div class="row">
C
Catouse 已提交
39 40 41 42
        <div class="col-xs-3">
            <div class="panel">
                <div class="panel-heading">变量<small class="text-muted">(可拖放)</small></div>
                <div class="panel-body" id="variables">
C
Catouse 已提交
43
                    <button type="button" class="btn btn-sm" data-id="test" data-var="var1Name" data-value="var1Value" draggable="true" >变量1</button>
C
Catouse 已提交
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
                    <button type="button" class="btn btn-sm" data-var="var2Name" data-value="var2Value" draggable="true" >变量2</button>
                    <button type="button" class="btn btn-sm" data-var="var3Name" data-value="var3Value" draggable="true" >变量3</button>
                    <button type="button" class="btn btn-sm" data-var="var4Name" data-value="var4Value" draggable="true" >变量4</button>
                    <button type="button" class="btn btn-sm" data-var="var5Name" data-value="var5Value" draggable="true" >变量5</button>
                    <button type="button" class="btn btn-sm" data-var="var6Name" data-value="var6Value" draggable="true" >变量6</button>
                </div>
            </div>
            <div class="panel">
                <div class="panel-heading">属性</div>
                <table class="table table-condensed">
                    <thead id='propertiesTip'>
                        <tr><td colspan="2" class="text-muted">请从右侧选择一个元素来查看属性</td></tr>
                    </thead>
                    <tbody id='properties'>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="col-xs-7">
            <div id="flowchart" class="panel"></div>
        </div>
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
        <div class="col-xs-2">
            <div class="panel">
                <div class="panel-heading">可用组件<small class="text-muted">(可拖放)</small></div>
                <div class="panel-body" id="toolbar">
                    <button type="button" class="btn" data-type="start" draggable="true">开始</button>
                    <button type="button" class="btn" data-type="action" draggable="true">动作</button>
                    <button type="button" class="btn" data-type="connection" draggable="true">连接</button>
                    <button type="button" class="btn" data-type="judge" draggable="true">判断</button>
                    <button type="button" class="btn" data-type="result" draggable="true">结果</button>
                    <button type="button" class="btn" data-type="point" draggable="true">节点</button>
                    <button type="button" class="btn" data-type="stop" draggable="true">结束</button>
                </div>
            </div>
        </div>
    </div>
    <script src="../../assets/jquery-3.4.1.min.js"></script>
C
Catouse 已提交
81
    <script src="../../dist/js/zui.js"></script>
82 83 84
    <script src="../../src/js/flowchart.js"></script>
    <script src="./flowchart.fbd.js"></script>
    <script src="./flowchart.fsm.js"></script>
C
Catouse 已提交
85
    <script src="./flowchart.var.js"></script>
C
Catouse 已提交
86 87
    <link href="../../dist/lib/bootbox/bootbox.min.css" rel="stylesheet">
    <script src="../../dist/lib/bootbox/bootbox.min.js"></script>
C
Catouse 已提交
88 89 90
    <script>
        $(function () {
            var data = [{"id":"start","type":"start","position":{"left":20,"top":20},"text":"开始"},{"id":"createBug","type":"action","position":{"left":180,"top":20},"text":"新建缺陷"},{"id":"submitBug","type":"action","position":{"left":310,"top":20},"text":"提交确认"},{"id":"confirmBug","type":"action","position":{"left":450,"top":20},"text":"确认缺陷"},{"id":"submitArbitration","type":"action","position":{"left":620,"top":20},"text":"提交仲裁"},{"id":"arbitration","type":"action","position":{"left":820,"top":20},"text":"仲裁"},{"id":"requestHang","type":"action","position":{"left":320,"top":250},"text":"申请挂起"},{"id":"hangApproval","type":"action","position":{"left":540,"top":250},"text":"挂起审批"},{"id":"startRepair","type":"action","position":{"left":540,"top":170},"text":"启动修复"},{"id":"restartRepair","type":"action","position":{"left":770,"top":250},"text":"重启修复"},{"id":"submitVerify","type":"action","position":{"left":770,"top":170},"text":"提交验证"},{"id":"startVerify","type":"action","position":{"left":910,"top":170},"text":"启动验证"},{"id":"verify","type":"action","position":{"left":1080,"top":250},"text":"验证"},{"id":"close","type":"stop","position":{"left":1080,"top":20},"text":"关闭"},{"id":"tip1","type":"action","position":{"left":0,"top":130},"text":"★ 双击节点或关系名称编辑", className: "text-green"},{"id":"tip2","type":"action","position":{"left":20,"top":200},"text":"★ 拖动节点移动位置", className: "text-green"},{"id":"tip3","type":"action","position":{"left":10,"top":270},"text":"★ 使用右键访问更多操作", className: "text-green"},{"id":"start-createBug","type":"relation","from":"start","to":"createBug"},{"id":"createBug-submitBug","type":"relation","from":"createBug","to":"submitBug"},{"id":"submitBug-confirmBug","type":"relation","from":"submitBug","to":"confirmBug"},{"id":"confirmBug-submitArbitration","type":"relation","from":"confirmBug","to":"submitArbitration","text":""},{"id":"submitArbitration-arbitration","type":"relation","from":"submitArbitration","to":"arbitration"},{"id":"confirmBug-requestHang","type":"relation","from":"confirmBug","to":"requestHang","text":"是缺陷"},{"id":"requestHang-hangApproval","type":"relation","from":"requestHang","to":"hangApproval","text":"同意"},{"id":"confirmBug-startRepair","type":"relation","from":"confirmBug","to":"startRepair","text":"是缺陷"},{"id":"requestHang-startRepair","type":"relation","from":"requestHang","to":"startRepair","text":"拒绝"},{"id":"arbitration-startRepair","type":"relation","from":"arbitration","to":"startRepair","text":"是缺陷"},{"id":"hangApproval-startRepair","type":"relation","from":"hangApproval","to":"startRepair","text":"拒绝"},{"id":"hangApproval-restartRepair","type":"relation","from":"hangApproval","to":"restartRepair","text":"同意"},{"id":"verify-restartRepair","type":"relation","from":"verify","to":"restartRepair","text":"不通过"},{"id":"restartRepair-submitVerify","type":"relation","from":"restartRepair","to":"submitVerify"},{"id":"startRepair-submitVerify","type":"relation","from":"startRepair","to":"submitVerify"},{"id":"submitVerify-startVerify","type":"relation","from":"submitVerify","to":"startVerify"},{"id":"startVerify-verify","type":"relation","from":"startVerify","to":"verify"},{"id":"verify-close","type":"relation","from":"verify","to":"close","text":"通过"},{"id":"arbitration-close","type":"relation","from":"arbitration","to":"close","text":"不是缺陷"},{"id":"start-tip1","type":"relation","from":"start","to":"tip1"},{"id":"tip1-tip2","type":"relation","from":"tip1","to":"tip2"},{"id":"tip2-tip3","type":"relation","from":"tip2","to":"tip3"}];
C
Catouse 已提交
91
            var originData = [{
C
Catouse 已提交
92 93 94
                id: 'start',
                type: 'start',
                text: '开始',
C
Catouse 已提交
95
                actionID: 'test'
C
Catouse 已提交
96 97 98 99 100 101 102
            }, {
                id: 'createBug',
                text: '新建缺陷',
                from: 'start',
            }, {
                id: 'submitBug',
                text: '提交确认',
103
                type: 'connection',
C
Catouse 已提交
104 105 106 107
                from: 'createBug'
            }, {
                id: 'confirmBug',
                text: '确认缺陷',
108
                type: 'judge',
C
Catouse 已提交
109 110 111 112 113 114 115 116
                from: 'submitBug'
            }, {
                id: 'submitArbitration',
                text: '提交仲裁',
                from: 'confirmBug:否'
            }, {
                id: 'arbitration',
                text: '仲裁',
117
                type: 'point',
C
Catouse 已提交
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
                from: 'submitArbitration'
            }, {
                id: 'requestHang',
                text: '申请挂起',
                from: 'confirmBug:是缺陷'
            }, {
                id: 'hangApproval',
                text: '挂起审批',
                from: 'requestHang:同意'
            }, {
                id: 'startRepair',
                text: '启动修复',
                from: ['confirmBug:是缺陷', 'requestHang:拒绝', 'arbitration:是缺陷', 'hangApproval:拒绝']
            }, {
                id: 'restartRepair',
                text: '重启修复',
                from: ['hangApproval:同意', 'verify:不通过']
            }, {
                id: 'submitVerify',
                text: '提交验证',
                from: ['restartRepair', 'startRepair']
            }, {
                id: 'startVerify',
                text: '启动验证',
                from: ['submitVerify']
            }, {
                id: 'verify',
                text: '验证',
                from: ['startVerify']
            }, {
                id: 'close',
                text: '关闭',
                type: 'stop',
                from: ['verify:通过', 'arbitration:不是缺陷']
            }, {
                id: 'tip1',
                text: '★ 双击节点或关系名称编辑',
                className: 'text-green',
                from: 'start'
            }, {
                id: 'tip2',
                text: '★ 拖动节点移动位置',
                className: 'text-green',
                from: 'tip1'
            }, {
                id: 'tip3',
                text: '★ 使用右键访问更多操作',
                className: 'text-green',
                from: 'tip2'
            }];
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
            var simpleData = [{
                id: 'start',
                type: 'start',
                text: '开始',
            }, {
                id: 'createBug',
                text: '新建缺陷',
                from: 'start',
            },/* {
                id: 'submitBug',
                text: '提交确认',
                type: 'connection',
                from: 'createBug'
            }, {
                id: 'confirmBug',
                text: '确认缺陷',
                type: 'judge',
                from: ['submitBug', 'createBug']
            }*/];
C
Catouse 已提交
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226

            var $propertiesTip = $('#propertiesTip');
            var $properties = $('#properties');
            var currentActiveElement = null;
            // 显示属性面板
            var showElementProperties = function(element) {
                $properties.empty();
                currentActiveElement = element;
                if (element) {
                    $propertiesTip.hide();
                    var showProperty = function(propName, val) {
                        var $tr = $('<tr><th>' + propName + '</th></tr>');
                        var $td = $('<td></td>').appendTo($tr);
                        if (val !== undefined) {
                            if (val === null) {
                                $td.addClass('text-muted').text('null');
                            } else if (typeof val === 'boolean' || typeof val === 'number') {
                                $td.addClass('text-primary').text(String(val));
                            } else if (typeof val === 'string') {
                                $td.addClass('text-red').text('"' + val + '"');
                            } else {
                                $td.text(JSON.stringify(val));
                            };
                        }
                        $properties.append($tr);
                    };

                    // 遍历内置属性
                    $.each(element.elementType.props, function(propName, propType) {
                        if (propType && propName !== 'data') showProperty(propName, element[propName]);
                    });

                    // 遍历自定义属性
                    $.each(element.data, function(propName, propVal) {
                        showProperty('*' + propName, propVal);
                    });
                } else {
                    $propertiesTip.show();
                }
            };
C
Catouse 已提交
227
            $('#flowchart').flowChart({
C
Catouse 已提交
228 229
                plugins: 'fbd,fsm,var',
                initialTypes: false,
230
                readonly: false,
C
Catouse 已提交
231 232
                showRelationTextOnSide: false,
                adsorptionGrid: 10,
C
Catouse 已提交
233
                data: originData,
234 235
                relationLineGap: 3,
                portLineLength: 1,
C
Catouse 已提交
236
                quickAdd: false,
237
                addFromDrop: '#toolbar',
C
Catouse 已提交
238
                addVariablesFromDrop: '#variables',
C
Catouse 已提交
239
                showContextMenu: function(element, items, event) {
C
Catouse 已提交
240 241 242 243 244 245 246 247 248 249 250 251
                    console.log('FlowChart > ContextMenu', element, items, event);
                    return items;
                },
                onClickElement: function(element) {
                    console.log('FlowChart > Click', element);
                },
                onUpdateElement: function(elements) {
                    console.log('FlowChart > Update', elements, this);
                    var that = this;
                    elements.forEach(function(element) {
                        if (that.isElementActive(element)) {
                            showElementProperties(element);
C
Catouse 已提交
252 253 254
                        }
                    });
                },
C
Catouse 已提交
255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272
                onDeleteElement: function(elements) {
                    console.log('FlowChart > Delete', elements);
                },
                onActiveElement: function(element) {
                    console.log('FlowChart > Active', element);
                    showElementProperties(element);
                },
                onUnactiveElement: function(element) {
                    if (currentActiveElement && element.id === currentActiveElement.id) {
                        showElementProperties(null);
                    }
                },
                onResetData: function() {
                    showElementProperties(null);
                },
                beforeSetVariable: function(newVars, element) {
                    console.log('FlowChart > SetVariables', newVars, element);
                },
C
Catouse 已提交
273 274 275 276
                // relationLineWidth: 2,
                // nodeStyle: {
                //     border: '2px solid #333',
                // },
C
Catouse 已提交
277
            });
C
Catouse 已提交
278 279 280 281 282 283 284
            var flowchart = $('#flowchart').data('zui.flowChart');
            $('#resetLayoutBtn').on('click', function() {
                flowchart.resetPosition();
            });
            $('#resetDataBtn').on('click', function() {
                flowchart.resetData();
            });
C
Catouse 已提交
285
            $('#exportDataBtn').on('click', function() {
C
Catouse 已提交
286 287
                var data = flowchart.exportData();
                console.log('FlowChart > Export data', data);
C
Catouse 已提交
288 289
                bootbox.dialog({
                    title: '流程图数据导出',
C
Catouse 已提交
290 291 292 293 294 295 296 297 298
                    message: '<textarea class="form-control code" rows="20" readonly>' + JSON.stringify(data, null, 4) + '</textarea>'
                });
            });
            $('#exportTypeBtn').on('click', function() {
                var types = flowchart.exportTypes();
                console.log('FlowChart > Export types', types);
                bootbox.dialog({
                    title: '流程图类型定义导出',
                    message: '<textarea class="form-control code" rows="20" readonly>' + JSON.stringify(types, null, 4) + '</textarea>'
C
Catouse 已提交
299 300
                });
            });
C
Catouse 已提交
301 302 303
            $('#showExampleBtn').on('click', function() {
                flowchart.resetData(data);
            });
C
Catouse 已提交
304
            var fsmData = [{"position":{"left":20,"top":50},"id":"start","type":"FSM_InitState","text":"开始"},{"position":{"left":130,"top":50},"id":"state1","type":"FSM_State","text":"简单状态"},{"position":{"left":290,"top":50},"id":"state2","type":"FSM_VirState","text":"虚拟状态"},{"position":{"left":270,"top":200},"id":"state3","type":"FSM_ActState","text":"实际状态"},{"position":{"left":430,"top":200},"id":"state4","type":"FSM_SelectState","text":"选择状态"},{"position":{"left":890,"top":120},"id":"stop","type":"FSM_EndState","text":"结束"},{"position":{"left":460,"top":40},"id":"fhznztkw9a","type":"FSM_ActionBran","text":"分叉"},{"position":{"left":560,"top":10},"id":"fhzo014wp4","type":"FSM_State","text":"简单状态"},{"position":{"left":560,"top":90},"id":"fhzo02dejt","type":"FSM_State","text":"简单状态"},{"position":{"left":740,"top":40},"id":"fhzo0gw250","type":"FSM_ActionComb","text":"合并"},{"hideArrow":true,"from":"start","to":"state1","id":"fhznzi9quh","type":"FSM_Action1","text":"动作转换"},{"hideArrow":true,"from":"state1","to":"state2","id":"fhznzi9qui","type":"FSM_VirAction","text":"虚拟转换"},{"hideArrow":true,"from":"state1","to":"state3","id":"fhznzi9quj","type":"FSM_Action1","text":""},{"hideArrow":true,"from":"state3","to":"state4","id":"fhznzi9rmc","type":"FSM_Action1","text":""},{"hideArrow":true,"from":"state4","to":"stop","id":"fhznzi9rmd","type":"FSM_Action1","text":""},{"hideArrow":true,"from":"state2","to":"fhznztkw9a","fromPort":"right1","toPort":"in","id":"fhznzvsmmn","type":"relation","text":""},{"hideArrow":true,"from":"fhznztkw9a","to":"fhzo014wp4","fromPort":"out1","toPort":"left1","id":"fhzo0cii2i","type":"relation","text":""},{"hideArrow":true,"from":"fhznztkw9a","to":"fhzo02dejt","fromPort":"out2","toPort":"left1","id":"fhzo0dtwuz","type":"relation","text":""},{"hideArrow":true,"from":"fhzo014wp4","to":"fhzo0gw250","fromPort":"right1","toPort":"in1","id":"fhzo0i57wt","type":"relation","text":""},{"hideArrow":true,"from":"fhzo02dejt","to":"fhzo0gw250","fromPort":"right1","toPort":"in2","id":"fhzo0j7092","type":"relation","text":""},{"hideArrow":true,"from":"fhzo0gw250","to":"stop","fromPort":"out","toPort":"left1","id":"fhzo0kfv7z","type":"relation","text":""}];
305 306
            $('#showFsmExampleBtn').on('click', function() {
                flowchart.resetData(fsmData);
C
Catouse 已提交
307
            }).click();
C
Catouse 已提交
308
            var fbdData = [{"position":{"left":40,"top":60},"id":"fhzelyvq88","type":"FBD_INPUT","text":"DATA_IN1"},{"position":{"left":40,"top":110},"id":"fhzem0258h","type":"FBD_INPUT","text":"DATA_IN2"},{"position":{"left":40,"top":160},"id":"fhzem0sm62","type":"FBD_INPUT","text":"DATA_IN3"},{"position":{"left":260,"top":60},"id":"fhzem7c1h7","type":"FBD_ADD","text":"ADD1"},{"position":{"left":260,"top":160},"id":"fhzemixzrz","type":"FBD_FTRIG","text":"F_TRIG1"},{"position":{"left":460,"top":100},"id":"fhzemr4jy2","type":"FBD_MUL","text":"MUL1"},{"position":{"left":40,"top":210},"id":"fhzen7iupy","type":"FBD_INPUT","text":"DATA_IN4"},{"position":{"left":40,"top":320},"id":"fhzen973pb","type":"FBD_INPUT","text":"DATA_IN5"},{"position":{"left":40,"top":370},"id":"fhzenaevbk","type":"FBD_INPUT","text":"DATA_IN6"},{"position":{"left":-10,"top":510},"id":"fhzencfdnt","type":"FBD_CTD","text":"CTD1"},{"position":{"left":260,"top":260},"id":"fhzend4wn6","type":"FBD_CTD","text":"CTD2"},{"position":{"left":460,"top":260},"id":"fhzenjwmke","type":"FBD_MOD","text":"MOD1"},{"position":{"left":650,"top":120},"id":"fhzenpheyp","type":"FBD_OUTPUT","text":"DATA_OUT2"},{"position":{"left":650,"top":280},"id":"fhzenssv4b","type":"FBD_OUTPUT","text":"DATA_OUT3"},{"position":{"left":830,"top":160},"id":"fhzeojqg7q","type":"FBD_CTUD","text":"CTUD1"},{"hideArrow":true,"from":"fhzelyvq88","to":"fhzem7c1h7","fromPort":"in","toPort":"I1","id":"fhzem8rhbw","type":"relation","text":""},{"hideArrow":true,"from":"fhzem0258h","to":"fhzem7c1h7","fromPort":"in","toPort":"I2","id":"fhzem9zc19","type":"relation","text":""},{"hideArrow":true,"from":"fhzem0sm62","to":"fhzemixzrz","fromPort":"in","toPort":"CLK","id":"fhzemlpc60","type":"relation","text":""},{"hideArrow":true,"from":"fhzem7c1h7","to":"fhzemr4jy2","fromPort":"Q","toPort":"I1","id":"fhzemsq25v","type":"relation","text":""},{"hideArrow":true,"from":"fhzemixzrz","to":"fhzemr4jy2","fromPort":"Q","toPort":"I2","id":"fhzemtqvs4","type":"relation","text":""},{"hideArrow":true,"from":"fhzen7iupy","to":"fhzend4wn6","fromPort":"in","toPort":"CU","id":"fhzenf6j3v","type":"relation","text":""},{"hideArrow":true,"from":"fhzen973pb","to":"fhzend4wn6","fromPort":"in","toPort":"RESET","id":"fhzengjpxw","type":"relation","text":""},{"hideArrow":true,"from":"fhzenaevbk","to":"fhzend4wn6","fromPort":"in","toPort":"PV","id":"fhzenhtv7h","type":"relation","text":""},{"hideArrow":true,"from":"fhzend4wn6","to":"fhzenjwmke","fromPort":"Q","toPort":"I1","id":"fhzenllovb","type":"relation","text":""},{"hideArrow":true,"from":"fhzend4wn6","to":"fhzenjwmke","fromPort":"CV","toPort":"I2","id":"fhzenme05s","type":"relation","text":""},{"hideArrow":true,"from":"fhzemr4jy2","to":"fhzenpheyp","fromPort":"Q","toPort":"out","id":"fhzenqkykq","type":"relation","text":""},{"hideArrow":true,"from":"fhzenjwmke","to":"fhzenssv4b","fromPort":"Q","toPort":"out","id":"fhzenuqmp0","type":"relation","text":""}];
309 310
            $('#showFbdExampleBtn').on('click', function() {
                flowchart.resetData(fbdData);
C
Catouse 已提交
311
            });
312 313 314 315 316 317 318 319

            var $toolbar = $('#toolbar').empty();
            $.each(flowchart.types, function(name, typeInfo) {
                if (typeInfo.isNode && !typeInfo.internal) {
                    $toolbar.append('<button type="button" class="btn btn-sm" data-type="' + name + '" draggable="true">' + (typeInfo.displayName || typeInfo.name) + '</button>')
                }
            });
            window.flowchart = flowchart;
C
Catouse 已提交
320
            console.log(flowchart);
C
Catouse 已提交
321 322 323 324 325
        });
    </script>
</body>

</html>