(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-21b233a8"],{3355:function(t,e,i){t.exports=i.p+"static/img/bottomBtn3.3139ce18.png"},"3a31":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI4AAABOCAYAAAD2FS68AAAAAXNSR0IArs4c6QAADfJJREFUeF7tXQlwVdUZ/v7zHongQgAVkofWWrXuisW9jrR1rHtba9C2UiHk3fcShlpbx+nULW6dzrRWbQby3s1LiGBViI5SlcEd6gpaUVzqblGyaBEiypbknr/z05v6eOQl9963Jtwz8ybMcP5z/v8/3z3n/N/ZCH7awQPRaHRfrfVNAH4JgADcqZS6NhaLfea76msPiGP8BOCKK64Y+dVXX/2aiH4HYK8Up2xk5j/usccet992221bfIf974vapVNdXV2wo6OjipnrAJQP4oxOIrq+vLy8ua6urndXdtwuC5y6ujrV1tZ2ERHdDOBglyB4j5mvCYVC99XV1WmXssMi+y4HHBswU4noOgCHZdiK/2LmG0Oh0KJdDUBFA5xIJHIOMx8CYJ5pml9k2KA7icuQ1N7ePhXANVkATGr5AqBbQqHQwlwMYYZhjAYwg4jejcfjS7LtGy/lFRw40Wj0BK31rQC+axuwjplv7urqamhtbe32YlSyjACmra3tUiISwHwr0/IGkf9AdA+FQndlA0CVlZUlZWVlNbbue9t1P6uU+m0sFluZY1sGLL5gwIlGo5Msy7qeiH6URsOPAdy0YcOG+V4AZBjGKABVAH4D4JsenLzZlpFy3KaPAPxly5Yt8xYsWLDJrbAAZsyYMUIHXAtg//7kmXlxIBC4IRaLrXJbfjby5x044XD4eABXDwCYVLs+IaI/jRo1KuEkFJ4xY8Y+wWDwV0RUA2CcBye1MfMcrXVcZIPBYJiZZwMIeSjrc2ZuCAQC9U54IKEENm3aNBPAVQD2c1KfAAjALY2NjS85yZ+tPHkBjkxIOzo6zmfmK5OGJLc2fAqgQWsdSyQS8u8dkmEYRzHz5UT0CwC7uS0cwEvMfAcRLTJNsyd1uOvo6KiU8gGc6KHsrQDuBnC7aZ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hZoXfQeTkUu/5e2LpfF4XBaRC5IKCpx8WBwOhx9MeRsr58CRN6QaGxvldtVhm3zgJDVtBnOcHYYqHzjD4Hvxe5zcNKLf4/g9jidk+cDxgeMDpz8P+EOVJ1wMKlS0PY4dql8sFxkOasXAGYZkOG5f1rmwkCH3QG4tSuBUV1cfrZSSa1Jzwe3kPBzPEOjJ4j1a68mJREI2nhdVKkrghMPhK+Wt8Rx5aqgtOVxlmmaufOHZxUUJHMMwZKVZLlHKRao1TbPfBckMeBx5L3xuLpQFcINpmuKPokpDBTjydE6mD4TIk8yP5nJbBRHJqzle3+HsA4acstj+0JydfOA4/WT66XFeM01TngnIafLa42RTKcMw5InH5EdyfeA4dbAPHB84TrGyQz4fOD5wfOC49IA/VLl0WHJ2v8fxexxP8PGB4wMnW8D5hJmv81SYC6FiuHSAiG5M2bHoR1VO2zDHBKBTNYolnw8cpy1hGIawxkXHljrVP8v56kzTvCHLZWZcXFEyx5FIRFbF783YumFQABFdEo/HFxabKUUJHPuh9mYAU7NA4Rebz53qI++hLpLzWqZp9jgVyle+/wJeTF0N1/wqmQAAAABJRU5ErkJggg=="},"48fa":function(t,e,i){"use strict";i("68b8")},"5a15":function(t,e,i){},"68b8":function(t,e,i){},"6ccc":function(t,e,i){t.exports=i.p+"static/img/1745-active.72e7275a.png"},"8dee":function(t,e,i){t.exports=i.p+"static/img/personal-active.8bda06b8.png"},"96fa":function(t,e,i){t.exports=i.p+"static/img/bottomBtn2.26f41baa.png"},adc1:function(t,e,i){},c1f7:function(t,e,i){"use strict";i.r(e),i("3cd0"),i("1a44"),i("acc2"),i("adc1");var a=i("c31d"),n=i("d282"),c=i("a142"),o=i("48f4"),r=i("9884"),s=i("ad06"),u=i("6f2f"),l=Object(n.a)("tabbar-item"),f=l[0],d=l[1],A=(f=f({mixins:[Object(r.a)("vanTabbar")],props:Object(a.a)({},o.c,{dot:Boolean,icon:String,name:[Number,String],info:[Number,String],badge:[Number,String],iconPrefix:String}),data:function(){return{active:!1}},computed:{routeActive:function(){var t=this.to,e=this.$route;if(t&&e){var i=Object(c.e)(t)?t:{path:t};t=i.path===e.path,e=Object(c.c)(i.name)&&i.name===e.name;return t||e}}},methods:{onClick:function(t){this.parent.onChange(this.name||this.index),this.$emit("click",t),Object(o.b)(this.$router,this)},genIcon:function(t){var e=this.$createElement;t=this.slots("icon",{active:t});return t||(this.icon?e(s.a,{attrs:{name:this.icon,classPrefix:this.iconPrefix}}):void 0)}},render:function(){var t=arguments[0],e=this.parent.route?this.routeActive:this.active,i=this.parent[e?"activeColor":"inactiveColor"];return t("div",{class:d({active:e}),style:{color:i},on:{click:this.onClick}},[t("div",{class:d("icon")},[this.genIcon(e),t(u.a,{attrs:{dot:this.dot,info:null!=(i=this.badge)?i:this.info}})]),t("div",{class:d("text")},[this.slots("default",{active:e})])])}}),i("5a15"),i("b1d2")),h=i("7e3e"),m=(a=Object(n.a)("tabbar"),n=a[0],a[1]);r={name:"Layout",components:{"van-tabbar":n({mixins:[Object(r.b)("vanTabbar")],props:{route:Boolean,zIndex:[Number,String],placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,value:{type:[Number,String],default:0},border:{type:Boolean,default:!0},fixed:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:null}},data:function(){return{height:null}},computed:{fit:function(){return null!==this.safeAreaInsetBottom?this.safeAreaInsetBottom:this.fixed}},watch:{value:"setActiveItem",children:"setActiveItem"},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.tabbar.getBoundingClientRect().height)},methods:{setActiveItem:function(){var t=this;this.children.forEach((function(e,i){e.active=(e.name||i)===t.value}))},onChange:function(t){var e=this;t!==this.value&&Object(h.a)({interceptor:this.beforeChange,args:[t],done:function(){e.$emit("input",t),e.$emit("change",t)}})},genTabbar:function(){var t;return(0,this.$createElement)("div",{ref:"tabbar",style:{zIndex:this.zIndex},class:[((t={})[A.f]=this.border,t),m({unfit:!this.fit,fixed:this.fixed})]},[this.slots()])}},render:function(){return this.placeholder&&this.fixed?(0,arguments[0])("div",{class:m("placeholder"),style:{height:this.height+"px"}},[this.genTabbar()]):this.genTabbar()}}),"van-tabbar-item":f},data:function(){return{active:0,bottomTabs:[{to:"/home/paddy",title:"藏金·1745",icon:{active:i("6ccc"),inactive:i("3a31")}},{to:"/home/product",title:"兑换中心",icon:{active:i("c431"),inactive:i("96fa")}},{to:"/home/my",title:"个人中心",icon:{active:i("8dee"),inactive:i("3355")}}]}}},i("48fa"),f=i("2877"),r=Object(f.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"layout"},[i("router-view"),i("van-tabbar",{attrs:{"safe-area-inset-bottom":"",placeholder:"","active-color":"#F4D022","inactive-color":"#666666",route:""},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},t._l(t.bottomTabs,(function(e,a){return i("van-tabbar-item",{key:a,attrs:{to:e.to},scopedSlots:t._u([{key:"icon",fn:function(t){return[i("img",{attrs:{src:t.active?e.icon.active:e.icon.inactive}})]}}],null,!0)},[i("span",[t._v(t._s(e.title))])])})),1)],1)}),[],!1,null,"21a908f1",null);e.default=r.exports},c431:function(t,e,i){t.exports=i.p+"static/img/product-active.126aa368.png"}}]);