(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/index"],{178:function(n,e,t){"use strict";(function(n,e){var r=t(4);t(26);r(t(25));var o=r(t(179));n.__webpack_require_UNI_MP_PLUGIN__=t,e(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},179:function(n,e,t){"use strict";t.r(e);var r=t(180),o=t(182);for(var a in o)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(a);t(185);var u,c=t(34),i=Object(c["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"137d5072",null,!1,r["components"],u);i.options.__file="pages/user/index.vue",e["default"]=i.exports},180:function(n,e,t){"use strict";t.r(e);var r=t(181);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},181:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return o})),t.d(e,"staticRenderFns",(function(){return u})),t.d(e,"recyclableRender",(function(){return a})),t.d(e,"components",(function(){return r}));try{r={uAvatar:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-avatar/u-avatar")]).then(t.bind(null,639))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var o=function(){var n=this,e=n.$createElement;n._self._c},a=!1,u=[];o._withStripped=!0},182:function(n,e,t){"use strict";t.r(e);var r=t(183),o=t.n(r);for(var a in r)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(a);e["default"]=o.a},183:function(n,e,t){"use strict";(function(n,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(184),a={data:function(){return{avatar:"",show:!1,title:"提示",content:"确认退出吗？",usertoken:"",version:"1.0",isOpen:!0}},computed:{imgPath:function(){return this.$store.state.imgpath}},mounted:function(){this.getCheckAppId()},onLoad:function(){var e=n.getAccountInfoSync();this.version=e.miniProgram.version},methods:{openH5:function(n){r.navigateTo({url:"/pages/user/userAgreement?type="+n})},clearCache:function(){r.clearStorage(),r.showToast({title:"清理成功",icon:"none",duration:2e3})},getCheckAppId:function(){console.error("获取AppID",r.getAccountInfoSync());try{var n=r.getAccountInfoSync();if(n&&n.miniProgram){var e=n.miniProgram.appId;this.queryIsTownOn(e)}}catch(t){console.error("获取AppID失败",t)}},queryIsTownOn:function(n){var e=this;(0,o.queryIsTownOn)({appId:n}).then((function(n){"001"==n.date&&(e.isOpen=!0)}))},navTo:function(n){r.getStorageSync("ManageToken")?r.navigateTo({url:"/pages_manage/index"}):r.navigateTo({url:"/pages_manage/login"})},goToCourse:function(){r.navigateTo({url:"/pages_course/video"})}}};e.default=a}).call(this,t(1)["default"],t(2)["default"])},185:function(n,e,t){"use strict";t.r(e);var r=t(186),o=t.n(r);for(var a in r)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(a);e["default"]=o.a},186:function(n,e,t){}},[[178,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/user/index.js.map