2024-12-12 07:49:32 +00:00
|
|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{201:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(202));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},202:function(e,n,t){"use strict";t.r(n);var o=t(203),r=t(205);for(var a in r)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(a);t(207);var u,i=t(33),c=Object(i["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"b237504c",null,!1,o["components"],u);c.options.__file="pages/login/login.vue",n["default"]=c.exports},203:function(e,n,t){"use strict";t.r(n);var o=t(204);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},204:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return u})),t.d(n,"recyclableRender",(function(){return a})),t.d(n,"components",(function(){return o}));try{o={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,705))},"u-Input":function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u--input/u--input")]).then(t.bind(null,356))},uCheckboxGroup:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-checkbox-group/u-checkbox-group")]).then(t.bind(null,362))},uCheckbox:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-checkbox/u-checkbox")]).then(t.bind(null,370))},uButton:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-button/u-button")]).then(t.bind(null,378))},uCodeInput:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-code-input/u-code-input")]).then(t.bind(null,388))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.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 e=this,n=e.$createElement;e._self._c},a=!1,u=[];r._withStripped=!0},205:function(e,n,t){"use strict";t.r(n);var o=t(206),r=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},206:function(e,n,t){"use strict";(function(e){var o=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(t(63)),a=o(t(65)),u={data:function(){return{code:"",openId:"",isShow:!0,isNew:!1,isShowCaptcha:!1,phone:"",checked:[],disabled:!0,captcha:"",time:60,timer:null,isPhoneLogin:!1}},methods:{goRouter:function(){e.switchTab({url:"/pages/home/index"})},getPhoneNumber:function(n){var t=this;return(0,a.default)(r.default.mark((function o(){var a;return r.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:if("getPhoneNumber:ok"!=n.detail.errMsg){o.next=7;break}return o.next=3,t.$api.login.getTel({code:n.detail.code});case 3:a=o.sent,0==a.status?(e.setStorageSync("token",a.data.token),e.setStorageSync("telNum",a.data.telNum),t.isPhoneLogin=!1,e.setStorageSync("phoneLogin",t.isPhoneLogin),a.data.isNew?e.reLaunch({url:"/pages/realName/realName"}):e.reLaunch({url:"/pages/home/index"})):t.$common.msgToast(a.msg),o.next=8;break;case 7:t.$common.msgToast("请不要拒绝哟~重新点击登录");case 8:case"end":return o.stop()}}),o)})))()},getOpenId:function(){var n=this;return(0,a.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.login({provider:"weixin",success:function(){var t=(0,a.default)(r.default.mark((function t(o){var a;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return console.log("res.
|