PageSourceSearch

https://www.socolar.com/_nuxt/chunks/Banner.1789531128970.js

js socolar.com collected 2026-09-24 19:35:41 UTC 4,559 bytes, 1 lines download raw bytes

1var S=(u,d,r)=>new Promise((l,n)=>{var c=s=>{try{h(r.next(s))}catch(f){n(f)}},v=s=>{try{h(r.throw(s))}catch(f){n(f)}},h=s=>s.done?l(s.value):Promise.resolve(s.value).then(c,v);h((r=r.apply(u,d)).next())});import{h as q,l as F,a0 as G,p as L,G as y,ae as R,aj as $,r as A,o as p,g as V,y as o,A as _,J as m,F as x,q as w,t as k,K,z as M,u as O,aA as W,ak as J,x as P,E as Y,ah as H,aB as Q,aC as X,a8 as Z,al as ee,C as ae,D as te,_ as oe}from"../entry.1789531128970.js";import{E as se,a as le}from"./el-select.1789531128970.js";import{_ as ne}from"./index.178953112897013.js";/* empty css                               */import"./el-scrollbar.1789531128970.js";import"./el-popper.1789531128970.js";import re from"./SelectIcon.17895311289702.js";import ce from"./SearchIcon.17895311289702.js";import{W as ie}from"./WordCloud.1789531128970.js";import"./debounce.1789531128970.js";import"./validator.1789531128970.js";import"./searchHistory.1789531128970.js";import"./platform.1789531128970.js";import"./home-select-icon.1789531128970.js";import"./home-search-icon.1789531128970.js";import"./home.1789531128970.js";const ue=u=>(ae("data-v-3f724ddc"),u=u(),te(),u),de={class:"banner-content"},pe={class:"inner-box"},_e={class:"main"},me={class:"search-cloud"},ve={class:"search-box"},he=ue(()=>o("div",{class:"title"},[o("span",null," 探索无界 "),o("span",{style:{"padding-left":"20rem"}},"学术无限")],-1)),fe={class:"search-filter"},ye={class:"filter"},be={class:"search p-search-lenovo-fixed"},Ve={class:"select-box"},ke={class:"button-box"},ge={class:"cloud"},Ce=q({__name:"Banner",setup(u){F();const d=G(),r=L(),l=y(void 0),n=y("theme"),c=y([]),v=t=>{let e={};if(c.value.length&&(e.rangeTypes=c.value.join(",")),n.value&&l.value&&(e.korder=n.value,e.kw=l.value),t==="1"){if(!l.value)return Y.error("请输入搜索内容"),!1;let i={eventType:"webClick",eventName:"首页检索放大镜点击",paramName1:"分类词",paramKey1:"dictKey",paramValue1:n.value,paramName2:"输入框内容",paramKey2:"value",paramValue2:l.value,paramName3:"资源类型",paramKey3:"type",paramValue3:c.value.join(",")};d.setStatData(i),setTimeout(()=>{const b=r.resolve({path:"/keywordsSearch",query:e});window.open(b.href,"_self")},0)}if(t==="2"){const i=r.resolve({path:"/advancedSearch"});window.open(i.href)}},h=t=>{let e={eventType:"webClick",eventName:"下拉框分类词点击",paramName1:"分类词",paramKey1:"dictKey",paramValue1:t};d.setStatData(e)},s=y(!1),f=()=>{s.value=!0;let t={eventType:"webClick",eventName:"首页检索框点击"};d.setStatData(t)},E=(t,e)=>{let i={eventType:"webClick",eventName:`${e.dictValue}复选框点击`,paramName1:"选择状态",paramKey1:"dictKey",paramValue1:t?1:0};d.setStatData(i)},g=y([]),N=()=>S(this,null,function*(){const{socolar_quickly_search_configuration:t}=yield H("socolar_quickly_search_configuration");g.value=t}),B=t=>{t.keyCode===13&&v("1")};return R(()=>{N()}),$(()=>{}),(t,e)=>{const i=Q,b=X,D=se,T=le,C=Z,j=ee,I=ne,U=A("statClick");return p(),V("div",de,[o("div",pe,[o("div",_e,[o("div",me,[o("div",ve,[he,o("div",fe,[o("div",ye,[_(b,{modelValue:c.value,"onUpdate:modelValue":e[0]||(e[0]=a=>c.value=a)},{default:m(()=>[(p(!0),V(x,null,w(O(W),a=>(p(),k(i,{label:a.dictKey,onChange:z=>{E(z,a)}},{default:m(()=>[K(M(a.dictValue),1)]),_:2},1032,["label","onChange"]))),256))]),_:1},8,["modelValue"])]),o("div",be,[_(j,{modelValue:l.value,"onUpdate:modelValue":e[3]||(e[3]=a=>l.value=a),placeholder:"输入期刊名、文章名或关键词/Search publicatio…",class:"search-input",size:"large",onFocus:f,onKeydown:J(B,["enter"]),clearable:""},{prepend:m(()=>[o("div",Ve,[_(T,{modelValue:n.value,"onUpdate:modelValue":e[1]||(e[1]=a=>n.value=a),placeholder:"",style:{width:"125rem"},size:"large","suffix-icon":re,onChange:h},{default:m(()=>[(p(!0),V(x,null,w(g.value,a=>(p(),k(D,{label:a.dictValue,value:a.dictKey},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])])]),append:m(()=>[o("div",ke,[_(C,{icon:ce,size:"large",onClick:e[2]||(e[2]=a=>v("1"))})])]),_:1},8,["modelValue","onKeydown"]),_(I,{class:"search-lenovo",lenovoVisible:s.value,"onUpdate:lenovoVisible":e[4]||(e[4]=a=>s.value=a),searchValue:l.value,"onUpdate:searchValue":e[5]||(e[5]=a=>l.value=a),top:"50",left:"125"},null,8,["lenovoVisible","searchValue"]),P((p(),k(C,{class:"height-search",size:"large",onClick:e[6]||(e[6]=a=>v("2"))},{default:m(()=>[K("高级检索")]),_:1})),[[U,{eventName:"首页高级搜索点击"}]])])])]),o("div",ge,[_(ie)])])])])])}}});const Re=oe(Ce,[["__scopeId","data-v-3f724ddc"]]);export{Re as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.