(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/mycenter/mycenter"],{"033d":function(n,t,o){"use strict";o.r(t);var e=o("29f5"),a=o.n(e);for(var i in e)"default"!==i&&function(n){o.d(t,n,(function(){return e[n]}))}(i);t["default"]=a.a},"0347":function(n,t,o){"use strict";var e=o("8431"),a=o.n(e);a.a},"29f5":function(n,t,o){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=function(){o.e("components/mys_navBar/mysNavBar").then(function(){return resolve(o("7857"))}.bind(null,o)).catch(o.oe)},a={components:{mvBar:e},data:function(){return{picture:{icon_person:"https://horastar.obs.cn-east-3.myhuaweicloud.com/youngee/talent_upload/icon-person.png",icon_location:"https://horastar.obs.cn-east-3.myhuaweicloud.com/youngee/talent_upload/icon-location.png",icon_account:"https://horastar.obs.cn-east-3.myhuaweicloud.com/youngee/talent_upload/icon-account.png",icon_rmb:"https://horastar.obs.cn-east-3.myhuaweicloud.com/youngee/talent_upload/icon-rmb.png",icon_message:"https://horastar.obs.cn-east-3.myhuaweicloud.com/youngee/talent_upload/icon-message.png",icon_right:"https://horastar.obs.cn-east-3.myhuaweicloud.com/talent_upload/icon-arrow-right.png",defaultavatarUrl:"https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/logoxin01.png"},token:"",nickName:"",avatarUrl:"",type:"center",type2:"center",type3:"center",type4:"center",mysNavConfig:{isHome:!0,navFixed:!0,navTitle:{text:"我的",color:"",fontSize:"32rpx",fontWeight:"normal"}},codeImg:"",information:{}}},onShow:function(){this.nickName=n.getStorageSync("nickName"),this.avatarUrl=n.getStorageSync("avatarUrl"),this.token=n.getStorageSync("token"),console.log(this.token),""!==this.token&&this.gettalentinfo()},onLoad:function(){},methods:{gettalentinfo:function(){var n=this;this.$https.get("/youngee/c/t/g/get-talent-info").then((function(t){console.log(t),n.information=t.data.data}))},login:function(){n.navigateTo({url:"../login/login"})},personinfo:function(){""!==this.token?n.navigateTo({url:"/pages/mycenter/personinfo"}):this.login()},mylocation:function(){""!==this.token?n.navigateTo({url:"/pages/mycenter/mylocation"}):this.login()},myaccount:function(){""!==this.token?n.navigateTo({url:"/pages/mycenter/myaccount"}):this.login()},mybank:function(){""!==this.token?n.navigateTo({url:"/pages/mycenter/mybank"}):this.login()},withdraw:function(){console.log("提现")},toincome:function(n){console.log(n)},tomytask:function(n){console.log(n)}},toDecimal:function(n){var t=parseFloat(n);if(!isNaN(t))return t=Math.round(100*n)/100,t},change:function(n){console.log("当前模式："+n.type+",状态："+n.show)},togo2:function(n){this.type2=n,this.$refs.popup2.open(n)},togo3:function(n){this.type3=n,this.$refs.popup3.open(n)},togo4:function(n){this.type4=n,this.$refs.popup4.open(n)},about:function(){n.navigateTo({url:"/pages/my/aboutyg"})},personal:function(){n.navigateTo({url:"/pages/my/personal"})},receiving:function(){n.navigateTo({url:"/pages/my/receiving"})},ppcurrency:function(){n.navigateTo({url:"/pages/ppcurrency/ppcurrency"})},gameplayer:function(){n.navigateTo({url:"/pages/gameplayer/gameplayer"})},mymission:function(t){""!==this.token?n.navigateTo({url:"/pages/mymission/mymission?typee="+t}):n.showToast({title:"请先登录",icon:"none",duration:2e3})}};t.default=a}).call(this,o("543d")["default"])},"34ae":function(n,t,o){"use strict";(function(n){o("a87f");e(o("66fd"));var t=e(o("bdcd"));function e(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=o,n(t.default)}).call(this,o("543d")["createPage"])},8431:function(n,t,o){},"8fa0":function(n,t,o){"use strict";var e=o("cffe"),a=o.n(e);a.a},bdcd:function(n,t,o){"use strict";o.r(t);var e=o("fba3"),a=o("033d");for(var i in a)"default"!==i&&function(n){o.d(t,n,(function(){return a[n]}))}(i);o("0347"),o("8fa0");var c,u=o("f0c5"),r=Object(u["a"])(a["default"],e["b"],e["c"],!1,null,"155a2312",null,!1,e["a"],c);t["default"]=r.exports},cffe:function(n,t,o){},fba3:function(n,t,o){"use strict";o.d(t,"b",(function(){return a})),o.d(t,"c",(function(){return i})),o.d(t,"a",(function(){return e}));var e={uniPopup:function(){return o.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(o.bind(null,"7ae8"))}},a=function(){var n=this,t=n.$createElement;n._self._c},i=[]}},[["34ae","common/runtime","common/vendor"]]]);