͵³Ô¶¹¸¯
ÏæÒÔÄÝëµØóÁËÑÛ¾¦£¬Ò»Á³µÄÕðãµ£¬¸ú֮ǰÉÌÁ¿µÄ²»Ò»Ñù£¬Ê²Ã´Ê±ºò¼ÓÁËÎÇÏ·£¿
ËûµÄÎÇ£¬°ÔµÀÇ¿ÊÆ£¬Èݲ»µÃËý°ëµãÍËÈá£Îü˱¡¢ËºÒ§¡¢¿ÐÊÉ£¬³ÁÃÔÓÚËýÈ绨°ãÈáÄÛϸÄåµÄ´½°ê£¬Ï¸Ï¸Æ·Î¶¡£
ÄϹ¬º®Ìýµ½¹àľ´ÔÍâÓÐÇá΢µÄ¶¯¾²£¬Á¢¼´Â§×¡ËýµÄÑü£¬¸©Éí½«ËýÆ˵¹ÔÚÈáÈíµÄ²ÝƺÉÏ£¬×ÆÈȵÄÎÇÈçÁÒ»ð°ãÁÇ Ô£¬È¼ÉÕµ½ÁËËýµÄ´É¾±£¬¶úÅÏ£¬ÊªÈȵÄÉàÍ·ÌòÁËÌòËý·Û±´°ãµÄ¶ú´¹£¬¡°³öµãÉùÒô£¡¡±´Ö¸ÂµÄÉùÒô͸×Å´ÅÐÔ¡£
³ýÁËÎÇÏ·£¬ÄѵÀ»¹ÒªÔö¼Ó´²Ï·£¿ÄϹ¬º®·ÖÃ÷³Ã»ú͵³ÔËý¶¹¸¯£¡
ÏæÒÔÄÄÔº£Ò»Æ¬¿Õ°×£¬ÕúÕúµØÎʵÀ£º¡°Ê²Ã´ÉùÒô£¿¡±
¡°Ëæ±ã½ÐÁ½Éù£¡¡±²»ÄÍ·³µØÌáÐÑËýÒ»¾ä¡£
¡°Å¶£¡ÄãÒªÌýʲô½ÐÉù£¿Öí½ÐÉù£¬ÀǺ¿Éù»¹Êǹí½ÐÉù£¿¡±
ÄϹ¬º®×ì½ÇÒ»¹´£¬ÊÖÕÆ̽ÈëËýµÄÒÂÉÀ£¬Çá ¸§ÄÛ»¬µÄ±ù¼¡Óñ·ô£¬ÅÊÉÏÓ¨°×µÄÑ©·å£¬ÝëµØÄóÁËÒ»°Ñ¡£
¡°°¡¡¡¡±ÏæÒÔĽ¿ Ò÷Ò»Éù£¬Ëæ¼´ÎæסÁË×ì°Í£¬Ñ¹µÍÉùÒôųâËû£¬¡°Äã¸Éʲô£¬ÄÿªÄãµÄÖíÌ㣡¡±
¡°²»±ÆÕæÒ»µã£¬Ëý»áÉϹ³Â𣿡±°µÈçºÚê×ʯµÄÑÛíø·º×ÅÍæζµÄЦÒ⣬ÊÖÕÆËÁÒâµØÈàÄó×ÅËý£¬ÊªÈȵÄÎÇÂûÑÓµ½ÁËÐØ¿Ú£¬¡°àÅ¡¡ÄãÌ«ÃÀζÁË£¬ÄãÀϹ«²»ÐÀÉÍ£¬ÕæÊÇËûµÄËðʧ¡£¡±
ÏæÒÔÄ·ÁËÒ»¸ö°×ÑÛ£¬Äó×űÇ×Ó£¬¼·³ö½¿ÆøÈá ÃĵÄÉùÒô£¬¡°ÄãÒ²±ÈÎÒÀϹ«Ç¿º·¶àÁË£¬ÄãÊÇ´ÖÓ²³¤£¬ËûÊǶÌÈíС£¬¶øÇÒʱ¼ä¼á³Ö²»ÁËÈýÃëÖÓ¡£¡±
ÕâËãÊÇ¿äËû»¹ÊÇËðËû£¿
ÄϹ¬º®Á³É«Ò»³É£¬ÏÂò¥½ô±Á£¬Ä¿¹âÈç¾æ£¬¡°¼Þ¸øÕâÖÖÄÐÈËʵÔÚÊÇ̫ίÇüÄãÁË¡£¡±
Ê÷´ÔÒΣ¬´«³ö¸O¸O¸@¸@µÄÉùÒô£¬Ò¦ÃÀÄÈת¶¯ÂÖ×Ó£¬½¥½¥¿¿½ü£¬ËûÃǵĶԻ°ÌýµÃÒ»Çå¶þ³þ¡£Ã»Ïëµ½Õâ¸ö²»ÒªÁ³µÄÅ®ÈË͵ÄÐÈË͵µ½ÕâÀïÀ´ÁË£¬ÒªÊ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