PageSourceSearch

https://0085a1.com/m/js/index-BwQWr2c2.js

js 0085a1.com collected 2026-10-09 04:28:15 UTC 4,905 bytes, 1 lines download raw bytes

1import{B as a}from'./BottomLoading-CDR3rWqR.js';import{a as e}from'./index-CrWCx5FQ.js';/* empty css              */import{c as s,r as t,P as l}from'./router-G8QecHxs.js';import{b as i}from'./use-helper-0uaKdRkp.js';import{a as o,b as n}from'./use-secure-DjH-S5Zr.js';/* empty css              */import{I as r,z as c,E as u,q as d,l as m,r as v,a as p}from'./vant-D0wJLC7X.js';import{l as g,R as y,X as h,F as f,Z as j,k as _,Y as b,a1 as L,U as x,a as C,f as k,c as w,w as M,i as S,u as z,_ as B,S as T,y as P}from'./vendor-vue-PrZjxzdu.js';import'./vendor-utils-C8M3dJTb.js';import'./use-emitter-C_oNMCkI.js';import'./use-user-DNoP8E0n.js';import'./use-image-vDNpur_E.js';import'./use-version-yhz4yb9Y.js';import'./use-game-BSxu_11L.js';import'./use-language-JeHkxM7X.js';import'./use-crypto-CkizMN_8.js';const U={class:'video-grid'},V={class:'masonry'},D=['onClick'],I={class:'poster'},O={class:'tools'},q={class:'left'},A={class:'metric'},E=['src'],H={class:'metric'},Q=['src'],R=['innerHTML'],X={class:'btm'},F=e(g({__name:'VideoGrid',props:{list:{}},setup(a){const e='/m/img/play-DC_XEdaS.png',s='/m/img/common-DUQ4e0-O.png';return(a,t)=>{const l=r,i=c;return x(),y('div',U,[h('div',V,[(x(!0),y(f,null,j(a.list,(o=>(x(),y('div',{key:o.cid,class:'card',onClick:e=>a.$emit('select',o)},[h('div',I,[_(i,{src:o.contentPic[0]||'',width:'100%',fit:'cover','lazy-load':!1},{loading:b((()=>[_(l,{name:'photo-o',size:'28'})])),error:b((()=>[_(l,{name:'photo-o',size:'28'})])),_:2},1032,['src']),h('div',O,[h('div',q,[h('span',A,[h('img',{src:e,alt:''},null,8,E),h('i',null,L(o.randA),1)]),h('span',H,[h('img',{src:s,alt:''},null,8,Q),h('i',null,L(o.randB),1)])]),t[0]||(t[0]=h('div',{class:'right'},null,-1))])]),h('div',{class:'title',innerHTML:o.title},null,8,R),h('div',X,[t[1]||(t[1]=h('span',null,'\u5168\u90e8',-1)),_(l,{name:'ellipsis',class:'rotate-90',size:'14'})])],8,D)))),128))])])}}}),[['__scopeId','data-v-904f76c9']]),G={class:'video-page'},Y={class:'fixed left-0 right-0 top-0 z-10 bg-white'},Z=e(g({__name:'index',setup(e){const{loading:r,getLhcdocMainCategoryParam:c,getLhcdocMainCategory:g,getLhcdocSubCategoryParam:L,getLhcdocSubCategory:U,lhcdocMainCategoryList:V,lhcdocSubCategoryList:D,getContentListByType2Param:I,contentListByType2:O}=i(),q=C([]),A=C(1),E=C(!1),H=C(!1),Q=C('paging'),R=C(),X=C(),Z=C(''),$=k((()=>!(r.value||!H.value)&&('search'===Q.value||q.value.length>10)));w((async()=>{c.category=1,await g()})),M(R,(async a=>{a&&(Object.assign(L,{id:a}),await U())})),M(X,(async a=>{a&&(Object.assign(I,{type2:a}),await J())}));const J=async()=>{if(!r.value)try{r.value=!0;const{code:a,data:e,msg:t}=await o(n.lhcdoc.getContentListByType2,I);a===s.Success?(q.value=e.map((a=>({...a,randA:Math.floor(900*Math.random())+100,randB:Math.floor(900*Math.random())+100}))),H.value=!0,Q.value='paging',K()):t&&p(t)}catch(a){}finally{r.value=!1}},K=()=>{Q.value='paging',A.value=1,O.value=q.value.slice(0,10),E.value=!1},N=C(),W=()=>{var a;Q.value='search';const e=Z.value.trim().toLowerCase();if(!e)return p('\u641c\u7d22\u4e0d\u80fd\u4e3a\u7a7a');const s=q.value.filter((a=>{var s;return null==(s=a.title)?void 0:s.toLowerCase().includes(e)}));O.value=s,E.value=!0,null==(a=N.value)||a.scrollTo({top:0,behavior:'smooth'})},aa=a=>{a.trim()||K()},ea=()=>{'paging'!==Q.value||E.value||setTimeout((()=>{A.value++;const a=10*(A.value-1),e=10*A.value;O.value.push(...q.value.slice(a,e)),O.value.length>=q.value.length&&(E.value=!0)}),800)},sa=a=>{t.push({name:l.VideoDetails,params:{cid:a.cid,pic:a.contentPic[0],videoUrl:a.content}})};return(e,s)=>{const t=u,l=v,i=d,o=m,n=a;return x(),y('div',G,[h('div',Y,[_(t,{modelValue:z(Z),'onUpdate:modelValue':[s[0]||(s[0]=a=>S(Z)?Z.value=a:null),aa],'show-action':'',placeholder:'\u8bf7\u8f93\u5165\u641c\u7d22\u5173\u952e\u8bcd',onSearch:W},{action:b((()=>[h('div',{class:'h-[25px] bg-[#227fed] px-[10px] leading-[25px] text-white',onClick:W},' \u641c\u7d22 ')])),_:1},8,['modelValue']),_(i,{class:'van-tab1',active:z(R),'onUpdate:active':s[1]||(s[1]=a=>S(R)?R.value=a:null)},{default:b((()=>[(x(!0),y(f,null,j(z(V),(a=>(x(),B(l,{key:a.id,name:a.id,title:a.name},null,8,['name','title'])))),128))])),_:1},8,['active'])]),h('div',{class:'h-[100%] overflow-y-auto pt-[100px]',ref_key:'contentRef',ref:N},[_(i,{class:'van-tab2',active:z(X),'onUpdate:active':s[2]||(s[2]=a=>S(X)?X.value=a:null),shrink:'',background:'transparent'},{default:b((()=>[(x(!0),y(f,null,j(z(D),(a=>(x(),B(l,{key:a.id,name:a.id,title:a.name},null,8,['name','title'])))),128))])),_:1},8,['active']),z(r)?(x(),B(o,{key:0,class:'my-loading',size:'24px',type:'spinner',color:'var(--primary)'},{default:b((()=>s[3]||(s[3]=[P(' \u52a0\u8f7d\u4e2d... ',-1)]))),_:1,__:[3]})):(x(),B(F,{key:1,list:z(O),onSelect:sa},null,8,['list'])),z($)?(x(),B(n,{key:2,'no-more':z(E),onLoadMore:ea},null,8,['no-more'])):T('',!0)],512)])}}}),[['__scopeId','data-v-1425cb15']]);export{Z 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.