|
|
-import{l as e,B as a,m as t,q as l,am as o,a as s,w as n,L as r,V as i,o as c,f as d,Z as u,u as m,a8 as g,h as p,F as f,r as y,i as h,a3 as v,a4 as b,P as _}from"./index-CCZ5Y6q3.js";import{_ as k}from"./u-image.CspvTuTX.js";const x=e({__name:"index",setup(e){const{t:x}=a(),w=t(""),T=t(""),I=t([]);return l(()=>{(async()=>{const e=(await r()).data.list.filter(e=>Number(e.gameType)===Number(T.value));I.value=e})()}),o(e=>{w.value=decodeURIComponent(e.name),T.value=decodeURIComponent(e.gameType)}),(e,a)=>{const t=k,l=h,o=u,r=i("global-ku-root");return c(),s(r,null,{default:n(()=>[d(o,{"nav-title":m(w),style:{background:"linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),\r\n url('/static/images/enter-bg.png') no-repeat","background-size":"cover"}},{default:n(()=>[g("div",{style:{padding:"24rpx",height:"100%","overflow-y":"auto"}},[(c(!0),p(f,null,y(m(I),(e,a)=>(c(),s(l,{class:"roll-ball-section",key:"other-"+a},{default:n(()=>[d(l,{class:"other-games-flex"},{default:n(()=>[(c(!0),p(f,null,y(e.platforms,(a,o)=>(c(),s(l,{class:"other-game-item",key:o,onClick:t=>((e,a)=>{let t={platType:e.platType,gameType:a};localStorage.getItem("youke_token")?v({title:x("试玩账户不可进入"),icon:"none"}):localStorage.getItem("token")?b(t).then(e=>{let a=e.data;_({title:x("提示"),content:x("确认进入并转入余额?"),success:e=>{e.confirm&&(window.location.href=a.url)}})}):v({title:x("请先登录"),icon:"none"})})(a,e.gameType)},{default:n(()=>[d(t,{src:a.logo,width:"120px",height:"120px","border-radius":"8px",mode:"aspectFit"},null,8,["src"])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1024))),128)),g("div",{style:{height:"calc(50px + env(safe-area-inset-bottom))"}})])]),_:1},8,["nav-title"])]),_:1})}}},[["__scopeId","data-v-d3262d9e"]]);export{x as default};
|
|
|
|
|
|
|
+import{l as e,B as a,m as t,q as l,a5 as o,a as s,w as n,L as r,V as i,o as c,f as u,Z as d,u as m,a6 as g,h as p,F as f,r as y,i as h,a3 as v,a4 as b,P as _}from"./index-B_VgIhy9.js";import{_ as k}from"./u-image.CsB5Jxg7.js";const x=e({__name:"index",setup(e){const{t:x}=a(),w=t(""),T=t(""),I=t([]);return l(()=>{(async()=>{const e=(await r()).data.list.filter(e=>Number(e.gameType)===Number(T.value));I.value=e})()}),o(e=>{w.value=decodeURIComponent(e.name),T.value=decodeURIComponent(e.gameType)}),(e,a)=>{const t=k,l=h,o=d,r=i("global-ku-root");return c(),s(r,null,{default:n(()=>[u(o,{"nav-title":m(w),style:{background:"linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),\r\n url('/static/images/enter-bg.png') no-repeat","background-size":"cover"}},{default:n(()=>[g("div",{style:{padding:"24rpx",height:"100%","overflow-y":"auto"}},[(c(!0),p(f,null,y(m(I),(e,a)=>(c(),s(l,{class:"roll-ball-section",key:"other-"+a},{default:n(()=>[u(l,{class:"other-games-flex"},{default:n(()=>[(c(!0),p(f,null,y(e.platforms,(a,o)=>(c(),s(l,{class:"other-game-item",key:o,onClick:t=>((e,a)=>{let t={platType:e.platType,gameType:a};localStorage.getItem("youke_token")?v({title:x("试玩账户不可进入"),icon:"none"}):localStorage.getItem("token")?b(t).then(e=>{let a=e.data;_({title:x("提示"),content:x("确认进入并转入余额?"),success:e=>{e.confirm&&(window.location.href=a.url)}})}):v({title:x("请先登录"),icon:"none"})})(a,e.gameType)},{default:n(()=>[u(t,{src:a.logo,width:"120px",height:"120px","border-radius":"8px",mode:"aspectFit"},null,8,["src"])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1024))),128)),g("div",{style:{height:"calc(50px + env(safe-area-inset-bottom))"}})])]),_:1},8,["nav-title"])]),_:1})}}},[["__scopeId","data-v-1c75eee7"]]);export{x as default};
|