webpackJsonp([10],{"U/b5":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("2oJL"),s=a("Jmy5"),n=a("CCn6"),r=a("Au9i"),c={name:"mine",components:{bottomTab:i.a},data:function(){return{image:s.g,userDetail:{}}},mounted:function(){this.initPage()},methods:{initPage:function(){var t=this;Object(n.m)().then(function(e){t.userDetail=e})},clearBoth:function(){localStorage.clear(),Object(r.Toast)("清除成功")}}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mine"},[a("div",{staticClass:"head",style:{backgroundImage:"url("+t.image.head_bg+")"}},[a("img",{staticClass:"header-icon",attrs:{src:t.userDetail.avatar}}),t._v(" "),a("div",{staticClass:"ref-block",on:{click:function(e){t.clearBoth()}}},[a("img",{attrs:{src:t.image.ref}})]),t._v(" "),a("p",{staticClass:"name"},[t._v(t._s(t.userDetail.nickname))]),t._v(" "),a("span",{staticClass:"id"},[t._v("学员号:"+t._s(t.userDetail.user_id))])]),t._v(" "),a("div",{staticClass:"list"},[a("mt-cell",{attrs:{title:"订单",to:"/order","is-link":""}},[a("img",{attrs:{slot:"icon",src:t.image.order,width:"24",height:"24"},slot:"icon"})])],1),t._v(" "),a("bottom-tab")],1)},staticRenderFns:[]};var l=a("VU/8")(c,o,!1,function(t){a("iLBB")},"data-v-5a0d153e",null);e.default=l.exports},iLBB:function(t,e){}});
//# sourceMappingURL=10.cdec3d42683e0190a711.js.map