應該是這樣的,你可以去試試,如果還有問題可以HI我。images/bg.jpg是背景圖片的地址。
查看全文
2014-10-29
0
var sogou_div_805186 = document.getElementById("sogou_wap_805186");
window.sogou_un = window.sogou_un || [];
window.sogou_un.push({id: 805186, ele: sogou_div_805186, w: 20, h: 20});
window._g = window._g || {};
_g.feedAdInfo = {"wm12":{"page":6,"index":1},"wm32":{"page":3,"index":5},"tbt":{"page":1,"index":2},"wmx2":{"page":5,"index":5},"gdt1":{"page":0,"index":0},"gdt3":{"page":0,"index":0},"bkv":{"page":0,"index":0},"360":{"page":0,"index":0},"ta":{"page":3,"index":1},"tb":{"page":0,"index":0},"qtr":{"page":2,"index":2},"wmd":{"page":0,"index":0},"gdtx":{"page":0,"index":0},"zp":{"page":0,"index":0},"wmx1":{"page":4,"index":3},"wm1":{"page":5,"index":1},"wm3":{"page":0,"index":0},"gdtd":{"page":0,"index":0},"xxl1":{"page":4,"index":1},"xxl2":{"page":4,"index":1}};
_g.ka_zhibo_switch_on = false;
_g.ka_youxi_switch_on = false;
_g.showBKVideo = true;
? 2021 SOGOU.COM
window._g = window._g || {};
window._g.shouldGrayed = false;
window._g.logoSelector = '.nav_logo, .nr-logo';
_g.userId = '-1';
_g.uid = '-1';
_g.tags = '0';
_g.firstTagName = '問題庫';
_g.id = '823713274';
_g.query = '';
_g.title = '%E7%99%BE%E5%BA%A6%E5%9C%B0%E5%9B%BE%E6%8F%92%E5%85%A5%E8%83%8C%E6%99%AF%E5%9B%BE%E7%89%87%E6%80%8E%E4%B9%88%E5%86%99%E4%BB%A3%E7%A0%81%EF%BC%9F';
_g.traceId = 'd7b56658832c40fa8f14001841fd2781';
_g.jumpLoginUrl = '鏈接';
_g.isLogin = false
_g.grayAllow = true;
_g.renderBanner = true;
_g.isShowWangMengAd = false;
_g.uuid = "9747633142";
_g.feedHotWorldGray = true;
_g.adPriority = 'cd,zy,ss,gdt,wm';
_g.adTBSwitch = false;
_g.adGDTSwitch = true;
_g.adWMSwitch = true;
_g.adYMSwitch = false;
_g.adCDSwitch = true;
_g.adTBTSwitch = false;
_g.adEBKSwitch = false;
_g.adXXLSwitch = false;
_g.bkInner = false;
_g.adTuiaSwitch = true;
_g.showTaAd = true;
_g.showWmBrowser = true;
_g.htymSwitch = false;
_g.mQBUa = false;
_g.h5gray = false;
_g.miniProgramUa = false;
_g.levelInfo = '';
_g.adSelfOperateList = [];
_g.adWendaSelfOperateList = [];
_g.yueduBannerSwtich = false;
_g.baikeSearchSwitch = false;
_g.baikeSearchWords = [];
if (!window._g) {
_g = {};
}
_g.ww_touchstone_info_list = {
'reportEnv': '2',
'hitTest': '{"42":{"itemId":15,"groupId":42,"layerId":0,"channelId":1,"productId":1,"report":false,"reportStatus":"0","varName":"relaquestion","varValue":"1","extParamMap":{"pid":"sogou-waps-d85688fce6136697"}},"43":{"itemId":20,"groupId":43,"layerId":0,"channelId":1,"productId":1,"report":false,"reportStatus":"0","varName":"ask","varValue":"0","extParamMap":{"pid":"sogou-waps-8e636fbd9b5bd3c7"}},"66":{"itemId":43,"groupId":66,"layerId":0,"channelId":1,"productId":1,"report":false,"reportStatus":"0","varName":"shenmain","varValue":"0","extParamMap":{"pid":"sogou-waps-ec88121df4e8a5ea"}},"69":{"itemId":49,"groupId":69,"layerId":1,"channelId":1,"productId":1,"report":false,"reportStatus":"0","varName":"thumbStyle","varValue":"0","extParamMap":{}}}'
};
//無線問問來源統一用254
var orig = 254;
_g.orig = 254;
var ua = window.navigator.userAgent.toLowerCase();
//如果是搜索app
if (/sogousearch/ig.test(ua)){
orig = 255;
_g.orig = 255;
}
_g.fromWeiXin = false;