Commit 7c228b0b by liangjianmin

js

parent b1f44e9b
Showing with 7 additions and 7 deletions
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="user-box"> <div class="user-box">
<div class="head-box"> <div class="head-box">
<div class="head-wrap lbBox"> <div class="head-wrap lbBox">
<a href="" class="logo lineBlock va-m"> <a class="logo lineBlock va-m">
<img src="../../assets/images/logo.png" alt=""/> <img src="../../assets/images/logo.png" alt=""/>
</a> </a>
<span class="line lineBlock va-m"></span> <span class="line lineBlock va-m"></span>
......
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="//yunxin.ichunt.com/favicon.ico"><title>cloudsystem</title><link href="//yunxin.ichunt.com/css/chunk-09cb4ae8.b71ebd2f.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1b5b7edc.d938ddcf.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1f1d09b0.fb33d5e6.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1f98229c.b7dbb9bc.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-25ac136c.903fb18e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-284b2208.f146077b.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-288fe952.62f4a50e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-296911be.bb7545e5.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-2e1aef6e.8886942d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-2ed520c1.588e48a9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-36bc79d4.e6d75a1f.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-464fcfec.128f9899.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-61379a30.3d6445eb.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6257fb96.195447e9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-767781bc.cea3a61d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-8c7f0cae.b6cda0c4.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-c7642228.eff85fa1.css" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-09cb4ae8.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-0a21860e.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1b5b7edc.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1f1d09b0.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1f98229c.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-25ac136c.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-284b2208.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-288fe952.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-296911be.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-2e1aef6e.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-2ed520c1.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-36bc79d4.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-464fcfec.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-61379a30.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6257fb96.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-767781bc.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-8c7f0cae.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-c7642228.1623038226742.js" rel="prefetch"><link href="//yunxin.ichunt.com/css/app.1ef93a8e.css" rel="preload" as="style"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="preload" as="style"><link href="//yunxin.ichunt.com/static/js/app.1623038226742.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/static/js/chunk-vendors.1623038226742.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="stylesheet"><link href="//yunxin.ichunt.com/css/app.1ef93a8e.css" rel="stylesheet"></head><body><noscript><strong>网络异常,请稍后加载</strong></noscript><div id="app"></div><script>window.userInfo=""</script><script src="//yunxin.ichunt.com/static/js/chunk-vendors.1623038226742.js"></script><script src="//yunxin.ichunt.com/static/js/app.1623038226742.js"></script></body></html> <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="//yunxin.ichunt.com/favicon.ico"><title>cloudsystem</title><link href="//yunxin.ichunt.com/css/chunk-09cb4ae8.b71ebd2f.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1b5b7edc.d938ddcf.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1f1d09b0.fb33d5e6.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-1f98229c.b7dbb9bc.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-25ac136c.903fb18e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-284b2208.f146077b.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-288fe952.62f4a50e.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-296911be.bb7545e5.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-2e1aef6e.8886942d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-2ed520c1.588e48a9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-36bc79d4.e6d75a1f.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-464fcfec.128f9899.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-61379a30.3d6445eb.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6257fb96.195447e9.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-6766dae0.eff85fa1.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-767781bc.cea3a61d.css" rel="prefetch"><link href="//yunxin.ichunt.com/css/chunk-8c7f0cae.b6cda0c4.css" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-09cb4ae8.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-0a21860e.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1b5b7edc.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1f1d09b0.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-1f98229c.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-25ac136c.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-284b2208.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-288fe952.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-296911be.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-2e1aef6e.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-2ed520c1.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-36bc79d4.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-464fcfec.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-61379a30.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6257fb96.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-6766dae0.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-767781bc.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/static/js/chunk-8c7f0cae.1623117350841.js" rel="prefetch"><link href="//yunxin.ichunt.com/css/app.1ef93a8e.css" rel="preload" as="style"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="preload" as="style"><link href="//yunxin.ichunt.com/static/js/app.1623117350841.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/static/js/chunk-vendors.1623117350841.js" rel="preload" as="script"><link href="//yunxin.ichunt.com/css/chunk-vendors.8ffb1193.css" rel="stylesheet"><link href="//yunxin.ichunt.com/css/app.1ef93a8e.css" rel="stylesheet"></head><body><noscript><strong>网络异常,请稍后加载</strong></noscript><div id="app"></div><script>window.userInfo=""</script><script src="//yunxin.ichunt.com/static/js/chunk-vendors.1623117350841.js"></script><script src="//yunxin.ichunt.com/static/js/app.1623117350841.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function n(n){for(var c,r,u=n[0],i=n[1],f=n[2],h=0,l=[];h<u.length;h++)r=u[h],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&l.push(a[r][0]),a[r]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);s&&s(n);while(l.length)l.shift()();return o.push.apply(o,f||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],c=!0,r=1;r<t.length;r++){var u=t[r];0!==a[u]&&(c=!1)}c&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},r={app:0},a={app:0},o=[];function u(e){return i.p+"static/js/"+({}[e]||e)+".1623038226742.js"}function i(n){if(c[n])return c[n].exports;var t=c[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-25ac136c":1,"chunk-61379a30":1,"chunk-6257fb96":1,"chunk-09cb4ae8":1,"chunk-1f1d09b0":1,"chunk-296911be":1,"chunk-8c7f0cae":1,"chunk-1b5b7edc":1,"chunk-2ed520c1":1,"chunk-36bc79d4":1,"chunk-1f98229c":1,"chunk-288fe952":1,"chunk-2e1aef6e":1,"chunk-464fcfec":1,"chunk-767781bc":1,"chunk-284b2208":1,"chunk-c7642228":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-25ac136c":"903fb18e","chunk-61379a30":"3d6445eb","chunk-6257fb96":"195447e9","chunk-09cb4ae8":"b71ebd2f","chunk-0a21860e":"31d6cfe0","chunk-1f1d09b0":"fb33d5e6","chunk-296911be":"bb7545e5","chunk-8c7f0cae":"b6cda0c4","chunk-1b5b7edc":"d938ddcf","chunk-2ed520c1":"588e48a9","chunk-36bc79d4":"e6d75a1f","chunk-1f98229c":"b7dbb9bc","chunk-288fe952":"62f4a50e","chunk-2e1aef6e":"8886942d","chunk-464fcfec":"128f9899","chunk-767781bc":"cea3a61d","chunk-284b2208":"f146077b","chunk-c7642228":"eff85fa1"}[e]+".css",a=i.p+c,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var f=o[u],h=f.getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(h===c||h===a))return n()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){f=l[u],h=f.getAttribute("data-href");if(h===c||h===a)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var c=n&&n.target&&n.target.src||a,o=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=c,delete r[e],s.parentNode.removeChild(s),t(o)},s.href=a;var d=document.getElementsByTagName("head")[0];d.appendChild(s)})).then((function(){r[e]=0})));var c=a[e];if(0!==c)if(c)n.push(c[2]);else{var o=new Promise((function(n,t){c=a[e]=[n,t]}));n.push(c[2]=o);var f,h=document.createElement("script");h.charset="utf-8",h.timeout=120,i.nc&&h.setAttribute("nonce",i.nc),h.src=u(e);var l=new Error;f=function(n){h.onerror=h.onload=null,clearTimeout(s);var t=a[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;l.message="Loading chunk "+e+" failed.\n("+c+": "+r+")",l.name="ChunkLoadError",l.type=c,l.request=r,t[1](l)}a[e]=void 0}};var s=setTimeout((function(){f({type:"timeout",target:h})}),12e4);h.onerror=h.onload=f,document.head.appendChild(h)}return Promise.all(n)},i.m=e,i.c=c,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="//yunxin.ichunt.com/",i.oe=function(e){throw console.error(e),e};var f=window["webpackJsonp"]=window["webpackJsonp"]||[],h=f.push.bind(f);f.push=n,f=f.slice();for(var l=0;l<f.length;l++)n(f[l]);var s=h;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},1:function(e,n){},"25aa":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("4465"),t("0e87"),t("44b8"),t("98ac"),t("b008"),t("f16a"),t("651e"),t("c4ee");var c=t("a593"),r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("keep-alive",{attrs:{exclude:"InquireDetail,ListDetail"}},[t("router-view",{staticClass:"router-view"})],1)],1)},a=[],o={name:"app"},u=o,i=t("5d22"),f=Object(i["a"])(u,r,a,!1,null,null,null),h=f.exports,l=t("8aaf");c["default"].use(l["a"]);var s,d=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-1f1d09b0"),t.e("chunk-296911be")]).then(function(){var n=[t("b30e")];e.apply(null,n)}.bind(this)).catch(t.oe)},p=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-2e1aef6e")]).then(function(){var n=[t("a7e6")];e.apply(null,n)}.bind(this)).catch(t.oe)},b=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-464fcfec")]).then(function(){var n=[t("872f")];e.apply(null,n)}.bind(this)).catch(t.oe)},m=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-767781bc")]).then(function(){var n=[t("5962")];e.apply(null,n)}.bind(this)).catch(t.oe)},k=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1b5b7edc"),t.e("chunk-2ed520c1")]).then(function(){var n=[t("fc42")];e.apply(null,n)}.bind(this)).catch(t.oe)},v=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-1f98229c")]).then(function(){var n=[t("6547")];e.apply(null,n)}.bind(this)).catch(t.oe)},g=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-284b2208")]).then(function(){var n=[t("f2d5")];e.apply(null,n)}.bind(this)).catch(t.oe)},y=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-288fe952")]).then(function(){var n=[t("e6d3")];e.apply(null,n)}.bind(this)).catch(t.oe)},w=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1b5b7edc"),t.e("chunk-36bc79d4")]).then(function(){var n=[t("2e26")];e.apply(null,n)}.bind(this)).catch(t.oe)},P=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-09cb4ae8")]).then(function(){var n=[t("d75c")];e.apply(null,n)}.bind(this)).catch(t.oe)},E=function(e){return t.e("chunk-c7642228").then(function(){var n=[t("812b")];e.apply(null,n)}.bind(this)).catch(t.oe)},O=function(e){return t.e("chunk-61379a30").then(function(){var n=[t("460e")];e.apply(null,n)}.bind(this)).catch(t.oe)},S=function(e){return t.e("chunk-25ac136c").then(function(){var n=[t("8f14")];e.apply(null,n)}.bind(this)).catch(t.oe)},T=[{path:"/",name:"Index",meta:{title:"概况"},component:d},{path:"/inquire",name:"Inquire",meta:{title:"询价管理"},component:p},{path:"/inquire/detail",name:"InquireDetail",meta:{title:"报价详情"},component:b},{path:"/quote",name:"Quote",meta:{title:"报价管理"},component:m},{path:"/brand",name:"Brand",meta:{title:"品牌列表"},component:k},{path:"/list",name:"List",meta:{title:"库存列表"},component:v},{path:"/listDetail",name:"ListDetail",meta:{title:"导入详情"},component:g},{path:"/enter",name:"Enter",meta:{title:"库存导入"},component:y},{path:"/goods",name:"Goods",meta:{title:"商品列表"},component:w},{path:"/message",name:"Message",meta:{title:"基本信息"},component:P},{path:"/login",name:"Login",meta:{title:"猎芯网 - 云芯系统登录"},component:E},{path:"/notfound",name:"notfound",meta:{title:"猎芯网"},component:O},{path:"/bindError",name:"BindError",meta:{title:"微信重新绑定"},component:S},{path:"*",redirect:"/"}],q=new l["a"]({mode:"hash",base:"//yunxin.ichunt.com/",routes:T}),j=q,x=t("bca6"),C=(t("11f8"),function(e){var n=Number(e);return n||0}),I={dateTimeFormate:x["a"],floatZero:C},_=(t("bb2d"),{bind:function(e,n){e.addEventListener("click",(function(){var e=document.querySelector(".container-wrap").scrollTop,n=(e/100).toFixed(0),t=setInterval((function(){e-=n,e<=0&&(e=0,clearInterval(t)),document.querySelector(".container-wrap").scrollTop=e}),1)}),!1)}}),D={install:function(e){e.directive("backTop",_)}},L=t("9aea"),N=t("73ef"),M=t.n(N),A=(t("19a9"),t("3d26"),t("6376")),B=t.n(A),J=0,F=function(){s=B.a.service({lock:!0,background:"rgba(255, 255, 255, 0)"})},G=function(){s.close()},R=function(){0===J&&F(),J+=1},U=function(){J<=0||(J-=1,0===J&&G())},$=t("e8d6");t("5eb7"),t("25aa");c["default"].config.productionTip=!1,Object.keys(I).forEach((function(e){return c["default"].filter(e,I[e])})),c["default"].use(D),j.afterEach((function(e,n,t){if("/"!=e.path&&"/login"!=e.path&&"/notfound"!=e.path&&"/bindError"!=e.path){var c,r=sessionStorage.getItem("tabs"),a=[];if(r){c=JSON.parse(r);for(var o=0;o<c.length;o++)a.push(JSON.stringify(c[o]));-1==a.indexOf(JSON.stringify({path:e.path,title:e.meta.title,query:e.query}))&&c.push({path:e.path,title:e.meta.title,query:e.query})}else c=[{path:e.path,title:e.meta.title,query:e.query}];c&&sessionStorage.setItem("tabs",JSON.stringify(c))}})),M.a.interceptors.request.use((function(e){return e.loading&&R(),e}),(function(e){return Promise.reject(e)})),M.a.interceptors.response.use((function(e){if(U(),101==e.data.err_code){var n=window.location.hash;n=n.substr(1),console.log(n),window.location.href="/#/login?referer="+encodeURI(n)}return e.data}),(function(e){return U(),Promise.reject(new Error(e))})),c["default"].prototype.$http=L["b"],j.beforeEach((function(e,n,t){if("/login"==e.path||"/notfound"==e.path||"/bindError"==e.path)t();else{var c=$["a"].getCookie("token")||"";if(c)t();else{window.userInfo="";var r=window.location.hash;r=r.substr(1),window.location.href="/#/login?referer="+encodeURI(r),history.go(0)}}})),new c["default"]({router:j,render:function(e){return e(h)}}).$mount("#app")},"5eb7":function(e,n,t){},"9aea":function(e,n,t){"use strict";t.d(n,"a",(function(){return h})),t.d(n,"b",(function(){return l}));var c=t("22e1"),r=(t("55cf"),t("73ef")),a=t.n(r),o=t("7c78"),u=t.n(o),i=t("e8d6"),f="production",h="/";switch(f){case"development":h="http://192.168.1.30:8080";break;case"test":h="http://cloud.liexindev.net";break;case"production":h="//cloud.ichunt.com";break}var l=function(e,n,t,r){t=t&&"object"===Object(c["a"])(t)?t:{};var o=i["a"].getCookie("token")||"",f={url:"".concat(h).concat(n),method:e,transformRequest:[function(e){return u.a.stringify(e)}],loading:!r};return"/auth/cp"!=n&&"/auth/login"!=n&&(f.headers={Authorization:"Bearer "+o}),"post"==e||"POST"==e?f.data=t:"get"!==e&&"GET"!=e||(f.params=t),a()(f)}},bca6:function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var c=function(e){var n=new Date(1e3*e);function t(e){return e<10&&(e="0"+e),e}var c=n.getFullYear(),r=n.getMonth()+1,a=n.getDate(),o=n.getHours(),u=n.getMinutes(),i=n.getSeconds();return c+"-"+t(r)+"-"+t(a)+" "+t(o)+":"+t(u)+":"+t(i)}},e8d6:function(e,n,t){"use strict";t("ba79"),t("050b");n["a"]={setCookie:function(e,n,t,c){c=c?";domain="+c:"";var r=t,a=new Date;return a.setTime(a.getTime()+24*r*60*60*1e3),document.cookie=e+"="+encodeURIComponent(n)+";expires="+a.toGMTString()+";path=/"+c,!0},getCookie:function(e){for(var n=document.cookie,t=n.split("; "),c=0;c<t.length;c++){var r=t[c].split("=");if(e==r[0])return r[1]}return null},delCookie:function(e){var n=new Date;n.setTime(n.getTime()-1);var t=this.getCookie(e);null!=t&&(document.cookie=e+"="+t+";expires="+n.toGMTString())}}}}); (function(e){function n(n){for(var c,r,u=n[0],i=n[1],f=n[2],h=0,l=[];h<u.length;h++)r=u[h],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&l.push(a[r][0]),a[r]=0;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c]);s&&s(n);while(l.length)l.shift()();return o.push.apply(o,f||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],c=!0,r=1;r<t.length;r++){var u=t[r];0!==a[u]&&(c=!1)}c&&(o.splice(n--,1),e=i(i.s=t[0]))}return e}var c={},r={app:0},a={app:0},o=[];function u(e){return i.p+"static/js/"+({}[e]||e)+".1623117350841.js"}function i(n){if(c[n])return c[n].exports;var t=c[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-25ac136c":1,"chunk-61379a30":1,"chunk-6257fb96":1,"chunk-09cb4ae8":1,"chunk-1f1d09b0":1,"chunk-296911be":1,"chunk-8c7f0cae":1,"chunk-1b5b7edc":1,"chunk-2ed520c1":1,"chunk-36bc79d4":1,"chunk-1f98229c":1,"chunk-288fe952":1,"chunk-2e1aef6e":1,"chunk-464fcfec":1,"chunk-767781bc":1,"chunk-284b2208":1,"chunk-6766dae0":1};r[e]?n.push(r[e]):0!==r[e]&&t[e]&&n.push(r[e]=new Promise((function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-25ac136c":"903fb18e","chunk-61379a30":"3d6445eb","chunk-6257fb96":"195447e9","chunk-09cb4ae8":"b71ebd2f","chunk-0a21860e":"31d6cfe0","chunk-1f1d09b0":"fb33d5e6","chunk-296911be":"bb7545e5","chunk-8c7f0cae":"b6cda0c4","chunk-1b5b7edc":"d938ddcf","chunk-2ed520c1":"588e48a9","chunk-36bc79d4":"e6d75a1f","chunk-1f98229c":"b7dbb9bc","chunk-288fe952":"62f4a50e","chunk-2e1aef6e":"8886942d","chunk-464fcfec":"128f9899","chunk-767781bc":"cea3a61d","chunk-284b2208":"f146077b","chunk-6766dae0":"eff85fa1"}[e]+".css",a=i.p+c,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var f=o[u],h=f.getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(h===c||h===a))return n()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){f=l[u],h=f.getAttribute("data-href");if(h===c||h===a)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var c=n&&n.target&&n.target.src||a,o=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=c,delete r[e],s.parentNode.removeChild(s),t(o)},s.href=a;var d=document.getElementsByTagName("head")[0];d.appendChild(s)})).then((function(){r[e]=0})));var c=a[e];if(0!==c)if(c)n.push(c[2]);else{var o=new Promise((function(n,t){c=a[e]=[n,t]}));n.push(c[2]=o);var f,h=document.createElement("script");h.charset="utf-8",h.timeout=120,i.nc&&h.setAttribute("nonce",i.nc),h.src=u(e);var l=new Error;f=function(n){h.onerror=h.onload=null,clearTimeout(s);var t=a[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;l.message="Loading chunk "+e+" failed.\n("+c+": "+r+")",l.name="ChunkLoadError",l.type=c,l.request=r,t[1](l)}a[e]=void 0}};var s=setTimeout((function(){f({type:"timeout",target:h})}),12e4);h.onerror=h.onload=f,document.head.appendChild(h)}return Promise.all(n)},i.m=e,i.c=c,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)i.d(t,c,function(n){return e[n]}.bind(null,c));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="//yunxin.ichunt.com/",i.oe=function(e){throw console.error(e),e};var f=window["webpackJsonp"]=window["webpackJsonp"]||[],h=f.push.bind(f);f.push=n,f=f.slice();for(var l=0;l<f.length;l++)n(f[l]);var s=h;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},1:function(e,n){},"25aa":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("4465"),t("0e87"),t("44b8"),t("98ac"),t("b008"),t("f16a"),t("651e"),t("c4ee");var c=t("a593"),r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("keep-alive",{attrs:{exclude:"InquireDetail,ListDetail"}},[t("router-view",{staticClass:"router-view"})],1)],1)},a=[],o={name:"app"},u=o,i=t("5d22"),f=Object(i["a"])(u,r,a,!1,null,null,null),h=f.exports,l=t("8aaf");c["default"].use(l["a"]);var s,d=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-1f1d09b0"),t.e("chunk-296911be")]).then(function(){var n=[t("b30e")];e.apply(null,n)}.bind(this)).catch(t.oe)},p=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-2e1aef6e")]).then(function(){var n=[t("a7e6")];e.apply(null,n)}.bind(this)).catch(t.oe)},b=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-464fcfec")]).then(function(){var n=[t("872f")];e.apply(null,n)}.bind(this)).catch(t.oe)},m=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-767781bc")]).then(function(){var n=[t("5962")];e.apply(null,n)}.bind(this)).catch(t.oe)},k=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1b5b7edc"),t.e("chunk-2ed520c1")]).then(function(){var n=[t("fc42")];e.apply(null,n)}.bind(this)).catch(t.oe)},v=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-1f98229c")]).then(function(){var n=[t("6547")];e.apply(null,n)}.bind(this)).catch(t.oe)},g=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-284b2208")]).then(function(){var n=[t("f2d5")];e.apply(null,n)}.bind(this)).catch(t.oe)},y=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1f1d09b0"),t.e("chunk-288fe952")]).then(function(){var n=[t("e6d3")];e.apply(null,n)}.bind(this)).catch(t.oe)},w=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-0a21860e"),t.e("chunk-8c7f0cae"),t.e("chunk-1b5b7edc"),t.e("chunk-36bc79d4")]).then(function(){var n=[t("2e26")];e.apply(null,n)}.bind(this)).catch(t.oe)},P=function(e){return Promise.all([t.e("chunk-6257fb96"),t.e("chunk-09cb4ae8")]).then(function(){var n=[t("d75c")];e.apply(null,n)}.bind(this)).catch(t.oe)},E=function(e){return t.e("chunk-6766dae0").then(function(){var n=[t("812b")];e.apply(null,n)}.bind(this)).catch(t.oe)},O=function(e){return t.e("chunk-61379a30").then(function(){var n=[t("460e")];e.apply(null,n)}.bind(this)).catch(t.oe)},S=function(e){return t.e("chunk-25ac136c").then(function(){var n=[t("8f14")];e.apply(null,n)}.bind(this)).catch(t.oe)},T=[{path:"/",name:"Index",meta:{title:"概况"},component:d},{path:"/inquire",name:"Inquire",meta:{title:"询价管理"},component:p},{path:"/inquire/detail",name:"InquireDetail",meta:{title:"报价详情"},component:b},{path:"/quote",name:"Quote",meta:{title:"报价管理"},component:m},{path:"/brand",name:"Brand",meta:{title:"品牌列表"},component:k},{path:"/list",name:"List",meta:{title:"库存列表"},component:v},{path:"/listDetail",name:"ListDetail",meta:{title:"导入详情"},component:g},{path:"/enter",name:"Enter",meta:{title:"库存导入"},component:y},{path:"/goods",name:"Goods",meta:{title:"商品列表"},component:w},{path:"/message",name:"Message",meta:{title:"基本信息"},component:P},{path:"/login",name:"Login",meta:{title:"猎芯网 - 云芯系统登录"},component:E},{path:"/notfound",name:"notfound",meta:{title:"猎芯网"},component:O},{path:"/bindError",name:"BindError",meta:{title:"微信重新绑定"},component:S},{path:"*",redirect:"/"}],q=new l["a"]({mode:"hash",base:"//yunxin.ichunt.com/",routes:T}),j=q,x=t("bca6"),C=(t("11f8"),function(e){var n=Number(e);return n||0}),I={dateTimeFormate:x["a"],floatZero:C},_=(t("bb2d"),{bind:function(e,n){e.addEventListener("click",(function(){var e=document.querySelector(".container-wrap").scrollTop,n=(e/100).toFixed(0),t=setInterval((function(){e-=n,e<=0&&(e=0,clearInterval(t)),document.querySelector(".container-wrap").scrollTop=e}),1)}),!1)}}),D={install:function(e){e.directive("backTop",_)}},L=t("9aea"),N=t("73ef"),M=t.n(N),A=(t("19a9"),t("3d26"),t("6376")),B=t.n(A),J=0,F=function(){s=B.a.service({lock:!0,background:"rgba(255, 255, 255, 0)"})},G=function(){s.close()},R=function(){0===J&&F(),J+=1},U=function(){J<=0||(J-=1,0===J&&G())},$=t("e8d6");t("5eb7"),t("25aa");c["default"].config.productionTip=!1,Object.keys(I).forEach((function(e){return c["default"].filter(e,I[e])})),c["default"].use(D),j.afterEach((function(e,n,t){if("/"!=e.path&&"/login"!=e.path&&"/notfound"!=e.path&&"/bindError"!=e.path){var c,r=sessionStorage.getItem("tabs"),a=[];if(r){c=JSON.parse(r);for(var o=0;o<c.length;o++)a.push(JSON.stringify(c[o]));-1==a.indexOf(JSON.stringify({path:e.path,title:e.meta.title,query:e.query}))&&c.push({path:e.path,title:e.meta.title,query:e.query})}else c=[{path:e.path,title:e.meta.title,query:e.query}];c&&sessionStorage.setItem("tabs",JSON.stringify(c))}})),M.a.interceptors.request.use((function(e){return e.loading&&R(),e}),(function(e){return Promise.reject(e)})),M.a.interceptors.response.use((function(e){if(U(),101==e.data.err_code){var n=window.location.hash;n=n.substr(1),console.log(n),window.location.href="/#/login?referer="+encodeURI(n)}return e.data}),(function(e){return U(),Promise.reject(new Error(e))})),c["default"].prototype.$http=L["b"],j.beforeEach((function(e,n,t){if("/login"==e.path||"/notfound"==e.path||"/bindError"==e.path)t();else{var c=$["a"].getCookie("token")||"";if(c)t();else{window.userInfo="";var r=window.location.hash;r=r.substr(1),window.location.href="/#/login?referer="+encodeURI(r),history.go(0)}}})),new c["default"]({router:j,render:function(e){return e(h)}}).$mount("#app")},"5eb7":function(e,n,t){},"9aea":function(e,n,t){"use strict";t.d(n,"a",(function(){return h})),t.d(n,"b",(function(){return l}));var c=t("22e1"),r=(t("55cf"),t("73ef")),a=t.n(r),o=t("7c78"),u=t.n(o),i=t("e8d6"),f="production",h="/";switch(f){case"development":h="http://192.168.1.30:8080";break;case"test":h="http://cloud.liexindev.net";break;case"production":h="//cloud.ichunt.com";break}var l=function(e,n,t,r){t=t&&"object"===Object(c["a"])(t)?t:{};var o=i["a"].getCookie("token")||"",f={url:"".concat(h).concat(n),method:e,transformRequest:[function(e){return u.a.stringify(e)}],loading:!r};return"/auth/cp"!=n&&"/auth/login"!=n&&(f.headers={Authorization:"Bearer "+o}),"post"==e||"POST"==e?f.data=t:"get"!==e&&"GET"!=e||(f.params=t),a()(f)}},bca6:function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var c=function(e){var n=new Date(1e3*e);function t(e){return e<10&&(e="0"+e),e}var c=n.getFullYear(),r=n.getMonth()+1,a=n.getDate(),o=n.getHours(),u=n.getMinutes(),i=n.getSeconds();return c+"-"+t(r)+"-"+t(a)+" "+t(o)+":"+t(u)+":"+t(i)}},e8d6:function(e,n,t){"use strict";t("ba79"),t("050b");n["a"]={setCookie:function(e,n,t,c){c=c?";domain="+c:"";var r=t,a=new Date;return a.setTime(a.getTime()+24*r*60*60*1e3),document.cookie=e+"="+encodeURIComponent(n)+";expires="+a.toGMTString()+";path=/"+c,!0},getCookie:function(e){for(var n=document.cookie,t=n.split("; "),c=0;c<t.length;c++){var r=t[c].split("=");if(e==r[0])return r[1]}return null},delCookie:function(e){var n=new Date;n.setTime(n.getTime()-1);var t=this.getCookie(e);null!=t&&(document.cookie=e+"="+t+";expires="+n.toGMTString())}}}});
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6766dae0"],{"0bba":function(e,t,r){"use strict";r("adbb")},"1f12":function(e,t,r){},"812b":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"user-box"},[e._m(0),r("div",{staticClass:"section"},[r("div",{staticClass:"section-wrap"},[r("div",{staticClass:"login-box"},[r("p",{staticClass:"tit"},[e._v("欢迎登录云芯系统")]),r("div",{staticClass:"bar"},[r("form",[r("div",{staticClass:"input-box lbBox",class:e.errorClass1?"error":""},[r("i",{staticClass:"iconfont iconuser va-m"}),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.mobile,expression:"form.mobile"}],staticClass:"inp va-m",attrs:{type:"text",placeholder:"请输入手机号",autocomplete:"off"},domProps:{value:e.form.mobile},on:{input:function(t){t.target.composing||e.$set(e.form,"mobile",t.target.value)}}}),r("b",{staticClass:"lineBlock emptys"})]),r("div",{staticClass:"input-box lbBox",class:e.errorClass2?"error":""},[r("i",{staticClass:"iconfont icondenglu-mimabeifen va-m"}),"checkbox"===(e.pwdFlag?"password":"text")?r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.password,expression:"form.password"}],staticClass:"inp va-m",attrs:{placeholder:"请输入登录密码",type:"checkbox"},domProps:{checked:Array.isArray(e.form.password)?e._i(e.form.password,null)>-1:e.form.password},on:{change:function(t){var r=e.form.password,n=t.target,o=!!n.checked;if(Array.isArray(r)){var s=null,a=e._i(r,s);n.checked?a<0&&e.$set(e.form,"password",r.concat([s])):a>-1&&e.$set(e.form,"password",r.slice(0,a).concat(r.slice(a+1)))}else e.$set(e.form,"password",o)}}}):"radio"===(e.pwdFlag?"password":"text")?r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.password,expression:"form.password"}],staticClass:"inp va-m",attrs:{placeholder:"请输入登录密码",type:"radio"},domProps:{checked:e._q(e.form.password,null)},on:{change:function(t){return e.$set(e.form,"password",null)}}}):r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.password,expression:"form.password"}],staticClass:"inp va-m",attrs:{placeholder:"请输入登录密码",type:e.pwdFlag?"password":"text"},domProps:{value:e.form.password},on:{input:function(t){t.target.composing||e.$set(e.form,"password",t.target.value)}}}),r("a",{staticClass:"iconfont eye",class:e.pwdFlag?"iconyincang":"iconyanjing",attrs:{href:"javascript:;"},on:{click:function(t){return e.changePwd()}}}),r("b",{staticClass:"lineBlock emptys"})]),r("div",{staticClass:"code-box clr",class:e.errorClass3?"error":""},[r("div",{staticClass:"fl l"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.captcha,expression:"form.captcha"}],attrs:{type:"text",placeholder:"请输入验证码"},domProps:{value:e.form.captcha},on:{input:function(t){t.target.composing||e.$set(e.form,"captcha",t.target.value)}}})]),r("a",{staticClass:"fr r",attrs:{href:"javascript:;",title:"换一张"},on:{click:function(t){return e.updateCp()}}},[r("img",{attrs:{src:e.imgSrc,alt:""}})])]),r("p",{staticClass:"text"},[r("span",{staticClass:"error"},[e._v(e._s(e.errror_text))]),r("a",{staticStyle:{visibility:"hidden"},attrs:{href:"javascript:;"}},[e._v("忘记密码")])]),r("a",{staticClass:"btn-submit",class:e.active?"active":"",attrs:{href:"javascript:;",loading:!0},on:{click:function(t){return e.submit()}}},[e._v("登录")])])])])])])])},o=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"head-box"},[n("div",{staticClass:"head-wrap lbBox"},[n("a",{staticClass:"logo lineBlock va-m"},[n("img",{attrs:{src:r("9d64"),alt:""}})]),n("span",{staticClass:"line lineBlock va-m"}),n("div",{staticClass:"text lineBlock va-m"},[n("p",{staticClass:"t1"},[e._v("云芯商家")]),n("p",{staticClass:"t2"},[e._v("连接终端需求")])]),n("b",{staticClass:"lineBlock emptys"})])])}],s=(r("19a9"),r("3d26"),r("6376")),a=r.n(s),i=(r("1f12"),r("cc9f")),c=r.n(i),l=r("a593"),u=r("e8d6");l["default"].prototype.$message=c.a;var f={name:"index",data:function(){return{pwdFlag:!0,active:!1,errror_text:"",status1:!1,status2:!1,loading:!0,imgSrc:"",errorClass1:!1,errorClass2:!1,errorClass3:!1,cp:!1,form:{mobile:"",password:"",captcha:"",captcha_key:""}}},watch:{form:{deep:!0,handler:function(e,t){var r=e,n=/^[1][3,4,5,7,8][0-9]{9}$/;this.cp?this.cp=!1:(r.captcha||r.password||r.mobile)&&(this.errror_text="",this.errorClass1=!1,this.errorClass2=!1,this.errorClass3=!1),n.test(r.mobile)?this.active=!0:this.active=!1}}},created:function(){this.updateCp()},computed:{},methods:{updateCp:function(){var e=this;this.$http("get","/auth/cp").then((function(t){0===t.err_code&&(e.imgSrc=t.data.url.img,e.form.captcha_key=t.data.url.key)})).catch((function(e){console.log(e.message)}))},changePwd:function(){this.pwdFlag=!this.pwdFlag},submit:function(){var e=this,t=/^[1][3,4,5,7,8][0-9]{9}$/;if(!this.form.mobile)return this.errror_text="请输入手机号",this.errorClass1=!0,!1;if(!t.test(this.form.mobile))return this.errror_text="请输入正确的手机号",this.errorClass1=!0,!1;if(!this.form.password)return this.errror_text="请输入登录密码",this.errorClass2=!0,!1;if(!this.form.captcha)return this.errror_text="请输入验证码",this.errorClass3=!0,!1;var r=a.a.service({background:"rgba(0, 0, 0, 0)"});this.$http("post","/auth/login",{mobile:this.form.mobile,password:this.form.password,captcha:this.form.captcha,captcha_key:this.form.captcha_key}).then((function(t){r.close(),0===t.err_code?(u["a"].setCookie("token",t.data.api_token,1),t.data.is_bind_wechat?e.$route.query.referer?window.location.href="/#"+e.$route.query.referer:window.location.href="/":e.$http("get","/api/login/getwxqrcode").then((function(t){0===t.err_code?window.location.href=t.data.wx_login_url:e.$message(t.err_msg)}))):102===t.err_code?(e.errror_text=t.err_msg,e.cp=!0,e.updateCp(),e.$message(t.err_msg)):(e.errror_text=t.err_msg,e.cp=!0,e.$message(t.err_msg),e.updateCp())})).catch((function(e){r.close()}))}}},p=f,d=(r("0bba"),r("5d22")),m=Object(d["a"])(p,n,o,!1,null,"62d3a376",null);t["default"]=m.exports},"9d64":function(e,t){e.exports="data:image/png;base64,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"},adbb:function(e,t,r){},ba15:function(e,t,r){"use strict";function n(e){return"[object String]"===Object.prototype.toString.call(e)}function o(e){return"[object Object]"===Object.prototype.toString.call(e)}function s(e){return e&&e.nodeType===Node.ELEMENT_NODE}t.__esModule=!0,t.isString=n,t.isObject=o,t.isHtmlElement=s;t.isFunction=function(e){var t={};return e&&"[object Function]"===t.toString.call(e)},t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return void 0!==e&&null!==e}},c350:function(e,t,r){"use strict";t.__esModule=!0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isVNode=s;var o=r("f0ce");function s(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":n(e))&&(0,o.hasOwn)(e,"componentOptions")}},cc9f:function(e,t,r){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=75)}({0:function(e,t,r){"use strict";function n(e,t,r,n,o,s,a,i){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=i?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:l}}r.d(t,"a",(function(){return n}))},15:function(e,t){e.exports=r("74bf")},23:function(e,t){e.exports=r("c350")},7:function(e,t){e.exports=r("a593")},75:function(e,t,r){"use strict";r.r(t);var n=r(7),o=r.n(n),s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":e.handleAfterLeave}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-message",e.type&&!e.iconClass?"el-message--"+e.type:"",e.center?"is-center":"",e.showClose?"is-closable":"",e.customClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:e.clearTimer,mouseleave:e.startTimer}},[e.iconClass?r("i",{class:e.iconClass}):r("i",{class:e.typeClass}),e._t("default",[e.dangerouslyUseHTMLString?r("p",{staticClass:"el-message__content",domProps:{innerHTML:e._s(e.message)}}):r("p",{staticClass:"el-message__content"},[e._v(e._s(e.message))])]),e.showClose?r("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:e.close}}):e._e()],2)])},a=[];s._withStripped=!0;var i={success:"success",info:"info",warning:"warning",error:"error"},c={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+i[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(e){e&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"===typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration))},keydown:function(e){27===e.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},l=c,u=r(0),f=Object(u["a"])(l,s,a,!1,null,null,null);f.options.__file="packages/message/src/main.vue";var p=f.exports,d=r(15),m=r(23),h=o.a.extend(p),y=void 0,g=[],v=1,b=function e(t){if(!o.a.prototype.$isServer){t=t||{},"string"===typeof t&&(t={message:t});var r=t.onClose,n="message_"+v++;t.onClose=function(){e.close(n,r)},y=new h({data:t}),y.id=n,Object(m["isVNode"])(y.message)&&(y.$slots.default=[y.message],y.message=null),y.$mount(),document.body.appendChild(y.$el);var s=t.offset||20;return g.forEach((function(e){s+=e.$el.offsetHeight+16})),y.verticalOffset=s,y.visible=!0,y.$el.style.zIndex=d["PopupManager"].nextZIndex(),g.push(y),y}};["success","warning","info","error"].forEach((function(e){b[e]=function(t){return"string"===typeof t&&(t={message:t}),t.type=e,b(t)}})),b.close=function(e,t){for(var r=g.length,n=-1,o=void 0,s=0;s<r;s++)if(e===g[s].id){o=g[s].$el.offsetHeight,n=s,"function"===typeof t&&t(g[s]),g.splice(s,1);break}if(!(r<=1||-1===n||n>g.length-1))for(var a=n;a<r-1;a++){var i=g[a].$el;i.style["top"]=parseInt(i.style["top"],10)-o-16+"px"}},b.closeAll=function(){for(var e=g.length-1;e>=0;e--)g[e].close()};var w=b;t["default"]=w}})},f0ce:function(e,t,r){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=l,t.hasOwn=u,t.toObject=p,t.getPropByPath=d,t.rafThrottle=v,t.objToArray=b;var o=r("a593"),s=i(o),a=r("ba15");function i(e){return e&&e.__esModule?e:{default:e}}var c=Object.prototype.hasOwnProperty;function l(){}function u(e,t){return c.call(e,t)}function f(e,t){for(var r in t)e[r]=t[r];return e}function p(e){for(var t={},r=0;r<e.length;r++)e[r]&&f(t,e[r]);return t}t.getValueByPath=function(e,t){t=t||"";for(var r=t.split("."),n=e,o=null,s=0,a=r.length;s<a;s++){var i=r[s];if(!n)break;if(s===a-1){o=n[i];break}n=n[i]}return o};function d(e,t,r){var n=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var o=t.split("."),s=0,a=o.length;s<a-1;++s){if(!n&&!r)break;var i=o[s];if(!(i in n)){if(r)throw new Error("please transfer a valid prop path to form item!");break}n=n[i]}return{o:n,k:o[s],v:n?n[o[s]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var r=0;r!==e.length;++r)if(e[r]!==t[r])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var m=t.arrayFindIndex=function(e,t){for(var r=0;r!==e.length;++r)if(t(e[r]))return r;return-1},h=(t.arrayFind=function(e,t){var r=m(e,t);return-1!==r?e[r]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!s.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!s.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!s.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":n(e)))return e;var t=["transform","transition","animation"],r=["ms-","webkit-"];return t.forEach((function(t){var n=e[t];t&&n&&r.forEach((function(r){e[r+t]=n}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var r=(0,a.isObject)(e),n=(0,a.isObject)(t);return r&&n?JSON.stringify(e)===JSON.stringify(t):!r&&!n&&String(e)===String(t)}),y=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!h(e[r],t[r]))return!1;return!0},g=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?y(e,t):h(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function v(e){var t=!1;return function(){for(var r=this,n=arguments.length,o=Array(n),s=0;s<n;s++)o[s]=arguments[s];t||(t=!0,window.requestAnimationFrame((function(n){e.apply(r,o),t=!1})))}}function b(e){return Array.isArray(e)?e:g(e)?[]:[e]}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c7642228"],{"1f12":function(e,t,r){},"812b":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"user-box"},[e._m(0),r("div",{staticClass:"section"},[r("div",{staticClass:"section-wrap"},[r("div",{staticClass:"login-box"},[r("p",{staticClass:"tit"},[e._v("欢迎登录云芯系统")]),r("div",{staticClass:"bar"},[r("form",[r("div",{staticClass:"input-box lbBox",class:e.errorClass1?"error":""},[r("i",{staticClass:"iconfont iconuser va-m"}),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.mobile,expression:"form.mobile"}],staticClass:"inp va-m",attrs:{type:"text",placeholder:"请输入手机号",autocomplete:"off"},domProps:{value:e.form.mobile},on:{input:function(t){t.target.composing||e.$set(e.form,"mobile",t.target.value)}}}),r("b",{staticClass:"lineBlock emptys"})]),r("div",{staticClass:"input-box lbBox",class:e.errorClass2?"error":""},[r("i",{staticClass:"iconfont icondenglu-mimabeifen va-m"}),"checkbox"===(e.pwdFlag?"password":"text")?r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.password,expression:"form.password"}],staticClass:"inp va-m",attrs:{placeholder:"请输入登录密码",type:"checkbox"},domProps:{checked:Array.isArray(e.form.password)?e._i(e.form.password,null)>-1:e.form.password},on:{change:function(t){var r=e.form.password,n=t.target,o=!!n.checked;if(Array.isArray(r)){var s=null,a=e._i(r,s);n.checked?a<0&&e.$set(e.form,"password",r.concat([s])):a>-1&&e.$set(e.form,"password",r.slice(0,a).concat(r.slice(a+1)))}else e.$set(e.form,"password",o)}}}):"radio"===(e.pwdFlag?"password":"text")?r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.password,expression:"form.password"}],staticClass:"inp va-m",attrs:{placeholder:"请输入登录密码",type:"radio"},domProps:{checked:e._q(e.form.password,null)},on:{change:function(t){return e.$set(e.form,"password",null)}}}):r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.password,expression:"form.password"}],staticClass:"inp va-m",attrs:{placeholder:"请输入登录密码",type:e.pwdFlag?"password":"text"},domProps:{value:e.form.password},on:{input:function(t){t.target.composing||e.$set(e.form,"password",t.target.value)}}}),r("a",{staticClass:"iconfont eye",class:e.pwdFlag?"iconyincang":"iconyanjing",attrs:{href:"javascript:;"},on:{click:function(t){return e.changePwd()}}}),r("b",{staticClass:"lineBlock emptys"})]),r("div",{staticClass:"code-box clr",class:e.errorClass3?"error":""},[r("div",{staticClass:"fl l"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.captcha,expression:"form.captcha"}],attrs:{type:"text",placeholder:"请输入验证码"},domProps:{value:e.form.captcha},on:{input:function(t){t.target.composing||e.$set(e.form,"captcha",t.target.value)}}})]),r("a",{staticClass:"fr r",attrs:{href:"javascript:;",title:"换一张"},on:{click:function(t){return e.updateCp()}}},[r("img",{attrs:{src:e.imgSrc,alt:""}})])]),r("p",{staticClass:"text"},[r("span",{staticClass:"error"},[e._v(e._s(e.errror_text))]),r("a",{staticStyle:{visibility:"hidden"},attrs:{href:"javascript:;"}},[e._v("忘记密码")])]),r("a",{staticClass:"btn-submit",class:e.active?"active":"",attrs:{href:"javascript:;",loading:!0},on:{click:function(t){return e.submit()}}},[e._v("登录")])])])])])])])},o=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"head-box"},[n("div",{staticClass:"head-wrap lbBox"},[n("a",{staticClass:"logo lineBlock va-m",attrs:{href:""}},[n("img",{attrs:{src:r("9d64"),alt:""}})]),n("span",{staticClass:"line lineBlock va-m"}),n("div",{staticClass:"text lineBlock va-m"},[n("p",{staticClass:"t1"},[e._v("云芯商家")]),n("p",{staticClass:"t2"},[e._v("连接终端需求")])]),n("b",{staticClass:"lineBlock emptys"})])])}],s=(r("19a9"),r("3d26"),r("6376")),a=r.n(s),i=(r("1f12"),r("cc9f")),c=r.n(i),l=r("a593"),u=r("e8d6");l["default"].prototype.$message=c.a;var f={name:"index",data:function(){return{pwdFlag:!0,active:!1,errror_text:"",status1:!1,status2:!1,loading:!0,imgSrc:"",errorClass1:!1,errorClass2:!1,errorClass3:!1,cp:!1,form:{mobile:"",password:"",captcha:"",captcha_key:""}}},watch:{form:{deep:!0,handler:function(e,t){var r=e,n=/^[1][3,4,5,7,8][0-9]{9}$/;this.cp?this.cp=!1:(r.captcha||r.password||r.mobile)&&(this.errror_text="",this.errorClass1=!1,this.errorClass2=!1,this.errorClass3=!1),n.test(r.mobile)?this.active=!0:this.active=!1}}},created:function(){this.updateCp()},computed:{},methods:{updateCp:function(){var e=this;this.$http("get","/auth/cp").then((function(t){0===t.err_code&&(e.imgSrc=t.data.url.img,e.form.captcha_key=t.data.url.key)})).catch((function(e){console.log(e.message)}))},changePwd:function(){this.pwdFlag=!this.pwdFlag},submit:function(){var e=this,t=/^[1][3,4,5,7,8][0-9]{9}$/;if(!this.form.mobile)return this.errror_text="请输入手机号",this.errorClass1=!0,!1;if(!t.test(this.form.mobile))return this.errror_text="请输入正确的手机号",this.errorClass1=!0,!1;if(!this.form.password)return this.errror_text="请输入登录密码",this.errorClass2=!0,!1;if(!this.form.captcha)return this.errror_text="请输入验证码",this.errorClass3=!0,!1;var r=a.a.service({background:"rgba(0, 0, 0, 0)"});this.$http("post","/auth/login",{mobile:this.form.mobile,password:this.form.password,captcha:this.form.captcha,captcha_key:this.form.captcha_key}).then((function(t){r.close(),0===t.err_code?(u["a"].setCookie("token",t.data.api_token,1),t.data.is_bind_wechat?e.$route.query.referer?window.location.href="/#"+e.$route.query.referer:window.location.href="/":e.$http("get","/api/login/getwxqrcode").then((function(t){0===t.err_code?window.location.href=t.data.wx_login_url:e.$message(t.err_msg)}))):102===t.err_code?(e.errror_text=t.err_msg,e.cp=!0,e.updateCp(),e.$message(t.err_msg)):(e.errror_text=t.err_msg,e.cp=!0,e.$message(t.err_msg),e.updateCp())})).catch((function(e){r.close()}))}}},p=f,d=(r("beaad"),r("5d22")),m=Object(d["a"])(p,n,o,!1,null,"5f7c1257",null);t["default"]=m.exports},"9d64":function(e,t){e.exports="data:image/png;base64,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"},ba15:function(e,t,r){"use strict";function n(e){return"[object String]"===Object.prototype.toString.call(e)}function o(e){return"[object Object]"===Object.prototype.toString.call(e)}function s(e){return e&&e.nodeType===Node.ELEMENT_NODE}t.__esModule=!0,t.isString=n,t.isObject=o,t.isHtmlElement=s;t.isFunction=function(e){var t={};return e&&"[object Function]"===t.toString.call(e)},t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return void 0!==e&&null!==e}},beaad:function(e,t,r){"use strict";r("ddf9")},c350:function(e,t,r){"use strict";t.__esModule=!0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isVNode=s;var o=r("f0ce");function s(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":n(e))&&(0,o.hasOwn)(e,"componentOptions")}},cc9f:function(e,t,r){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s=75)}({0:function(e,t,r){"use strict";function n(e,t,r,n,o,s,a,i){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=i?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:l}}r.d(t,"a",(function(){return n}))},15:function(e,t){e.exports=r("74bf")},23:function(e,t){e.exports=r("c350")},7:function(e,t){e.exports=r("a593")},75:function(e,t,r){"use strict";r.r(t);var n=r(7),o=r.n(n),s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":e.handleAfterLeave}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-message",e.type&&!e.iconClass?"el-message--"+e.type:"",e.center?"is-center":"",e.showClose?"is-closable":"",e.customClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:e.clearTimer,mouseleave:e.startTimer}},[e.iconClass?r("i",{class:e.iconClass}):r("i",{class:e.typeClass}),e._t("default",[e.dangerouslyUseHTMLString?r("p",{staticClass:"el-message__content",domProps:{innerHTML:e._s(e.message)}}):r("p",{staticClass:"el-message__content"},[e._v(e._s(e.message))])]),e.showClose?r("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:e.close}}):e._e()],2)])},a=[];s._withStripped=!0;var i={success:"success",info:"info",warning:"warning",error:"error"},c={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+i[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(e){e&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"===typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration))},keydown:function(e){27===e.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},l=c,u=r(0),f=Object(u["a"])(l,s,a,!1,null,null,null);f.options.__file="packages/message/src/main.vue";var p=f.exports,d=r(15),m=r(23),h=o.a.extend(p),y=void 0,g=[],v=1,b=function e(t){if(!o.a.prototype.$isServer){t=t||{},"string"===typeof t&&(t={message:t});var r=t.onClose,n="message_"+v++;t.onClose=function(){e.close(n,r)},y=new h({data:t}),y.id=n,Object(m["isVNode"])(y.message)&&(y.$slots.default=[y.message],y.message=null),y.$mount(),document.body.appendChild(y.$el);var s=t.offset||20;return g.forEach((function(e){s+=e.$el.offsetHeight+16})),y.verticalOffset=s,y.visible=!0,y.$el.style.zIndex=d["PopupManager"].nextZIndex(),g.push(y),y}};["success","warning","info","error"].forEach((function(e){b[e]=function(t){return"string"===typeof t&&(t={message:t}),t.type=e,b(t)}})),b.close=function(e,t){for(var r=g.length,n=-1,o=void 0,s=0;s<r;s++)if(e===g[s].id){o=g[s].$el.offsetHeight,n=s,"function"===typeof t&&t(g[s]),g.splice(s,1);break}if(!(r<=1||-1===n||n>g.length-1))for(var a=n;a<r-1;a++){var i=g[a].$el;i.style["top"]=parseInt(i.style["top"],10)-o-16+"px"}},b.closeAll=function(){for(var e=g.length-1;e>=0;e--)g[e].close()};var w=b;t["default"]=w}})},ddf9:function(e,t,r){},f0ce:function(e,t,r){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=l,t.hasOwn=u,t.toObject=p,t.getPropByPath=d,t.rafThrottle=v,t.objToArray=b;var o=r("a593"),s=i(o),a=r("ba15");function i(e){return e&&e.__esModule?e:{default:e}}var c=Object.prototype.hasOwnProperty;function l(){}function u(e,t){return c.call(e,t)}function f(e,t){for(var r in t)e[r]=t[r];return e}function p(e){for(var t={},r=0;r<e.length;r++)e[r]&&f(t,e[r]);return t}t.getValueByPath=function(e,t){t=t||"";for(var r=t.split("."),n=e,o=null,s=0,a=r.length;s<a;s++){var i=r[s];if(!n)break;if(s===a-1){o=n[i];break}n=n[i]}return o};function d(e,t,r){var n=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var o=t.split("."),s=0,a=o.length;s<a-1;++s){if(!n&&!r)break;var i=o[s];if(!(i in n)){if(r)throw new Error("please transfer a valid prop path to form item!");break}n=n[i]}return{o:n,k:o[s],v:n?n[o[s]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var r=0;r!==e.length;++r)if(e[r]!==t[r])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var m=t.arrayFindIndex=function(e,t){for(var r=0;r!==e.length;++r)if(t(e[r]))return r;return-1},h=(t.arrayFind=function(e,t){var r=m(e,t);return-1!==r?e[r]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!s.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!s.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!s.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":n(e)))return e;var t=["transform","transition","animation"],r=["ms-","webkit-"];return t.forEach((function(t){var n=e[t];t&&n&&r.forEach((function(r){e[r+t]=n}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var r=(0,a.isObject)(e),n=(0,a.isObject)(t);return r&&n?JSON.stringify(e)===JSON.stringify(t):!r&&!n&&String(e)===String(t)}),y=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!h(e[r],t[r]))return!1;return!0},g=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?y(e,t):h(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function v(e){var t=!1;return function(){for(var r=this,n=arguments.length,o=Array(n),s=0;s<n;s++)o[s]=arguments[s];t||(t=!0,window.requestAnimationFrame((function(n){e.apply(r,o),t=!1})))}}function b(e){return Array.isArray(e)?e:g(e)?[]:[e]}}}]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment