(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/phoneSettled"],{150:function(e,t,n){"use strict";(function(e){n(5);o(n(4));var t=o(n(151));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n(1)["createPage"])},151:function(e,t,n){"use strict";n.r(t);var o=n(152),i=n(154);for(var u in i)"default"!==u&&function(e){n.d(t,e,(function(){return i[e]}))}(u);n(156);var s,a=n(11),r=Object(a["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],s);r.options.__file="pages/my/phoneSettled.vue",t["default"]=r.exports},152:function(e,t,n){"use strict";n.r(t);var o=n(153);n.d(t,"render",(function(){return o["render"]})),n.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),n.d(t,"components",(function(){return o["components"]}))},153:function(e,t,n){"use strict";var o;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return s})),n.d(t,"recyclableRender",(function(){return u})),n.d(t,"components",(function(){return o}));var i=function(){var e=this,t=e.$createElement;e._self._c},u=!1,s=[];i._withStripped=!0},154:function(e,t,n){"use strict";n.r(t);var o=n(155),i=n.n(o);for(var u in o)"default"!==u&&function(e){n.d(t,e,(function(){return o[e]}))}(u);t["default"]=i.a},155:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{phone:"",codes:"",banners:[],invitation:"",loginName:"",sending:!1,sendTime:"获取验证码",count:60,captcha:"",captchaPath:"",uuid:"",show:!1}},onLoad:function(){},methods:{bindRuzhu:function(){e.navigateTo({url:"/my/publish/index"})},bindRuzhus:function(){e.navigateTo({url:"/pages/my/phoneSettled"})},sendMsg:function(){var t=this,n=this.phone;n?11!==n.length?this.$queue.showToast("请输入正确的手机号"):(this.$queue.showLoading("正在发送验证码..."),this.$Request.getT("/app/Login/sendMsg/"+n+"/selectShop").then((function(n){0===n.code?(t.sending=!0,t.$queue.showToast("验证码发送成功请注意查收"),t.countDown(),e.hideLoading()):(e.hideLoading(),e.showModal({showCancel:!1,title:"短信发送失败",content:n.msg?n.msg:"请一分钟后再获取验证码"}))}))):this.$queue.showToast("请输入手机号")},countDown:function(){var e=this.count;1===e?(this.count=60,this.sending=!1,this.sendTime="获取验证码"):(this.count=e-1,this.sending=!0,this.sendTime=e-1+"秒后重新获取",setTimeout(this.countDown.bind(this),1e3))},forget:function(){e.navigateTo({url:"/pages/public/forgetPwd"})},register:function(){e.navigateTo({url:"/pages/public/register"})},inputChange:function(e){var t=e.currentTarget.dataset.key;this[t]=e.detail.value},navBack:function(){e.navigateBack()},toLogin:function(){var t=this,n=this.phone,o=this.codes;if(console.log(n,o),n)if(11!==n.length)this.$queue.showToast("请输入正确的手机号");else if(o){var i={msg:o,phone:n};this.$Request.getA("/admin/goodsShop/selectGoodsShop",i).then((function(n){0==n.code&&n.data?1==n.data.status?t.$queue.showToast("您已审核通过，可以直接登录！"):(e.setStorageSync("Settedlist",n.data),e.navigateTo({url:"/my/publish/index"})):t.$queue.showToast(n.msg)}))}else this.$queue.showToast("请输入六位数验证码");else this.$queue.showToast("请输入手机号")}}};t.default=n}).call(this,n(1)["default"])},156:function(e,t,n){"use strict";n.r(t);var o=n(157),i=n.n(o);for(var u in o)"default"!==u&&function(e){n.d(t,e,(function(){return o[e]}))}(u);t["default"]=i.a},157:function(e,t,n){}},[[150,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/my/phoneSettled.js.map