²ØÊé¼Ü µÇ¼ע²á
¶¼ÊÐÑÔÇé > Ç¿º·ÀϹ«Äã¹»ºÝ¼ò½é > Ç¿º·ÀϹ«Äã¹»ºÝ×îÐÂĿ¼

±ðÈÇÅ®ÈË

    ¡°ÎÒÃDz»ÊÇÄÐÈË¡­¡­´Ó´Ë¸Äа¹éÕý¡­¡­¡±´ó½ÖÉϳöÏÖÁ˸ãЦµÄһĻ£¬Áù¸ö±ÇÇàÁ³Ö×µÄÐì»ì£¬¿ãñɱ»ÆÃÁ˺ìÆᣬÊÖÇ£ÊÖתȦȦ£¬ÒýÀ´ÁËÀïÈýȦÍâÈý²ãµÄΧ¹ÛÈËȺ£¬·×·×ÄóöÊÖ»úÅÄÏÂÕâ³öÒì²Ê·×³ÊµÄÑݳö¡£

    ¡°½ÐÏìÒ»µã£¡¡±ÏæÒÔĭѵ³âÒ»¾ä£¬¡°¸Õ¸Õ³ÔÁËÄÇô¶àµ°¸â£¬Ôõô»áûÓÐÁ¦Æø£¡¡±

    ¡°ÎÒÃDz»ÊÇÄÐÈË£¡´Ó´Ë¸Äа¹éÕý£¡¡­¡­¡±ÉùÒô¶Ùʱï¬ïÏÓÐÁ¦£¬ÖÐÆøÊ®×㣡

    ÏæÒÔÄ­Ìá¸ßÁËɤÃÅ£¬½ÐÂôÆðÀ´£¬¡°½ñÌì±¾µêËùÓе°¸â¾ÅÕÛ³öÊÛ£¬ÂòÂú100Å·Ôª£¬»¹¿ÉÒÔ¸½Ôùһȭ£¬ÕâÁù¸öÈ˹©ÄãÃÇËæÒâÌô£¬ËæÒâ´ò£¬»ú»áÄѵã¬Ç§Íò²»Òª´í¹ý¡£¡±

    ¡°ÒÔÄ­£¬ÄãÕⶼÏëµÃ³ö£¬Ì«Å£ÁË£¡¡±ËÕè÷ÁÕÒ»Á³³ç°ÝµØ¿´×ÅËý¡£

    ¡°É±¼¦ÙӺÒÔºóûÓÐÈ˸ÒÀ´ÕÒÂé·³ÁË£¬¶øÇÒ£¬½è´Ë»ú»á£¬»¹¿ÉÒÔ×ö¸öÐû´«Íƹ㣬±È·¢Ê²Ã´´«µ¥ÌùС¹ã¸æ£¬Ð§¹ûºÃ¶àÁË¡£¡±

    ¡°ÒÔÄ­£¬ÄãÊÜÉËÁË¡£¡±ËÕè÷ÁÕÖ¸×ÅËýµÄÊÖÖ⣬һ¾ªÒ»Õ§µØ˵µÀ¡£

    ÏæÒÔÄ­µÍÍ·¿´ÁËÒ»ÑÛ£¬ÊÖÖâ´¦µÄÒ·þ±»²ÁÆÆ£¬Õ´È¾×Å˿˿Ѫ¼£¡£ÕâÓ¦¸ÃËý±Ü¿ªÏ®»÷£¬²àµ¹ÔÚµØʱÔÚË®ÄàµØÉϲÁÉ˵ģ¬Ëý¾ÓÈ»ºÁÎÞ²ì¾õ£¬ÏÖÔÚ·¢ÏÖÁ˲Ÿоõµ½×Æ×ƵÄÌÛÍ´¡£ËýÓÃÊÖÕÆÕÚסÁËÉË¿Ú£¬¡°Ð¡É˶øÒÑ¡£¡±

    ¡°ÒÔÄ­£¬ÎÒ¸øÄã°üÔúһϡ£¡±

    ¡°²ÁÆÆÁ˵ãƤ¶øÒÑ£¬²»ÐèÒª°üÔú¡£ÏÖÔÚʱ¼ä²»ÔçÁË£¬ÎÒÏÈ×ßÁË¡£¡±

    ¶ÔÃæ¶þ¥һ˫ӥðºµÄÀ÷íøʼÖÕÄýÍû×ÅËý£¬¹ÑÁ¹µÄ±¡´½ÃòÁËÒ»¿Úºì¾Æ£¬×ì½ÇÇÄȻһ¹´£¬¿¡ÒݵØÁ³ÉÏÕÀ·ÅһĨ¹îÒìµÄЦÈÝ¡£

    ¹Ü¼ÒµÍÍ·¿´ÁËÒ»ÑÛ×Ô¼ºµÄ¿ãñÉ£¬À亹ä¹ä¹µØàÖ¹¾Ò»¾ä£¬¡°ÐҺã¬ÎÒûÓÐÕÐÈǹý·òÈË¡£¡±

    ¡°Õâô»áÍæµÄÅ®ÈË£¬·Å×Ų»Í棬¶à¿Éϧ¡£¡±

    ================================================

    ÏæÒÔÄ­»Øȥ֮ǰ£¬ÕÒÁËÒ»¼ÒµêµÄ»»Ò¼䣬½«ÉíÉϵÄÄÇÒ»ÉíÁ®¼ÛµÄÒÂÎﻻϣ¬´©ÉÏ°º¹óµÄÒ·þ£¬Åå´÷¶¥¼¶µÄÖ鱦£¬È»ºó¸ø˾»úСÕÅ´òÁËÒ»¸öµç»°¡£

    Ô¹âÇådz£¬ÇåãöµÄÅçȪÉÁìÚ×ÅË®Òø°ãµÄ¹â»Ô£¬ÏæÒÔÄ­×ß½øÆáºÚһƬµÄ´óÌü£¬Óľ²¿Õµ´£¬Ëý¿ÉÒÔÌýµ½×Ô¼ºµÄ½Å²½Éù»ØÒôÆ®µ´¡£Çå·ç¾²¾²µØÁö¯×Å´°É´£¬¼¸ÂƳγºµÄÔ¹âÈ÷Âä½øÀ´¡£

    ¡°ÔõôÕâôÍí²Å»ØÀ´£¡È¥ÄÄÀïÁË£¿¡±ÓÄÀä´ÅÁ¹µÄɤÒôͻȻƮÁ˳öÀ´¡£

    ÏæÒÔÄ­ÏŵÃÐÄÍ·Ò»²ü£¬ÅÄ×ÅÐØ¿ÚÊæÁËÒ»¿ÚÆø£¬¡°ÄãÖª²»ÖªµÀÈËÏÅÈË£¬ÏÅËÀÈË£¡¡±

    <div id="ads1" style="position:relative; width:320px; height:48px;">

    <script type="text/javascript" src="">

    <style>

    /*

    * css class for Baidu ad

    */

    ._bdsTitle{color:blue; text-decoration: underline; margin-left: 10px;}

    ._bdsDesc{color:blue; text-decoration: underline; margin-left: 25px;}

    ._bdsImg{height:38px;}

    ._bdsIcon{width:22px;}

    </style>

    <script type="text/javascript">

    function baidu_ads_show(){

    /*

    * JS SDK Demo 2.0

    *

    * ²ÎÊýÏêÇéÇë²Î¿´<SDK_PATH>/js_manual.doc

    * <SDK_PATH>ÊÇSDKµÄ½Ó½âѹ·¾¶

    *

    */

    _$BDS({

    cid:ads1,       //[±ØÑ¡]£¬ÈÝÆ÷ID

    appsid:bed4f744,          //[±ØÑ¡]

    appsec:bed4f744,          //[±ØÑ¡]£¬¼Æ·ÑÃû

    pack: ,                //App±êʶ£»AndroidÖÐΪApp°üÃû£¬iOSÖÐΪBundle Identifier

    // bfn: adBuilders[adType],//UI¹¹Ô캯Êý£¬ ĬÈÏʹÓÃÄÚÖú¯Êý

    w:320,                   //ÈÝÆ÷¿í¶È£¬ÉèÖÃ<meta name="viewport" />ºó£¬´ó²¿·Öä¯ÀÀÆ÷¾ßÓÐ320px¿í¶ÈµÄ´°¿Ú

    h:48,                    //ÈÝÆ÷¸ß¶È£¬²Î¿¼Öµ£ºh = w * 0.15

    os: 0,                   //É豸²Ù×÷ϵͳÀàÐÍ£¬0:auto£¬1:Android£¬2:iOS

    sn:,                   //É豸´®ºÅ£¬ÊÖ»úΪIMEI£¬Æ½°å¿É´«MAC

    isp:,                  //Òƶ¯Í¨ÐÅÔËÓªÉ̱àºÅ

    imsi:,                 //IMSI

    AP:false,

    //cell:[[, 6318, 0], [, 6319, 0]],        //»ùÕ¾¶¨Î»ÐÅÏ¢

    //gps:[, 127., 31.],          //GPS¶¨Î»ÐÅÏ¢

    //wifi:[[c417fe0, 45], [17fe0c, 65]], //WIFI¶¨Î»ÐÅÏ¢

    listener: DEFAULT_LISTENER

    });

    }

    //Íƹ㹹ÔìÆ÷

    var adType = 2; //ÍƹãÀàÐÍ,1:Îı¾ÀàÐÍ£¬2£ºÍ¼Æ¬ÀàÐÍ

    var adBuilders = {

    //textÀàÐÍÍƹ㹹ÔìÆ÷

    1: function(ad){

    //adÓÐ4¸öÊôÐÔ£ºtitle¡¢desc¡¢img¡¢icon

    return ad.title +

    + ad.desc;

    },

    //imageÀàÐÍÍƹ㹹ÔìÆ÷

    2: function(ad){

    //adÓÐ2¸öÊôÐÔ£ºimg¡¢icon£¬ titleºÍdescΪ¿Õ

    return ad.img;

    }

    }

    var TAG = [Dev] JsSdk

    var DEFAULT_LISTENER = {

    onAdShow: function(){//Íƹã³É¹¦Õ¹Ê¾Ê¼þ

    console.log(TAG, onAdShow

    },

    onAdClick: function(){//Íƹ㱻µã»÷ʼþ

    console.log(TAG, onAdClick

    },

    onAdFailed: function(){//ÍƹãÎÞ·¨¼ÌÐøչʾ£»onReceiveFail¿ÉÄܼÌÐøչʾÍƹã

    console.log(TAG, onAdFailed

    },

    onAdSwitch: function(){//ÍƹãÂÖתʼþ

    console.log(TAG, onAdSwitch

    },

    onReceiveSuccess: function(){//´Ó·þÎñÆ÷³É¹¦½ÓÊÕµ½ÍƹãµÄʼþ

    console.log(TAG, onReceiveSuccess

    },

    onReceiveFail: function(reason){//´Ó·þÎñÆ÷½ÓÊÕÍƹãʧ°ÜµÄʼþ£¬ÍøÂçÒì³£µÈ¿ÉÄÜ´¥·¢¸Ãʼþ

    console.log(TAG, onReceiveFail, reason);

    }

    }

    if( !is_pc){

    // Demo Entry

    baidu_ads_show();

    }

    //setTimeout(demo, 4000);

    <script type="text/javascript">

    if( is_pc){

    $_("ads1").style.display="none
ÉÏÒ»Õ     Ä¿Â¼     ÏÂÒ»ÕÂ