| ¶Ô±ÈÐÂÎļþ |
| | |
| | | (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/auth-login/auth-login"],{506:function(e,n,t){"use strict";t.r(n);var o=t(507),c=t(509);for(var r in c)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return c[e]}))}(r);t(511);var i,u=t(41),a=Object(u["default"])(c["default"],o["render"],o["staticRenderFns"],!1,null,"c3342d78",null,!1,o["components"],i);a.options.__file="components/auth-login/auth-login.vue",n["default"]=a.exports},507:function(e,n,t){"use strict";t.r(n);var o=t(508);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"]}))},508:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return c})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return r})),t.d(n,"components",(function(){return o}));try{o={uPopup:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(t.bind(null,522))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. ææ¥ç»ä»¶åç§°æ¼åæ¯å¦æ£ç¡®"),console.error("2. ææ¥ç»ä»¶æ¯å¦ç¬¦å easycom è§èï¼ææ¡£ï¼https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. è¥ç»ä»¶ä¸ç¬¦å easycom è§èï¼éæå¨å¼å
¥ï¼å¹¶å¨ components 䏿³¨å该ç»ä»¶")}var c=function(){var e=this,n=e.$createElement;e._self._c},r=!1,i=[];c._withStripped=!0},509:function(e,n,t){"use strict";t.r(n);var o=t(510),c=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=c.a},510:function(e,n,t){"use strict";(function(e){var o=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=o(t(34)),r=o(t(36)),i={name:"AuthLogin",props:{show:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},closeOnMask:{type:Boolean,default:!0}},data:function(){return{localChecked:this.checked}},watch:{checked:function(e){this.localChecked=e}},methods:{toggleChecked:function(){this.localChecked=!this.localChecked,this.$emit("update:checked",this.localChecked),this.$emit("change",this.localChecked)},handleClose:function(){this.$emit("close")},handleServiceclick:function(){e.navigateTo({url:"/pages/rich-text/rich-text?type=0"})},handlePrivacyclick:function(){e.navigateTo({url:"/pages/rich-text/rich-text?type=1"})},handlePhoneLogin:function(n){var t=this;return(0,r.default)(c.default.mark((function o(){return c.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:"getPhoneNumber:ok"===n.detail.errMsg&&e.login({provider:"weixin",success:function(){var e=(0,r.default)(c.default.mark((function e(t){var o,r,i=this;return c.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=t.code,e.next=3,this.$u.api.wxLogin({code:o});case 3:r=e.sent,200===r.code&&this.$u.api.wxAuthPhone({code:n.detail.code,openid:r.data.openid}).then((function(e){200===e.code&&(i.$store.commit("setUserInfo",e.data.member),i.$store.commit("setToken",e.data.token),i.$emit("close"))}));case 5:case"end":return e.stop()}}),e,this)})));return function(n){return e.apply(this,arguments)}}().bind(t)});case 1:case"end":return o.stop()}}),o)})))()},handleUncheckedLogin:function(){e.showToast({title:"请å
é
读并åæåè®®",icon:"none"}),this.$emit("unchecked")}}};n.default=i}).call(this,t(2)["default"])},511:function(e,n,t){"use strict";t.r(n);var o=t(512),c=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=c.a},512:function(e,n,t){}}]); |
| | | //# sourceMappingURL=../../../.sourcemap/mp-weixin/components/auth-login/auth-login.js.map |
| | | ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
| | | 'components/auth-login/auth-login-create-component', |
| | | { |
| | | 'components/auth-login/auth-login-create-component':(function(module, exports, __webpack_require__){ |
| | | __webpack_require__('2')['createComponent'](__webpack_require__(506)) |
| | | }) |
| | | }, |
| | | [['components/auth-login/auth-login-create-component']] |
| | | ]); |