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

Ç÷Ö®ÈôðÍ

    ÄϹ¬º®ÎÕסÁËËýµÄÊÖ£¬¡°ÄãÖªµÀÄãÔÚ¸ÉʲôÂ𣿡±

    ¡°ÎÒÏë³ÉΪÄãµÄÅ®ÈË£¡¡±Ò¦ÃÀÄÈÓïÆø¼á¶¨¾ö¾ø£¬Ëý΢ÃÐÉÏÑÛ£¬÷È»óµØÖ÷¶¯µÝÉÏ»¬ÄÛµÄÏã´½¡£ÏËÈáÓñÊÖÂýÂýµØÃþÏòËû¿ãñɵÄÀ­Á´¡­¡­

    »³ÖеÄÅ®ÈËÉ¢·¢³ö´¦×ÓµÄÓÄÏ㣬ÓÕÈË¿É¿Ú£¬ÄϹ¬º®ÃÍȻͷһƫ£¬×¥×¡ÁËËýµÄÊÖ£¬¡°²»¿ÉÒÔ£¡¡±

    ¡°ÎªÊ²Ã´£¿¡±ËýÕö¿ªÁËÆÅ涵ÄÀáÑÛ£¬¡°ÄãÓÐÄÇô¶àÅ®ÈË£¬ËýÃÇ¿ÉÒÔ£¬ÎªÊ²Ã´ÎҾͲ»¿ÉÒÔ£¿¡±

    ¡°ÒòΪÄã¸úËýÃ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
ÉÏÒ»Õ     Ä¿Â¼     ÏÂÒ»ÕÂ