Ô©¼Ò·Õ
ÏæÒÔIJ»¸ÒÒ»¼äÒ»¼ä´ò¿ª·¿ÃÅÕÒÁË£¬º¦ÅÂÔÙ´Îײ¼ûÈç´ËÏãÑ޵ĻÃ棬À¹×¡ÁËÒ»ÃûŮӶ£¬½«ÊÖÌá°üµÝ¸øËý£¬¡°ÄãÌæÎÒÄõ½ÎÔÊÒÈ¥£¡¡±
¡°ÊÇ·òÈË£¡¡±
¸ú×ÅŮӶ£¬×ÜËãÕÒµ½ÁËÏæÈçĵķ¿¼ä£¬Ò»ÌìËý¾ÍÎÑÔÚ·¿¼äÀ¿´Êé»Í¼£¬Íê³É±ÏÒµÉè¼Æ¡£
================================================
ÊÇÒ¹¡£
ããµÄÒ¹¿Õ±»Ò»²ãºñºñµÄÎÚÔÆËùÕÚÑÚ£¬ÕÚסÁËð¨½àµÄÔ»ª£¬Ò²ÕÚסÁËèè²µÄÐǹ⡣²Ôñ·ºÚµÃÄÇô´¿´â£¬°µµÃÄÇô³¹µ×¡£
Íí·çÁÏÇʹ̹ǣ¬ÉªÉªº®·çϯ¾í²ÐÓàµÄÀäÒâ¡£
¡°Å顪¡ª¡±Ò»Éù£¬·¿ÃÅÃ͵ر»õß¿ª¡£ÔÚ³Á¼ÅµÄÉîÒ¹ÍðÈôÒ»ÉùÕðÀ×£¬Í»À´¾çÁÒµÄÏìÉù¾ªÐÑÁË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