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

µ±Ãæ¶ÔÖÊ

    ÏæÒÔÄ­Èà×ÅÁ³¼Õ£¬ÅÀÁËÆðÀ´£¬Å­Ä¿Ð±íþ×ÅËû£¬¡°Á¬Å®È˶¼´ò£¬Ä㻹ÊDz»ÊÇÄÐÈË°¡£¡¡±

    ¡°ÏñÄãÕâÖÖ²»ÒªÁ³µÄÅ®ÈË£¬´òÄ㣬ËãÊÇÎÒ¸ß̧ÁËÄ㣡¡±

    ¡°¶Ô£¡È«ÊÀ½çµÄÈ˶¼Ã»ÓÐÁ³£¬Ö»ÓÐÄãÒ»¸öÈËÓÐÒ»ÕÅÁ³£¬¶øÇÒÊÇÒ»ÕźñÑÕÎ޳ܵÄÁ³£¡¡±

    ÄϹ¬º®ÝëµØÒ»°Ñ½«Ëý¾¾Á˳öÀ´£¬ÑÛÖÐÌøÔ¾×ÅÓÄÓÄÅ­»ð£¬¡°ÄãÊDz»ÊÇ»îµÃ²»ÄÍ·³ÁË£¡¡±

    ¡°¿´²»µ½ÄãÕâÕÅÁ³£¬ÎҾͻîµÃÓÆÏÐ×ÔÔÚÁË£¡¡±

    ¡°Õâ¸ö×¢Òâ²»´í£¬ÒªÎÒ°ÑÄãµÄÑÛÖé×ÓÍÚ³öÀ´£¿¡±

    ÏæÒÔÄ­µÉ´óÁËË®ÈóÃ÷íø£¬Õâ¸öÄÐÈËÔõôÓõ­È»µÄÓïÆø˵³öÈç´Ë²ÐÈ̵Ļ°Óï¡£

    ÄϹ¬º®ÍÏק×ÅËýÍùÍâ×ߣ¬¡°È¥ÏòÃÀÄȵÀǸ£¡¡±

    ¡°ÎÒ²»È¥£¡¡±ÏæÒÔÄ­¸ù±¾²»ÖªµÀÄǸöʲôҦÃÀÄÈÊÇË­£¬¼ûÁËÃ棬һ¶ÔÖÅ£¬²ð´©Ôõô°ì£¿ÄѲ»³ÉËýͻȻװʧÒ䣬˵×Ô¼º±»À×ÅüÁË£¬Ê²Ã´¶¼¼Ç²»µÃÁË£¬ÏàÐÅËýµÄ»°µÄÈ˲ÅÕæµÄ±»À׸øÅüÁË¡£

    ÄϹ¬º®Ò»°Ñ½«Ëý¿¸ÔÚÁ˼çÍ·£¬´©¹ýÒ»Ìõ×ßÀÈ£¬×ßµ½ºóÃæÒ»´±Â¥¡£¿í³¨µÄ¿ÍÌüÖÐÑ룬һ¸öÅ®ÈË×øÔÚÂÖÒÎÉÏ£¬ÐÞ³¤Èá˳µÄ³¤·¢Åû¼ç£¬ÏԵõ¥±¡ÙúÈõ£¬°×ðªµÄÁ³¼Õ·º×Ų¡Ì¬£¬ÉÏÃæÔÎ×ÅÒ»¸öÇåÎú¿É¼ûµÄÊÖÖ¸Ó¡£¬Á³¼Õͨºì΢Öס£

    ¡°¸úËýµÀǸ£¡¡±ÄϹ¬º®·ÅÏÂËý£¬ÍùÇ°Ò»ÍÆ£¬ÏæÒÔĭʧȥÁËÖØÐĵøµ¹Ôڵء£

    ËýÈàÁËÈ෢ʹµÄƨ¹ÉÕ¾ÁËÆðÀ´£¬àÖ¹¾Ò»¾ä£¬¡°»á²»»áÁ¯ÏãϧÓñ£¬¶¯×÷Õæ´Ö³£¡¡±

    ¡°¶ÔÄ㣬ÎÒ²»»á£¡¡±

    ¡°ÄϹ¬¸ç¸ç¡­¡­¡±

    Ò¦ÃÀÄÈÒ»¿ª¿Ú£¬½¿µÎµÎµÄÉùÒô¼¤ÆðÁËÏæÒÔÄ­È«ÉíµÄ¼¦Æ¤¸í´ñ£¬Ëý¿äÕŵشòÁËÒ»¸öº®²ü£¬¡°Äãɤ×ÓÓÐÎÊÌâÂð£¿Äܲ»ÄÜÕý³£½²»°£¬ÎÒµÄθ̫´àÈõÁË£¬Êܲ»ÁË¡£¡±

    ¡°ÄϹ¬¸ç¸ç£¬Äã¿´¿´Ëý£¬´òÁËÎÒ£¬ÏÖÔÚ»¹À´ÆÛ¸ºÎÒ£¡ÄãÐÝÁËËýºÃ²»ºÃ£¿¡±Ò¦ÃÀÄÈίÇüµØ˵µÀ£¬ãùÈ»ÓûÆü¡£

    ¡°ÏæÈçÄ­£¬Äã×îºÃʶÏàÒ»µã£¬Á¢¿Ì¡¢ÂíÉÏ¡¢¸øÎÒ¡¢µÀǸ£¡¡±ÄϹ¬º®Ò»×ÖÒ»¶Ù£¬ÓïÆøÀäÓĺ®É­£¬ÁîÈ˲»º®¶øÀõ¡£

    ÏæÒÔÄ­Éì³öÊÖ£¬»º»º¿¿½üÒ¦ÃÀÄȵÄÁ³¼Õ£¬¡°ÎªÊ²Ã´ÄãÁ³ÉϵÄÊÖÕÆÓ¡±ÈÎÒµÄÊÖ´óºÜ¶à¡­¡­¡±ËýºÍÏæÈçÄ­ËäÈ»³É³¤»·¾³²»Í¬£¬µ«Ë«°ûÌ¥µÄ»ùÒò£¬ÈÃËýÃÇÑùòһģһÑù£¬Éí¸ßÒ»Ñù£¬Á¬ÊÖÕƸú½ÅÕÆÒ²Ò»Ñù´óС£¬Ëý·ÖÃ÷ÊÇÔÚÐîÒâÎÜÀµ¡£

    ÏæÒÔÄ­µÄÊÖ½¥½¥¿¿½üËýµÄÁ³¼Õ£¬Ò¦ÃÀÄÈË®ÍôÍôµÄÑÛíøÉÁ¹ýÒ»µÀÐ׹⣬ͻȻ̧ÆðÊÖ£¬Ò»ÕÆÅÄÔÚËýµÄÊÖÉÏ´òÏò×Ô¼ºµÄÁ³¼Õ£¬¡°ÄãÓÖ´òÎÒ£¬ÎÒµ½µ××ö´íÁËʲô£¬ÎªÊ²Ã´Äã¿´ÎÒ²»Ë³ÑÛ£¬Ò»Ö±ÒªÆÛ¸ºÎÒ£¬Å°´ýÎÒ¡£ÄϹ¬¸ç¸ç£¬¼ÈÈ»ÄãµÄÆÞ×ÓËý²»»¶Ó­ÎÒסÔÚÕâÀÄ㻹ÊÇÀ뿪ÕâÀïºÃÁË¡­¡­¡±

    ÄϹ¬º®Õ¾ÔÚÁíÒ»²à£¬ÊÓÏ߽ǶÈÆ«²î£¬ËûÖ»¿´µ½ÏæÒÔÄ­Éì³öÁËÊÖ£¬Ö»Ìýµ½ÁËÇå´àµÄÕÆÞâÉù£¬ËûÎä¶ÏµØ¶Ï¶¨ÊÇÏæÒÔÄ­ÉÈÁËËý£¬Ó¥íøÒ»½ô£¬±ÅÉä³öÁèÀ÷µÄ·æ⣬¡°Òª×ߵIJ»ÊÇÄ㣬ÊÇËý£¬ÄãÏÖÔھ͸øÎÒ¹ö³öÈ¥£¡¡±

    ¡°×ß¾Í×ߣ¡¸ç¸çÃÃÃ㬶ñÐÄËÀÎÒÁË£¡¡±

    <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
ÉÏÒ»Õ     Ä¿Â¼     ÏÂÒ»ÕÂ