(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/choosePlatform/choosePlatform"],{"0956":function(e,n,t){"use strict";var r=t("dba0"),o=t.n(r);o.a},"42d5":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return u})),t.d(n,"a",(function(){return r}));var r={uniNoticeBar:function(){return t.e("uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar").then(t.bind(null,"e4fd"))}},o=function(){var e=this,n=e.$createElement;e._self._c},u=[]},"72d5":function(e,n,t){"use strict";t.r(n);var r=t("42d5"),o=t("9ad5");for(var u in o)"default"!==u&&function(e){t.d(n,e,(function(){return o[e]}))}(u);t("0956");var i,a=t("f0c5"),c=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,"2b01c14a",null,!1,r["a"],i);n["default"]=c.exports},"9ad5":function(e,n,t){"use strict";t.r(n);var r=t("b5ea"),o=t.n(r);for(var u in r)"default"!==u&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=o.a},b5ea:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(t("a34a")),o=t("26cb"),u=t("bcb6");function i(e){return e&&e.__esModule?e:{default:e}}function a(e,n,t,r,o,u,i){try{var a=e[u](i),c=a.value}catch(s){return void t(s)}a.done?n(c):Promise.resolve(c).then(r,o)}function c(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var u=e.apply(n,t);function i(e){a(u,r,o,i,c,"next",e)}function c(e){a(u,r,o,i,c,"throw",e)}i(void 0)}))}}function s(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?s(Object(t),!0).forEach((function(n){l(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function l(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var d={data:function(){return{isAuth:!1,isLogin:!1,isLive:!1,liveId:"sph2Kn7SwRTPGaO"}},mounted:function(){var n=this;e.getChannelsLiveInfo({finderUserName:n.liveId,success:function(e){n.isLive=2===e.status}})},computed:f({},(0,o.mapState)(["userInfo"])),onShow:function(){var n=null;try{n=JSON.parse(e.getStorageSync("userInfo"))}catch(t){}n&&(this.isLogin=!0,this.setUserInfo(n),this.findAuth())},methods:f(f({},(0,o.mapMutations)(["setUserInfo"])),{},{findAuth:function(){var e=this;return c(r.default.mark((function n(){var t,o;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t={mobile:e.userInfo.phone,departmentId:1},n.next=3,(0,u.findUserAuth)(t);case 3:o=n.sent,console.log(o),!0===o.data&&(e.isAuth=!0);case 6:case"end":return n.stop()}}),n)})))()},toLogin:function(){e.navigateTo({url:"/pages/Login/Login?choose=1"})},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(){e.navigateTo({url:"/pages/newsSquare/newsSquare"})}})};n.default=d}).call(this,t("543d")["default"])},db1e:function(e,n,t){"use strict";(function(e){t("eea4");r(t("66fd"));var n=r(t("72d5"));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t("543d")["createPage"])},dba0:function(e,n,t){}},[["db1e","common/runtime","common/vendor"]]]);