老李

im定制化基础,一个html例子

发表于:2019-3-16 12:04:44 点击量:0 赞:未知

昨天到今早,团队小朋友们努力理清弄官网im的依赖。这是他们的结果:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test-t-io-demo</title>
    <script src="/res/jquery/jquery.js"></script>

    <script src="/myres/util.js"></script>
    <script src="/res/tio_js/tiows.js"></script>
    <script src="/res/tio_js/tiocookie.js"></script>

    <script src="/myres/common.js"></script>

    <script src="/im/site/SiteImCommand.js" type="text/javascript" ></script>
    <script src="/im/site/SiteImHandler.js" type="text/javascript" ></script>
    <script src="/im/site/SiteImBsHandler.js" type="text/javascript" ></script>
    <script src="/im/site/siteim.js" type="text/javascript" ></script>
    <!--主要是理清了一些依赖,接下来使用layim的官方移动版本做集成-->



</head>
<body>
<script>


    var req = {
        text: "I Love t-io"
    };
    setTimeout(function(){
     siteim.send(SiteImCommand.DEMO_REQ, req);
    },2000);


</script>
</body>
</html>
TCP连接数:, IP数:
    发 送