webpackJsonp([22],{JEbQ:function(t,e){},"U/b5":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("2oJL"),s=a("Jmy5"),n=a("Au9i"),r={name:"mine",components:{bottomTab:i.a},data:function(){return{image:s.b,userDetail:{}}},mounted:function(){this.initPage()},methods:{initPage:function(){this.userDetail=JSON.parse(localStorage.getItem("userDesc"))},clearBoth:function(){this.$sa.track("buttonClick",{tabTitle:"我的",moduleTitle:"我的",buttonType:"清楚缓存",buttonName:"清楚缓存"}),localStorage.clear(),Object(n.Toast)("清除成功")}}},c={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 o=a("VU/8")(r,c,!1,function(t){a("JEbQ")},"data-v-6f74e03a",null);e.default=o.exports}});
//# sourceMappingURL=22.9c5678caf56dde402e32.js.map