(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{75:function(n,e,t){"use strict";(function(n,e){var o=t(4);t(26);o(t(25));var r=o(t(76));n.__webpack_require_UNI_MP_PLUGIN__=t,e(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},76:function(n,e,t){"use strict";t.r(e);var o=t(77),r=t(79);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);var a,c=t(32),s=Object(c["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],a);s.options.__file="pages/login/login.vue",e["default"]=s.exports},77:function(n,e,t){"use strict";t.r(e);var o=t(78);t.d(e,"render",(function(){return o["render"]})),t.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(e,"components",(function(){return o["components"]}))},78:function(n,e,t){"use strict";var o;t.r(e),t.d(e,"render",(function(){return r})),t.d(e,"staticRenderFns",(function(){return a})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return o}));try{o={uniNavBar:function(){return t.e("uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar").then(t.bind(null,433))}}}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 r=function(){var n=this,e=n.$createElement;n._self._c;n._isMounted||(n.e0=function(e){return n.$tools.goBack()},n.e1=function(e){n.onSel=!n.onSel},n.e2=function(e){return n.$tools.goNext("/pageOne/mes/agreement?name=用户协议&type=2")},n.e3=function(e){return n.$tools.goNext("/pageOne/mes/agreement?name=隐私政策&type=1")})},i=!1,a=[];r._withStripped=!0},79:function(n,e,t){"use strict";t.r(e);var o=t(80),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=r.a},80:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={data:function(){return{onSel:!1,invitation:"",logo:""}},onLoad:function(n){this.invitation=n.pid,this.richText()},methods:{getIphone:function(e){var t=this;if(0==this.onSel)return this.$tools.showtt("请先阅读并同意协议");n.login({success:function(n){t.insertUserByPhoneNew(e.detail,n.code)}})},insertUserByPhoneNew:function(e,t){var o=this;this.$tools.axios("POST","user/wxRegister",{code:t,iv:e.iv,encryptedData:e.encryptedData,invitation:this.invitation||""}).then((function(e){o.$tools.showtt(e.msg),1==e.code&&(n.setStorageSync("token",e.data.userinfo.token),n.setStorageSync("uid",e.data.userinfo.id),setTimeout((function(){o.$tools.goSwitchTab("/pages/tabbar/index")}),1e3))}))},richText:function(){var n=this;this.$tools.axios("POST","index/richText").then((function(e){n.logo=e.data.logo}))}}};e.default=t}).call(this,t(2)["default"])}},[[75,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/login.js.map