webpackJsonp([0],{FOXq:function(s,t,e){"use strict";var n={name:"userinfo",data:function(){return{name:"asd"}},created:function(){var s=this;null==s.$store.state.userinfo.username&&s.get_json(s.$store.state.api+"user/mine",function(t){s.$store.state.userinfo=t})},methods:{logout:function(){localStorage.clear(),this.$store.state.userinfo={},this.goToLogin()}}},a={render:function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("ul",{staticClass:"userinfo"},[e("li",[e("span",{staticClass:"user_id"},[s._v(s._s(s.$store.state.userinfo.username))])]),s._v(" "),e("li",{staticClass:"mi"},[s._v("|")]),s._v(" "),e("li",[e("span",{staticClass:"money"},[s._v("￥"+s._s(s.$store.state.userinfo.balance))]),s._v("元\n  ")]),s._v(" "),e("li",{staticClass:"mi"},[s._v("|")]),s._v(" "),e("li",{on:{click:function(t){s.jump_router("/recharge")}}},[e("span",[s._v("充值")])]),s._v(" "),e("li",{staticClass:"mi"},[s._v("|")]),s._v(" "),e("li",{on:{click:s.logout}},[e("span",[s._v("退出")])])])},staticRenderFns:[]};var i=e("VU/8")(n,a,!1,function(s){e("YGjn")},"data-v-8a176086",null);t.a=i.exports},YGjn:function(s,t){}});