1 |
- {"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.string.link.js","webpack:///./node_modules/core-js/internals/create-html.js","webpack:///./node_modules/core-js/internals/string-html-forced.js","webpack:///./components/PcGlobalForm.vue?1222","webpack:///./components/PcGlobalForm.vue?c825","webpack:///./components/loginDialog.vue?e103","webpack:///./components/PcGlobalForm.vue?1db4","webpack:///./components/PcGlobalForm.vue","webpack:///./components/PcGlobalForm.vue?eeb0","webpack:///./node_modules/js-base64/base64.mjs","webpack:///./components/loginDialog.vue?13b5","webpack:///./components/loginDialog.vue","webpack:///./components/loginDialog.vue?328a","webpack:///./components/loginDialog.vue?0e0b"],"names":["$","createHTML","target","proto","forced","forcedStringHTMLMethod","link","url","this","uncurryThis","requireObjectCoercible","toString","quot","replace","module","exports","string","tag","attribute","value","S","p1","fails","METHOD_NAME","test","toLowerCase","split","length","name","props","showDeleteBtn","type","Boolean","default","showLoginBtn","showRegisterBtn","formConfig","Array","required","formData","Object","rules","submitLoading","data","flag","methods","submit","_this","$refs","ruleForm","validate","valid","console","log","$emit","close","showPassword","component","_vm","_c","_self","staticClass","ref","attrs","_l","item","key","label","prop","style","width","disabled","placeholder","on","$event","change","model","callback","$$v","$set","expression","_e","_v","staticStyle","slot","maxlength","rows","showWordLimit","multiple","selectList","option","id","parseInt","radios","radio","checkboxs","_s","_t","slotName","nativeOn","apply","arguments","version","VERSION","_hasatob","atob","_hasbtoa","btoa","_hasBuffer","Buffer","_TD","TextDecoder","undefined","_TE","TextEncoder","b64chs","prototype","slice","call","b64tab","a","tab","forEach","c","i","b64re","_fromCC","String","fromCharCode","bind","_U8Afrom","Uint8Array","from","it","_mkUriSafe","src","m0","_tidyB64","s","btoaPolyfill","bin","u32","c0","c1","c2","asc","pad","charCodeAt","TypeError","substring","_btoa","_fromUint8Array","u8a","strs","l","push","subarray","join","fromUint8Array","urlsafe","cb_utob","cc","re_utob","utob","u","_encode","encode","encodeURI","re_btou","cb_btou","cccc","offset","btou","b","atobPolyfill","u24","r1","r2","charAt","_atob","_toUint8Array","map","toUint8Array","_unURI","_decode","decode","isValid","_noEnum","v","enumerable","writable","configurable","extendString","_add","body","defineProperty","extendUint8Array","extendBuiltins","gBase64","fromBase64","toBase64","encodeURL","Base64","require","components","GlobalForm","dialogXXSuccess","xxContentVisible","xxContent","isRemember","activeName","loginData","email","password","registData","loginFormConfig","autoInput","registFormConfig","long","loginRules","message","trigger","min","max","registRules","confirm_password","company","contacts","last_name","phone","autoComplete","selectAddress","computed","_objectSpread","mapState","dialogWidth","watch","dialogVisible","document","addEventListener","onEnterClick","removeEventListener","window","google","initGoogleMapAutoComplete","getAddrByLocation","setTimeout","mounted","getCookie","mapMutations","e","keyCode","loginForm","registForm","checkRegisterForm","_this2","setCookie","login","regist","_this3","$store","dispatch","then","res","code","closeDialog","$confirm","msg","confirmButtonText","showCancelButton","center","catch","_this4","assign","address","$axios","method","registerEmail","response","_this5","get","error","$message","resetPassword","resetPasswordDialog","resetDialogVisible","openLoginDialog","openDialog","days","date","Date","setTime","getTime","cookie","toGMTString","arr","arr2","toSignatureLink","_this$config$configIn","config","configInfo","open","maps","places","Autocomplete","getElementById","types","componentRestrictions","country","fields","addListener","onPlaceChange","_this6","getPlace","isArray","address_components","includes","long_name","short_name","onInputChange","attr","_this7","navigator","geolocation","location","lat","lng","getCurrentPosition","position","coords","latitude","longitude","Geocoder","geocode","_response$results","results","_vm$config$configInfo","_vm$config$configInfo2","scopedSlots","_u","fn","proxy","image","class","pointer","$e"],"mappings":"8FACA,IAAIA,EAAI,EAAQ,GACZC,EAAa,EAAQ,KAKzBD,EAAE,CAAEE,OAAQ,SAAUC,OAAO,EAAMC,OAJN,EAAQ,IAIMC,CAAuB,SAAW,CAC3EC,KAAM,SAAcC,GAClB,OAAON,EAAWO,KAAM,IAAK,OAAQD,EACvC,G,sBCVF,IAAIE,EAAc,EAAQ,GACtBC,EAAyB,EAAQ,IACjCC,EAAW,EAAQ,IAEnBC,EAAO,KACPC,EAAUJ,EAAY,GAA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ar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.es/ecma262/#sec-string.prototype.link\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\n\nvar quot = /\"/g;\nvar replace = uncurryThis(''.replace);\n\n// `CreateHTML` abstract operation\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = toString(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + replace(toString(value), quot, '"') + '\"';\n return p1 + '>' + S + '</' + tag + '>';\n};\n","var fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\n","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./PcGlobalForm.vue?vue&type=style&index=0&id=4b4d0fec&prod&lang=scss&scope=true&\"","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./PcGlobalForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./PcGlobalForm.vue?vue&type=script&lang=js&\"","\nexport default {\n name: \"GlobalForm\",\n props: {\n showDeleteBtn: {\n type: Boolean,\n default: true,\n },\n showLoginBtn: {\n type: Boolean,\n default: true,\n },\n showRegisterBtn: {\n type: Boolean,\n default: true,\n },\n // 表单配置\n formConfig: {\n type: Array,\n required: true,\n },\n // 表单数据\n formData: {\n type: Object,\n required: true,\n },\n // 表单规则\n rules: {\n type: Object,\n },\n submitLoading: {\n type: Boolean,\n },\n },\n data() {\n return {\n flag: false,\n };\n },\n methods: {\n submit() {\n this.$refs.ruleForm.validate((valid) => {\n if (valid) {\n this.$emit(\"handleSubmit\");\n } else {\n console.log(\"error submit!!\");\n return false;\n }\n });\n },\n close() {\n this.$emit(\"handleClose\");\n },\n showPassword() {\n this.flag = !this.flag;\n },\n },\n};\n","import { render, staticRenderFns } from \"./PcGlobalForm.vue?vue&type=template&id=4b4d0fec&\"\nimport script from \"./PcGlobalForm.vue?vue&type=script&lang=js&\"\nexport * from \"./PcGlobalForm.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PcGlobalForm.vue?vue&type=style&index=0&id=4b4d0fec&prod&lang=scss&scope=true&\"\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","/**\n * base64.ts\n *\n * Licensed under the BSD 3-Clause License.\n * http://opensource.org/licenses/BSD-3-Clause\n *\n * References:\n * http://en.wikipedia.org/wiki/Base64\n *\n * @author Dan Kogai (https://github.com/dankogai)\n */\nconst version = '3.7.5';\n/**\n * @deprecated use lowercase `version`.\n */\nconst VERSION = version;\nconst _hasatob = typeof atob === 'function';\nconst _hasbtoa = typeof btoa === 'function';\nconst _hasBuffer = typeof Buffer === 'function';\nconst _TD = typeof TextDecoder === 'function' ? new TextDecoder() : undefined;\nconst _TE = typeof TextEncoder === 'function' ? new TextEncoder() : undefined;\nconst b64ch = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\nconst b64chs = Array.prototype.slice.call(b64ch);\nconst b64tab = ((a) => {\n let tab = {};\n a.forEach((c, i) => tab[c] = i);\n return tab;\n})(b64chs);\nconst b64re = /^(?:[A-Za-z\\d+\\/]{4})*?(?:[A-Za-z\\d+\\/]{2}(?:==)?|[A-Za-z\\d+\\/]{3}=?)?$/;\nconst _fromCC = String.fromCharCode.bind(String);\nconst _U8Afrom = typeof Uint8Array.from === 'function'\n ? Uint8Array.from.bind(Uint8Array)\n : (it) => new Uint8Array(Array.prototype.slice.call(it, 0));\nconst _mkUriSafe = (src) => src\n .replace(/=/g, '').replace(/[+\\/]/g, (m0) => m0 == '+' ? '-' : '_');\nconst _tidyB64 = (s) => s.replace(/[^A-Za-z0-9\\+\\/]/g, '');\n/**\n * polyfill version of `btoa`\n */\nconst btoaPolyfill = (bin) => {\n // console.log('polyfilled');\n let u32, c0, c1, c2, asc = '';\n const pad = bin.length % 3;\n for (let i = 0; i < bin.length;) {\n if ((c0 = bin.charCodeAt(i++)) > 255 ||\n (c1 = bin.charCodeAt(i++)) > 255 ||\n (c2 = bin.charCodeAt(i++)) > 255)\n throw new TypeError('invalid character found');\n u32 = (c0 << 16) | (c1 << 8) | c2;\n asc += b64chs[u32 >> 18 & 63]\n + b64chs[u32 >> 12 & 63]\n + b64chs[u32 >> 6 & 63]\n + b64chs[u32 & 63];\n }\n return pad ? asc.slice(0, pad - 3) + \"===\".substring(pad) : asc;\n};\n/**\n * does what `window.btoa` of web browsers do.\n * @param {String} bin binary string\n * @returns {string} Base64-encoded string\n */\nconst _btoa = _hasbtoa ? (bin) => btoa(bin)\n : _hasBuffer ? (bin) => Buffer.from(bin, 'binary').toString('base64')\n : btoaPolyfill;\nconst _fromUint8Array = _hasBuffer\n ? (u8a) => Buffer.from(u8a).toString('base64')\n : (u8a) => {\n // cf. https://stackoverflow.com/questions/12710001/how-to-convert-uint8-array-to-base64-encoded-string/12713326#12713326\n const maxargs = 0x1000;\n let strs = [];\n for (let i = 0, l = u8a.length; i < l; i += maxargs) {\n strs.push(_fromCC.apply(null, u8a.subarray(i, i + maxargs)));\n }\n return _btoa(strs.join(''));\n };\n/**\n * converts a Uint8Array to a Base64 string.\n * @param {boolean} [urlsafe] URL-and-filename-safe a la RFC4648 §5\n * @returns {string} Base64 string\n */\nconst fromUint8Array = (u8a, urlsafe = false) => urlsafe ? _mkUriSafe(_fromUint8Array(u8a)) : _fromUint8Array(u8a);\n// This trick is found broken https://github.com/dankogai/js-base64/issues/130\n// const utob = (src: string) => unescape(encodeURIComponent(src));\n// reverting good old fationed regexp\nconst cb_utob = (c) => {\n if (c.length < 2) {\n var cc = c.charCodeAt(0);\n return cc < 0x80 ? c\n : cc < 0x800 ? (_fromCC(0xc0 | (cc >>> 6))\n + _fromCC(0x80 | (cc & 0x3f)))\n : (_fromCC(0xe0 | ((cc >>> 12) & 0x0f))\n + _fromCC(0x80 | ((cc >>> 6) & 0x3f))\n + _fromCC(0x80 | (cc & 0x3f)));\n }\n else {\n var cc = 0x10000\n + (c.charCodeAt(0) - 0xD800) * 0x400\n + (c.charCodeAt(1) - 0xDC00);\n return (_fromCC(0xf0 | ((cc >>> 18) & 0x07))\n + _fromCC(0x80 | ((cc >>> 12) & 0x3f))\n + _fromCC(0x80 | ((cc >>> 6) & 0x3f))\n + _fromCC(0x80 | (cc & 0x3f)));\n }\n};\nconst re_utob = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFFF]|[^\\x00-\\x7F]/g;\n/**\n * @deprecated should have been internal use only.\n * @param {string} src UTF-8 string\n * @returns {string} UTF-16 string\n */\nconst utob = (u) => u.replace(re_utob, cb_utob);\n//\nconst _encode = _hasBuffer\n ? (s) => Buffer.from(s, 'utf8').toString('base64')\n : _TE\n ? (s) => _fromUint8Array(_TE.encode(s))\n : (s) => _btoa(utob(s));\n/**\n * converts a UTF-8-encoded string to a Base64 string.\n * @param {boolean} [urlsafe] if `true` make the result URL-safe\n * @returns {string} Base64 string\n */\nconst encode = (src, urlsafe = false) => urlsafe\n ? _mkUriSafe(_encode(src))\n : _encode(src);\n/**\n * converts a UTF-8-encoded string to URL-safe Base64 RFC4648 §5.\n * @returns {string} Base64 string\n */\nconst encodeURI = (src) => encode(src, true);\n// This trick is found broken https://github.com/dankogai/js-base64/issues/130\n// const btou = (src: string) => decodeURIComponent(escape(src));\n// reverting good old fationed regexp\nconst re_btou = /[\\xC0-\\xDF][\\x80-\\xBF]|[\\xE0-\\xEF][\\x80-\\xBF]{2}|[\\xF0-\\xF7][\\x80-\\xBF]{3}/g;\nconst cb_btou = (cccc) => {\n switch (cccc.length) {\n case 4:\n var cp = ((0x07 & cccc.charCodeAt(0)) << 18)\n | ((0x3f & cccc.charCodeAt(1)) << 12)\n | ((0x3f & cccc.charCodeAt(2)) << 6)\n | (0x3f & cccc.charCodeAt(3)), offset = cp - 0x10000;\n return (_fromCC((offset >>> 10) + 0xD800)\n + _fromCC((offset & 0x3FF) + 0xDC00));\n case 3:\n return _fromCC(((0x0f & cccc.charCodeAt(0)) << 12)\n | ((0x3f & cccc.charCodeAt(1)) << 6)\n | (0x3f & cccc.charCodeAt(2)));\n default:\n return _fromCC(((0x1f & cccc.charCodeAt(0)) << 6)\n | (0x3f & cccc.charCodeAt(1)));\n }\n};\n/**\n * @deprecated should have been internal use only.\n * @param {string} src UTF-16 string\n * @returns {string} UTF-8 string\n */\nconst btou = (b) => b.replace(re_btou, cb_btou);\n/**\n * polyfill version of `atob`\n */\nconst atobPolyfill = (asc) => {\n // console.log('polyfilled');\n asc = asc.replace(/\\s+/g, '');\n if (!b64re.test(asc))\n throw new TypeError('malformed base64.');\n asc += '=='.slice(2 - (asc.length & 3));\n let u24, bin = '', r1, r2;\n for (let i = 0; i < asc.length;) {\n u24 = b64tab[asc.charAt(i++)] << 18\n | b64tab[asc.charAt(i++)] << 12\n | (r1 = b64tab[asc.charAt(i++)]) << 6\n | (r2 = b64tab[asc.charAt(i++)]);\n bin += r1 === 64 ? _fromCC(u24 >> 16 & 255)\n : r2 === 64 ? _fromCC(u24 >> 16 & 255, u24 >> 8 & 255)\n : _fromCC(u24 >> 16 & 255, u24 >> 8 & 255, u24 & 255);\n }\n return bin;\n};\n/**\n * does what `window.atob` of web browsers do.\n * @param {String} asc Base64-encoded string\n * @returns {string} binary string\n */\nconst _atob = _hasatob ? (asc) => atob(_tidyB64(asc))\n : _hasBuffer ? (asc) => Buffer.from(asc, 'base64').toString('binary')\n : atobPolyfill;\n//\nconst _toUint8Array = _hasBuffer\n ? (a) => _U8Afrom(Buffer.from(a, 'base64'))\n : (a) => _U8Afrom(_atob(a).split('').map(c => c.charCodeAt(0)));\n/**\n * converts a Base64 string to a Uint8Array.\n */\nconst toUint8Array = (a) => _toUint8Array(_unURI(a));\n//\nconst _decode = _hasBuffer\n ? (a) => Buffer.from(a, 'base64').toString('utf8')\n : _TD\n ? (a) => _TD.decode(_toUint8Array(a))\n : (a) => btou(_atob(a));\nconst _unURI = (a) => _tidyB64(a.replace(/[-_]/g, (m0) => m0 == '-' ? '+' : '/'));\n/**\n * converts a Base64 string to a UTF-8 string.\n * @param {String} src Base64 string. Both normal and URL-safe are supported\n * @returns {string} UTF-8 string\n */\nconst decode = (src) => _decode(_unURI(src));\n/**\n * check if a value is a valid Base64 string\n * @param {String} src a value to check\n */\nconst isValid = (src) => {\n if (typeof src !== 'string')\n return false;\n const s = src.replace(/\\s+/g, '').replace(/={0,2}$/, '');\n return !/[^\\s0-9a-zA-Z\\+/]/.test(s) || !/[^\\s0-9a-zA-Z\\-_]/.test(s);\n};\n//\nconst _noEnum = (v) => {\n return {\n value: v, enumerable: false, writable: true, configurable: true\n };\n};\n/**\n * extend String.prototype with relevant methods\n */\nconst extendString = function () {\n const _add = (name, body) => Object.defineProperty(String.prototype, name, _noEnum(body));\n _add('fromBase64', function () { return decode(this); });\n _add('toBase64', function (urlsafe) { return encode(this, urlsafe); });\n _add('toBase64URI', function () { return encode(this, true); });\n _add('toBase64URL', function () { return encode(this, true); });\n _add('toUint8Array', function () { return toUint8Array(this); });\n};\n/**\n * extend Uint8Array.prototype with relevant methods\n */\nconst extendUint8Array = function () {\n const _add = (name, body) => Object.defineProperty(Uint8Array.prototype, name, _noEnum(body));\n _add('toBase64', function (urlsafe) { return fromUint8Array(this, urlsafe); });\n _add('toBase64URI', function () { return fromUint8Array(this, true); });\n _add('toBase64URL', function () { return fromUint8Array(this, true); });\n};\n/**\n * extend Builtin prototypes with relevant methods\n */\nconst extendBuiltins = () => {\n extendString();\n extendUint8Array();\n};\nconst gBase64 = {\n version: version,\n VERSION: VERSION,\n atob: _atob,\n atobPolyfill: atobPolyfill,\n btoa: _btoa,\n btoaPolyfill: btoaPolyfill,\n fromBase64: decode,\n toBase64: encode,\n encode: encode,\n encodeURI: encodeURI,\n encodeURL: encodeURI,\n utob: utob,\n btou: btou,\n decode: decode,\n isValid: isValid,\n fromUint8Array: fromUint8Array,\n toUint8Array: toUint8Array,\n extendString: extendString,\n extendUint8Array: extendUint8Array,\n extendBuiltins: extendBuiltins,\n};\n// makecjs:CUT //\nexport { version };\nexport { VERSION };\nexport { _atob as atob };\nexport { atobPolyfill };\nexport { _btoa as btoa };\nexport { btoaPolyfill };\nexport { decode as fromBase64 };\nexport { encode as toBase64 };\nexport { utob };\nexport { encode };\nexport { encodeURI };\nexport { encodeURI as encodeURL };\nexport { btou };\nexport { decode };\nexport { isValid };\nexport { fromUint8Array };\nexport { toUint8Array };\nexport { extendString };\nexport { extendUint8Array };\nexport { extendBuiltins };\n// and finally,\nexport { gBase64 as Base64 };\n","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./loginDialog.vue?vue&type=style&index=0&id=150730d4&prod&lang=scss&scoped=true&\"","\nimport { mapState, mapMutations } from 'vuex'\nimport GlobalForm from '../components/PcGlobalForm.vue'\nimport dialogXXSuccess from './DIalogXXSuccess.vue'\nconst Base64 = require('js-base64').Base64\nexport default {\n name: 'LoginDialog',\n components: { GlobalForm, 'dialog-XX-success': dialogXXSuccess },\n data() {\n return {\n showPassword: false,\n xxContentVisible: false,\n xxContent: 'success',\n isRemember: false,\n showDeleteBtn: false,\n activeName: 'first',\n submitLoading: false,\n loginData: {\n email: '',\n password: '',\n },\n registData: {},\n // 表单配置\n loginFormConfig: [\n {\n autoInput: true,\n prop: 'email',\n type: 'input',\n placeholder: 'User Name',\n },\n {\n prop: 'password',\n type: 'password',\n placeholder: 'Password',\n },\n {\n type: 'slot',\n slotName: 'checkbox',\n },\n ],\n registFormConfig: [\n {\n long: true,\n prop: 'email',\n type: 'input',\n placeholder: 'Email',\n },\n {\n long: true,\n prop: 'password',\n type: 'password',\n placeholder: 'Password',\n },\n {\n long: true,\n prop: 'confirm_password',\n type: 'password',\n placeholder: 'Comfirm Password',\n },\n {\n prop: 'contacts',\n type: 'input',\n placeholder: 'First Name',\n },\n {\n prop: 'last_name',\n type: 'input',\n placeholder: 'Last Name',\n },\n {\n long: true,\n prop: 'company',\n type: 'input',\n placeholder: 'Company Name',\n },\n {\n prop: 'phone',\n type: 'input',\n placeholder: 'Phone No',\n },\n {\n prop: 'url',\n type: 'input',\n placeholder: 'Website',\n },\n {\n long: true,\n prop: 'address',\n type: 'input',\n placeholder: 'Address',\n },\n {\n prop: 'state',\n type: 'input',\n placeholder: 'State',\n },\n {\n prop: 'postcode',\n type: 'input',\n placeholder: 'Post Code',\n },\n ],\n // 表单规则\n loginRules: {\n email: [\n {\n required: true,\n message: 'Please enter the correct email',\n trigger: 'blur',\n },\n ],\n password: [\n {\n required: true,\n message: 'The password length only allows 6-16 bits',\n trigger: 'blur',\n min: 6,\n max: 16,\n },\n ],\n },\n registRules: {\n email: [\n {\n required: true,\n message: 'Please enter your email address',\n trigger: 'blur',\n },\n ],\n password: [\n {\n required: true,\n message: 'The password length only allows 6-16 bits',\n trigger: 'blur',\n min: 6,\n max: 16,\n },\n ],\n confirm_password: [\n {\n required: true,\n message: 'The password length only allows 6-16 bits',\n trigger: 'blur',\n min: 6,\n max: 16,\n },\n ],\n company: [\n {\n required: true,\n message: 'Please enter your company name',\n trigger: 'blur',\n },\n ],\n contacts: [\n {\n required: true,\n message: 'Please enter your contact person',\n trigger: 'blur',\n },\n ],\n last_name: [\n {\n required: true,\n message: 'Please enter your contact person',\n trigger: 'blur',\n },\n ],\n phone: [\n {\n required: true,\n message: 'Please enter your phone number',\n trigger: 'blur',\n },\n ],\n },\n autoComplete: null,\n // 记录谷歌地图API选择地点后拿到的地址名. 这个不能直接更新到registeData上, 不然输入框内容会再次变化.\n selectAddress: '',\n }\n },\n computed: {\n ...mapState(['dialogVisible', 'config']),\n dialogWidth() {\n return this.activeName === 'first' ? '506px' : '1108px'\n },\n },\n watch: {\n dialogVisible(value) {\n if (value) {\n document.addEventListener('keydown', this.onEnterClick)\n } else {\n document.removeEventListener('keydown', this.onEnterClick)\n }\n },\n activeName() {\n if (this.activeName === 'second' && this.autoComplete === null) {\n if (window.google) {\n this.initGoogleMapAutoComplete()\n this.getAddrByLocation()\n } else {\n setTimeout(() => {\n this.initGoogleMapAutoComplete()\n this.getAddrByLocation()\n }, 1500)\n }\n }\n },\n },\n mounted() {\n this.getCookie()\n },\n methods: {\n ...mapMutations(['closeDialog', 'openDialog']),\n onEnterClick(e) {\n if (e.keyCode === 13) {\n console.log('enter')\n let target = this.$refs.loginForm\n if (this.activeName === 'first') {\n // do nothing. login form\n }\n if (this.activeName === 'second') {\n target = this.$refs.registForm\n }\n if (typeof target.submit === 'function') {\n target.submit()\n }\n }\n },\n checkRegisterForm() {\n this.$refs.registForm.validate(valid => {\n if (valid) {\n this.submit()\n }\n })\n },\n submit() {\n if (this.activeName === 'first') {\n if (this.isRemember) {\n const password = Base64.encode(this.loginData.password)\n this.setCookie(this.loginData.email, password, 7)\n } else {\n this.setCookie('', '', -1)\n }\n this.login()\n } else if (this.activeName === 'second') {\n this.regist()\n }\n },\n login() {\n this.$store\n .dispatch('login', this.loginData)\n .then(res => {\n if (res.code == 1) {\n setTimeout(() => {\n this.closeDialog()\n }, 200)\n this.xxContentVisible = true\n this.xxContent = 'Login Successful'\n this.submitLoading = false\n\n // this.$confirm(\"Login Successful\", {\n // confirmButtonText: \"OK\",\n // confirmButtonClass: 'confirmBtn',\n // showCancelButton: false,\n // showClose: false,\n // type: \"success\",\n // center: true,\n // lockScroll: false,\n // }).then(() => {\n // });\n } else if (res.code == 10100) {\n this.$confirm(res.msg, {\n confirmButtonText: 'OK',\n showCancelButton: false,\n type: 'error',\n center: true,\n })\n }\n })\n .catch(() => {\n this.closeDialog()\n })\n },\n regist() {\n this.submitLoading = true\n const formData = Object.assign({}, this.registData)\n if (this.selectAddress && this.selectAddress.length) {\n formData.address = this.selectAddress\n }\n this.$axios({\n url: '/au/register',\n method: 'post',\n data: formData,\n })\n .then(res => {\n if (res.code == 1) {\n this.closeDialog()\n this.submitLoading = false\n this.xxContentVisible = true\n this.xxContent =\n \"We've received your login request. Someone will be in touch shortly to confirm.\"\n this.registerEmail()\n }\n })\n .catch(e => {\n const res = e.response.data\n if (res.code === 10100) {\n this.$confirm(res.msg + ', please click OK to jump to login.', {\n confirmButtonText: 'OK',\n showCancelButton: false,\n type: 'error',\n center: true,\n }).then(() => {\n this.submitLoading = false\n this.activeName = 'first'\n })\n }\n })\n },\n registerEmail() {\n this.$axios\n .get('/member/register_email?email=' + this.registData.email)\n .then(res => {})\n .catch(error => {\n this.$message.error(error.response.data.msg)\n })\n },\n close() {\n this.closeDialog()\n this.registData = {}\n },\n resetPassword() {\n this.closeDialog()\n this.$refs.resetPasswordDialog.resetDialogVisible = true\n },\n openLoginDialog() {\n this.openDialog()\n },\n // 设置cookie\n setCookie(email, password, days) {\n const date = new Date()\n date.setTime(date.getTime() + 24 * 60 * 60 * 1000 * days)\n document.cookie =\n 'email' + '=' + email + ';path=/;expires=' + date.toGMTString()\n document.cookie =\n 'password' + '=' + password + ';path=/;expires=' + date.toGMTString()\n },\n\n // 读取cookie 将用户名和密码回显到input框中\n getCookie() {\n if (document.cookie.length > 0) {\n const arr = document.cookie.split('; ')\n for (let i = 0; i < arr.length; i++) {\n const arr2 = arr[i].split('=')\n if (arr2[0] === 'email') {\n this.loginData.email = arr2[1]\n } else if (arr2[0] === 'password') {\n this.loginData.password = Base64.decode(arr2[1])\n this.isRemember = true\n }\n }\n }\n },\n toSignatureLink() {\n const link = this.config.configInfo?.link || ''\n if (link) {\n window.open(link, '_blank')\n }\n },\n initGoogleMapAutoComplete() {\n // console.log(window.google.maps, 'maps')\n // https://developers.google.com/maps/documentation/javascript/place-autocomplete\n this.autoComplete = new window.google.maps.places.Autocomplete(\n document.getElementById('address_input'),\n {\n types: ['address'],\n componentRestrictions: {\n country: ['AU'],\n },\n // 如果不知道需要什么字段, 可以查文档, 或给'all'或不传fields参数, 然后从返回结果里面找出需要数据的字段名, 填到这里\n fields: [\n 'address_components',\n 'place_id',\n 'name',\n 'formatted_address',\n ],\n }\n )\n\n this.autoComplete.addListener('place_changed', this.onPlaceChange)\n },\n onPlaceChange() {\n const data = this.autoComplete.getPlace()\n\n if (Array.isArray(data.address_components)) {\n data.address_components.forEach(i => {\n if (i.types.includes('postal_code')) {\n this.$set(this.registData, 'postcode', i.long_name || i.short_name)\n }\n if (i.types.includes('administrative_area_level_1')) {\n this.$set(this.registData, 'state', i.short_name || i.long_name)\n }\n })\n }\n this.selectAddress = data.name || this.registData.address\n },\n onInputChange(value, attr) {\n if (attr === 'address') {\n // 地址输入变更时, 清空这个值, 避免手动输入地址又不选的时候, 这个变量保存了上一次选地址时留下的数据.\n this.selectAddress = ''\n }\n },\n getAddrByLocation() {\n if (navigator.geolocation) {\n let location = {\n lat: 0,\n lng: 0,\n }\n navigator.geolocation.getCurrentPosition(\n position => {\n location = {\n lat: position.coords.latitude,\n lng: position.coords.longitude,\n }\n console.log(location, 'position')\n const geocoder = new window.google.maps.Geocoder()\n geocoder.geocode({ location }).then(response => {\n console.log(response, 'response')\n if (response.results?.length) {\n response.results[0].address_components.forEach(i => {\n if (i.types.includes('postal_code')) {\n this.$set(\n this.registData,\n 'postcode',\n i.long_name || i.short_name\n )\n }\n if (i.types.includes('administrative_area_level_1')) {\n this.$set(\n this.registData,\n 'state',\n i.short_name || i.long_name\n )\n }\n if (i.types.includes('route')) {\n this.$set(\n this.registData,\n 'address',\n i.short_name || i.long_name\n )\n }\n this.selectAddress = i.short_name || i.long_name\n })\n }\n })\n },\n error => {\n console.log(error, 'get location error')\n }\n )\n }\n },\n },\n}\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./loginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./loginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./loginDialog.vue?vue&type=template&id=150730d4&scoped=true&\"\nimport script from \"./loginDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./loginDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./loginDialog.vue?vue&type=style&index=0&id=150730d4&prod&lang=scss&scoped=true&\"\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 \"150730d4\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|