PageSourceSearch

https://jingart.com.cn/_nuxt/index.75c2be41.js

js jingart.com.cn collected 2026-10-06 18:08:39 UTC 4,441 bytes, 1 lines download raw bytes

1import{u as H}from"./useLang.d9926b77.js";import{h as K,J as M,r as a,k as S,o as j,D as m,L as P,M as R,b as v,c as b,f as t,t as l,g as o,d as c,w as g,v as U,V as F,p as W,W as Y,X as G,e as z,F as J,l as O,bd as Q,be as X,C as $,x as q}from"./entry.601d9c75.js";import{P as D}from"./plateApi.58a3cde1.js";import{_ as Z}from"./_plugin-vue_export-helper.c27b6911.js";const ee=["element-loading-spinner"],te={class:"main"},ae={class:"search justify-between items-center flex",style:{"padding-top":"180px"}},oe={class:"search_Title"},ne={class:"search search_bold justify-between items-center flex"},se={class:"search-btn"},le={class:"total"},ce={style:{color:"black"}},ie={class:"cooperation"},re=["src"],de={class:"cooperation-row-content flex flex-col justify-between"},ue={class:"title"},_e={class:"desc"},pe={__name:"index",setup(me){const{t:d}=H(),h=K();M();const C=a(!1),n=a(""),u=a(10),s=a({keyword:null,seriesId:null,year:null,current:1,size:1});S(async()=>{try{$.getTdkByName({name:"艺术合作",jumpLink:"/partners/cooperation"}).then(e=>{q({title:e.data.title?e.data.title:h.siteInfo.siteName,meta:[{name:"keywords",content:e.data.keywords?e.data.keywords:h.siteInfo.siteKeyword},{name:"description",content:e.data.description?e.data.description:h.siteInfo.siteDesc}]})})}catch{}finally{}},"$R20DpKQ8G9");const f=a([{imgTextContent:{articleTitle:"YAOY",articleImgUrl:"http://cxssboot-game.oss-cn-hangzhou.aliyuncs.com/4d01a013168f4ea9bd4d52b8282e81af.png",articleDesc:"联合国内一流艺术机构、顶尖艺术院校、知名艺术家和策展人,以及媒体传播机构共同打造的专业评选,旨在通过研究当下艺术界和青年艺术家普遍关心的议题,挖掘和扶持大中华区具有创新和实验精神的新锐青年艺术家,鼓励其在艺术道路上的探索与实践。",articleLink:"https://www.baidu.com/"}}]),I=e=>{s.value.current=e,_()},V=()=>{s.value.keyword=null,n.value="",C.value=!1,_()},L=()=>{s.value.keyword=n.value==""?null:n.value,C.value=n.value!="",_()},T=a(0),_=()=>{D.getArtsInfo(s.value).then(e=>{f.value=e.data.data,u.value=e.data.total,T.value=e.data.total,console.log(e)})},w=a({keyword:null,current:1,size:1}),y=a(!1),E=async()=>{if(T.value>=w.value.size){y.value=!0,w.value.size+=1,console.log(111);try{const e=await D.getArtsInfo(w.value);console.log(e),u.value=e.data.data.length,f.value=e.data.data}catch(e){console.error(e)}finally{y.value=!1}}};return j(async()=>{const e=()=>{const p=document.documentElement.scrollHeight,x=document.documentElement.scrollTop||document.body.scrollTop,k=document.documentElement.clientHeight;x+k>=p-274&&E()},i=()=>{window.matchMedia("(max-width: 420px)").matches?window.addEventListener("scroll",e):window.removeEventListener("scroll",e)};console.log(window.innerWidth),window.addEventListener("resize",i),i(),_()}),(e,i)=>{const p=m("el-icon"),x=m("el-button"),k=m("el-input"),A=m("el-pagination"),N=P("loading");return R((v(),b("div",{class:"cooperation","element-loading-text":"Loading...","element-loading-spinner":e.svg,"element-loading-svg-view-box":"-10, -10, 50, 50","element-loading-background":"rgba(122, 122, 122, 0.8)"},[t("div",te,[t("div",ae,[t("div",oe,l(o(d)("艺术合作")),1)]),t("div",ne,[c(k,{onKeyup:G(L,["enter","native"]),modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=r=>n.value=r),modelModifiers:{trim:!0},size:"large",placeholder:o(d)("global-search")},{suffix:g(()=>[t("div",null,[n.value!==""?(v(),U(p,{key:0,onClick:V},{default:g(()=>[c(o(F))]),_:1})):W("",!0)]),t("div",se,[c(x,{type:"primary",class:"search-btn",onClick:L},{default:g(()=>[c(p,{color:"#333"},{default:g(()=>[c(o(Y))]),_:1})]),_:1})])]),_:1},8,["onKeyup","modelValue","placeholder"]),t("div",le,[z(l(o(d)("为您找到")),1),t("span",ce,l(" "+u.value),1),z(l(o(d)("条结果")),1)])]),t("div",ie,[(v(!0),b(J,null,O(f.value,(r,B)=>(v(),b("div",{class:"cooperation-row",key:B},[t("img",{src:r.imgTextContent.articleImgUrl,alt:""},null,8,re),t("div",de,[t("div",null,[t("div",ue,l(r.imgTextContent.articleTitle),1),t("div",_e,l(r.imgTextContent.articleDesc),1)])])]))),128))]),c(A,{class:"elPage",background:"",layout:"prev, pager, next","prev-icon":o(Q),"next-icon":o(X),onCurrentChange:I,"current-page":s.value.current,"page-size":s.value.size,total:u.value},null,8,["prev-icon","next-icon","current-page","page-size","total"])])],8,ee)),[[N,y.value]])}}},we=Z(pe,[["__scopeId","data-v-51c38af3"]]);export{we 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.