${tmpPart.name}${tmpPart.libTypeName?('( '+tmpPart.libTypeName+' )'):''}
${tmpPart.retrievalName?('• '+tmpPart.retrievalName+''):''} ` lisStr += tmpLi } $(".searchKnowledge .staticSearchB .empty").css({display:'none'}) $(".searchKnowledge .staticSearchB .tip").css({display:'block'}) $(".searchKnowledge .staticSearchB ul").html(lisStr) }else{ $(".searchKnowledge .staticSearchB .empty").css({display:'block'}) $(".searchKnowledge .staticSearchB .tip").css({display:'none'}) $(".searchKnowledge .staticSearchB ul").html('') } }else{ console.log(res) } }) } function adjustHeight() { var ht = window.innerHeight; var ht2 = $(".searchTypeBox").outerHeight(true) $(".staticSearchB ul").height(ht - 120 - ht2 + "px"); } $(window).on('resize', function(){ adjustHeight() }) $(".staticSearchB ul").on("click","li",function(){ const infoMsgName = $(this).attr('data-name') const infoMsgUName = $(this).attr('data-uname') const type = $(this).attr('data-type') const sign = $(this).attr('data-sign') if(type != 48){ openNewWin(`information.html?type=${encodeURIComponent(sign)}&position=0&name=${encodeURIComponent(infoMsgName)}&uname=${encodeURIComponent(infoMsgUName)}`) }else{ let msg = JSON.parse(getUrlArgObject("msg")); const msg1 = JSON.parse(JSON.stringify(msg)) console.log('scaleName', msg,infoMsgName) msg1.scaleName = infoMsgName msg1.featureType = 21 openNewWin(`scale.html?msg=${encodeURIComponent(JSON.stringify(msg1))}`) } }) $(".staticSearchT").on('click','#clearKnowledge',function() { $(".staticSearchT input").val("") $(".searchKnowledge .staticSearchB ul").html('') $(".searchKnowledge .staticSearchB .tip").css({display:'none'}) $(".searchKnowledge .staticSearchB .empty").css({display:'none'}) $(this).prev('.ipt').find('input').focus() $(this).css({display:"none"}) })