apicloud apicloud

注册
查看: 1003|回复: 1

[模块教程] systemshare 模块 demo 示例

驾校小白

UID:804055

主题:
20
帖子:
20
云币:
42

[模块教程] systemshare 模块 demo 示例

1003 1 | 发表于 2019-7-24 10:55:34 |阅读模式 | |
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>WinA</title>
    <link rel="stylesheet" type="text/css" href="css/api.css"/>
    <link rel="stylesheet" type="text/css" href="css/box.css"/>
    <script type="text/javascript" src="script/public.js"></script>
    <style>
            p{
                    color:#999;
                    padding:5px;
            }



















    </style>
    <script type="text/javascript">
                var systemshare=null;
         apiready = function(){
                    systemshare=api.require('systemshare');
            }
               
                

       


     function systemShareFirend(){
                var param = {
                imgUrl:"http://f.hiphotos.baidu.com/image/pic/item/09fa513d269759ee50f1971ab6fb43166c22dfba.jpg"};
                systemshare.syswxfriend(param, function(ret, err){

                });
                }

     function systemShareCircle(){
                var param = {
                 imgUrl: "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAVCUlEQVR42u1deZAcV3n/fa+759jZ2UvrXcnS6rQkWytsGVk2kkogG+I4hCM4oJSDwSSYhFAQu2ySmBACmFQoAgGbHKQSh4CB4rAxFLEr5jSxsB2MJdk6rMu6VsdqV+uVVztXX+/LHzPTMz3TPTvdPbuy5f22Zmf6m9f99Xzfe9/53mtCk7D5sc3q2b7sSltRBkny6yHpJiLqYS5+TwBKH+s+o3Tsh6+FRtcK+nkq2o3uKRRtAsA8DsHfZtBWyfbuvtHU/l9e+0urGT7TVA1W71o3IFT1ZjDeyYxBEaM4AEiDAWbMgjdXRUygxCedCHtAeFBa1jd3v+Y3x0MJZMGT65M93bgdwO0iRn1sMthigIu9gDxk0Sp8IziftEPdEwBSCaQRpMGjAO4ZP4t7Tmx4Kt+0QC599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bQSgzaFo1+KD0eZ62jEAeX4C1uS91WOpAo92XEKEn0PlhTBmjfq0QgyATUMs8UbccO4FOL5cNdxw7gU2rRth4xjiszybNogDsHGMDevGamHUCwQA3pLbxiauh4mtSBAgZvnXMhAAEgSY2Momrsdbctu8zL83fA9JdKZvJ+B2xKgPFhd3QpoNHoM7WErRtYXBowzcg4nJe7AFeb/mjeHHyQFAvZnA7wTTILSSMjNnhdNQCOWlkiZ0EO9h0IOA9U38dv74VKc2B49Bhd6+EoTVYGwC4yai2SyxF0eZeRyEb4OwFYzdiGf249rm8iD/DxLPlw19ZMenAAAAAElFTkSuQmCC"
              };
                systemshare.syswxcircle(param, function(ret, err){

                });
                }

      function systemShare(){
                var param = {
                title:"",
                url:"www.baidu.com"};
                systemshare.systemshare(param, function(ret, err){

                });
                }



    </script>
</head>
<body>
<div id="wrap">
    <div id="main">
        <br>

        <div class='itemtitle'>5.系统分享至微信好友图片</div>
        <div class="clickbtn" tapmode="active">点击分享</div>
        <div class='itemtitle'>6.系统分享至微信朋友圈图片</div>
        <div class="clickbtn" tapmode="active">点击分享</div>
        <div class='itemtitle'>7.系统分享</div>
        <div class="clickbtn" tapmode="active">点击分享</div>
        <br>
    </div>
</div>
</body>
</html>

主题:
0
帖子:
1
云币:
1
发表于 2020-3-15 13:35:05 |
请问 box.css 和 public.js 文件请去哪里找???
您需要登录后才可以回帖 登录 | 立即注册

快速回复 返回顶部 返回列表