(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-49892e20"],{"0472":function(t,e,s){},"16b5":function(t,e,s){t.exports=s.p+"static/img/banner-lottery.jpg"},"4d7e":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sportGame"},[s("div",{staticClass:"sportGame-main"},[s("div",{staticClass:"common-banner",style:{backgroundImage:"url("+t.bannerImg+")"}}),s("div",{staticClass:"wrapper"},[s("section",{staticClass:"game-box flex-r-s-c"},[s("ul",{staticClass:"sportGame-ul flex-r-s-s"},t._l(t.sportGameList,function(e,a){return s("li",{key:a,on:{click:function(s){return t.playGame(e)}}},[s("img",{staticClass:"gameLogo",attrs:{src:e.gameBigLogo,alt:""}}),s("div",{staticClass:"info"},[s("button",{staticClass:"playGame"},[t._v(t._s(3==e.gameState&&1==e.opCode?"维护ä¸":"进入游æˆ"))])])])}),0)])])])])},n=[],i={name:"sportGame",data:function(){return{msg:"sportGame",bannerImg:s("16b5")}},created:function(){},computed:{gameTypeList:function(){return this.$store.getters["app/gameTypeList"]},sportGameList:function(){var t=this.gameTypeList.filter(function(t){return 7===t.gameType});return t.length>0?t[0].games:[]},isLogin:function(){return!(!this.$store.getters["user/userId"]||!this.$store.getters["user/token"])}},mounted:function(){},methods:{playGame:function(t){if(1==t.opCode){if(!this.isLogin)return this.$Message.error("您未登录,请先登录åŽå†è¿›è¡Œæ¸¸æˆ"),void this.$router.push({path:"/login",query:{redirect:this.$route.path}});if(1==t.gameState){var e=800,s=1280,a="/playGame?gameId=".concat(t.gameId),n=0,i=(window.screen.width-10-s)/2;window.open(a,"playGame","height="+e+",,innerHeight="+e+",width="+s+",innerWidth="+s+",top="+n+",left="+i+",toolbar=no,menubar=no,scrollbars=auto,resizeable=no,location=no,status=no")}else 3==t.gameState&&this.$Message.error("该游æˆç»´æŠ¤ä¸")}else this.goGameList(t)},goGameList:function(t){this.$router.push({name:"gameList",query:{id:t.gameId,gameLogo:t.gameLogo}})}}},o=i,r=(s("5002"),s("2877")),u=Object(r["a"])(o,a,n,!1,null,"17db76c8",null);e["default"]=u.exports},5002:function(t,e,s){"use strict";var a=s("0472"),n=s.n(a);n.a}}]);