PageSourceSearch

https://1031.pub/assets/springLantern-10-08-19-06-SjQVd6aA.js

js 1031.pub collected 2026-10-09 04:28:06 UTC 7,775 bytes, 1 lines download raw bytes

1import{_ as b,gf as N,bf as w,gb as R,g9 as A,ee as D}from"./index-10-08-19-06-CkymSlhF.js";import{g as _}from"./gameList-10-08-19-06-CNsFcJRn.js";import{q as d,v as t,K as v,ae as I,X as K,p as c,a3 as p}from"./core-10-08-19-06-DYkI1QLT.js";import"./vendor-10-08-19-06-vW4GXx0A.js";import"./http-10-08-19-06-DKS35TLd.js";import"./compression-10-08-19-06-N2887O1Y.js";import"./vueuse-10-08-19-06-BORqbsSy.js";import"./ui-10-08-19-06-Du5BGb8n.js";import"./date-10-08-19-06-DdaeHxm6.js";import"./game_chess-10-08-19-06-B0rp9WbO.js";const $={data(){return{tableData:[{money:"5",request:"500"},{money:"10",request:"2000"},{money:"15",request:"5000"},{money:"20",request:"10000"},{money:"30",request:"30000"},{money:"40",request:"50000"},{money:"50",request:"80000"},{money:"88",request:"100000"}],longGameList:[],gameListRequestId:0,gameLaunchRequestId:0,launchingGameKey:""}},created(){this._reloadTotalGameList()},computed:{isLoggedIn(){var n;return[!0,1,"1"].includes((n=this.UserInfo)==null?void 0:n.loginStatus)},loginIdentity(){return this.authSessionIdentity}},watch:{loginIdentity(){this.gameLaunchRequestId+=1,this.launchingGameKey=""}},beforeUnmount(){this.gameListRequestId+=1,this.gameLaunchRequestId+=1,this.launchingGameKey=""},methods:{async _reloadTotalGameList(){const n=++this.gameListRequestId;try{const e=await D({gameCategory:"",gameTerminal:"PC"},{isLoading:!0});if(n!==this.gameListRequestId)return;if(String((e==null?void 0:e.code)||"")==="20000"){this.longGameList=[],this.$message({message:(e==null?void 0:e.message)||"游戏列表加载失败",type:"error"});return}const m=new Map;
1(Array.isArray(e==null?void 0:e.dataList)?e.dataList:[]).forEach(r=>{["CQ9","DT"].includes(r.gameCategory)&&String(r.gameCName||"").includes("龙")&&(m.has(r.gameCategory)||m.set(r.gameCategory,[]),m.get(r.gameCategory).push(r))}),this.longGameList=Array.from(m,([r,y])=>({name:r,list:y}))}catch(e){if(n!==this.gameListRequestId)return;this.longGameList=[],this.$message({message:(e==null?void 0:e.message)||"游戏列表加载失败",type:"error"})}},async _enterSlotGame(n,e){var h,L,q,G,S,C,U,k;if(!this.isLoggedIn){this.changeUserLoginDialogStatus(!0);return}if(!this.UserInfo.loginName)try{if(!await N()||!this.UserInfo.loginName){this.changeUserLoginDialogStatus(!0);return}}catch(o){this.$message({message:(o==null?void 0:o.message)||"登录状态校验失败",type:"error"});return}const m=this.loginIdentity,f=String(((h=this.UserInfo)==null?void 0:h.loginName)||"");if(!m||!f){this.changeUserLoginDialogStatus(!0);return}if(e==="real"&&this.UserInfo.role=="AGENT"){this.$message({message:"代理账号无法进行游戏,请切换至游戏账号再进行操作",type:"error"});return}const r=_.find(o=>o.key===(n==null?void 0:n.gameCategory));if(!r){this.$message({message:"该游戏平台暂未开放",type:"warning"});return}const y="".concat((n==null?void 0:n.gameCategory)||"",":").concat((n==null?void 0:n.id)||(n==null?void 0:n.gameCode)||"");if(this.launchingGameKey)return;const u=++this.gameLaunchRequestId;this.launchingGameKey=y;const s=window.open("","_blank"),g=()=>u===this.gameLaunchRequestId&&m===this.loginIdentity&&this.launchingGameKey===y;try{if(Number(this.UserInfo.transferStatus)===1&&e==="real"){const i=await w({loginName:f,target:n.transferCode});if(!g()){(L=s==null?void 0:s.close)==null||L.call(s);return}if(String(i==null?void 0:i.code)==="20000"&&!String((i==null?void 0:i.message)||"").includes("主账户余额小于1.0"))throw new Error((i==null?void 0:i.message)||"自动转账失败")}if(r.type==="link"){const i=typeof r.linkUrl=="function"?r.linkUrl(n,e):r.linkUrl;if(!g()){(q=s==null?void 0:s.close)==null||q.call(s);return}if(typeof i!="string"||!/^(https?:)?\/\/|^\//i.test(i.trim()))throw new Error("游戏启动地址无效");s?s.location=i.trim():window.location.assign(i.trim())}else{const i=typeof r.params=="function"?r.params(n,e):{},a=await r.method({...i,loginName:f});if(!g()){(G=s==null?void 0:s.close)==null||G.call(s);return}if(String((a==null?void 0:a.code)||"")==="20000")throw new Error((a==null?void 0:a.message)||"游戏启动失败");let l=(C=(S=a==null?void 0:a.data)!=null?S:a==null?void 0:a.url)!=null?C:a;if(typeof l=="string"&&l.includes('"code"'))try{l=((U=JSON.parse(l))==null?void 0:U.data)||""}catch(j){}if(typeof l!="string"||!l.trim())throw new Error((a==null?void 0:a.message)||"游戏启动地址无效");if(l=l.trim(),l.toLowerCase().includes("<!doctype html>"))s!=null&&s.document?(s.document.open(),s.document.write(l),s.document.close()):window.location.assign(URL.createObjectURL(new Blob([l],{type:"text/html"})));else if(/^(https?:)?\/\/|^\//i.test(l))s?s.location=l:window.location.assign(l);else throw new Error("游戏启动地址无效")}if(!g())return;let o=[];try{const i=R("HistoryList"),a=i?JSON.parse(i):[];o=Array.isArray(a)?a:[]}catch(i){o=[]}o.findIndex(i=>i.id===n.id)===-1&&(o.unshift(n),o.length>12&&o.pop(),A("HistoryList",JSON.stringify(o)))}catch(o){(k=s==null?void 0:s.close)==null||k.call(s),g()&&this.$message({message:(o==null?void 0:o.message)||"游戏启动失败",type:"error"})}finally{g()&&(this.launchingGameKey="")}}}},x={class:"activity activity-springLantern"},E={class:"activity-container"},T={class:"rewards-box"},B={key:0,class:"game-list"},H=["src"],O={class:"game-model"},J=["onClick"];function Q(n,e,m,f,r,y){return c(),d("div",x,[e[7]||(e[7]=t("div",{class:"activity-banner"},[t("img",{src:"/images/promotionActivity/springLantern/banner.png?v=999",alt:""})],-1)),t("div",E,[t("div",null,[e[6]||(e[6]=t("div",{class:"title"},[t("img",{src:"/images/promotionActivity/springLantern/msg-title.png",alt:""})],-1)),t("div",null,[e[4]||(e[4]=t("div",{class:"msg"},[t("p",null,[t("span",null,"活动时间:"),t("span",null,"2月19日至2月25日")]),t("p",null,[t("span",null,"活动会员:"),t("span",null,"全体会员")])],-1)),e[5]||(e[5]=t("div",{class:"title content-title"},[t("img",{src:"/images/promotionActivity/springLantern/content-title.png",alt:""})],-1)),t("div",T,[e[1]||(e[1]=t("h3",null,[t("span",null,"活动平台:"),t("span",null,"CQ9,LGD")],-1)),e[2]||(e[2]=t("h3",null,"指定平台游戏带有【龙】字名字的老虎机,单个游戏达到指定流水即可领取彩金",-1)),t("table",null,[e[0]||(e[0]=t("tr",null,[t("th",null,"流水要求"),t("th",null,"红包金额")],-1)),(c(!0),d(v,null,I(r.tableData,(u,s)=>(c(),d("tr",{key:s},[t("td",null,p(u.request)+"元投注额",1),t("td",null,p(u.money)+"元红包",1)]))),128))]),e[3]||(e[3]=t("h2",null,"符合游戏列表",-1)),r.longGameList.length>0?(c(),d("div",B,[(c(!0),d(v,null,I(r.longGameList,(u,s)=>(c(),d("div",{key:s},[t("p",null,p(u.name=="DT"?"LGD":u.name)+" "+p(u.list.length)+"个",1),t("div",null,[(c(!0),d(v,null,I(u.list,(g,h)=>(c(),d("div",{key:h,class:"game-item"},[t("div",null,[t("img",{src:g.imageUrl,alt:""},null,8,H),t("div",O,[t("div",{class:"enter-btn",onClick:L=>y._enterSlotGame(g,"real")},"进入游戏",8,J)])]),t("p",null,p(g.gameCName),1)]))),128))])]))),128))])):K("",!0)])])])]),e[8]||(e[8]=t("div",{class:"activity-rules"},[t("div",null,[t("div",{class:"rules-title"},[t("img",{src:"/images/promotionActivity/springLantern/rules-title.png",alt:""})]),t("p",null,"【1】该活动需本金进行游戏,存送活动、优惠券、礼金、专属优惠等红利不予计算。"),t("p",null,"【2】仅支持游戏当天联系在线客服申请,需提供游戏名称,一个账号每天只能申请一次。过期作废。"),t("p",null,"【3】如æž
1œæ¸¸æˆå¤šä¸ªå¹³å°æŒ‡å®šæ¸¸æˆ 请选择一个游戏参与该活动。"),t("p",null,"【4】红包派发至红包优惠券,8倍流水"),t("p",null,"【5】本活动乐玩享有修订权和最终解释权。")])],-1))])}const st=b($,[["render",Q]]);export{st 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.