yzms/android/dist/js/app.540645c1.js

2 lines
6.3 KiB
JavaScript

(function(e){function t(t){for(var n,a,c=t[0],i=t[1],s=t[2],d=0,f=[];d<c.length;d++)a=c[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);p&&p(t);while(f.length)f.shift()();return u.push.apply(u,s||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},a={app:0},o={app:0},u=[];function c(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-296cdd04":"5f1e0a4d","chunk-6a439183":"b46ca093","chunk-a1d14294":"e4571292"}[e]+".js"}function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],r={"chunk-296cdd04":1,"chunk-6a439183":1,"chunk-a1d14294":1};a[e]?t.push(a[e]):0!==a[e]&&r[e]&&t.push(a[e]=new Promise((function(t,r){for(var n="css/"+({}[e]||e)+"."+{"chunk-296cdd04":"39f281fd","chunk-6a439183":"699eaaff","chunk-a1d14294":"98c7db21"}[e]+".css",o=i.p+n,u=document.getElementsByTagName("link"),c=0;c<u.length;c++){var s=u[c],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===n||d===o))return t()}var f=document.getElementsByTagName("style");for(c=0;c<f.length;c++){s=f[c],d=s.getAttribute("data-href");if(d===n||d===o)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var n=t&&t.target&&t.target.src||o,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete a[e],p.parentNode.removeChild(p),r(u)},p.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(p)})).then((function(){a[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var u=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=u);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=c(e);var f=new Error;s=function(t){d.onerror=d.onload=null,clearTimeout(p);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+a+")",f.name="ChunkLoadError",f.type=n,f.request=a,r[1](f)}o[e]=void 0}};var p=setTimeout((function(){s({type:"timeout",target:d})}),12e4);d.onerror=d.onload=s,document.head.appendChild(d)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],d=s.push.bind(s);s.push=t,s=s.slice();for(var f=0;f<s.length;f++)t(s[f]);var p=d;u.push([0,"chunk-vendors"]),r()})({0:function(e,t,r){e.exports=r("56d7")},"034f":function(e,t,r){"use strict";r("85ec")},"56d7":function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"chkserver",(function(){return U})),r.d(n,"qrpay",(function(){return A})),r.d(n,"take",(function(){return I})),r.d(n,"facegetcode",(function(){return q})),r.d(n,"icgetcode",(function(){return N})),r.d(n,"getConsumeList",(function(){return M})),r.d(n,"icUserInfo",(function(){return $})),r.d(n,"faceUserInfo",(function(){return B}));var a={};r.r(a),r.d(a,"ftInfo",(function(){return n}));r("e260"),r("e6cf"),r("cca6"),r("a79d");var o=r("a026"),u=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"app"}},[r("router-view")],1)},c=[],i={name:"App",data:function(){return{}},created:function(){},methods:{}},s=i,d=(r("034f"),r("2877")),f=Object(d["a"])(s,u,c,!1,null,null,null),p=f.exports,h=r("b970"),l=r("f564"),v=r("d399"),m=(r("157a"),r("d3b7"),r("8c4f"));o["a"].use(m["a"]);var g=[{path:"/",component:function(){return r.e("chunk-a1d14294").then(r.bind(null,"a411"))}},{path:"/inside",component:function(){return r.e("chunk-6a439183").then(r.bind(null,"d5ab"))}},{path:"/outside",component:function(){return r.e("chunk-296cdd04").then(r.bind(null,"bed2"))}}],y=new m["a"]({routes:g}),b=y,w=r("5530"),k=r("bc3a"),O=r.n(k),P={title:"罗定中学饭堂",statusWhiteList:[],baseURL:"../../",timeout:6e4},T=!1,S=P.baseURL,j={baseURL:T?"/api":S,timeout:P.timeout},E=O.a.create(j);O.a.defaults.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8",E.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),E.interceptors.response.use((function(e){return e.data}),(function(e){return Promise.reject(new Error(e))}));var _=E,C={"Content-type":"application/x-www-form-urlencoded;charset=UTF-8"},L=r("b383"),x=r.n(L);function U(e){return _({url:"/show/chkserver.php?act=info&custid=--"+e,headers:C,method:"GET"})}function A(e){var t=x.a.stringify(e);return _({url:"/api/user/qrpay",headers:C,method:"POST",data:t})}function I(e){var t=x.a.stringify(e);return _({url:"/api/order/take",headers:C,method:"POST",data:t})}function q(e){var t=x.a.stringify(e);return _({url:"/show/chkserver.php?act=facegetcode",headers:C,method:"POST",data:t})}function N(e){var t=x.a.stringify(e);return _({url:"/show/chkserver.php?act=icgetcode",headers:C,method:"POST",data:t})}function M(e){var t=x.a.stringify({channel_id:e});return _({url:"/show/chkserver.php?act=getConsumeList",headers:C,method:"POST",data:t})}function $(e){var t=x.a.stringify(e);return _({url:"/show/chkserver.php?act=icUserInfo",headers:C,method:"POST",data:t})}function B(e){var t=x.a.stringify(e);return _({url:"/show/chkserver.php?act=faceUserInfo",headers:C,method:"POST",data:t})}var F=Object(w["a"])({},a);o["a"].use(h["a"]),o["a"].prototype.$api=F,o["a"].prototype.$notify=l["a"],o["a"].prototype.$toast=v["a"],o["a"].config.productionTip=!1,new o["a"]({el:"#app",router:b,render:function(e){return e(p)}})},"85ec":function(e,t,r){}});
//# sourceMappingURL=app.540645c1.js.map