webpackJsonp([7],{Zjg2:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"my",components:{},data:function(){return{User:{},assetInformation:[{title:"金币",msg:0},{title:"K币",msg:0},{title:"赞",msg:0}],historyGame:[]}},props:{},watch:{},methods:{clickGame:function(t){console.log("点了 什么游戏",t),this.utils.goRouterforPathPush(this,{path:"matching",query:{data:this.historyGame[t].gameId}})},getImage:function(t){return this.utils.initHttpImageGame(t)},setImage:function(t){return t},showToast:function(){this.$emit("showToast")}},computed:{getHistory:function(){var t=this.$store.getters.getHistory;console.log("网络数据是游戏记录",t,null!=t.data),null!=t.data&&(this.historyGame=t.data)},getUser:function(){var t=this.$store.getters.getUser;console.log("网络数据是游戏记录",t,null!=t.data),null!=t.data&&(this.User=t.data)}},created:function(){},mounted:function(){},destroyed:function(){},activated:function(){var t={data:{userId:this.utils.getAdmin()}};this.utils.getHistory(this,t),console.log("又来到这个页面了吗",this.historyGame);var e={data:{userId:this.utils.getAdmin()}};this.utils.getUser(this,e)}},a={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"my",staticStyle:{background:"#e7e7e7",height:"100vh"}},[s("p",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[t._v(t._s(t.getHistory))]),t._v(" "),s("p",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[t._v(t._s(t.getUser))]),t._v(" "),t._m(0),t._v(" "),s("el-row",{staticClass:"bg-w"},[s("el-col",{attrs:{span:6}},[s("div",{staticClass:" centerHorizontally "},[s("img",{staticClass:"centerVertical",staticStyle:{"border-radius":"50%",width:"2.5rem",height:"2.5rem"},attrs:{src:t.setImage(t.User.userHead)}})])]),t._v(" "),s("el-col",{attrs:{span:8}},[s("div",[s("div",{staticClass:"centerVertical"},[s("div",{staticStyle:{"margin-top":"0.3rem","font-size":"0.8rem"}},[t._v("\n            "+t._s(t.User.userName)+"\n          ")]),t._v(" "),s("div",{staticStyle:{"margin-top":"0.3rem","font-size":"0.75rem"}},[t._v("\n            "+t._s(t.User.userId)+"\n          ")])])])])],1),t._v(" "),s("el-row",{staticClass:"bg-w",staticStyle:{"margin-top":"0.05rem"}},t._l(t.assetInformation,function(e,i,a){return s("el-col",{staticStyle:{height:"5rem"},attrs:{span:8}},[s("div",{staticClass:"centerHorizontally ",staticStyle:{height:"100%"}},[s("div",{staticClass:"centerVertical"},[s("div",[t._v("\n            "+t._s(t.assetInformation[i].title)+"\n          ")]),t._v(" "),s("div",[t._v("\n            "+t._s(t.assetInformation[i].msg)+"\n          ")])])])])}),1),t._v(" "),s("el-row",{staticClass:"bg-w",staticStyle:{"margin-top":"0.5rem"}},[s("el-col",{staticStyle:{height:"3rem"},attrs:{span:24}},[s("div",{staticClass:"centerVertical leftTitle",on:{click:t.showToast}},[t._v("\n          我的礼包\n        ")]),t._v(" "),s("div",{staticClass:"centerVertical",staticStyle:{position:"absolute",right:"1rem"}},[t._v("\n        ＞\n      ")])])],1),t._v(" "),s("el-row",{staticClass:"bg-w",staticStyle:{"margin-top":"0.5rem"}},[s("el-col",{staticStyle:{height:"8rem"},attrs:{span:24}},[s("div",{staticClass:" leftTitle"},[t._v("\n          最近在玩\n        ")]),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:0==t.historyGame.length,expression:"historyGame.length ==0"}],staticClass:"horizontalSlip centerHorizontally",staticStyle:{height:"7rem"}},[s("div",{staticClass:"centerVertical"},[t._v("\n          最近没有在玩\n        ")])]),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.historyGame.length>0,expression:"historyGame.length >0"}],staticClass:"horizontalSlip",staticStyle:{height:"7rem"}},[s("div",{staticClass:"slide-box ",staticStyle:{"margin-top":"1rem"}},t._l(t.historyGame,function(e,i,a){return s("div",{staticClass:"slide-item centerHorizontally",on:{click:function(e){return t.clickGame(i)}}},[s("img",{staticClass:"centerVertical",staticStyle:{width:"2.5rem",height:"2.5rem"},attrs:{src:t.getImage(t.historyGame[i].gameId.gameImageUrl)}}),t._v(" "),s("div",{staticStyle:{"font-size":"1px"}},[t._v("\n              "+t._s(t.historyGame[i].gameId.gameTitle)+"\n            ")])])}),0)])])],1),t._v(" "),s("el-row",{staticClass:"bg-w",staticStyle:{"margin-top":"0.5rem"}},[s("el-col",{staticStyle:{height:"3rem"},attrs:{span:24}},[s("div",{staticClass:"centerVertical leftTitle",on:{click:t.showToast}},[t._v("\n          金豆商城\n        ")]),t._v(" "),s("div",{staticClass:"centerVertical",staticStyle:{position:"absolute",right:"1rem"}},[t._v("\n        ＞\n      ")])])],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bg-w ",staticStyle:{height:"3rem"}},[e("div",{staticClass:"centerVertical leftTitle"},[this._v("\n      我的\n    ")])])}]};var r=s("VU/8")(i,a,!1,function(t){s("z8X5")},"data-v-74287641",null);e.default=r.exports},z8X5:function(t,e){}});
//# sourceMappingURL=7.38d798e5a3f1a8baa747.js.map