{"version":3,"sources":["webpack:///./src/api/login.js","webpack:///./src/views/login/register.vue?e7de","webpack:///src/views/login/register.vue","webpack:///./src/views/login/register.vue?7c28","webpack:///./src/views/login/register.vue"],"names":["login","data","fetch","url","method","register","sellerRegister","render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","$t","directives","name","rawName","value","form","expression","attrs","domProps","on","$event","target","composing","$set","Array","isArray","checked","_i","$$a","$$el","$$c","$$v","$$i","concat","slice","loading","submit","toPath","staticRenderFns","username","email","password","password2","invite","mounted","$route","query","code","methods","path","$router","push","back","go","append","res","$toast","component"],"mappings":"kHAAA,sHAGO,SAASA,EAAMC,GACpB,OAAOC,eAAM,CACXC,IAAK,kBACLC,OAAQ,OACRH,KAAMA,IAIH,SAASI,EAASJ,GACvB,OAAOC,eAAM,CACXC,IAAK,qBACLC,OAAQ,OACRH,KAAMA,IAIH,SAASK,EAAeL,GAC7B,OAAOC,eAAM,CACXC,IAAK,gCACLC,OAAQ,OACRH,KAAMA,M,yCCvBV,IAAIM,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,MAAM,CAACE,YAAY,gDAAgD,CAACF,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,KAAK,CAACE,YAAY,aAAa,CAACN,EAAIO,GAAG,IAAIP,EAAIQ,GAAGR,EAAIS,GAAG,+BAA+B,SAASL,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACF,EAAG,MAAM,GAAG,CAACA,EAAG,OAAO,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,+BAA+B,CAACF,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CAChBvC,KAAMqC,KAIZG,KARJ,WASMlD,KAAKgD,QAAQG,IAAI,IAEnBjB,OAXJ,WAWA,WACM,GAAKlC,KAAKa,KAAKwB,SAIf,GAAKrC,KAAKa,KAAKyB,MAIf,GAAKtC,KAAKa,KAAK0B,SAIf,GAAKvC,KAAKa,KAAK2B,UAIf,GAAN,wCAIM,GAAKxC,KAAKwB,QAAV,CAKAxB,KAAKiC,SAAU,EAEf,IAAN,eACMpB,EAAKuC,OAAO,WAAYpD,KAAKa,KAAKwB,UAClCxB,EAAKuC,OAAO,QAASpD,KAAKa,KAAKyB,OAC/BzB,EAAKuC,OAAO,WAAYpD,KAAKa,KAAK0B,UAClC1B,EAAKuC,OAAO,kBAAmBpD,KAAKa,KAAK2B,WACzC3B,EAAKuC,OAAO,iBAAkBpD,KAAKa,KAAK4B,QACxC,OAAN,OAAM,CAAN,qBACQ,EAAR,WACwB,GAAZY,EAAIR,MACN,EAAV,kCACU,EAAV,cACYnC,KAAM,WAGR,EAAV,sBAEA,kBACQ,EAAR,mBAvBQV,KAAKsD,OAAOtD,KAAKQ,GAAG,8BAJpBR,KAAKsD,OAAOtD,KAAKQ,GAAG,gCAJpBR,KAAKsD,OAAOtD,KAAKQ,GAAG,4BAJpBR,KAAKsD,OAAOtD,KAAKQ,GAAG,2BAJpBR,KAAKsD,OAAOtD,KAAKQ,GAAG,+BAJpBR,KAAKsD,OAAOtD,KAAKQ,GAAG,6BC/FqU,I,YCO7V+C,EAAY,eACd,EACAzD,EACAsC,GACA,EACA,KACA,KACA,MAIa,aAAAmB,E","file":"js/chunk-5d16a380.ce372185.js","sourcesContent":["import fetch from \"../utils/fetch\";\n\n// 登录\nexport function login(data) {\n return fetch({\n url: '/api/user/login',\n method: 'Post',\n data: data\n });\n}\n// 注册\nexport function register(data) {\n return fetch({\n url: '/api/user/register',\n method: 'Post',\n data: data\n });\n}\n// 商家注册\nexport function sellerRegister(data) {\n return fetch({\n url: '/api/merchant/seller-register',\n method: 'Post',\n data: data\n });\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"gry-bg py-5\"},[_c('div',{staticClass:\"profile\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xxl-4 col-xl-5 col-lg-6 col-md-8 mx-auto\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"text-center pt-4\"},[_c('h1',{staticClass:\"h4 fw-600\"},[_vm._v(\" \"+_vm._s(_vm.$t('chuang-jian-yi-ge-zhang-hu'))+\" \")])]),_c('div',{staticClass:\"px-4 py-3 py-lg-4\"},[_c('div',{},[_c('form',{staticClass:\"form-default\"},[_c('div',{staticClass:\"form-group phone-form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.username),expression:\"form.username\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('quan-ming'),\"name\":\"phone\",\"autocomplete\":\"off\",\"required\":\"\"},domProps:{\"value\":(_vm.form.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"username\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group phone-form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.email),expression:\"form.email\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('dian-zi-you-jian'),\"name\":\"phone\",\"autocomplete\":\"off\",\"required\":\"\"},domProps:{\"value\":(_vm.form.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"email\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.password),expression:\"form.password\"}],staticClass:\"form-control\",attrs:{\"type\":\"password\",\"placeholder\":_vm.$t('mi-ma'),\"name\":\"password\",\"id\":\"password\",\"required\":\"\"},domProps:{\"value\":(_vm.form.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"password\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.password2),expression:\"form.password2\"}],staticClass:\"form-control\",attrs:{\"type\":\"password\",\"placeholder\":_vm.$t('que-ren-mi-ma-mi-ma'),\"name\":\"password\",\"id\":\"password\",\"required\":\"\"},domProps:{\"value\":(_vm.form.password2)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"password2\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.invite),expression:\"form.invite\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('yao-qing-ma'),\"name\":\"password\",\"id\":\"password\"},domProps:{\"value\":(_vm.form.invite)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"invite\", $event.target.value)}}})]),_c('div',{staticClass:\" mb-3\"},[_c('label',{staticClass:\"aiz-checkbox\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.checked),expression:\"checked\"}],attrs:{\"type\":\"checkbox\",\"name\":\"remember\"},domProps:{\"checked\":Array.isArray(_vm.checked)?_vm._i(_vm.checked,null)>-1:(_vm.checked)},on:{\"change\":function($event){var $$a=_vm.checked,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.checked=$$a.concat([$$v]))}else{$$i>-1&&(_vm.checked=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.checked=$$c}}}}),_c('span',{staticClass:\"opacity-60\"},[_vm._v(_vm._s(_vm.$t('register-desc')))]),_c('span',{staticClass:\"aiz-square-check\"})])]),_c('div',{staticClass:\"mb-5\"},[_c('button',{staticClass:\"btn btn-primary btn-block fw-600\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading},on:{\"click\":_vm.submit}},[(_vm.loading)?_c('span',[_vm._v(_vm._s(_vm.$t('zheng-zai-zhu-ce-zhong'))+\"...\")]):_c('span',[_vm._v(_vm._s(_vm.$t('chuang-jian-zhang-hu')))])])])])]),_c('div',{staticClass:\"text-center\"},[_c('p',{staticClass:\"text-muted mb-0\"},[_vm._v(_vm._s(_vm.$t('yi-you-yi-ge-zhang-hu')))]),_c('a',{attrs:{\"href\":\"javascript: void(0)\"},on:{\"click\":function($event){return _vm.toPath('login')}}},[_vm._v(_vm._s(_vm.$t('deng-lu')))])])])])])])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n {{ $t('chuang-jian-yi-ge-zhang-hu') }} \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n \n\n \n \n \n\n \n \n \n {{ $t('register-desc') }}\n \n \n \n\n \n \n {{ $t('zheng-zai-zhu-ce-zhong') }}...\n {{ $t('chuang-jian-zhang-hu') }}\n \n \n \n \n \n {{ $t('yi-you-yi-ge-zhang-hu') }}\n {{ $t('deng-lu') }}\n \n \n \n \n \n \n \n \n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./register.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./register.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./register.vue?vue&type=template&id=5ec0567a&\"\nimport script from \"./register.vue?vue&type=script&lang=js&\"\nexport * from \"./register.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
{{ $t('yi-you-yi-ge-zhang-hu') }}