;my.defineComponent || (my.defineComponent = Component);(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["components/login"],{"5fd2":function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return u})),t.d(e,"a",(function(){return o}));var o={uPopup:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-popup/u-popup")]).then(t.bind(null,"48ab"))}},i=function(){var n=this.$createElement;this._self._c},u=[]},a78a:function(n,e,t){},ab66:function(n,e,t){"use strict";var o=t("a78a"),i=t.n(o);i.a},ae9f:function(n,e,t){"use strict";t.r(e);var o=t("5fd2"),i=t("b1d5");for(var u in i)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(u);t("ab66");var c=t("828b"),a=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=a.exports},b1d5:function(n,e,t){"use strict";t.r(e);var o=t("b3b6"),i=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=i.a},b3b6:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={name:"LoginOpen",data:function(){return{show:!0,openId:"",phone:""}},mounted:function(){var e=this;n.login({success:function(t){e.$http.get("/public/ali/getopenId",{code:t.code}).then((function(t){var o=JSON.parse(t.code);console.log("getOpenId",o),e.openId=o.alipay_system_oauth_token_response.open_id,n.setStorageSync("openId",o.alipay_system_oauth_token_response.open_id)}))}})},methods:{getphonenumber:function(e){var t=this;console.log(e),this.$http.post("/public/ali/getPhone",{sign:e.detail.sign,response:e.detail.encryptedData}).then((function(e){var o=JSON.parse(e.code);n.setStorageSync("phone",o.mobile),t.phone=o.mobile,t.register()}))},register:function(){var n=this;this.$http.post("/public/person/c",{phoneNumber:this.phone,openId:this.openId}).then((function(e){n.login()}))},login:function(){var e=this;n.request({url:"https://jyzp.365jft.com/jfb-recruit/loginform",method:"POST",data:{account:this.openId,wxType:"wx"},header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(t){console.log("请求成功",t),n.setStorageSync("jy-recruit-token",t.data.token),n.showToast({title:"登录成功",icon:"none"}),e.$emit("close",t.data.token)},fail:function(n){console.log("请求失败",n)}})},close:function(){}}};e.default=t}).call(this,t("6861")["default"])}}]);
;(my["webpackJsonp"] = my["webpackJsonp"] || []).push([
    'components/login-create-component',
    {
        'components/login-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('6861')['createComponent'](__webpack_require__("ae9f"))
        })
    },
    [['components/login-create-component']]
]);
