PageSourceSearch

https://www.adspower.com/dist/P7KScnQ2.js

js adspower.com collected 2026-09-24 11:18:35 UTC 5,228 bytes, 1 lines download raw bytes

1var C=(D,a,l)=>new Promise((k,x)=>{var m=n=>{try{p(l.next(n))}catch(b){x(b)}},f=n=>{try{p(l.throw(n))}catch(b){x(b)}},p=n=>n.done?k(n.value):Promise.resolve(n.value).then(m,f);p((l=l.apply(D,a)).next())});import{_ as M}from"./DX7-f-5Q.js";import{k as H,e as U,d as O,f as Q,m as F,c as W,b as X,O as R,o as S}from"./CuHq-FPm.js";import{B as J,j as K,P as B,r as _,w as Y,Q as d,R as u,W as e,U as g,u as o,D as w,F as $,ag as V,X as Z,$ as tt,a7 as z,V as G,aa as N}from"./B8gcD-cR.js";import"./BDUlucpu.js";const et=e("div",{class:"absolute top-0 -z-10 h-[1200px] w-full bg-gradient-to-b from-f4f6ff to-ffffff"},null,-1),at=e("div",{class:"fixed top-0 -z-20 h-full w-full bg-white"},null,-1),st={class:"invisible absolute top-0 -z-10 text-center text-[50px] font-bold leading-[72px]"},lt={class:"m-center px-10 pb-10 pt-[84px] lg:w-[1200px] lg:px-0 mobile:px-5"},ot={class:"flex flex-wrap items-center gap-3"},nt=["onClick"],rt={class:"line-clamp-1 overflow-ellipsis break-all"},it={class:"m-center px-10 pb-[84px] lg:w-[1200px] lg:px-0 mobile:px-5"},ct={key:0,class:"grid grid-cols-auto-329px items-center gap-[30px]"},pt={class:"text-xl font-bold"},dt={class:"mt-3 flex items-center justify-between"},ut=["innerHTML"],ft={class:"max-h-[65px] w-[144px] overflow-hidden"},ht={key:1,class:"text-center"},_t={class:"m-center w-[180px]"},gt={class:"mt-3 inline-block text-base text-[#8F92A0]"},xt={class:"m-center px-10 pb-[84px] lg:w-[1200px] lg:px-0 mobile:flex-col mobile:px-5"},mt={class:"flex w-full flex-col items-center justify-center rounded-[20px] bg-gradient-to-r from-[#5639CC] to-[#1E4DFF] px-10 py-[60px]"},bt={class:"text-center text-40px font-bold text-white mobile_s:text-3xl"},It=J({__name:"[id]",setup(D){return C(this,null,function*(){var T,L;let a,l;const k=K().appContext.config.globalProperties,x=H(),m=U(),{locale:f}=O(),{data:p}=([a,l]=B(()=>F("home/category",{method:"get",query:{lang:f.value,type:"partner_plan"}}).catch(()=>({data:_({})}))),a=yield a,l(),a),n=_(((T=p.value.data)==null?void 0:T.title)||""),b=_(((L=p.value.data)==null?void 0:L.page_content)||{});Q(p.value.data);const{data:j}=([a,l]=B(()=>F("home/tags-partner-list",{method:"get",query:{type:"partner_plan",lang:f.value}})),a=yield a,l(),a),I=j.value.data,h=_([]),c=_(0);I.list&&I.list.length&&(h.value=I.list.filter(t=>t.type==="SERVICE").map(t=>({id:+t.id,title:t.title})),h.value.unshift({id:0,title:k.$t("partner.partnerAllTags")}));const E=()=>{const t=x.params.id;if(t&&h.value.length>0){const r=h.value.find(i=>i.id.toString()===t);r?c.value=r.id:c.value=0}else c.value=0};E(),Y(()=>x.params.id,()=>{E(),A()},{immediate:!1});const q=t=>C(this,null,function*(){var r;if(t===0)yield S(m("/partner"),{replace:!0});else{const i=(r=h.value.find(y=>y.id===t))==null?void 0:r.id;i&&(yield S(m(`/partner/tag/${i}`),{replace:!0}))}}),v=_([]);try{const t={type:"partner_plan",lang:f.value};c.value!==0&&(t.tag_ids=c.value);const{data:r}=([a,l]=B(()=>F("home/partner-list",{method:"get",query:t})),a=yield a,l(),a),i=r.value.data;v.value=i.list||[]}catch(t){}const A=()=>C(this,null,function*(){try{const t={type:"partner_plan",lang:f.value};c.value!==0&&(t.tag_ids=c.value);const{data:r}=yield F("home/partner-list",{method:"get",query:t}),i=r.value.data;v.value=i.list||[]}catch(t){}});return(t,r)=>{const i=M,y=W,P=X;return d(),u($,null,[et,at,e("h1",st,g(o(n)),1),e("section",lt,[w(i,{data:o(b),title:o(n)},null,8,["data","title"]),e("ul",ot,[(d(!0),u($,null,V(o(h),s=>(d(),u("li",{key:s.id,class:Z(`flex h-10 cursor-pointer flex-nowrap items-center rounded-lg px-4 text-base ${s.id===o(c)?"bg-[#2E6EFF] font-semibold text-white":"bg-[#D2DBFF80] font-normal text-[#004EFF] hover:bg-[#D2DBFF4D]"}`),onClick:tt(vt=>q(s.id),["stop"])},[e("span",rt,g(s.title),1)],10,nt))),128))])]),e("section",it,[o(v).length?(d(),u("ul",ct,[(d(!0),u($,null,V(o(v),s=>(d(),u("li",{key:s.id,class:"group relative h-[146px] cursor-pointer rounded-xl border border-[#E9E9EC] bg-white p-4 shadow-214219-36 hover:shadow-156164-36"},[w(y,{to:encodeURI(o(m)(`/partner/${s.custom_url||s.id}`)),class:"absolute left-0 top-0 z-10 block h-full w-full select-none",rel:"follow"},{default:z(()=>[N("   ")]),_:2},1032,["to"]),e("p",pt,g(s.title),1),e("div",dt,[e("p",{class:"line-clamp-3 flex-1 overflow-ellipsis text-base !text-[#666E94] underline-offset-2 group-hover:underline",innerHTML:s.sub_title},null,8,ut),e("div",ft,[w(P,{width:"144px",height:"65px",placeholder:[144,65,0,0],src:s.img_url,alt:s.title},null,8,["src","alt"])])])]))),128))])):G("",!0),o(v).length===0?(d(),u("div",ht,[e("div",_t,[w(P,{width:"180px",height:"120px",placeholder:[180,120,0,0],src:"/dist/blog/no_comment.png",alt:t.$t("blog.noSearch")},null,8,["alt"])]),e("p",gt,g(t.$t("blog.noSearch")),1)])):G("",!0)]),e("section",xt,[e("div",mt,[e("div",bt,g(t.$t("about.partnerPlan.applyDesc")),1
1),w(y,{class:"mt-5 flex h-12 cursor-pointer items-center justify-center rounded-xl bg-white px-[42px] text-base font-medium text-[#161F49]",target:"_blank",rel:"nofollow",to:("useGetBaseInfo"in t?t.useGetBaseInfo:o(R))()&&("useGetBaseInfo"in t?t.useGetBaseInfo:o(R))().channel_url},{default:z(()=>[N(g(t.$t("about.partnerPlan.applyBtn")),1)]),_:1},8,["to"])])])],64)}})}});export{It 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.