(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/choosePlatform/choosePlatform"],{"72d5":function(e,t,n){"use strict";n.r(t);var r=n("bb3b"),o=n("9ad5");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("ebba");var i,u=n("f0c5"),c=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,"73d30ad6",null,!1,r["a"],i);t["default"]=c.exports},9510:function(e,t,n){},"9ad5":function(e,t,n){"use strict";n.r(t);var r=n("b5ea"),o=n.n(r);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a},b5ea:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("a34a")),o=n("26cb"),a=n("bcb6");function i(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n,r,o,a,i){try{var u=e[a](i),c=u.value}catch(s){return void n(s)}u.done?t(c):Promise.resolve(c).then(r,o)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){u(a,r,o,i,c,"next",e)}function c(e){u(a,r,o,i,c,"throw",e)}i(void 0)}))}}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d={data:function(){return{isAuth:!1,isLogin:!1,isLive:!1,liveId:"sph2Kn7SwRTPGaO"}},mounted:function(){var t=this;e.getChannelsLiveInfo({finderUserName:this.liveId,success:function(e){t.isLive=2===e.status}})},computed:f({},(0,o.mapState)(["userInfo"])),onShow:function(){var t=null;try{t=JSON.parse(e.getStorageSync("userInfo"))}catch(n){}t&&(this.isLogin=!0,this.setUserInfo(t),this.findAuth())},methods:f(f({},(0,o.mapMutations)(["setUserInfo"])),{},{findAuth:function(){var e=this;return c(r.default.mark((function t(){var n,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n={mobile:e.userInfo.phone,departmentId:1},t.next=3,(0,a.findUserAuth)(n);case 3:o=t.sent,console.log(o),!0===o.data&&(e.isAuth=!0);case 6:case"end":return t.stop()}}),t)})))()},toManage:function(){e.navigateTo({url:"/pages/managePage/managePage?phone=".concat(this.userInfo.phone)})},tolive:function(){e.openChannelsLive({finderUserName:this.liveId,success:function(){console.log("success")},fail:function(){e.showToast({title:"已取消跳转视频号",duration:2e3,icon:"none"})}})},toSquare:function(){this.isLogin?e.navigateTo({url:"/pages/newsSquare/newsSquare"}):e.navigateTo({url:"/pages/Login/Login?choose=1"})}})};t.default=d}).call(this,n("543d")["default"])},bb3b:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement;e._self._c},a=[]},db1e:function(e,t,n){"use strict";(function(e){n("eea4");r(n("66fd"));var t=r(n("72d5"));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},ebba:function(e,t,n){"use strict";var r=n("9510"),o=n.n(r);o.a}},[["db1e","common/runtime","common/vendor"]]]);