PageSourceSearch

https://1155dzg.com:7822/assets/lobbyTn-DMD2O0F5.js

js 1155dzg.com collected 2026-10-09 04:34:55 UTC 4,967 bytes, 1 lines download raw bytes

1import{_ as L,I as s,a_ as _,t as m,o as b,u as G}from"./services-DMwYBTTp.js";import v from"./NoRecord-D1UmeFqJ.js";import{m as w}from"./vendor-pinia-CkwwAs9v.js";import{t as h,M as o,L as p,au as C,N as S,S as y,o as T,K as g,Z as N,av as P,as as x,q as d}from"./vendor-vue-Cs0jG3vf.js";import"./vendor-DZeYsp6R.js";import"./vendor-element-plus-CnrZsLnk.js";import"./vendor-lodash-DXGp0yxs.js";const R={components:{NoRecord:v},data(){return{searchText:"",noResult:!1,tnConfigLocal:JSON.parse(localStorage.getItem("site.tnGameConfig")),activeName:""}},computed:{...w(G,b),tnConfigState(){return s(this.siteStore.tnGameConfig)?this.siteStore.tnGameConfig:{}},tabList(){let a=[];return s(this.tnConfigState)&&m(this.tnConfigState)?s(this.tnConfigState.gamePlayTabSort)&&m(this.tnConfigState.gamePlayTabSort)&&(a=this.tnConfigState.gamePlayTabSort):s(this.tnConfigLocal)&&m(this.tnConfigLocal)&&s(this.tnConfigLocal.gamePlayTabSort)&&m(this.tnConfigLocal.gamePlayTabSort)&&(a=this.tnConfigLocal.gamePlayTabSort),a=a.filter(c=>c.isWebShow),this.activeName=a[0].id,a},tnGameList(){let a=[];return s(this.tnConfigState)&&m(this.tnConfigState)?s(this.tnConfigState.webGamePlayRecord)&&m(this.tnConfigState.webGamePlayRecord)&&s(this.tnConfigState.webGamePlayRecord[this.activeName])&&m(this.tnConfigState.webGamePlayRecord[this.activeName])&&(a=this.tnConfigState.webGamePlayRecord[this.activeName]):s(this.tnConfigLocal)&&m(this.tnConfigLocal)&&s(this.tnConfigLocal.webGamePlayRecord)&&m(this.tnConfigLocal.webGamePlayRecord)&&s(this.tnConfigLocal.webGamePlayRecord[this.activeName])&&m(this.tnConfigLocal.webGamePlayRecord[this.activeName])&&(a=this.tnConfigLocal.webGamePlayRecord[this.activeName]),a},getList(){let a=this.tnGameList;if(s(a))return a.filter(c=>c.name.indexOf(this.searchText)!==-1)},hasGameList(){let a=this.tnGameList;return a&&a.length>0}},watch:{getList(){this.searchText&&this.getList.length===0&&this.hasGameList?this.noResult=!0:this.noResult=!1}},created(){},methods:{changeTab(a){this.activeName=a},openGame(a){let c={gamePlatformId:a.gamePlatformId,pubGamePlayId:a.id,extPlatformId:a.extPlatformId,device:a.device};this.extGameStore.LoginExtGame(c).then(n=>{if(n.code==="success"&&n.data.gamesUrl){let f=[],l=[],i="";for(let e=1;e<4;e++){let t=e===1?"":e;s(n.data["gamesUrl"+t])&&l.push(n.data["gamesUrl"+t])}if(s(l)&&l.length>0){for(let e=0;e<l.length;e++){let t=l[e].split("?token=")[0],r=document.createElement("IMG");r.className="forLoadTest",r.src=t+"/img/smallest.png?"+Math.random(),r.alt=l[e],r.width=1,r.height=1,r.style.display="none",document.body.appendChild(r)}if(f.push(_(document.querySelectorAll(".forLoadTest"),50,!0)),f.length>0)Promise.race(f).then(e=>{s(e)&&s(e.alt)?i=e.alt:(console.log("img loaded fail but finish"),i=n.data.gamesUrl)}).catch(e=>{console.log(e),i=n.data.gamesUrl}).then(()=>{let e=document.querySelectorAll(".forLoadTest");for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t]);window.open(i,"","width=1200,height=600"),this.SetTurning(!1)});else{i=n.data.gamesUrl;let e=document.querySelectorAll(".forLoadTest");for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t]);window.open(i,"","width=1200,height=600"),this.SetTurning(!1)}}else{i=n.data.gamesUrl;let e=document.querySelectorAll(".forLoadTest");for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t]);window.open(i,"","width=1200,height=600"),this.SetTurning(!1)}}else this.SetTurning(!1),window.layer.msgWarn(n.msg,null,n)}).catch(n=>{this.SetTurning(!1),window.layer.msgWarn(n.msg,null,n)})}}},k={class:"container"},I={class:"thirdGameContent"},U={class:"thirdGameHeader"},q={class:"lotteryNav"},B=["onClick"],E={class:"thirdGameList"},A={class:"searchBar"},M={class:"right"},D=["onClick"],V=["src"],W=["onClick"],z={key:1,style:{cursor:"default",width:"100%",height:"200px","font-size":"60px"}};function F(a,c,n,f,l,i){const e=x("NoRecord");return d(),h("div",k,[o("div",I,[c[1]||(c[1]=o("div",{class:"lotteryLine fix"},[o("i"),o("em")],-1)),o("div",U,[o("ul",q,[(d(!0),h(p,null,C(i.tabList,(t,r)=>(d(),h("li",{key:r,class:S({on:l.activeName===t.id}),onClick:u=>i.changeTab(t.id)}
1,[o("a",null,y(t.name),1)],10,B))),128))])]),o("div",E,[o("div",A,[o("div",M,[N(o("input",{placeholder:"请输入欲搜寻的游戏名称","onUpdate:modelValue":c[0]||(c[0]=t=>l.searchText=t),type:"text"},null,512),[[P,l.searchText]])])]),o("ul",null,[i.hasGameList?(d(!0),h(p,{key:0},C(i.getList,(t,r)=>(d(),h("li",{key:r},[o("figure",{onClick:u=>i.openGame(t)},[t.subscript!=="1"?(d(),h("div",{key:0,class:S(["subscript",`subscript${t.subscript}`])},null,2)):g("",!0),o("img",{src:a.imgFtpUrl+t.logoPath},null,8,V)],8,D),o("p",{onClick:u=>i.openGame(t)},y(t.name),9,W)]))),128)):g("",!0),i.hasGameList?g("",!0):(d(),h("li",z,"敬请期待!!"))]),l.noResult?(d(),T(e,{key:0,"container-style":{padding:"0 0 50px 0"},text:"搜索不到相关结果"})):g("",!0)])])])}const X=L(R,[["render",F],["__scopeId","data-v-082770a8"]]);export{X 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.