PageSourceSearch

https://www.mtcxx.com/build/assets/News-CWx_5GqU.js

js mtcxx.com collected 2026-10-03 00:56:56 UTC 4,288 bytes, 1 lines download raw bytes

1import{r as b,p as I,q as T,s as $,c as S,w as f,x as B,o as l,a as t,b as i,u as c,d as o,F as D,g as z,t as C,i as p,e as N,k as h,D as y,E as v}from"./app-BXvF3HYt.js";import{_ as E}from"./PCLayout-0covYxWV.js";import{_ as w,a as g}from"./TitlePC-Cn9xh5T9.js";import{_ as M}from"./NewsListPC-G5AbJcOG.js";import{_ as W}from"./RecommendListPC-B1mABi90.js";import"./MyHeadPC-B0x-Vm3s.js";import"./MeScrollPC-FqnQUnBb.js";import"./mescroll-DhZBE6H8.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./FooterPC-BVR7pXvE.js";import"./[email protected]";import"./swiper-DI3iGfOs.js";import"./navigation-DeTw_KlZ.js";import"./pagination-CPuzzYuZ.js";import"./BannerAdPC-DSQH29gP.js";const j={class:"mx-auto w-full max-w-screen-sc px-4 sl:px-0"},F={class:"w-full mt-4"},V={class:"flex flex-row justify-between items-start content-start w-full"},P={key:0,class:"w-auto mt-4 p-4 border border-gray-100"},q={class:"w-full mt-4 first:mt-0"},O={class:"h-10 leading-10 mb-1.5 text-center text-sitetext text-xl font-sans font-bold overflow-hidden"},G=["src"],H={key:2,class:"w-auto p-4 border border-gray-100 border-t-0"},J={key:3,class:"w-auto mt-4 p-4 border border-gray-100"},K={class:"w-auto mt-4 border border-gray-100 border-t-2 border-t-sitebg"},Q={class:"flex-1 ml-4 hidden xl:block"};let d=null,L=b(null);const R={data(){return{slideStyle:"",slideShow:!1,dataListStyle:"",dataListShow:!1}},beforeMount(){d=this},mounted(){let e=L.value.clientWidth,n="width: "+(e-32)+"px;";d.$data.slideStyle=n,d.$data.slideShow=!0;let u="width: "+e+"px;";d.$data.dataListStyle=u,d.$data.dataListShow=!0}},ce=Object.assign(R,{__name:"News",props:{appName:String,title:String,description:String,navUrl:String,navName:String,routeName:String,curUrl:String,adTops:Array,slideList:Array,recommendList:Array,dataList:Array,eventsList:Array,specialId:String,navActive:Number,showAd:{type:Number,default:1},enableDown:{type:Boolean,default:!0},enableUp:{type:Boolean,default:!0}},setup(e){const r=e,n=I.usePush(),u=T.usePush(),A=r.specialId>0?b(2):b(1),x=r.specialId>0?"赛事新闻":"文章详情",k=a=>{let m={},s=a.value;r.specialId>0&&(m={newsinfo:r.specialId}),B.get(route(r.routeName,m),{newsNum:s},{preserveState:!0,preserveScroll:!0,only:["dataList","recommendList"],onSuccess:U=>(n.pv(history.state.url),u.pv(history.state.url),!0),onError:U=>!1})};return $(()=>{n.pv(history.state.url),u.pv(history.state.url)}),(a,m)=>(l(),S(E,{title:e.title,description:e.description,adTops:e.adTops,dataNum:e.dataList.num,appName:e.appName,navActive:e.navActive,showAd:e.showAd,enableDown:e.enableDown,enableUp:e.enableUp,onLoadMore:k},{default:f(()=>[t("div",j,[t("div",F,[t("div",V,[t("div",{ref_key:"leftCon",ref:L,class:"flex-2"},[i(w,{title:e.navName,titleType:c(A),navUrl:e.navUrl,detailUrl:e.curUrl,detailName:c(x)},null,8,["title","titleType","navUrl","detailUrl","detailName"]),e.routeName==="events"||e.routeName==="eventsdetail"?(l(),o("div",P,[(l(!0),o(D,null,z(e.eventsList,s=>(l(),o("div",q,[i(c(p),{href:s.url,title:s.title,style:{background:"url(/document/static/title_bg.png)","background-size":"100% 100%"},class:"flex justify-center items-center content-center w-full h-14 overflow-hidden"},{default:f(()=>[t("div",O,C(s.title),1)]),_:2},1032,["href","title"]),i(c(p),{href:s.url,title:s.title},{default:f(()=>[t("img",{class:"w-full mt-4 rounded-lg",src:s.img},null,8,G)]),_:2},1032,["href","title"])]))),256))])):N("",!0),e.routeName==="events"||e.routeName==="eventsdetail"?(l(),S(w,{key:1,title:"赛事新闻",titleType:"3",class:"mt-4"})):N("",!0),e.routeName==="events"||e.routeName==="eventsdetail"?(l(),o("div",H,[h(t("div",{style:v(a.slideStyle)},[i(g,{adInfos:e.slideList,typeNum:"1"},null,8,["adInfos"])],4),[[y,a.slideShow]])])):(l(),o("div",J,[h(t("div",{style:v(a.slideStyle)},[i(g,{adInfos:e.slideList,typeNum:"1"},null,8,["adInfos"])],4),[[y,a.slideShow]])])),t("div",K,[h(t("div",{style:v(a.dataListStyle)},[i(M,{dataList:e.dataList,showAd:e.showAd},null,8,["dataList","showAd"])],4),[[y,a.dataListShow]])])],512),t("div",Q,[i(w,{title:"推荐阅读",titleType:"3"}),i(W,{recommendList:e.recommendList},null,8,["recommendList"])])])])])]),_:1},8,["title","description","adTops","dataNum","appName","navActive","showAd","enableDown","enableUp"]))}});
1export{ce 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.