app.b334806f.js 9.6 KB

12
  1. (function(e){function n(n){for(var c,a,u=n[0],r=n[1],l=n[2],d=0,h=[];d<u.length;d++)a=u[d],i[a]&&h.push(i[a][0]),i[a]=0;for(c in r)Object.prototype.hasOwnProperty.call(r,c)&&(e[c]=r[c]);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],c=!0,a=1;a<t.length;a++){var u=t[a];0!==i[u]&&(c=!1)}c&&(o.splice(n--,1),e=r(r.s=t[0]))}return e}var c={},a={app:0},i={app:0},o=[];function u(e){return r.p+"js/"+({}[e]||e)+"."+{"chunk-40326cc0":"40480263","chunk-488c01eb":"bbfe4466","chunk-0a87134c":"d6f6a721","chunk-39830972":"14f70882","chunk-1fc3c528":"2bd04911","chunk-2b21561d":"708c8f38","chunk-6bbe4703":"ccca3686","chunk-70007df4":"d8419dc0","chunk-3a809d9b":"62f67cc2","chunk-808e88e4":"48e22c2d","chunk-ab32dd68":"c421d15c","chunk-6f14f1d1":"dc92659f","chunk-729c09ba":"9d824b56","chunk-53fd9c66":"a0fbea28","chunk-687ec715":"e856b527"}[e]+".js"}function r(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,r),t.l=!0,t.exports}r.e=function(e){var n=[],t={"chunk-40326cc0":1,"chunk-0a87134c":1,"chunk-39830972":1,"chunk-1fc3c528":1,"chunk-2b21561d":1,"chunk-6bbe4703":1,"chunk-70007df4":1,"chunk-3a809d9b":1,"chunk-808e88e4":1,"chunk-ab32dd68":1,"chunk-6f14f1d1":1,"chunk-729c09ba":1,"chunk-53fd9c66":1,"chunk-687ec715":1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=new Promise(function(n,t){for(var c="css/"+({}[e]||e)+"."+{"chunk-40326cc0":"005bbd25","chunk-488c01eb":"31d6cfe0","chunk-0a87134c":"db3d42d0","chunk-39830972":"26262837","chunk-1fc3c528":"09c742b6","chunk-2b21561d":"beb9236b","chunk-6bbe4703":"232f0874","chunk-70007df4":"e4cfe867","chunk-3a809d9b":"1ea66d3b","chunk-808e88e4":"ffa76d31","chunk-ab32dd68":"ecb7bd42","chunk-6f14f1d1":"c226359f","chunk-729c09ba":"57d67095","chunk-53fd9c66":"bbe6189d","chunk-687ec715":"52a8028f"}[e]+".css",i=r.p+c,o=document.getElementsByTagName("link"),u=0;u<o.length;u++){var l=o[u],d=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(d===c||d===i))return n()}var h=document.getElementsByTagName("style");for(u=0;u<h.length;u++){l=h[u],d=l.getAttribute("data-href");if(d===c||d===i)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||i,o=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");o.request=c,delete a[e],s.parentNode.removeChild(s),t(o)},s.href=i;var m=document.getElementsByTagName("head")[0];m.appendChild(s)}).then(function(){a[e]=0}));var c=i[e];if(0!==c)if(c)n.push(c[2]);else{var o=new Promise(function(n,t){c=i[e]=[n,t]});n.push(c[2]=o);var l,d=document.getElementsByTagName("head")[0],h=document.createElement("script");h.charset="utf-8",h.timeout=120,r.nc&&h.setAttribute("nonce",r.nc),h.src=u(e),l=function(n){h.onerror=h.onload=null,clearTimeout(s);var t=i[e];if(0!==t){if(t){var c=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src,o=new Error("Loading chunk "+e+" failed.\n("+c+": "+a+")");o.type=c,o.request=a,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)},r.m=e,r.c=c,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},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,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)r.d(t,c,function(n){return e[n]}.bind(null,c));return t},r.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="/",r.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 c=t("64a9"),a=t.n(c);a.a},1:function(e,n){},"33a5":function(e,n,t){},"4c9d":function(e,n,t){"use strict";var c=t("33a5"),a=t.n(c);a.a},"56d7":function(e,n,t){"use strict";t.r(n);t("66cf");var c,a=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)},u=[],r=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:(c={},Object(d["a"])(c,s["a"].name,s["a"]),Object(d["a"])(c,h["a"].name,h["a"]),c),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,r,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,u,!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-53fd9c66").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-70007df4"),t.e("chunk-808e88e4")]).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-70007df4"),t.e("chunk-3a809d9b")]).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-39830972"),t.e("chunk-2b21561d")]).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-ab32dd68")]).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-40326cc0").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-39830972"),t.e("chunk-1fc3c528")]).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"}},{name:"draw",component:function(){return t.e("chunk-687ec715").then(t.bind(null,"2be2"))},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 c=e.meta&&e.meta.title;c&&(document.title=c),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(a["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.b334806f.js.map