1 |
- {"version":3,"sources":["webpack:///./node_modules/vant/es/mixins/touch.js","webpack:///./node_modules/vant/es/mixins/popup/context.js","webpack:///./node_modules/vant/es/overlay/index.js","webpack:///./node_modules/vant/es/mixins/popup/manager.js","webpack:///./node_modules/vant/es/utils/scroll.js","webpack:///./node_modules/vant/es/mixins/popup/index.js","webpack:///./src/views/login.vue?63cd","webpack:///./node_modules/vant/es/toast/Toast.js","webpack:///./node_modules/vant/es/toast/index.js","webpack:///./node_modules/vant/es/utils/event.js","webpack:///./src/views/login.vue?b636","webpack:///src/views/login.vue","webpack:///./src/views/login.vue?2a23","webpack:///./src/views/login.vue?d935","webpack:///./node_modules/vant/es/toast/style/index.js"],"names":["MIN_DISTANCE","getDirection","x","y","__webpack_exports__","data","direction","methods","touchStart","event","this","resetTouchStatus","startX","touches","clientX","startY","clientY","touchMove","touch","deltaX","deltaY","offsetX","Math","abs","offsetY","context","zIndex","stack","lockCount","top","length","overlay","render","_vm","_h","$createElement","_c","_self","attrs","name","directives","rawName","value","visible","expression","staticClass","class","className","style","on","touchmove","$event","preventDefault","stopPropagation","click","$emit","props","Number","Boolean","String","customStyle","Object","computed","esm_extends","defaultConfig","manager","open","vm","config","some","item","el","$el","target","parentNode","document","body","push","update","close","pop","filter","modal","vue_runtime_esm","extend","createElement","$on","onClick","_context$top","appendChild","closeOnClickOverlay","utils_scroll","getScrollEventTarget","element","rootParent","window","currentNode","tagName","nodeType","overflowY","getComputedStyle","getScrollTop","scrollTop","pageYOffset","setScrollTop","scrollTo","scrollX","getElementTop","getBoundingClientRect","getVisibleHeight","innerHeight","height","utils","defaultView","bind","mixins","overlayStyle","overlayClass","getContainer","Function","lockScroll","type","default","lazyRender","inited","shouldRender","watch","val","move","renderOverlay","mounted","activated","beforeDestroy","$parent","deactivated","$isServer","opened","undefined","utils_event","onTouchMove","classList","add","remove","container","querySelector","e","scrollHeight","offsetHeight","status","parseInt","_this","$nextTick","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_login_vue_vue_type_style_index_0_id_158fafd7_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_login_vue_vue_type_style_index_0_id_158fafd7_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","STYLE_LIST","Toast","create","b","position","_v","_s","message","_e","domProps","innerHTML","color","loadingType","isDef","popup","forbidClick","clickable","indexOf","toggleClickale","destroyed","action","defaultOptions","mask","duration","toast_parseOptions","queue","singleton","currentOptions","createInstance","toast","transformer","options","toast_Toast","clear","removeChild","$destroy","clearTimeout","timer","setTimeout","toast_createMethod","forEach","method","all","shift","setDefaultOptions","resetDefaultOptions","allowMultiple","allow","install","use","prototype","$toast","d","off","___WEBPACK_IMPORTED_MODULE_0__","supportsPassive","opts","defineProperty","get","addEventListener","handler","passive","capture","removeEventListener","_m","staticRenderFns","staticStyle","max-width","src","loginvue_type_script_lang_js_","created","loading","localStorage","getItem","success","$router","otp","$route","query","o","basic_service","utils_get_param","userid","that","fail","get_data","toString","response","user","model","ret","userId","setItem","console","warn","views_loginvue_type_script_lang_js_","component","componentNormalizer","__file"],"mappings":"gHAAA,IAAAA,EAAA,GAEA,SAAAC,EAAAC,EAAAC,GACA,OAAAD,EAAAC,GAAAD,EAAAF,EACA,aAGAG,EAAAD,GAAAC,EAAAH,EACA,WAGA,GAGeI,EAAA,MACfC,KA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A,IAAAC,EAAA,GACAC,EAAArO,KACA,UAAA8N,EAIA,OAFM/C,EAAA,KAANuD,KAAA,0BACAD,EAAAR,QAAA1J,KAAA,WAGA+J,EAAA,KAAAK,SAAA,oBAAAT,EAAAU,WAAA,SAAAC,GAGA,IACA,IAAAC,EAAAD,EAAAE,MACA,UAAAF,EAAAG,KACAR,EAAAM,EAAAG,OACAnB,aAAAoB,QAAA,kBAAAV,GACUrD,EAAA,KAAV6C,QAAA,QACAS,EAAAR,QAAA1J,KAAA,WAIU4G,EAAA,KAAVuD,KAAA,qBACAD,EAAAR,QAAA1J,KAAA,YAEA,MAAAoE,GACAwG,QAAAC,KAAAzG,GACQwC,EAAA,KAARuD,KAAA,qBACAD,EAAAR,QAAA1J,KAAA,aAEA,MC/D+U8K,EAAA,0BCQ/UC,EAAgB/L,OAAAgM,EAAA,KAAAhM,CACd8L,EACA3N,EACA6L,GACF,EACA,KACA,WACA,MAIA+B,EAAAjE,QAAAmE,OAAA,YACe1P,EAAA,WAAAwP,6CCpBfnG,EAAA,QAAAA,EAAA,QAAAA,EAAA","file":"js/chunk-729c09ba.9d824b56.js","sourcesContent":["var MIN_DISTANCE = 10;\n\nfunction getDirection(x, y) {\n if (x > y && x > MIN_DISTANCE) {\n return 'horizontal';\n }\n\n if (y > x && y > MIN_DISTANCE) {\n return 'vertical';\n }\n\n return '';\n}\n\nexport default {\n data: function data() {\n return {\n direction: ''\n };\n },\n methods: {\n touchStart: function touchStart(event) {\n this.resetTouchStatus();\n this.startX = event.touches[0].clientX;\n this.startY = event.touches[0].clientY;\n },\n touchMove: function touchMove(event) {\n var touch = event.touches[0];\n this.deltaX = touch.clientX - this.startX;\n this.deltaY = touch.clientY - this.startY;\n this.offsetX = Math.abs(this.deltaX);\n this.offsetY = Math.abs(this.deltaY);\n this.direction = this.direction || getDirection(this.offsetX, this.offsetY);\n },\n resetTouchStatus: function resetTouchStatus() {\n this.direction = '';\n this.deltaX = 0;\n this.deltaY = 0;\n this.offsetX = 0;\n this.offsetY = 0;\n }\n }\n};","export default {\n zIndex: 2000,\n stack: [],\n lockCount: 0,\n\n get top() {\n return this.stack[this.stack.length - 1];\n }\n\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nexport default {\n render: function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('transition', {\n attrs: {\n \"name\": \"van-fade\"\n }\n }, [_c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"van-overlay\",\n class: _vm.className,\n style: _vm.style,\n on: {\n \"touchmove\": function touchmove($event) {\n $event.preventDefault();\n $event.stopPropagation();\n },\n \"click\": function click($event) {\n _vm.$emit('click', $event);\n }\n }\n })]);\n },\n name: 'overlay',\n props: {\n zIndex: Number,\n visible: Boolean,\n className: String,\n customStyle: Object\n },\n computed: {\n style: function style() {\n return _extends({\n zIndex: this.zIndex\n }, this.customStyle);\n }\n }\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport Vue from 'vue';\nimport context from './context';\nimport Overlay from '../../overlay';\nvar defaultConfig = {\n className: '',\n customStyle: {}\n};\nexport default {\n open: function open(vm, config) {\n /* istanbul ignore next */\n if (!context.stack.some(function (item) {\n return item.vm === vm;\n })) {\n var el = vm.$el;\n var target = el && el.parentNode ? el.parentNode : document.body;\n context.stack.push({\n vm: vm,\n config: config,\n target: target\n });\n this.update();\n }\n\n ;\n },\n close: function close(vm) {\n var stack = context.stack;\n\n if (stack.length) {\n if (context.top.vm === vm) {\n stack.pop();\n this.update();\n } else {\n context.stack = stack.filter(function (item) {\n return item.vm !== vm;\n });\n }\n }\n },\n update: function update() {\n var modal = context.modal;\n\n if (!modal) {\n modal = new (Vue.extend(Overlay))({\n el: document.createElement('div')\n });\n modal.$on('click', this.onClick);\n context.modal = modal;\n }\n\n if (modal.$el.parentNode) {\n modal.visible = false;\n }\n\n if (context.top) {\n var _context$top = context.top,\n target = _context$top.target,\n config = _context$top.config;\n target.appendChild(modal.$el);\n\n _extends(modal, _extends({}, defaultConfig, config, {\n visible: true\n }));\n }\n },\n // close popup when click modal && closeOnClickOverlay is true\n onClick: function onClick() {\n /* istanbul ignore else */\n if (context.top) {\n var vm = context.top.vm;\n vm.$emit('click-overlay');\n vm.closeOnClickOverlay && vm.$emit('input', false);\n }\n }\n};","import { isServer } from './';\nexport default {\n // get nearest scroll element\n getScrollEventTarget: function getScrollEventTarget(element, rootParent) {\n if (rootParent === void 0) {\n rootParent = window;\n }\n\n var currentNode = element; // bugfix, see http://w3help.org/zh-cn/causes/SD9013 and http://stackoverflow.com/questions/17016740/onscroll-function-is-not-working-for-chrome\n\n while (currentNode && currentNode.tagName !== 'HTML' && currentNode.tagName !== 'BODY' && currentNode.nodeType === 1 && currentNode !== rootParent) {\n var overflowY = this.getComputedStyle(currentNode).overflowY;\n\n if (overflowY === 'scroll' || overflowY === 'auto') {\n return currentNode;\n }\n\n currentNode = currentNode.parentNode;\n }\n\n return rootParent;\n },\n getScrollTop: function getScrollTop(element) {\n return 'scrollTop' in element ? element.scrollTop : element.pageYOffset;\n },\n setScrollTop: function setScrollTop(element, value) {\n 'scrollTop' in element ? element.scrollTop = value : element.scrollTo(element.scrollX, value);\n },\n // get distance from element top to page top\n getElementTop: function getElementTop(element) {\n return (element === window ? 0 : element.getBoundingClientRect().top) + this.getScrollTop(window);\n },\n getVisibleHeight: function getVisibleHeight(element) {\n return element === window ? element.innerHeight : element.getBoundingClientRect().height;\n },\n getComputedStyle: !isServer && document.defaultView.getComputedStyle.bind(document.defaultView)\n};","import manager from './manager';\nimport context from './context';\nimport scrollUtils from '../../utils/scroll';\nimport { on, off } from '../../utils/event';\nimport Touch from '../touch';\nexport default {\n mixins: [Touch],\n props: {\n // whether to show popup\n value: Boolean,\n // whether to show overlay\n overlay: Boolean,\n // overlay custom style\n overlayStyle: Object,\n // overlay custom class name\n overlayClass: String,\n // whether to close popup when click overlay\n closeOnClickOverlay: Boolean,\n // z-index\n zIndex: [String, Number],\n // return the mount node for popup\n getContainer: [String, Function],\n // prevent body scroll\n lockScroll: {\n type: Boolean,\n default: true\n },\n // whether to lazy render\n lazyRender: {\n type: Boolean,\n default: true\n }\n },\n data: function data() {\n return {\n inited: this.value\n };\n },\n computed: {\n shouldRender: function shouldRender() {\n return this.inited || !this.lazyRender;\n }\n },\n watch: {\n value: function value(val) {\n this.inited = this.inited || this.value;\n this[val ? 'open' : 'close']();\n },\n getContainer: function getContainer() {\n this.move();\n },\n overlay: function overlay() {\n this.renderOverlay();\n }\n },\n mounted: function mounted() {\n if (this.getContainer) {\n this.move();\n }\n\n if (this.value) {\n this.open();\n }\n },\n activated: function activated() {\n /* istanbul ignore next */\n if (this.value) {\n this.open();\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.close();\n\n if (this.getContainer) {\n this.$parent.$el.appendChild(this.$el);\n }\n },\n deactivated: function deactivated() {\n /* istanbul ignore next */\n this.close();\n },\n methods: {\n open: function open() {\n /* istanbul ignore next */\n if (this.$isServer || this.opened) {\n return;\n } // cover default zIndex\n\n\n if (this.zIndex !== undefined) {\n context.zIndex = this.zIndex;\n }\n\n this.opened = true;\n this.renderOverlay();\n\n if (this.lockScroll) {\n on(document, 'touchstart', this.touchStart);\n on(document, 'touchmove', this.onTouchMove);\n\n if (!context.lockCount) {\n document.body.classList.add('van-overflow-hidden');\n }\n\n context.lockCount++;\n }\n },\n close: function close() {\n if (!this.opened) {\n return;\n }\n\n if (this.lockScroll) {\n context.lockCount--;\n off(document, 'touchstart', this.touchStart);\n off(document, 'touchmove', this.onTouchMove);\n\n if (!context.lockCount) {\n document.body.classList.remove('van-overflow-hidden');\n }\n }\n\n this.opened = false;\n manager.close(this);\n this.$emit('input', false);\n },\n move: function move() {\n var container;\n var getContainer = this.getContainer;\n\n if (getContainer) {\n container = typeof getContainer === 'string' ? document.querySelector(getContainer) : getContainer();\n } else if (this.$parent) {\n container = this.$parent.$el;\n }\n\n if (container) {\n container.appendChild(this.$el);\n }\n },\n onTouchMove: function onTouchMove(e) {\n this.touchMove(e);\n var direction = this.deltaY > 0 ? '10' : '01';\n var el = scrollUtils.getScrollEventTarget(e.target, this.$el);\n var scrollHeight = el.scrollHeight,\n offsetHeight = el.offsetHeight,\n scrollTop = el.scrollTop;\n var status = '11';\n /* istanbul ignore next */\n\n if (scrollTop === 0) {\n status = offsetHeight >= scrollHeight ? '00' : '01';\n } else if (scrollTop + offsetHeight >= scrollHeight) {\n status = '10';\n }\n /* istanbul ignore next */\n\n\n if (status !== '11' && this.direction === 'vertical' && !(parseInt(status, 2) & parseInt(direction, 2))) {\n e.preventDefault();\n e.stopPropagation();\n }\n },\n renderOverlay: function renderOverlay() {\n var _this = this;\n\n if (this.overlay) {\n manager.open(this, {\n zIndex: context.zIndex++,\n className: this.overlayClass,\n customStyle: this.overlayStyle\n });\n } else {\n manager.close(this);\n }\n\n this.$nextTick(function () {\n _this.$el.style.zIndex = context.zIndex++;\n });\n }\n }\n};","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=style&index=0&id=158fafd7&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=style&index=0&id=158fafd7&scoped=true&lang=css&\"","import create from '../utils/create';\nimport Popup from '../mixins/popup';\nvar STYLE_LIST = ['success', 'fail', 'loading'];\nexport default create({\n render: function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('transition', {\n attrs: {\n \"name\": \"van-fade\"\n }\n }, [_c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.value,\n expression: \"value\"\n }],\n class: _vm.b([_vm.style, _vm.position])\n }, [_vm.style === 'text' ? _c('div', [_vm._v(_vm._s(_vm.message))]) : _vm._e(), _vm.style === 'html' ? _c('div', {\n domProps: {\n \"innerHTML\": _vm._s(_vm.message)\n }\n }) : _vm._e(), _vm.style === 'default' ? [_vm.type === 'loading' ? _c('loading', {\n attrs: {\n \"color\": \"white\",\n \"type\": _vm.loadingType\n }\n }) : _c('icon', {\n class: _vm.b('icon'),\n attrs: {\n \"name\": _vm.type\n }\n }), _vm.isDef(_vm.message) ? _c('div', {\n class: _vm.b('text')\n }, [_vm._v(\"\\n \" + _vm._s(_vm.message) + \"\\n \")]) : _vm._e()] : _vm._e()], 2)]);\n },\n name: 'toast',\n mixins: [Popup],\n props: {\n forbidClick: Boolean,\n message: [String, Number],\n type: {\n type: String,\n default: 'text'\n },\n loadingType: {\n type: String,\n default: 'circular'\n },\n position: {\n type: String,\n default: 'middle'\n },\n lockScroll: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n clickable: false\n };\n },\n computed: {\n style: function style() {\n return STYLE_LIST.indexOf(this.type) !== -1 ? 'default' : this.type;\n }\n },\n mounted: function mounted() {\n this.toggleClickale();\n },\n destroyed: function destroyed() {\n this.toggleClickale();\n },\n watch: {\n value: function value() {\n this.toggleClickale();\n },\n forbidClick: function forbidClick() {\n this.toggleClickale();\n }\n },\n methods: {\n toggleClickale: function toggleClickale() {\n var clickable = this.value && this.forbidClick;\n\n if (this.clickable !== clickable) {\n this.clickable = clickable;\n var action = clickable ? 'add' : 'remove';\n document.body.classList[action]('van-toast--unclickable');\n }\n }\n }\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport Vue from 'vue';\nimport VueToast from './Toast';\nimport { isObj, isServer } from '../utils';\nvar defaultOptions = {\n type: 'text',\n mask: false,\n message: '',\n value: true,\n duration: 3000,\n position: 'middle',\n loadingType: 'circular',\n forbidClick: false,\n overlayStyle: {}\n};\n\nvar parseOptions = function parseOptions(message) {\n return isObj(message) ? message : {\n message: message\n };\n};\n\nvar queue = [];\nvar singleton = true;\n\nvar currentOptions = _extends({}, defaultOptions);\n\nfunction createInstance() {\n /* istanbul ignore if */\n if (isServer) {\n return {};\n }\n\n if (!queue.length || !singleton) {\n var toast = new (Vue.extend(VueToast))({\n el: document.createElement('div')\n });\n document.body.appendChild(toast.$el);\n queue.push(toast);\n }\n\n return queue[queue.length - 1];\n}\n\n; // transform toast options to popup props\n\nfunction transformer(options) {\n options.overlay = options.mask;\n return options;\n}\n\nfunction Toast(options) {\n if (options === void 0) {\n options = {};\n }\n\n var toast = createInstance();\n options = _extends({}, currentOptions, parseOptions(options), {\n clear: function clear() {\n toast.value = false;\n\n if (!singleton && !isServer) {\n document.body.removeChild(toast.$el);\n toast.$destroy();\n }\n }\n });\n\n _extends(toast, transformer(options));\n\n clearTimeout(toast.timer);\n\n if (options.duration > 0) {\n toast.timer = setTimeout(function () {\n toast.clear();\n }, options.duration);\n }\n\n return toast;\n}\n\n;\n\nvar createMethod = function createMethod(type) {\n return function (options) {\n return Toast(_extends({\n type: type\n }, parseOptions(options)));\n };\n};\n\n['loading', 'success', 'fail'].forEach(function (method) {\n Toast[method] = createMethod(method);\n});\n\nToast.clear = function (all) {\n if (queue.length) {\n if (all) {\n queue.forEach(function (toast) {\n toast.clear();\n });\n queue = [];\n } else if (singleton) {\n queue[0].clear();\n } else {\n queue.shift().clear();\n }\n }\n};\n\nToast.setDefaultOptions = function (options) {\n _extends(currentOptions, options);\n};\n\nToast.resetDefaultOptions = function () {\n currentOptions = _extends({}, defaultOptions);\n};\n\nToast.allowMultiple = function (allow) {\n if (allow === void 0) {\n allow = true;\n }\n\n singleton = !allow;\n};\n\nToast.install = function () {\n Vue.use(VueToast);\n};\n\nVue.prototype.$toast = Toast;\nexport default Toast;","import { isServer } from './';\nexport var supportsPassive = false;\n\nif (!isServer) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', {\n get: function get() {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n });\n window.addEventListener('test-passive', null, opts);\n } catch (e) {}\n}\n\nexport function on(target, event, handler, passive) {\n if (passive === void 0) {\n passive = false;\n }\n\n !isServer && target.addEventListener(event, handler, supportsPassive ? {\n capture: false,\n passive: passive\n } : false);\n}\nexport function off(target, event, handler) {\n !isServer && target.removeEventListener(event, handler);\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('img',{staticStyle:{\"max-width\":\"100%\"},attrs:{\"src\":\"http://pjczv6ygf.bkt.clouddn.com/login_background.png\"}}),_c('h1',[_vm._v(\"正在自动登录,请稍后\")])])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <img src=\"http://pjczv6ygf.bkt.clouddn.com/login_background.png\"\r\n style=\"max-width: 100%\"\r\n />\r\n <h1>正在自动登录,请稍后</h1>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import 'whatwg-fetch';\r\n import { BasicFunction } from '../connector/basic-service';\r\n import {Toast} from 'vant';\r\n\r\n export default {\r\n created: function () {\r\n Toast.loading({\r\n mask: true,\r\n message: '加载中...',\r\n duration: 1500\r\n });\r\n if (localStorage.getItem('frontend-userid')) {\r\n Toast.success('登录成功');\r\n this.$router.push('index');\r\n return;\r\n }\r\n let otp = this.$route.query.o;\r\n // console.log('otp: ');\r\n // console.log(otp);\r\n if (otp === undefined) {\r\n otp = BasicFunction.utils_get_param(\"o\");\r\n }\r\n // console.log('otp: ');\r\n // console.log(otp);\r\n let userid = '';\r\n let that = this;\r\n if (otp === null) {\r\n // no-otp\r\n Toast.fail('链接失效!请回到公众号重新获取链接');\r\n that.$router.push('warning');\r\n return;\r\n }\r\n BasicFunction.get_data(\"ajaxotplogin?otp=\" + otp.toString(), function (response) {\r\n // console.log(\"------ User Info login --------\");\r\n // console.log(response);\r\n try {\r\n let user = response.model;\r\n if (response.ret === \"10000\") {\r\n userid = user.userId;\r\n localStorage.setItem('frontend-userid', userid);\r\n Toast.success('登录成功');\r\n that.$router.push('index');\r\n } else {\r\n // 失败的处理\r\n // console.warn(\"获取用户信息失败\");\r\n Toast.fail('链接失效!请回到公众号重新获取链接');\r\n that.$router.push('warning');\r\n }\r\n } catch (e) {\r\n console.warn(e);\r\n Toast.fail('链接失效!请回到公众号重新获取链接');\r\n that.$router.push('warning');\r\n }\r\n }, {});\r\n }\r\n }\r\n\r\n /** Post JSON **/\r\n /*\r\n // 怎么把一段放到另一个文件?\r\n\r\n fetch('/users', {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({\r\n name: 'Hubot',\r\n login: 'hubot',\r\n })\r\n })\r\n\r\n */\r\n</script>\r\n\r\n<style scoped>\r\n .card {\r\n margin: 20px 20px 130px;\r\n border: solid 1px #e4e4e4;\r\n }\r\n .login {\r\n margin-bottom: 10px;\r\n width: 85%;\r\n background-color: #fd6740;\r\n border-color: #fd6740;\r\n }\r\n .register {\r\n margin-bottom: 5px;\r\n width: 85%;\r\n }\r\n</style>","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!./login.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!./login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./login.vue?vue&type=template&id=158fafd7&scoped=true&\"\nimport script from \"./login.vue?vue&type=script&lang=js&\"\nexport * from \"./login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./login.vue?vue&type=style&index=0&id=158fafd7&scoped=true&lang=css&\"\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 \"158fafd7\",\n null\n \n)\n\ncomponent.options.__file = \"login.vue\"\nexport default component.exports","import '../../style/base.css';\nimport '../../popup/index.css';\nimport '../index.css';"],"sourceRoot":""}
|