PageSourceSearch

https://lazq.com/web/home-bundle.js?tm=1790261186

js lazq.com collected 2026-09-24 14:46:41 UTC 11,177 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",(e=>{const t=document.querySelector(".loader");window.addEventListener("load",(()=>{setTimeout((()=>{t.style.display="none"}),200)}))})),document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelector(".hot_c"),t=document.querySelector(".arrow-left"),a=document.querySelector(".arrow-right");t.addEventListener("click",(()=>{e.scrollLeft-=260})),a.addEventListener("click",(()=>{e.scrollLeft+=260}))})),new Vue({el:"#app",data:{nav_show:!1,loginusername:0,usernameidx:0,phone:"13945624512",loginitmidx:0,orderList:[{name:"我的订单",incon:"el-icon-document"},{name:"我的资料",incon:"el-icon-notebook-1"},{name:"我的帖子",incon:"el-icon-chat-dot-square"},{name:"赛事观点",incon:"el-icon-document-add"},{name:"专家入驻",incon:"el-icon-thumb"},{name:"意见反馈",incon:"el-icon-message"},{name:"客服信息",incon:"el-icon-connection"},{name:"帮助信息",incon:"el-icon-copy-document"}],value:"",nav_index:0,navindex:0,navindex1:0,openF:!0,navlist:[{name:"综合"},{name:"命中率"},{name:"回报率"}],navlist1:[{name:"足球"},{name:"篮球"}],list:[],userinfo:{},bannerLIst:[],hotgameList:[],weekList:[],articleList:[],newsList:[],exportList:[],api:{userinfo:{url:"MobileUser/getUserInfo",name:"获取当前用户信息"},postuuid:{url:"Sundry/saveUserGenId",name:"上传客户端生成的用户唯一ID"},banner:{url:"MobileIndex/getBanners",name:"获取图片列表类型的数据"},week:{url:"MobileIndex/footMinBangDanTian",name:"足球周榜"},hotgame:{url:"MobileIndex/getFootHot10",name:"获取当天10个热门足球比赛列表"},article:{url:"MobileFoot/getTuiJianList",name:"获取专家推荐足球文章列表"},news:{url:"MobileIndex/getNewsList",name:"获取新闻列表数据"},export:{url:"MobileExpert/getExpertFootList",name:"获取足球(专家)推荐列表"}},page:0,listData:[],lianIdx:0,lianIdx1:0,timetmp:"",socketOpen:!1,timerIds:{},soktData:"",msgs:"",tableKey:1,mutedType:!0,GameObj:{},openType:0,GameList:[],messages:[],topType0:{},bangd:[],jifen:[],lun:"",fullscreenLoading:!1,hotloading:!1},created(){init(),this.getBanner(),this.gethotgame(),this.getweekList(),this.startSocket(),this.getgameList(),this.getRanking("7ea70812ed9aa6a8feb16e922a83e09d"),this.getRankingshe("7ea70812ed9aa6a8feb16e922a83e09d"),localStorage.getItem("uuid")?this.getuuid(localStorage.getItem("uuid")):this.generate()},computed:{filteredList(){return this.GameList.filter((e=>e.show))}},mounted(){},methods:{startSocket(){let e=this;console.log(),socket.onmessage=function(t){if("***game***"==t.data.substr(0,10)){let a=t.data.split("|")[1],i=JSON.parse(a);if(console.log(a,i,"瞅瞅"),e.GameList)for(let t=0;t<e.GameList.length;t++)if(e.GameList[t].gameId==i.id){let a={state:i.st,time:1e3*e.GameList[t].startTime,competitionName:e.GameList[t].competitionName};if(console.log(e.getMinutes(a),"s数"),e.GameObj={gameName:e.GameList[t].competitionName,gameColor:e.GameList[t].color,time:e.getMinutes(a)+"'",homeName:e.GameList[t].homeTeamName,homeColor:parseInt(i.hs)>parseInt(i.as)?"red":"#333",awayName:e.GameList[t].awayTeamName,awayColor:parseInt(i.as)>parseInt(i.hs)?"red":"#333",homeScore:i.hs,homeScoreColor:parseInt(i.hs)>parseInt(i.as)?"red":"blue",awayScore:i.as,awayScoreColor:parseInt(i.as)>parseInt(i.hs)?"red":"blue",banName:""},e.GameList[t].show&&!(1!=i.st&&3!=i.st||i.hs==e.GameList[t].homeScore&&i.as==e.GameList[t].awayScore)){showModal(e.GameObj);const t=document.getElementById("myAudio");t.muted=!1,(t.paused||t.currentTime<=0)&&t.play()}e.GameList[t].homeScore=i.hs,e.GameList[t].awayScore=i.as,e.GameList[t].homeHalfScore=i.hls,e.GameList[t].awayHalfScore=i.als,e.GameList[t].state=i.st,e.GameList[t].buShi=i.bs,e.GameList[t].homeRed=i.hon[0],e.GameList[t].awayRed=i.hon[1],e.GameList[t].homeYellow=i.hua[0],e.GameList[t].awayYellow=i.hua[1],e.GameList[t].startTime=i.stt}e.setGameTimeWebSoket(i.id)}}},setData(){clearTimeout(t_one),t_one=setTimeout((()=>{this.setGameTime(),this.openTime(),this.GameList&&(this.GameList=this.nowData_(this.GameList))}),1e3)},setGameTimeWebSoket(e){let t=this;for(let a=0;a<this.GameList.length;a++)if(t.GameList[a].gameId==e)if(1==t.GameList[a].state||3==t.GameList[a].state){if(!t.GameList[a].s){let e={state:t.GameList[a].state,time:1e3*t.GameList[a].startTime,competitionName:t.GameList[a].competitionName};t.openTime(e,a,t.GameList[a].gameId)}}else if(-1==t.GameList[a].state){console.log("比赛完成");let e="time"+t.GameList[a].gameId;clearInterval(t.timerIds[e]),delete t.timerIds[e],t.GameList[a].s&&(t.GameList[a].s=null),t.GameList=t.nowData_(t.GameList)}else if(2==t.GameList[a].state||4==t.GameList[a].state||5==t.GameList[a].state){let e="time"+this.GameList[a].gameId;clearInterval(t.timerIds[e]),delete t.timerIds[e],t.GameList[a].s&&(t.GameList[a].s=null)}},setGameTime(){let e=this;for(let t=0;t<e.GameList.length;t++)if(1==e.GameList[t].state&&!e.GameList[t].s||3==e.GameList[t].state&&!e.GameList[t].s){let a={state:e.GameList[t].state,time:1e3*e.GameList[t].startTime,competitionName:e.GameList[t].competitionName};e.openTime(a,t,e.GameList[t].gameId)}},openTime(e,t,a){let i=this;if(!(null!=i.GameList[t].s&&i.GameList[t].state>0))if(null!=i.GameList[t].s&&-1==i.GameList[t].state)i.GameList[t].s=null;else{i.GameList[t].s=i.getMinutes(e);let s="time"+a;i.timerIds[s]=setInterval((()=>{i.GameList[t].s=i.getMinutes(e)}),5e3)}},clearTimer(){let e=this;for(let t in e.timerIds)e.timerIds.hasOwnProperty(t)&&(clearInterval(e.timerIds[t]),delete e.timerIds[t]);for(let t=0;t<e.GameList.length;t++)e.GameList[t].s=null},getMinutes(e){let t=-1;if("1"==e.state){let a=Math.floor(((new Date).getTime()-e.time)/6e4);a>45&&(a="45+"+(a-45).toString()),a<1&&(a="1"),t=a}else if("3"==e.state){let a=Math.floor(((new Date).getTime()-e.time)/6e4)+45;a>90&&(a="90+"+(a-90).toString()),a<46&&(a="46"),t=a}else t=null;return t},nowData_:e=>(e=e.sort(((e,t)=>e.startTime-t.startTime))).sort(((e,t)=>t.state-e.state)),getRanking(e){let t=APIURI+objApi.ranking.url,a={comId:e};axios.post(t,a).then((e=>{if(e.data){this.topType0=e.data;let t=e.data.teams,a=this;if(e.data.jiFen){for(let a=0;a<e.data.jiFen.away.length;a++)for(let i=0;i<t.length;i++)e.data.jiFen.away[a].id==t[i].id&&(e.data.jiFen.away[a].name=t[i].name);for(let a=0;a<e.data.jiFen.home.length;a++)for(let i=0;i<t.length;i++)e.data.jiFen.home[a].id==t[i].id&&(e.data.jiFen.home[a].name=t[i].name);for(let a=0;a<e.data.jiFen.tt.length;a++)for(let i=0;i<t.length;i++)e.data.jiFen.tt[a].id==t[i].id&&(e.data.jiFen.tt[a].name=t[i].name),e.data.jiFen.scl&&e.data.jiFen.tt[a].cl>=0&&(e.data.jiFen.tt[a].scl=e.data.jiFen.scl[e.data.jiFen.tt[a].cl]);for(let a=0;a<e.data.jiFen.tth.length;a++)for(let i=0;i<t.length;i++)e.data.jiFen.tth[a].id==t[i].id&&(e.data.jiFen.tth[a].name=t[i].name);a.jifen=e.data.jiFen}}}))},getRankingshe(e){let t=APIURI+objApi.ranking.url,a={comId:e};axios.post(t,a).then((e=>{if(e.data){this.topType0=e.data,e.data.teams;let t=this;e.data.players&&(t.bangd=e.data.players.splice(0,10),console.log(t.bangd,"榜单"))}}))},getgameList(){this.fullscreenLoading=!0;let e=APIURI+objApi.game.url,t={date:parseInt(this.timetmp)};axios.post(e,t).then((e=>{if(e.data){let t=[];e.data.game.forEach((a=>{let i=e.data.field.reduce(((e,t,i)=>(e[t]=a[i],e)),{});t.push(i)}));const a=e=>1==e.hot||1==e.beiDan||1==e.zhuCai||1==e.jinCai,i={show:!0},s={show:!1};let n=t.map((e=>a(e)?{...e,...i}:{...e,...s}));
1n.forEach(((e,t)=>{n[t].s=null})),n=this.nowData_(n),this.GameList=n,this.dilogList=JSON.parse(JSON.stringify([...n])),console.log(this.GameList,"数据"),this.setGameTime()}setTimeout((()=>{this.fullscreenLoading=!1}),500)}))},saion(e){this.openType=e,0==this.openType?this.GameList.forEach((e=>{e.hot?e.show=!0:e.show=!1})):2==this.openType?this.GameList.forEach((e=>{e.jinCai?e.show=!0:e.show=!1})):3==this.openType?this.GameList.forEach((e=>{e.zhuCai?e.show=!0:e.show=!1})):4==this.openType?this.GameList.forEach((e=>{e.beiDan?e.show=!0:e.show=!1})):1==this.openType&&this.GameList.forEach((e=>{e.show=!0}))},liannav(e){this.lianIdx=e,0==e?this.getRanking("7ea70812ed9aa6a8feb16e922a83e09d"):1==e?this.getRanking("469152d125d6abe4651e7924a5989d9e"):2==e?this.getRanking("7c98cded64754edf83acdcde153bd8ff"):3==e?this.getRanking("50e5d5ab4bd415ab55a874b0c18c9f3e"):4==e?this.getRanking("d355f30ac1445d3ac16f7467da5f3dc0"):5==e&&this.getRanking("5cd8a171e37bc4fcb7d7f5ed31ad47af")},liannav1(e){this.lianIdx1=e,0==e?this.getRankingshe("7ea70812ed9aa6a8feb16e922a83e09d"):1==e?this.getRankingshe("469152d125d6abe4651e7924a5989d9e"):2==e?this.getRankingshe("7c98cded64754edf83acdcde153bd8ff"):3==e?this.getRankingshe("50e5d5ab4bd415ab55a874b0c18c9f3e"):4==e?this.getRankingshe("d355f30ac1445d3ac16f7467da5f3dc0"):5==e&&this.getRankingshe("5cd8a171e37bc4fcb7d7f5ed31ad47af")},setTime:(e,t)=>time(e,t),goindeta(e){window.open("../gameDetail/index.html?id="+e+"&baoliaoId=5","_blank")},goindetassss(e){window.open("../gameDetail/index.html?id="+e,"_blank")},goindetajs(e){window.open("../home/database.html?id="+e,"_blank")},getqingbaoList(){let e=APIURI+objApi.getqingbaoList.url;axios.post(e,{}).then((e=>{e.data&&(this.listData=e.data,console.log(this.listData.length))}))},gotovip(){pageIsLoggedIn()?window.location.href="../mine/vippay.html":pageOpenLogin()},generate(){localStorage.setItem("uuid",ykToken()),this.getuuid(localStorage.getItem("uuid"))},getuuid(e){let t=APIURI+this.api.postuuid.url,a={uuid:e};axios.post(t,a).then((e=>{console.log(e.data,"-----")}))},btn_list(e){this.navindex=e,this.getarticleList()},time:(e,t)=>time(e,t),btn_nav1(e){this.navindex1=e},timeC:(e,t)=>time(e,t),getImgUrl:e=>IMGURL+e+".png",goInfo(e,t){window.open("../expert/plan.html?id="+e+"&uid="+t,"_blank")},gotoDetail(e){window.open("../expert/exportDetail.html?id="+e,"_blank")},format:e=>100===e?"满":`${e}%`,getBanner(){let e=APIURI+this.api.banner.url;axios.post(e,{type:"pcBanner"}).then((e=>{e.data&&(this.bannerLIst=e.data)}))},gethotgame(){let e=APIURI+this.api.hotgame.url;this.hotloading=!0,axios.post(e,{}).then((e=>{e.data&&(this.hotgameList=e.data,setTimeout((()=>{this.hotloading=!1}),300)),console.log(this.hotgameList,"6555555555")}))},check(e){window.open("../gameDetail/index.html?id="+e,"_blank")},getweekList(){let e=APIURI+this.api.week.url;axios.post(e,{day:7}).then((e=>{e.data&&(this.weekList=e.data)}))},getarticleList(){let e=APIURI+this.api.article.url,t={page:this.page,type:"0"==this.navindex?"default":"2"==this.navindex?"hit":"1"==this.navindex?"profit":"red"};axios.post(e,t).then((e=>{e.data.length>0?this.articleList=e.data:this.$message("暂无更多数据")}))},getNewsList(){let e=APIURI+this.api.news.url,t={page:this.page,type:0};axios.post(e,t).then((e=>{e.data&&(this.newsList=e.data)}))},goinDetail(e){window.open("../information/detail.html?id="+e,"_blank")},getexportList(){let e=APIURI+this.api.export.url,t={page:this.page,type:"all"};axios.post(e,t).then((e=>{e.data&&e.data.forEach(((e,t)=>{t<8&&this.exportList.push(e)}))}))},imgErr(e,t){"h"===t?e.img_home_err="http://static.lazq.com/fileoss/error/home_error.png":"a"===t&&(e.img_away_err="http://static.lazq.com/fileoss/error/away_error.png")}}});

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.