Ejemplo n.º 1
0
        qqShare : function(){
            if(info.pageid&&info.pageid==='live/play'){
                Stats.sendAction({ap: 'ch=liveplay&pg=live&bk=pictextshare&link=qqclick'});
                Stats.feStat({code: 'share', scode: 'qq'});
                Stats.feStat({code: 'share1', scode: 'tuwen'});
            }else{
                Stats.sendAction({ap: 'ch=live&pg=diy&bk=pictextshare&link=qqclick'});
                Stats.feStat({code: 'share', scode: 'qq'});
                Stats.feStat({code: 'share1', scode: 'tuwen'});
            }

            baseShare.otherShare('qzone');
        },
Ejemplo n.º 2
0
        weiboShare : function(){
            //在通用直播播放页上报通用直播播放页,否则沿用diy上报
            if(info.pageid&&info.pageid==='live/play'){
                Stats.sendAction({ap: 'ch=liveplay&pg=live&bk=pictextshare&link=weiboclick'});
                Stats.feStat({code: 'share', scode: 'wb'});
                Stats.feStat({code: 'share1', scode: 'tuwen'});
            }else{
                Stats.sendAction({ap: 'ch=live&pg=diy&bk=pictextshare&link=weiboclick'});
                Stats.feStat({code: 'share', scode: 'wb'});
                Stats.feStat({code: 'share1', scode: 'tuwen'});
            }

            //实现分享功能
            baseShare.otherShare('weibo');
        },