app.8cd7830a.js 9.2 KB

12
  1. (function(e){function n(n){for(var a,c,r=n[0],u=n[1],l=n[2],d=0,h=[];d<r.length;d++)c=r[d],i[c]&&h.push(i[c][0]),i[c]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);s&&s(n);while(h.length)h.shift()();return o.push.apply(o,l||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],a=!0,c=1;c<t.length;c++){var r=t[c];0!==i[r]&&(a=!1)}a&&(o.splice(n--,1),e=u(u.s=t[0]))}return e}var a={},c={app:0},i={app:0},o=[];function r(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-00bf1ced":"f73acdb0","chunk-3a571a83":"515acf56","chunk-488c01eb":"047f2453","chunk-0a87134c":"ca36b7f2","chunk-6bbe4703":"0ccb54d6","chunk-07768096":"83bcd17d","chunk-35efa254":"ec43bd26","chunk-ea3dff1a":"85ff4c38","chunk-6c980380":"f794e0fd","chunk-7742491b":"848c11d7","chunk-86d14328":"a3383106","chunk-6f14f1d1":"2a0fa5cd","chunk-729c09ba":"0feaa591"}[e]+".js"}function u(n){if(a[n])return a[n].exports;var t=a[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-00bf1ced":1,"chunk-3a571a83":1,"chunk-0a87134c":1,"chunk-6bbe4703":1,"chunk-07768096":1,"chunk-35efa254":1,"chunk-ea3dff1a":1,"chunk-6c980380":1,"chunk-7742491b":1,"chunk-86d14328":1,"chunk-6f14f1d1":1,"chunk-729c09ba":1};c[e]?n.push(c[e]):0!==c[e]&&t[e]&&n.push(c[e]=new Promise(function(n,t){for(var a="css/"+({}[e]||e)+"."+{"chunk-00bf1ced":"2c880cba","chunk-3a571a83":"bbe6189d","chunk-488c01eb":"31d6cfe0","chunk-0a87134c":"db3d42d0","chunk-6bbe4703":"2ab1cbe6","chunk-07768096":"562b4015","chunk-35efa254":"4b25b2ec","chunk-ea3dff1a":"831f71a3","chunk-6c980380":"e3aed3cf","chunk-7742491b":"d28e1fa2","chunk-86d14328":"92b9d282","chunk-6f14f1d1":"3c16873d","chunk-729c09ba":"57d67095"}[e]+".css",i=u.p+a,o=document.getElementsByTagName("link"),r=0;r<o.length;r++){var l=o[r],d=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(d===a||d===i))return n()}var h=document.getElementsByTagName("style");for(r=0;r<h.length;r++){l=h[r],d=l.getAttribute("data-href");if(d===a||d===i)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var a=n&&n.target&&n.target.src||i,o=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");o.request=a,delete c[e],s.parentNode.removeChild(s),t(o)},s.href=i;var m=document.getElementsByTagName("head")[0];m.appendChild(s)}).then(function(){c[e]=0}));var a=i[e];if(0!==a)if(a)n.push(a[2]);else{var o=new Promise(function(n,t){a=i[e]=[n,t]});n.push(a[2]=o);var l,d=document.getElementsByTagName("head")[0],h=document.createElement("script");h.charset="utf-8",h.timeout=120,u.nc&&h.setAttribute("nonce",u.nc),h.src=r(e),l=function(n){h.onerror=h.onload=null,clearTimeout(s);var t=i[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.src,o=new Error("Loading chunk "+e+" failed.\n("+a+": "+c+")");o.type=a,o.request=c,t[1](o)}i[e]=void 0}};var s=setTimeout(function(){l({type:"timeout",target:h})},12e4);h.onerror=h.onload=l,d.appendChild(h)}return Promise.all(n)},u.m=e,u.c=a,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 a in e)u.d(t,a,function(n){return e[n]}.bind(null,a));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 l=window["webpackJsonp"]=window["webpackJsonp"]||[],d=l.push.bind(l);l.push=n,l=l.slice();for(var h=0;h<l.length;h++)n(l[h]);var s=d;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"034f":function(e,n,t){"use strict";var a=t("64a9"),c=t.n(a);c.a},1:function(e,n){},"33a5":function(e,n,t){},"4c9d":function(e,n,t){"use strict";var a=t("33a5"),c=t.n(a);c.a},"56d7":function(e,n,t){"use strict";t.r(n);t("66cf");var a,c=t("343b"),i=(t("cadf"),t("551c"),t("097d"),t("2b0e")),o=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticStyle:{height:"100%"},attrs:{id:"app"}},[t("router-view",{staticStyle:{height:"100%"}}),e.$route.meta.navShow?t("tab-bar"):e._e()],1)},r=[],u=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",[t("van-tabbar",{model:{value:e.active,callback:function(n){e.active=n},expression:"active"}},[t("van-tabbar-item",{attrs:{to:"/index",name:"index_icon"},scopedSlots:e._u([{key:"icon",fn:function(n){return t("img",{staticStyle:{width:"30px",height:"30px"},attrs:{src:n.active?e.icon.index_active:e.icon.index_normal}})}}])},[t("span",[e._v("首页")])]),t("van-tabbar-item",{attrs:{to:"/me",name:"me_icon"},scopedSlots:e._u([{key:"icon",fn:function(n){return t("img",{staticStyle:{width:"30px",height:"30px"},attrs:{src:n.active?e.icon.me_active:e.icon.me_normal}})}}])},[t("span",[e._v("我的")])])],1)],1)},l=[],d=t("ade3"),h=(t("a52c"),t("2ed4")),s=(t("7f7f"),t("537a"),t("ac28")),m={name:"TabBar",components:(a={},Object(d["a"])(a,s["a"].name,s["a"]),Object(d["a"])(a,h["a"].name,h["a"]),a),data:function(){return{active:0,icon:{index_normal:"http://pjczv6ygf.bkt.clouddn.com/bar-icon/index_icon_active.png",index_active:"http://pjczv6ygf.bkt.clouddn.com/bar-icon/index_icon_active.png",me_normal:"http://pjczv6ygf.bkt.clouddn.com/bar-icon/me_icon_active.png",me_active:"http://pjczv6ygf.bkt.clouddn.com/bar-icon/me_icon_active.png"}}}},f=m,b=(t("4c9d"),t("2877")),p=Object(b["a"])(f,u,l,!1,null,"02cd2723",null);p.options.__file="TabBar.vue";var v=p.exports,k={components:{TabBar:v}},w=k,g=(t("034f"),Object(b["a"])(w,o,r,!1,null,null,null));g.options.__file="App.vue";var y=g.exports,_=(t("ac6a"),t("8c4f"));i["a"].use(_["a"]);var x=[{path:"*",redirect:"/login",navShow:!1,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"},{name:"login",component:function(){return Promise.all([t.e("chunk-488c01eb"),t.e("chunk-729c09ba")]).then(t.bind(null,"dd7b"))},meta:{title:"登录",navShow:!1,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}},{name:"warning",component:function(){return t.e("chunk-3a571a83").then(t.bind(null,"4611"))},meta:{title:"未注册",navShow:!1,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}},{name:"verify",component:function(){return Promise.all([t.e("chunk-488c01eb"),t.e("chunk-6bbe4703"),t.e("chunk-35efa254")]).then(t.bind(null,"5294"))},meta:{title:"安全验证",navShow:!1,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}},{name:"presentRegister",component:function(){return Promise.all([t.e("chunk-488c01eb"),t.e("chunk-6bbe4703"),t.e("chunk-07768096")]).then(t.bind(null,"6d80"))},meta:{title:"礼物登记",navShow:!1,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}},{name:"index",component:function(){return Promise.all([t.e("chunk-488c01eb"),t.e("chunk-6c980380"),t.e("chunk-7742491b")]).then(t.bind(null,"1e4b"))},meta:{title:"首页",navShow:!0,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}},{name:"me",component:function(){return Promise.all([t.e("chunk-488c01eb"),t.e("chunk-6bbe4703"),t.e("chunk-ea3dff1a")]).then(t.bind(null,"e869"))},meta:{title:"我的",navShow:!0,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}},{name:"share",component:function(){return t.e("chunk-00bf1ced").then(t.bind(null,"6d9f"))},meta:{title:"分享海报",navShow:!1,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}},{name:"giftDetail",component:function(){return Promise.all([t.e("chunk-488c01eb"),t.e("chunk-6c980380"),t.e("chunk-86d14328")]).then(t.bind(null,"9082"))},meta:{title:"礼品卡",navShow:!1,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}},{name:"assess",component:function(){return Promise.all([t.e("chunk-488c01eb"),t.e("chunk-6f14f1d1")]).then(t.bind(null,"0c52"))},meta:{title:"礼物卡(评价)",navShow:!1,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}},{name:"betest",component:function(){return Promise.all([t.e("chunk-488c01eb"),t.e("chunk-0a87134c")]).then(t.bind(null,"ea1a"))},meta:{title:"内部测试",navShow:!1,content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}}];x.forEach(function(e){e.path=e.path||"/"+(e.name||"")});var S=new _["a"]({routes:x});S.beforeEach(function(e,n,t){e.meta.content&&(document.getElementsByName("viewport")[0].content=e.meta.content);var a=e.meta&&e.meta.title;a&&(document.title=a),t()});var j=t("4eb5"),P=t.n(j),O=t("28dd");i["a"].config.productionTip=!1,i["a"].use(P.a),i["a"].use(O["a"]),i["a"].use(c["a"]),i["a"].http.options.emulateJSON=!0,i["a"].http.options.emulateHTTP=!0,new i["a"]({router:S,el:"#app",render:function(e){return e(y)}}).$mount("#app")},"64a9":function(e,n,t){}});
  2. //# sourceMappingURL=app.8cd7830a.js.map