app.e8e8c580.js 9.4 KB

12
  1. (function(e){function n(n){for(var a,c,r=n[0],u=n[1],l=n[2],h=0,s=[];h<r.length;h++)c=r[h],i[c]&&s.push(i[c][0]),i[c]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);d&&d(n);while(s.length)s.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-0a0625f0":"2655887e","chunk-165a4c1f":"0ab15f6f","chunk-4eb59cb7":"0447f64f","chunk-0a87134c":"d6f6a721","chunk-26e094c1":"a3ae01b7","chunk-39830972":"14f70882","chunk-53e61f92":"d3b7dd4a","chunk-763b02ba":"a1f4b500","chunk-729c09ba":"9d824b56","chunk-7534b450":"4969c6cb","chunk-1586d20a":"edad951b","chunk-1fb320c3":"10928cdb","chunk-2172f842":"2c10d880","chunk-53fd9c66":"a0fbea28"}[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-0a0625f0":1,"chunk-165a4c1f":1,"chunk-0a87134c":1,"chunk-26e094c1":1,"chunk-39830972":1,"chunk-53e61f92":1,"chunk-763b02ba":1,"chunk-729c09ba":1,"chunk-7534b450":1,"chunk-1586d20a":1,"chunk-1fb320c3":1,"chunk-2172f842":1,"chunk-53fd9c66":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-0a0625f0":"005bbd25","chunk-165a4c1f":"52a8028f","chunk-4eb59cb7":"31d6cfe0","chunk-0a87134c":"db3d42d0","chunk-26e094c1":"a931d813","chunk-39830972":"26262837","chunk-53e61f92":"3da5d5b5","chunk-763b02ba":"0cf7b33b","chunk-729c09ba":"57d67095","chunk-7534b450":"a6423a2c","chunk-1586d20a":"2f700fb8","chunk-1fb320c3":"81c8986c","chunk-2172f842":"1a99b27a","chunk-53fd9c66":"bbe6189d"}[e]+".css",i=u.p+a,o=document.getElementsByTagName("link"),r=0;r<o.length;r++){var l=o[r],h=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(h===a||h===i))return n()}var s=document.getElementsByTagName("style");for(r=0;r<s.length;r++){l=s[r],h=l.getAttribute("data-href");if(h===a||h===i)return n()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=n,d.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],d.parentNode.removeChild(d),t(o)},d.href=i;var m=document.getElementsByTagName("head")[0];m.appendChild(d)}).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,h=document.getElementsByTagName("head")[0],s=document.createElement("script");s.charset="utf-8",s.timeout=120,u.nc&&s.setAttribute("nonce",u.nc),s.src=r(e),l=function(n){s.onerror=s.onload=null,clearTimeout(d);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 d=setTimeout(function(){l({type:"timeout",target:s})},12e4);s.onerror=s.onload=l,h.appendChild(s)}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"]||[],h=l.push.bind(l);l.push=n,l=l.slice();for(var s=0;s<l.length;s++)n(l[s]);var d=h;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=[],h=t("ade3"),s=(t("a52c"),t("2ed4")),d=(t("7f7f"),t("537a"),t("ac28")),m={name:"TabBar",components:(a={},Object(h["a"])(a,d["a"].name,d["a"]),Object(h["a"])(a,s["a"].name,s["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-4eb59cb7"),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-4eb59cb7"),t.e("chunk-7534b450"),t.e("chunk-2172f842")]).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-4eb59cb7"),t.e("chunk-7534b450"),t.e("chunk-1586d20a")]).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-4eb59cb7"),t.e("chunk-39830972"),t.e("chunk-53e61f92")]).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-4eb59cb7"),t.e("chunk-7534b450"),t.e("chunk-1fb320c3")]).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-0a0625f0").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-4eb59cb7"),t.e("chunk-39830972"),t.e("chunk-763b02ba")]).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-4eb59cb7"),t.e("chunk-26e094c1")]).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-4eb59cb7"),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-165a4c1f").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 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.e8e8c580.js.map