app.93bea8da.js 14 KB

12
  1. (function(e){function n(n){for(var r,a,c=n[0],u=n[1],s=n[2],l=0,d=[];l<c.length;l++)a=c[l],Object.prototype.hasOwnProperty.call(i,a)&&i[a]&&d.push(i[a][0]),i[a]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);f&&f(n);while(d.length)d.shift()();return o.push.apply(o,s||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],r=!0,a=1;a<t.length;a++){var c=t[a];0!==i[c]&&(r=!1)}r&&(o.splice(n--,1),e=u(u.s=t[0]))}return e}var r={},a={app:0},i={app:0},o=[];function c(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-07b50024":"a4e8c5d9","chunk-0af3dc64":"a2f2f578","chunk-122c6c6c":"f099ea79","chunk-28294eeb":"f8e3a165","chunk-3cf2a9b8":"bc76e349","chunk-4ab99b8a":"fcaa0cd1","chunk-4eed17c8":"4053cfc4","chunk-4f3fffd3":"8a63332c","chunk-a104a9b0":"4eda3945","chunk-a8127e4a":"44fa443e","chunk-f7b72af0":"bc08c6ec"}[e]+".js"}function u(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.e=function(e){var n=[],t={"chunk-07b50024":1,"chunk-0af3dc64":1,"chunk-122c6c6c":1,"chunk-3cf2a9b8":1,"chunk-4ab99b8a":1,"chunk-4eed17c8":1,"chunk-4f3fffd3":1,"chunk-a104a9b0":1,"chunk-a8127e4a":1,"chunk-f7b72af0":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-07b50024":"d51e2ae9","chunk-0af3dc64":"be1b0f72","chunk-122c6c6c":"9d82d287","chunk-28294eeb":"31d6cfe0","chunk-3cf2a9b8":"16506133","chunk-4ab99b8a":"1c82d350","chunk-4eed17c8":"99fba9e3","chunk-4f3fffd3":"388767ee","chunk-a104a9b0":"5085da24","chunk-a8127e4a":"64ac433c","chunk-f7b72af0":"39afc156"}[e]+".css",i=u.p+r,o=document.getElementsByTagName("link"),c=0;c<o.length;c++){var s=o[c],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===r||l===i))return n()}var d=document.getElementsByTagName("style");for(c=0;c<d.length;c++){s=d[c],l=s.getAttribute("data-href");if(l===r||l===i)return n()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=n,f.onerror=function(n){var r=n&&n.target&&n.target.src||i,o=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=r,delete a[e],f.parentNode.removeChild(f),t(o)},f.href=i;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){a[e]=0})));var r=i[e];if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((function(n,t){r=i[e]=[n,t]}));n.push(r[2]=o);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,u.nc&&l.setAttribute("nonce",u.nc),l.src=c(e);var d=new Error;s=function(n){l.onerror=l.onload=null,clearTimeout(f);var t=i[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;d.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",d.name="ChunkLoadError",d.type=r,d.request=a,t[1](d)}i[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(n)},u.m=e,u.c=r,u.d=function(e,n,t){u.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,n){if(1&n&&(e=u(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)u.d(t,r,function(n){return e[n]}.bind(null,r));return t},u.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(n,"a",n),n},u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},u.p="",u.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=n,s=s.slice();for(var d=0;d<s.length;d++)n(s[d]);var f=l;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"097e":function(e,n){(function(e,n){var t=e.documentElement,r="orientationchange"in window?"orientationchange":"resize",a=function(){var e=t.clientWidth;e&&(e>1024&&(e=750),t.style.fontSize=e/7.5+"px")};e.addEventListener&&(n.addEventListener(r,a,!1),e.addEventListener("DOMContentLoaded",a,!1))})(document,window)},"4ee2":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("456d"),t("ac6a"),t("14c6"),t("08c1"),t("4842"),t("d9fc");var r=t("2b0e"),a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},i=[],o={name:"app",components:{},data:function(){return{}},methods:{},mounted:function(){},watch:{$route:function(e,n){e.meta.title&&(ar_main&&ar_main(),document.title=e.meta.title),this.$router.afterEach((function(e,n,t){window.scrollTo(0,0)}))}},beforeDestroy:function(){}},c=o,u=(t("7c55"),t("2877")),s=Object(u["a"])(c,a,i,!1,null,null,null),l=s.exports,d=t("8c4f");r["a"].use(d["a"]);var f=new d["a"]({routes:[{path:"*",redirect:{name:"login"}},{path:"/shopDetails",name:"shopDetails",meta:{title:"商品详情"},component:function(){return t.e("chunk-122c6c6c").then(t.bind(null,"b17a"))}},{path:"/deteOrder",name:"deteOrder",meta:{title:"确认订单"},component:function(){return t.e("chunk-4ab99b8a").then(t.bind(null,"f894"))}},{path:"/memberJF",name:"memberJF",meta:{title:"会员积分"},component:function(){return t.e("chunk-a104a9b0").then(t.bind(null,"26e7"))}},{path:"/MCenter",name:"MCenter",meta:{title:"会员中心"},component:function(){return t.e("chunk-f7b72af0").then(t.bind(null,"6e24"))}},{path:"/IntegralOrder",name:"IntegralOrder",meta:{title:"积分订单"},component:function(){return t.e("chunk-3cf2a9b8").then(t.bind(null,"7142"))}},{path:"/IntegralOrdercopyJF",name:"IntegralOrdercopyJF",meta:{title:"订单详情"},component:function(){return t.e("chunk-4eed17c8").then(t.bind(null,"3cb2"))}},{path:"/vIpIntegralOrderdetails",name:"vIpIntegralOrderdetails",meta:{title:"VIP订单详情"},component:function(){return t.e("chunk-0af3dc64").then(t.bind(null,"f1c8"))}},{path:"/logistics",name:"logistics",meta:{title:"物流信息"},component:function(){return t.e("chunk-a8127e4a").then(t.bind(null,"c77c"))}},{path:"/binding",name:"binding",meta:{title:"绑定手机号"},component:function(){return t.e("chunk-4f3fffd3").then(t.bind(null,"7bb0"))}},{path:"/login",name:"login",meta:{title:"首页登陆"},component:function(){return t.e("chunk-28294eeb").then(t.bind(null,"dd7b"))}},{path:"/Integralinfo",name:"Integralinfo",meta:{title:"积分订单详情"},component:function(){return t.e("chunk-07b50024").then(t.bind(null,"74df"))}}]}),p=(t("4ee2"),t("097e"),t("d263"),t("7618"));!function(e){var n=document,t="querySelectorAll",r="getElementsByClassName",a=function(e){return n[t](e)},i={type:0,shade:!0,shadeClose:!0,fixed:!0,anim:"scale"},o={extend:function(e){var n=JSON.parse(JSON.stringify(i));for(var t in e)n[t]=e[t];return n},timer:{},end:{},touch:function(e,n){e.addEventListener("click",(function(e){n.call(this,e)}),!1)}},c=0,u=["layui-m-layer"],s=function(e){var n=this;n.config=o.extend(e),n.view()};s.prototype.view=function(){var e=this,t=e.config,i=n.createElement("div");e.id=i.id=u[0]+c,i.setAttribute("class",u[0]+" "+u[0]+(t.type||0)),i.setAttribute("index",c);var o=function(){var e="object"==Object(p["a"])(t.title);return t.title?'<h3 style="'+(e?t.title[1]:"")+'">'+(e?t.title[0]:t.title)+"</h3>":""}(),s=function(){"string"==typeof t.btn&&(t.btn=[t.btn]);var e,n=(t.btn||[]).length;return 0!==n&&t.btn?(e='<span yes type="1">'+t.btn[0]+"</span>",2===n&&(e='<span no type="0">'+t.btn[1]+"</span>"+e),'<div class="layui-m-layerbtn">'+e+"</div>"):""}();if(t.fixed||(t.top=t.hasOwnProperty("top")?t.top:100,t.style=t.style||"",t.style+=" top:"+(n.body.scrollTop+t.top)+"px"),2===t.type&&(t.content='<i></i><i class="layui-m-layerload"></i><i></i><p>'+(t.content||"")+"</p>"),t.skin&&(t.anim="up"),"msg"===t.skin&&(t.shade=!1),i.innerHTML=(t.shade?"<div "+("string"==typeof t.shade?'style="'+t.shade+'"':"")+' class="layui-m-layershade"></div>':"")+'<div class="layui-m-layermain" '+(t.fixed?"":'style="position:static;"')+'><div class="layui-m-layersection"><div class="layui-m-layerchild '+(t.skin?"layui-m-layer-"+t.skin+" ":"")+(t.className?t.className:"")+" "+(t.anim?"layui-m-anim-"+t.anim:"")+'" '+(t.style?'style="'+t.style+'"':"")+">"+o+'<div class="layui-m-layercont">'+t.content+"</div>"+s+"</div></div></div>",!t.type||2===t.type){var l=n[r](u[0]+t.type),d=l.length;d>=1&&layer.close(l[0].getAttribute("index"))}document.body.appendChild(i);var f=e.elem=a("#"+e.id)[0];t.success&&t.success(f),e.index=c++,e.action(t,f)},s.prototype.action=function(e,n){var t=this;e.time&&(o.timer[t.index]=setTimeout((function(){layer.close(t.index)}),1e3*e.time));var a=function(){var n=this.getAttribute("type");0==n?(e.no&&e.no(),layer.close(t.index)):e.yes?e.yes(t.index):layer.close(t.index)};if(e.btn)for(var i=n[r]("layui-m-layerbtn")[0].children,c=i.length,u=0;c>u;u++)o.touch(i[u],a);if(e.shade&&e.shadeClose){var s=n[r]("layui-m-layershade")[0];o.touch(s,(function(){layer.close(t.index,e.end)}))}e.end&&(o.end[t.index]=e.end)},e.layer={v:"2.0",index:c,open:function(e){var n=new s(e||{});return n.index},close:function(e){var t=a("#"+u[0]+e)[0];t&&(t.innerHTML="",n.body.removeChild(t),clearTimeout(o.timer[e]),delete o.timer[e],"function"==typeof o.end[e]&&o.end[e](),delete o.end[e])},closeAll:function(){for(var e=n[r](u[0]),t=0,a=e.length;a>t;t++)layer.close(0|e[0].getAttribute("index"))}},"function"==typeof define?define((function(){return layer})):function(){var e=document.scripts,t=e[e.length-1],r=t.src,a=r.substring(0,r.lastIndexOf("/")+1);t.getAttribute("merge")||document.head.appendChild(function(){var e=n.createElement("link");return e.href=a+"need/layer.css?2.0",e.type="text/css",e.rel="styleSheet",e.id="layermcss",e}())}()}(window);t("9b6a");var m=t("b970"),h=(t("157a"),t("343b")),b=t("1157"),y=t.n(b),g=t("bc3a"),v=t.n(g);v.a.defaults.retry=3,v.a.defaults.retryDelay=5e3;var k=v.a.create({CancelToken:"",baseURL:"",timeout:"30000",headers:{"Content-Type":"application/json; charset=UTF-8"}});k.defaults.withCredentials=!0;var w=function(e,n){switch(e){case 401:case 403:break;case 404:break;case 500:console.log("服务器出现错误");break;default:console.log("未知错误")}},x=[],O=v.a.CancelToken,E=function(e){for(var n in x)x[n].u===e.url&&(x[n].f(),x.splice(n,1))};k.interceptors.request.use((function(e){E(e),e.cancelToken=new O((function(n){x.push({u:e.url,f:n})}));var n=sessionStorage.getItem("userDate");return e.headers.jwt=n,Promise.resolve(e)}),(function(e){return Promise.error(e)})),k.interceptors.response.use((function(e){return E(e.config),Promise.resolve(e)}),(function(e){var n=e.response;if(n)return w(n.status,n.data.message),Promise.reject(n)})),k.jsonp=function(e){if(e)return new Promise((function(n,t){window.jsonCallBack=function(e){n(e)};var r=document.createElement("script");r.type="text/javascript",r.src="".concat(e,"&callback=jsonCallBack"),document.getElementsByTagName("head")[0].appendChild(r),setTimeout((function(){document.getElementsByTagName("head")[0].removeChild(r)}),500)}));console.error("Axios.JSONP 至少需要一个url参数!")};var C=k;console.log(Object({NODE_ENV:"production",VUE_APP_CLI_UI_URL:"",VUE_APP_Host:"",VUE_APP_Name:"生产环境",VUE_APP_Url:"",BASE_URL:""}));var I={GetIntegralListByUser:function(e){return C.get("/weixin/products",{params:e})},GetIntegraYesterday:function(e){return C.get("/weixin/games/points/last",{params:e})},GetIntegraYesterdayList:function(e){return C.get("/weixin/games/points/list",{params:e})},GetmemberJF:function(e){return C.get("/weixin/point/desc",{params:e})},GetmemberJFLS:function(e){return C.get("/weixin/points",{params:e})},GetmemberCZZ:function(e){return C.get("/weixin/growth",{params:e})},Login:function(e){return C.get("/weixin/index",{params:{openid:e}})},sendCode:function(e){return C.post("/weixin/register/sendCode",e)},logistics:function(e){return C.get("/weixin/orders/transport",{params:e})},Obtainuserorders:function(e){return C.get("/weixin/orders",{params:e})},Obtainorderdetails:function(e){return C.get("/weixin/orders/info",{params:e})},verifyAndBind:function(e){return C.post("/weixin/register/verifyAndBind",e)},productInfo:function(e){return C.get("/weixin/userOrdersInfo/productInfo",{params:e})},wxuser:function(){return C.get("/weixin/user")},Decode:function(e){return C.post("/weixin/decode",e)},savedingdan:function(e){return C.post("/weixin/userOrdersInfo/addOrder",e)},orderInfo:function(e){return C.get("/weixin/userOrdersInfo/orderInfo",{params:e})},orderList:function(e){return C.get("/weixin/userOrdersInfo/orderList",{params:e})},orderinfo:function(e){return C.get("/weixin/userOrdersInfo/orderInfo",{params:e})}},P=(t("3a34"),t("c5f6"),{getPrice:function(e){return(e/100).toFixed(2)},getDeliveryType:function(e){var n="";switch(e=Number(e),e){case 3:case 9:case 10:case 100:n="未知";break;case 1:n="宅急送";break;case 4:n="国际e邮宝";break;case 5:n="EMS";break;case 6:n="申通快递";break;case 7:n="顺丰速运";break;case 8:n="全一快递";break;case 11:n="圆通速递";break;case 12:n="邮政快递包裹";break;case 13:n="中通快递";break;case 14:n="韵达速递";break;case 15:n="京东快递";break;case 16:n="百世快递";break;default:n="未知";break}return n},getOrderStatus:function(e){e=Number(e);var n="";switch(e){case 40:n="待发货";break;case 140:n="待收货";break;case 50:case 70:case 150:n="已完成";break;default:n="未知"}return n}}),_={filters:P};r["a"].use(m["a"]),r["a"].use(h["a"],{lazyComponent:!0,loading:"",error:"https://image.360lj.com/nopic.gif"}),r["a"].prototype.$=y.a,window.$=y.a,r["a"].prototype.$http=I,Object.keys(_.filters).forEach((function(e){r["a"].filter(e,_.filters[e])})),r["a"].config.productionTip=!1,new r["a"]({router:f,render:function(e){return e(l)}}).$mount("#app")},"5c48":function(e,n,t){},"7c55":function(e,n,t){"use strict";var r=t("5c48"),a=t.n(r);a.a},"9b6a":function(e,n,t){}});
  2. //# sourceMappingURL=app.93bea8da.js.map