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

½ãÃÃÏàÈÏ

    ¡°½ã£¿¡±ÏæÒÔÄ­¸ÉɬµÄɤ¼ä¼·³öÒ»¸ö×Ö£¬Óïµ÷ÒÉ»ó¡£ð¨È»Ô¹âÈçË®Òø°ãÇãкÏÂÀ´£¬Í¶ÔÚËýË®ÈóÃ÷íøÖУ¬²¨¶¯×ÅÀá¹â£¬¡°ÄãÕæµÄÊÇÎÒ½ã½ã£¿¡±

    ËýÃǵÄÂèÂèÈ¥ÊÀºó±»ËͽøÁ˸£ÀûÔº£¬ËýÃÇÔÚ¸£ÀûÔºÊܾ¡ÁË°×ÖÖÈËТµÄÆÛÁèÅż·£¬Ã¿´Î¶¼ÊÇÏæÈçÄ­³åÔÚÇ°Ã棬ÌæÃÃÃõ²·çÕÚÓ꣬һÄêºó£¬Ò»¶Ô»ªÒáÉÌÈËÊÕÑøÁËÏæÈçÄ­£¬ËýÃDZ»ÆÈ·Ö¿ª£¬ÏæÒÔÄ­¾ÍûÁ˽ã½ãµÄÒôѶ¡£

    ¡°ÒÔÄ­£¬ÎÒÖÕÓÚÕÒµ½ÄãÁË£¡¡±ÏæÈçÄ­¼¤¶¯µØàÓàÓà¨ÆüÆðÀ´¡£

    ¶ÔÓڹ¿àÎÞÒÀµÄÈËÀ´Ëµ£¬Ã»ÓÐʲô±ÈÇ×È˸üÉݳ޵ÄÁË£¬ÏÖÔÚÖÕÓÚ¼ûµ½¶àÄêδ¼ûµÄ½ã½ã£¬Ôø¾­µÄÄÇË¿Ô¹ºÞÔçÒѳ嵭ÁË¡£ÏæÒÔÄ­¼ûËý´©µÃÄÇôµ¥±¡£¬¶³µÃÈ«Éí·¢¶¶£¬¡°ÎÒÃǽøÎÝ˵°É£¡¡±

    ËýÌͳöÔ¿³×£¬´ò¿ªÃÅ£¬Ò»Íƶ¯³Â¾ÉµÄÌúÞͷ¢³ö²ÔÑƵÄÖ¨¿¨Éù¡£¾¡¹ÜÎÝ×ӷ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
ÉÏÒ»Õ     Ä¿Â¼     ÏÂÒ»ÕÂ