myaccount.js 2.8 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/mycenter/myaccount"],{1507:function(t,n,o){"use strict";o.r(n);var a=o("ca68"),e=o.n(a);for(var c in a)"default"!==c&&function(t){o.d(n,t,(function(){return a[t]}))}(c);n["default"]=e.a},9860:function(t,n,o){"use strict";o.r(n);var a=o("cb40"),e=o("1507");for(var c in e)"default"!==c&&function(t){o.d(n,t,(function(){return e[t]}))}(c);o("afc6");var i,u=o("f0c5"),r=Object(u["a"])(e["default"],a["b"],a["c"],!1,null,"93b500c0",null,!1,a["a"],i);n["default"]=r.exports},"9dd6":function(t,n,o){"use strict";(function(t){o("a87f");a(o("66fd"));var n=a(o("9860"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=o,t(n.default)}).call(this,o("543d")["createPage"])},afc6:function(t,n,o){"use strict";var a=o("dd0e"),e=o.n(a);e.a},ca68:function(t,n,o){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=function(){o.e("components/mys_navBar/mysNavBar").then(function(){return resolve(o("7857"))}.bind(null,o)).catch(o.oe)},e={components:{mvBar:a},data:function(){return{togoimg:"https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/task16.png",list1:[],account:[],mysNavConfig:{isHome:!0,navFixed:!0,navTitle:{text:"我的信息",color:"",fontSize:"32rpx",fontWeight:"normal"},btnType:"type2",onLeftClick:"/pages/mycenter/mycenter",type2Config:{leftPath:"/static/img/png2.png",rightPath:"/static/img/png4.png",radius:"40rpx"}}}},onShow:function(){this.getlist1(),t.showLoading(),setTimeout((function(){t.hideLoading()}),500)},onLoad:function(){},methods:{tomylocation:function(){t.navigateTo({url:"./mylocation"})},topersoninfo:function(){t.navigateTo({url:"./personinfo"})},tomybank:function(){t.navigateTo({url:"./mybank"})},getlist:function(){var t=this;this.$https.get("/youngee/c/t/g/get-talent-account").then((function(n){if(console.log(n),-3!==n.data.code){t.account=n.data.data;for(var o=0;o<t.account.length;o++)for(var a=0;a<t.list1.length;a++)t.list1[a].id==t.account[o].platform_id&&(t.account[o].platform_icon=t.list1[a].platform_icon,t.list1.splice(a,1))}}))},getlist1:function(){var t=this;this.$https.get("/youngee/c/g/get-info-tables").then((function(n){console.log(n),t.list1=n.data.data.ThirdPlatform,t.getlist()}))},bindaccount:function(n){t.navigateTo({url:"/pages/mycenter/bindaccount?platform_id="+n.id})},accountdetail:function(n){t.navigateTo({url:"/pages/mycenter/bindaccount?platform_id="+n.platform_id+"&account_id="+n.account_id})}}};n.default=e}).call(this,o("543d")["default"])},cb40:function(t,n,o){"use strict";var a;o.d(n,"b",(function(){return e})),o.d(n,"c",(function(){return c})),o.d(n,"a",(function(){return a}));var e=function(){var t=this,n=t.$createElement;t._self._c},c=[]},dd0e:function(t,n,o){}},[["9dd6","common/runtime","common/vendor"]]]);