KOYO 6844 Bearing

KOYO 6844 Bearing
Brand : KOYO
Model :6844
Discount :30% OFF
Bearing Price:

Leave a message

KOYO 6844 Bearing Description

DPC Bearing Co.Ltd specializes in selling KOYO 6844 bearings, KOYO 6844 bearing related information: Model: 6844 Bearing; Brand: KOYO,if you want to know more about KOYO 6844 Bearing for information, you can do online consultation or call the hotline and email us [email protected], we will serve you in detail.

Related Products

ript>define("", ["$"], function($) {var innerchineseQuery="",tempString="",engchnResult = "",translateFlag = true,clickChannel = "eng",timer = null,timer2 = null,englishQuery = new Object(),xueshuArray=[],xueshuIndex = 0,imgtxtArray=[],//图文结构化,图片数组imgtxtIndex = 0,xueshuReqCount = 0,noresultflag = 0,timerRegoogle=null,transAloneVrid="";var currentDomain = window.location.host, domain = "sogou";function setCookie(name, value, expires, path, domain, secure) {var today = new Date();today.setTime( today.getTime() );var expires_date = new Date( today.getTime() + expires*24*60*60*1000 );//从现在开始往后expires天document.cookie= name + "=" + (value) +((expires) ? "; expires=" + expires_date.toGMTString() : "") +((path) ? "; path=" + path : "") +((domain) ? "; domain=" + domain : "") +((secure) ? "; secure" : "");}/*function isChineseQuery(str){ var reg=/^[\u4E00-\u9FA5]+$/; if(!reg.test(str)){ return false; } return true; }*///hint翻译不标红function hintNoEm(str){var returnstr = "";for (var i = 0; i < str.length; ++i) {if (("00" + str.charCodeAt(i).toString(16)).slice(-4) === "e40a") {returnstr += "";}else if (("00" + str.charCodeAt(i).toString(16)).slice(-4) === "e40b") {returnstr += "";} else {// returnstr += str[i]returnstr += str.charAt(i);}}return returnstr;}function isIE(ver){var b = document.createElement('b')b.innerHTML = ''return b.getElementsByTagName('i').length === 1}//html标签转义function htmlEncode(str){var s = "";if (str.length == 0) return "";s = str.replace(/&/g, "&");s = s.replace(//g, ">");s = s.replace(/ /g, "");s = s.replace(/\'/g, "'");s = s.replace(/\"/g, """);s = s.replace(/\n/g, "");return s;}//标红字段替换为标红标签function tranferHighlight(str){var returnstr = "";for (var i = 0; i < str.length; ++i) {if (("00" + str.charCodeAt(i).toString(16)).slice(-4) === "e40a") {returnstr += "";}else if (("00" + str.charCodeAt(i).toString(16)).slice(-4) === "e40b") {returnstr += "";} else {// returnstr += str[i];//对于ie6,7,8,9不适用returnstr += str.charAt(i);}}// alert(returnstr);return returnstr;}//判断是不是ie6或者7function IE7(){var isIE7 = false;if(navigator.userAgent.indexOf("MSIE")>0){if(navigator.userAgent.indexOf("MSIE 6.0")>0){isIE7 = true;}if(navigator.userAgent.indexOf("MSIE 7.0")>0){isIE7 = true;}}return isIE7}//图文结构化的处理function getRatio(width, height) {if (height == 0) {return 0;}var ratio = width / height;return ratio;}function isRatioDouble(width, height) {var ratio = getRatio(width, height);if (ratio >= 5 || ratio <= 1/5) {return true;} else {return false;}}function filterImage(imgObject) {var width=$(imgObject).width();var height=$(imgObject).height();var golden = 0.618;if (isRatioDouble(width, height)) {$(imgObject).parent().parent().css({display:"none"});} else if (width > 120) {width = width - 120;var postion = width * (1 - golden);$(imgObject).css({left: "-" + postion + "px"});} else if (height > 80) {height = height - 80;var postion = height * (1 - golden);$(imgObject).css({top:"-" + postion + "px"});}}function showTuWenTag(img){// imgtxtArray[imgtxtIndex++]=$(img.parentNode.parentNode.parentNode.parentNode.parentNode).children(1).attr("id");imgtxtArray[imgtxtIndex++]=$(img.parentNode.parentNode.parentNode.parentNode.parentNode).find("div[id*=30000909]").attr("id");img.parentNode.parentNode.style.display='block';filterImage(img);}function showTuWenTagError(imgObject){$(imgObject).parent().parent().parent().find(".str_info").find("span").css({display:""});}function paintImg(){//因为在翻译tab下会隐藏原文,对于图文结构化,隐藏原文会加载js使图片display:none,因此点击原文要使加载成功的图片重现显示出来for (var i=0; i < imgtxtArray.length; i++){$("#"+imgtxtArray[i]).find(".str_div").attr("style","display: block");$("#"+imgtxtArray[i]).find(".blue-color").attr("style","display: none");}imgtxtArray=[];};window.transTuwen = showTuWenTag;window.transTuwenError = showTuWenTagError;function ajaxForData(send,url, data, succCallBack, failCallBack, dataType){if(url == "/testzhige"){url = "/etcbj"}if(url == "/etcbj" && typeof hintBlackSwitch != "undefined" && hintBlackSwitch==true){url = "/reventondc/etcbj.jws";data = {"jsonData":data};}if($ && $.ajax){data["t"] = new Date().getTime();$.ajax({type : send,url : url,data : data,dataType : dataType || "json",timeout: 10000,success: succCallBack,error: failCallBack});}};function ajaxErrorCallback(xhr, textStatus, errorThrown){noresultflag = 1;disposeTransNoResult(false);$("span[id^=eng_trans_hiddden]").hide();if(typeof window.console != 'undefined'){window.console.log("请求数据错误");}};function checkXueshuReady(obj){for( var i = 0; i < obj.length; i++){var tLink = obj[i].find("h3").find("a").attr("href");if(typeof tLink == "undefined"){return false;}var tAbstract = obj[i].find(".bing-txt").text();//data miningif(tAbstract == ""){tAbstract = obj[i].find(".tw-info").children("p").eq(1).text();//andy liu}if(tAbstract == ""){tAbstract = obj[i].find(".bing-txt").text();//PLECONF 2013}if(tAbstract == ""){tAbstract = obj[i].find(".bing-xg").eq(0).text();//Journal of Arthroplasty}if(tAbstract == ""){tAbstract = obj[i].find(".xueshu-txt").children(".p2").text();if(tAbstract != ""){tAbstract = tAbstract.replace("详细","").replace(">>","");}}tAbstract = tAbstract.replace("展开","");tAbstract = tAbstract.replace("详细","").replace(">>","");if(tAbstract == ""){return false;}}return true;}function hideXueshuInFanyi(obj){//在翻译tab下隐藏学术vr的本来的样子for(var i = 0; i < obj.length;i++){obj[i].attr("style","display: none;");obj[i].siblings(".js-fanyi-loading").attr("style","display:block;");}}function hideErrorXueshu(obj){//学术vr请求失败的是否隐藏最外层的div,在任何tab下都不出for(var i = 0; i < obj.length;i++){obj[i].parent().attr("style","display: none;");//隐藏 js-fanyi-result fanyi-resultobj[i].attr("style","display: none;");obj[i].siblings(".js-fanyi-loading").attr("style","display:block;");}}function getSendJsonXueshu(obj){var tTitle = "",//需判断取出之后是否变成nulltAbstract = "",tImgSrc = "",tShowUrl = "",tLink = "",tId = "",j=0;var engResultArray = [];for(var i = 0; i < obj.length;i++){//拼装请求tId = obj[i].attr("id");if(tId != null){if(tId.indexOf("11009201") != -1){//andy liutTitle = obj[i].find("h3").find("a").text();tLink = obj[i].find("h3").find("a").attr("href");if(typeof tLink == "undefined"){tLink="";}tAbstract = obj[i].find(".bing-txt").text();//data miningif(tAbstract == ""){tAbstract = obj[i].find(".tw-info").children("p").eq(1).text();//andy liu}if(tAbstract == ""){tAbstract = obj[i].find(".bing-txt").text();//PLECONF 2013}if(tAbstract == ""){tAbstract = obj[i].find(".bing-xg").eq(0).text();//Journal of Arthroplasty}tAbstract = tAbstract.replace("展开","");tAbstract = tAbstract.replace("详细","").replace(">>","");tImgSrc = "";if(obj[i].find(".fb").find("cite").length > 0){tShowUrl = obj[i].find(".fb").find("cite").html();}}else if(tId.indexOf("11009601") != -1 ){//tsinghua universitytTitle = obj[i].find("h3").find("a").text();if(tTitle == ""){tTitle = "Sogou Academic";}tLink = obj[i].find("h3").find("a").attr("href");if(typeof tLink == "undefined"){tLink="";}tAbstract = obj[i].find(".vr-pcpoly-detail").text();if(tAbstract == ""){tAbstract = obj[i].find(".xueshu-txt").children(".p2").text();if(tAbstract != ""){tAbstract = tAbstract.replace("详细","").replace(">>","");}}tAbstract = tAbstract.replace("展开","");tAbstract = tAbstract.replace("详细","").replace(">>","");tImgSrc = "";if(obj[i].find(".fb").find("cite").length > 0){tShowUrl = obj[i].find(".fb").find("cite").html();}}}if(tAbstract == null){tAbstract = "";}if(tTitle == null){tAbstract = "";}if(tImgSrc == null){tImgSrc = "";}if(tShowUrl == null){tShowUrl = "";}if(tTitle != "" || tAbstract != ""){var tempObject = new Object();tempObject.title = tTitle.replace(/\n/g,"").replace(/\r/g,"");tempObject.abstract = tAbstract.replace(/\n/g,"").replace(/\r/g,"");tempObject.link = tLink;tempObject.id = tId;tempObject.showurl = tShowUrl;tempObject.imgsrc = tImgSrc;engResultArray[j++] = tempObject;tTitle = "";tAbstract = "";tImgSrc = "";tShowUrl = "";tLink = "";tId = "";}}return engResultArray;}//拼装请求,对各种vr和结构化结果做处理function getSendJson(obj){var tTitle = "",//需判断取出之后是否变成nulltAbstract = "",tImgSrc = "",tShowUrl = "",tLink = "",tDocStyle = "",tId = "",fanyiLink = "",j=0;var engResultArray = [];for(var i = 0; i < obj.length;i++){//拼装请求tId = obj.eq(i).attr("id");if($("#"+tId).siblings(".rg-trans").length > 0 ){continue;}fanyiLink = '';if(tId != null){if(tId.indexOf("30000909") != -1){//图文结构化 trumptTitle = obj.eq(i).find("h3").find("a").text();tLink = obj.eq(i).find("h3").find("a").attr("href");if(obj.eq(i).find(".str_div").attr("style") == "display: none;"){tImgSrc = "";tAbstract = obj.eq(i).find(".str_info").text().replace("[IMG]","");}else{tImgSrc = obj.eq(i).find(".str_img").children("img").attr("src");tAbstract = obj.eq(i).find(".str_info").text().replace("[IMG]","");}if(obj.eq(i).find(".fb").find("cite[id^=cacheresult_info_]").length > 0){tShowUrl = obj.eq(i).find(".fb").find("cite[id^=cacheresult_info_]").text().replace("翻译此页","").replace("快速访问","").replace("?-?","");}}else if(tId.indexOf("30010114") != -1){//维基百科结构化 trumptTitle = obj.eq(i).find("h3").find("a").text();tLink = obj.eq(i).find("h3").find("a").attr("href");tAbstract = obj.eq(i).find(".en-txt").find(".abstract").text();tImgSrc = obj.eq(i).find(".en-img").find("img").attr("src");if(obj.eq(i).find(".fb").find("cite").length > 0){tShowUrl = obj.eq(i).find(".fb").find("cite").html();}}else if(tId.indexOf("30010099") != -1){//新闻结构化 hillary clintontTitle = obj.eq(i).find(".vrTitle").eq(0).text();tLink = obj.eq(i).find("a[id^=firstNews]").attr("href");tAbstract = obj.eq(i).find("a[id^=firstNews]").text();tImgSrc = obj.eq(i).find(".img-box").find("img").attr("src");//tShowUrl = obj.eq(i).find(".jh-box-list").children("li").first().children("a").children("p").last().text();}else if(tId.indexOf("70096901") != -1 || tId.indexOf("70096902") != -1){//右侧kindle结构化 amazontTitle = obj.eq(i).find(".rvr-model").find("h3").find("a").text();tLink = obj.eq(i).find(".rvr-model").find("h3").find("a").attr("href");tAbstract = obj.eq(i).find(".rvr-model").find(".kin-txt").children("p").last().text();tImgSrc = obj.eq(i).find(".rvr-model").find(".kin-img").find("img").attr("src");//tImgSrc ="";if(obj.eq(i).find(".citeurl").length > 0){tShowUrl = obj.eq(i).find(".citeurl").text();}}else if(tId.indexOf("30000701") != -1){//伪图文结构化 english newstTitle = obj.eq(i).find("h3").find("a").text();tLink = obj.eq(i).find("h3").find("a").attr("href");if(obj.eq(i).find(".str_div").attr("style") == "display: none;"){tImgSrc = "";tAbstract = obj.eq(i).find(".str_info").text().replace("[IMG]","");}else{tImgSrc = obj.eq(i).find(".str_img").children("img").attr("src");tAbstract = obj.eq(i).find(".str_info").text().replace("[IMG]","");}if(obj.eq(i).find(".fb").find("cite[id^=cacheresult_info_]").length > 0){tShowUrl = obj.eq(i).find(".fb").find("cite[id^=cacheresult_info_]").html();}}else if(tId.indexOf("11009301") != -1){//多图 hillarytTitle = obj.eq(i).find("h3").find("a").text();tLink = obj.eq(i).find("h3").find("a").attr("href");tImgSrc = "";tAbstract = obj.eq(i).find(".js2221-English").find("a").text();tShowUrl = obj.eq(i).find(".js2221-English").find("a").text();}else if(tId.indexOf("30010087") != -1){//学术vr(aggr-box) data miningtTitle = obj.eq(i).find(".bing-texing").find(".vr-title").find("a").text();tLink = obj.eq(i).find(".bing-texing").find(".vr-title").find("a").attr("href");tAbstract = obj.eq(i).find(".ft").text();tImgSrc = "";if(obj.eq(i).find(".citeurl").length > 0){tShowUrl = obj.eq(i).find(".hidden-info").text();}}else if(tId.indexOf("30010086") != -1){//risk of preterm birthtTitle = obj.eq(i).find("h3").find("a").text();if(tTitle == ""){tTitle = "Sogou Academic";}tLink = obj.eq(i).find("h3").find("a").attr("href");if(typeof tLink == "undefined"){tLink="";}tAbstract = obj.eq(i).find(".strBox").children("p").eq(1).text();if(tAbstract == ""){tAbstract = obj.eq(i).find("ul").children("li").eq(0).text();}tAbstract = tAbstract.replace("展开","");tAbstract = tAbstract.replace("详细","").replace(">>","");tImgSrc = "";if(obj.eq(i).find(".fb").find("cite").length > 0){tShowUrl = obj.eq(i).find(".fb").find("cite").html();}}else if(tId.indexOf("30010085") != -1){//111wasedstTitle = obj.eq(i).find("h3").find("a").text();if(tTitle == ""){tTitle = "Sogou Academic";}tLink = obj.eq(i).find("h3").find("a").attr("href");if(typeof tLink == "undefined"){tLink="";}tAbstract = obj.eq(i).find(".strBox").children("p").eq(1).text();if(tAbstract == ""){tAbstract = obj.eq(i).find(".strBox").children("p").eq(0).text();}tAbstract = tAbstract.replace("展开","");tAbstract = tAbstract.replace("详细","").replace(">>","");tImgSrc = "";if(obj.eq(i).find(".fb").find("cite").length > 0){tShowUrl = obj.eq(i).find(".fb").find("cite").html();}}else if(tId.indexOf("11009601") != -1 ){//学术vr tsinghua universitytTitle = obj.eq(i).find("h3").find("a").text();if(tTitle == ""){tTitle = "Sogou Academic";}tLink = obj.eq(i).find("h3").find("a").attr("href");if(typeof tLink == "undefined"){tLink="";}tAbstract = obj.eq(i).find(".vr-pcpoly-detail").text();if(tAbstract == ""){tAbstract = obj.eq(i).find(".xueshu-txt").children(".p2").text();if(tAbstract != ""){tAbstract = tAbstract.replace("详细","").replace(">>","");}}tAbstract = tAbstract.replace("详细","").replace(">","");tAbstract = tAbstract.replace("展开","");tImgSrc = "";if(obj.eq(i).find(".fb").find("cite").length > 0){tShowUrl = obj.eq(i).find(".fb").find("cite").html();}}else if(tId.indexOf("11009201") != -1){//学术vr data mining, andy liu, PLECONF 2013, Journal of ArthroplastytTitle = obj.eq(i).find("h3").find("a").text();tLink = obj.eq(i).find("h3").find("a").attr("href");if(typeof tLink == "undefined"){tLink="";}tAbstract = obj.eq(i).find(".bing-txt").text();//data miningif(tAbstract == ""){tAbstract = obj.eq(i).find(".tw-info").children("p").eq(1).text();//andy liu}if(tAbstract == ""){tAbstract = obj.eq(i).find(".bing-txt").text();//PLECONF 2013}if(tAbstract == ""){tAbstract = obj.eq(i).find(".bing-xg").eq(0).text();//Journal of Arthroplasty}tAbstract = tAbstract.replace("展开","");tAbstract = tAbstract.replace("详细","").replace(">>","");tImgSrc = "";if(obj.eq(i).find(".fb").find("cite").length > 0){tShowUrl = obj.eq(i).find(".fb").find("cite").html();}}else if(tId.indexOf("rb") != -1){//自然结果tTitle = obj.eq(i).find("h3").find("a").text();tLink = obj.eq(i).find("h3").find("a").attr("href");if(obj.eq(i).find("a.fy").length > 0){fanyiLink = obj.eq(i).find("a.fy").attr("href");}tDocStyle = obj.eq(i).find("h3").find("a").attr("style");tAbstract = obj.eq(i).find(".ft").text();tImgSrc = "";if(obj.eq(i).find(".fb").find("cite[id^=cacheresult_info_]").length > 0){tShowUrl = obj.eq(i).find(".fb").find("cite[id^=cacheresult_info_]").text();if(tShowUrl.indexOf("翻译此页") > -1){tShowUrl = tShowUrl.substring(0, tShowUrl.lastIndexOf("翻译此页"));}else{tShowUrl = tShowUrl.replace("翻译此页","").replace("快速访问","").replace("-","");}}}else if(tId.indexOf("sogou_99999") != -1){//相关搜索hintboxtTitle = obj.eq(i).find("a").text();tLink = obj.eq(i).find("a").attr("href");tAbstract = obj.eq(i).find("a").text();tImgSrc = "";tShowUrl = "";}}if(tAbstract == null){tAbstract = "";}if(tTitle == null){tAbstract = "";}if(tImgSrc == null){tImgSrc = "";}if(tShowUrl == null){tShowUrl = "";}if(tLink != null){if(tDocStyle == null){tDocStyle="";}if(tDocStyle.indexOf("images/office") == -1 &&tId.indexOf("70096901") == -1 &&tId.indexOf("70096902") == -1 &&tId.indexOf("11009301") == -1 &&tId.indexOf("sogou_99999") == -1 &&tLink.indexOf("scholar.sogou.com") == -1 &&!isIE(6) && !isIE(7) && !isIE(8)){if(tLink.indexOf("https") == 0){tLink = "https://"+translateDomain+"/pcvtsnapshot?url="+encodeURIComponent(tLink)+"&from=en&to=zh-CHS&tfr=englishpc&domainType="+domain;;}else{tLink = "http://"+translateDomain+"/pcvtsnapshot?url="+encodeURIComponent(tLink)+"&from=en&to=zh-CHS&tfr=englishpc&domainType="+domain;;}}}if(fanyiLink!=""){tLink = fanyiLink;}if(tTitle != "" || tAbstract != ""){var tempObject = new Object();tempObject.title = tTitle.replace(/\n/g,"").replace(/\r/g,"");tempObject.abstract = tAbstract.replace(/\n/g,"").replace(/\r/g,"");tempObject.link = tLink;tempObject.id = tId;tempObject.showurl = tShowUrl;tempObject.imgsrc = tImgSrc;engResultArray[j++] = tempObject;tTitle = "";tAbstract = "";tImgSrc = "";tShowUrl = "";tLink = "";tDocStyle="";tId = "";}}// alert("第一条请求title:"+engResultArray[0].title);return engResultArray;}//获得中文查询词/*function getChineseQuery(json){ if(json){ if(typeof json.youdao_translate != "undefined"){ chineseQuery = json.youdao_translate.dst[0]; }else if(typeof json.bd_translate != "undefined"){ chineseQuery = json.bd_translate.dst[0]; }else{ chineseQuery = oldQuery; } } }*///翻译按钮点击(因为有两个tab, 此处用模糊匹配)$("a[id^=chn_only_wxc]").click(function(){$(".tab-box a").removeClass("cur");$("a[id^=chn_only_wxc]").addClass("cur");$("#tabMode").attr("value","2");$("#foot_tabMode").attr("value","2");setCookie("tabMode","2",1/144,"",".sogou.com");//有效时间为十分钟chnClickEvent();});//双语按钮点击$("a[id^=engchn_only_wxc]").click(function(){$(".tab-box a").removeClass("cur");$("a[id^=engchn_only_wxc]").addClass("cur");$("#tabMode").attr("value","3");$("#foot_tabMode").attr("value","3");setCookie("tabMode","3",1/144,"",".sogou.com");engchnClickEvent();});//原文按钮点击$("a[id^=english_only_wxc]").click(function(){$(".tab-box a").removeClass("cur");$("a[id^=english_only_wxc]").addClass("cur");$("#tabMode").attr("value","1");clickChannel = "eng";if($("#ajax_next_page_chn").attr("style") != "display: none;" || $("#ajax_next_page_engchn").attr("style") != "display: none;") {$("#ajax_next_page_chn").hide();$("#ajax_next_page_engchn").hide();$("#ajax_next_page").show();}$(".js-fanyi-result").removeClass("fanyi-result");$(".rg-trans").hide();$(".js-eng-result").children(".js-fanyi-result").children(".result[id],.strResult[id],.vrResult[id]").find(".citeurl").show();$(".js-eng-result").children(".js-fanyi-result").children(".result[id],.strResult[id],.vrResult[id]").show();setCookie("tabMode","1",1/144,"",".sogou.com");$(".js-eng-result").children(".js-fanyi-result").children(".rb[id],.vrwrap[id],div[id*=11009201],div[id*=11009601]").find(".fb").show();//显示翻译前的showurl$(".js-eng-result,.right").children(".js-fanyi-result").children(".rvr-model,.rb,.strResult,.vrwrap,.jh-box,.aggr-box").show();//显示翻译前$("p[id^=sogou_99999_]").attr("style","display: block;");//显示翻以前的hintboxif(IE7()){$(".js-eng-result").children(".js-fanyi-result").children("div[id*=11009201],div[id*=11009601],div[id*=30010087],div[id*=30010086],div[id*=30010085]").hide();}paintImg();//图文结构化,显示图片$(".rg-trans").hide();//隐藏翻译后(包括左侧和右侧)$("#right").find(".kindle").eq(0).parent().attr("style","display: block;");//显示翻译前右侧kindle结构化$(".notrans").hide();//无翻译结果时,点击原文,隐藏无结果文案if($(".chn-bing-no-rb").css("display")!='none'){$(".chn-bing-no-rb").hide();//双语下无结果图片一定不显示}$(".js-fanyi-result").each(function(){if($(this).css("display")=='none' && $(this).attr("ishintblack")!='yes' && $(this).attr("load")!='failed'){$(this).show();}});//判断命中黑名单是否大于3条,如果大于三条就刷新当前页面if($(".js-fanyi-result[ishintblack]").length > 2){location.reload();}});function chnClickEvent(){clickChannel = "chn";if($("#ajax_next_page").attr("style") != "display: none;" || $("#ajax_next_page_engchn").attr("style") != "display: none;") {$("#ajax_next_page_engchn").hide();$("#ajax_next_page").hide();$("#ajax_next_page_chn").show();}var obj = $(".js-eng-result").children(".js-fanyi-result").children(".rb[id],.strResult[id],.vrwrap[id],.jh-box[id]");var aggrbox = $(".js-eng-result").children(".js-fanyi-result").children(".aggr-box").children("div").get(0);//aggrBox学术vr单独处理// var kin=$(".js-fanyi-result-kindle").children("div[id^=sogou_vr_]").get(0);//追加右侧kindle结构化 get(0)转为dom对象var kin=$(".eng_wrapper #right").children("div[id^=sogou_vr_]").get(0);//追加右侧kindle结构化 get(0)转为dom对象var hintBox=$("p[id^=sogou_99999_]");//追加hint数据if(typeof aggrbox != "undefined"){obj.push(aggrbox);}if(typeof kin != "undefined"){obj.push(kin);}if(typeof hintBox != "undefined"){for (var i = 0; i < hintBox.length;i++){obj.push(hintBox[i]);}}if(hasNewContentToTrans(obj)){$("span[id^=eng_trans_hiddden]").show();loadingShow($(".js-fanyi-result"));var sendData = {"translate_struct": {"chinese_query": innerchineseQuery.toString(),"english_query":englishQuery.key.toString(), "docs":getSendJson(obj)}, "appid":"englishsearch_translate"};ajaxForData("POST","/testzhige",JSON.stringify(sendData),getEngChnResult,ajaxErrorCallback);}//$(".js-fanyi-result").removeClass("fanyi-result").addClass("fanyi-result");$(".rg-trans").addClass("rg-nobg").show();//提前翻译出来的vr,如果命中黑名单,点翻译按钮要整体隐藏$(".js-fanyi-result[ishintblack]").css("display","none");if(noresultflag !=1){$(".rg-trans").attr("style","display: block;");//显示翻译后$(".notrans").show();//无翻译结果时,点击翻译,显示无结果文案}else{$(".rg-trans").attr("style","display: none;");//隐藏翻译无结果$(".chn-bing-no-rb").show();//显示无结果图片}if(IE7()){//ie6和7隐藏学术vr的翻译结果$(".js-eng-result").children(".js-fanyi-result").children("div[id*=11009201],div[id*=11009601],div[id*=30010087],div[id*=30010086],div[id*=30010085]").siblings(".rg-trans").hide();}$("#right").find(".kindle").eq(0).parent().attr("style","display: none;");//隐藏翻译前右侧kindle结构化$("#right").find("div[class=rg-trans]").attr("style","display: block;");//显示翻译后的右侧kindle结构化// 画结果的函数执行完后,会去隐藏原文。下面是为了第二次点击翻译按钮,去隐藏原文// 点击翻译按钮,只有判断已经请求回翻译结果,再隐藏原文。注:ajax是异步的,因此先执行这段代码,再去执行getEngChnResult画出rg-trans,不加判断点击翻译按钮可能会暂时出现空白if($(".rg-trans").length > 0){$(".js-eng-result,.right").children(".js-fanyi-result").children(".rvr-model[id],.rb[id],.strResult[id],.vrwrap[id],.jh-box[id],.aggr-box").attr("style","display: none;");//隐藏原文$("p[id^=sogou_99999_]").attr("style","display: none;");//隐藏翻译前的hintbox}//翻译tab下,多图结构化,显示翻译结果的图片if($("div[id^=vrPicBox]") && clickChannel == "chn"){$("div[id^=vrPicBox]").show();}// 搜全球标签$(".rg-trans").find(".vr-result-tag").show();}function engchnClickEvent(){clickChannel = "engchn";if($("#ajax_next_page").attr("style") != "display: none;" || $("#ajax_next_page_chn").attr("style") != "display: none;"){$("#ajax_next_page").hide();$("#ajax_next_page_chn").hide();$("#ajax_next_page_engchn").show();}var obj = $(".js-eng-result").children(".js-fanyi-result").children(".rb[id],.strResult[id],.vrwrap[id],.jh-box[id]");var aggrbox = $(".js-eng-result").children(".js-fanyi-result").children(".aggr-box").children("div").get(0);//aggrBox学术vr单独处理var kin=$(".eng_wrapper #right").children("div[id^=sogou_vr_]").get(0);//追加右侧kindle结构化 get(0)转为dom对象var hintBox=$("p[id^=sogou_99999_]");//追加hint数据if(typeof aggrbox != "undefined"){obj.push(aggrbox);}if(typeof kin != "undefined"){obj.push(kin);}if(typeof hintBox != "undefined"){for (var i = 0; i < hintBox.length;i++){obj.push(hintBox[i]);}}if(hasNewContentToTrans(obj)){$("span[id^=eng_trans_hiddden]").show();loadingShow($(".js-fanyi-result"));var sendData = {"translate_struct": {"chinese_query": innerchineseQuery.toString(),"english_query":englishQuery.key.toString(), "docs":getSendJson(obj)}, "appid":"englishsearch_translate"};ajaxForData("POST","/testzhige",JSON.stringify(sendData),getEngChnResult,ajaxErrorCallback);}$(".rg-trans").removeClass("rg-nobg").show();//提前翻译出来的vr,如果命中黑名单,点翻译要整体隐藏$(".js-fanyi-result[ishintblack]").css("display","none");// replaceHintLink();if(noresultflag == 0){//有翻译结果,双语下才隐藏showurl$(".js-eng-result").children(".js-fanyi-result").children(".rb[id],.vrwrap[id], div[id*=11009201],div[id*=11009601]").find(".fb").hide();//隐藏翻译前的普通结果和学术vr的showurl}$(".js-eng-result,.right").children(".js-fanyi-result").children(".rvr-model,.rb,.strResult,.vrwrap,.jh-box,.aggr-box").show();//显示原文$("p[id^=sogou_99999_]").attr("style","display: block;");//显示hintbox原文$(".rg-trans").show();//显示翻译结果if(IE7()){//ie6和7隐藏学术vr的原文和翻译结果// alert("是ie7,隐藏");$(".js-eng-result").children(".js-fanyi-result").children("div[id*=11009201],div[id*=11009601],div[id*=30010087],div[id*=30010086],div[id*=30010085]").siblings(".rg-trans").hide();$(".js-eng-result").children(".js-fanyi-result").children("div[id*=11009201],div[id*=11009601],div[id*=30010087],div[id*=30010086],div[id*=30010085]").hide();}paintImg();//图文结构化,显示图片$("#right").find(".kindle").eq(0).parent().attr("style","display: block;");//显示翻译前右侧kindle结构化$("#right").find("div[class=rg-trans]").attr("style","display: block;");//显示翻译后的右侧kindle结构化//双语tab下,多图结构化,隐藏翻译结果的图片if($("div[id^=vrPicBox]") && clickChannel == "engchn"){$("div[id^=vrPicBox]").hide();}$(".notrans").show();//无翻译结果时,显示无结果文案//整体无翻译结果的处理,没有命中黑名单才显示。因为无结果时,点击翻译会把所有js-fanyi-result隐藏,但点双语需要展示原文$(".js-fanyi-result").each(function(){if($(this).css("display")=='none' && $(this).attr("ishintblack")!='yes' && $(this).attr("load")!='failed'){$(this).show();}});if($(".chn-bing-no-rb").css("display")!='none'){$(".chn-bing-no-rb").hide();//双语下无结果图片一定不显示}// 搜全球结果封装$(".rg-trans").find(".vr-result-tag").hide();}//是否需要重新请求翻译新内容function hasNewContentToTrans(obj){for(var i = 0; i < obj.length;i++){if(compareTransAloneVrid(obj.eq(i).attr("id"))){continue;}if(obj.eq(i).attr("id").indexOf("30010087") != -1){//学术vr aggrBox// if(obj.eq(i).parent().siblings(".rg-trans").length == 0 && obj.eq(i).attr("id").indexOf("sogou_vr_11009301") == -1){//第二个条件为不翻译多图if(obj.eq(i).parent().siblings(".rg-trans").length == 0){//第二个条件为不翻译多图return true;}}else{if(obj.eq(i).siblings(".rg-trans").length == 0){//第二个条件为不翻译多图return true;}}}return false;}//控制未翻译的部分展示loading图标function loadingShow(obj){for(var i=0;i< obj.length;i++){if(obj.eq(i).find(".rg-trans").length == 0){obj.eq(i).find(".js-fanyi-loading").attr("style","display:block;");}}}function compareTransAloneVrid(result){var splitVrid = transAloneVrid.split("|");for(var j = 0;j < splitVrid.length;j++){if(result.indexOf(splitVrid[j]) != -1){return true;}}return false;}//统一处理无结果请求function disposeTransNoResult(hasTransdata){xueshuReqCount = 0;var obj = $(".js-fanyi-loading");for(var i = 0;i < obj.length; i++){if(obj.eq(i).css("display") == "none"){//如果loading隐藏,则该结果已经获得翻译结果continue;}else{var result = obj.eq(i).siblings(".rb[id],.strResult[id],.vrwrap[id],.jh-box[id]").attr("id");if(typeof result != "undefined" && compareTransAloneVrid(result)){continue;}if($("#"+result).css("display") == "none"){$("#"+result).show();}if(hasTransdata){//无学术或者学术一定记载成功了。请求到了翻译数据之后,才不展现这个学术vr的 不可翻译样式。if(typeof result != "undefined" && result.indexOf("11009201") == -1 && result.indexOf("11009601") == -1){if(clickChannel == "engchn") {obj.eq(i).after('暂时无法获取翻译结果');obj.eq(i).hide();}else if(clickChannel == "chn"){obj.eq(i).after('暂时无法获取翻译结果');obj.eq(i).hide();}}}else{//没请求成功时所有的展现不支持翻译文案。比如执行了errorif(typeof result != "undefined"){obj.eq(i).after('暂时无法获取翻译结果');obj.eq(i).hide();}else{obj.eq(i).after('暂时无法获取翻译结果');obj.eq(i).hide();}if( clickChannel == "chn"){$(".js-eng-result").children(".js-fanyi-result").children(".rb[id],.strResult[id],.vrwrap[id],.jh-box[id],.aggr-box").attr("style","display: none;");//隐藏翻译前}}}}if(!hasTransdata){//翻译失败才执行var noresult='';noresu
  • Our Company

    +00852 - 39690851

    E-mail: Email us
    ROOM 26/F AiLeiw 352 Basheki.sepwer.Hong Kong

    Copyright © 2015-2019.DPC Bearing Co.Ltd All rights reserved. sitemap | Bearing Links