(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/pageFooter/index"],{"18ea":function(t,o,e){"use strict";e.d(o,"b",(function(){return i})),e.d(o,"c",(function(){return a})),e.d(o,"a",(function(){}));var i=function(){var t=this,o=t.$createElement,e=(t._self._c,t.bottomNavigationList.length),i=e?t.__get_style([t.isSmallPage?t.boxStyle:""]):null,a=e?t.__get_style([t.bgColor]):null,n=e?t.__map(t.bottomNavigationList,(function(o,e){var i=t.__get_orig(o),a=o.link.split("?"),n=a[0]==t.activeRouter&&t.isSmallPage?t.__get_style([t.checkColor]):null,r=a[0]!=t.activeRouter?t.__get_style([t.isSmallPage?t.fontColor:""]):null;return{$orig:i,g1:a,s2:n,s3:r}})):null;t.$mp.data=Object.assign({},{$root:{g0:e,s0:i,s1:a,l0:n}})},a=[]},"350e":function(t,o,e){"use strict";var i=e("79d9"),a=e.n(i);a.a},"3c92":function(t,o,e){"use strict";e.r(o);var i=e("18ea"),a=e("d259");for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(o,t,(function(){return a[t]}))}(n);e("350e");var r=e("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"3b6d5b88",null,!1,i["a"],void 0);o["default"]=s.exports},"79d9":function(t,o,e){},"9e7d":function(t,o,e){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;e("8f59");var i=e("3c22"),a=getApp(),n={name:"pageFooter",props:{dataConfig:{type:Object,default:function(){}},isSmallPage:{type:Boolean,default:function(){return!1}},guidePages:{type:Boolean,default:function(){return!1}}},computed:{boxStyle:function(){if(this.dataConfig)return{borderRadius:this.dataConfig.bgStyle.val?this.dataConfig.bgStyle.val+"px":"0",padding:"0 "+this.dataConfig.lrConfig.val+"px 0"}},bgColor:function(){if(this.dataConfig)return{background:"linear-gradient(".concat(this.dataConfig.bgColor.color[0].item,", ").concat(this.dataConfig.bgColor.color[1].item,")")}},fontColor:function(){if(this.dataConfig)return{color:this.dataConfig.fontColor.color[0].item}},checkColor:function(){if(this.dataConfig)return{color:this.dataConfig.themeStyleConfig.tabVal?this.dataConfig.checkColor.color[0].item:this.themeColor}}},created:function(){var t=getCurrentPages(),o=t[t.length-1].route;this.activeRouter="/"+o,"/pages/activity/small_page/index"===this.activeRouter?this.bottomNavigationList=this.dataConfig.menuList.list:this.navigationInfo()},watch:{guidePages:{handler:function(o,e){o&&1==this.isCustom||1==this.isCustom||o&&0==this.isCustom?t.hideTabBar():t.showTabBar()},deep:!0}},data:function(){return{theme:a.globalData.theme,isCustom:"",bottomNavigationList:[],activeRouter:"",themeColor:this.$options.filters.filterTheme(a.globalData.theme)}},methods:{navigationInfo:function(){var o=this;(0,i.getBottomNavigationApi)().then((function(e){var i=e.data;o.isCustom=i.isCustom,o.$store.commit("BottomNavigationIsCustom",1==o.isCustom),1==i.isCustom?(t.hideTabBar(),o.bottomNavigationList=i.bottomNavigationList):t.showTabBar()}))},goRouter:function(o){this.$store.commit("Change_Advertisement",!1);var e=getCurrentPages(),i=e[e.length-1].$page.fullPath;o.link!=i&&(["/pages/index/index","/pages/order_addcart/order_addcart","/pages/user/index","/pages/discover_index/index","/pages/goods_cate/index"].indexOf(o.link)>-1?t.switchTab({url:o.link,fail:function(e){t.redirectTo({url:o.link})}}):t.navigateTo({url:o.link}))}}};o.default=n}).call(this,e("df3c")["default"])},d259:function(t,o,e){"use strict";e.r(o);var i=e("9e7d"),a=e.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){e.d(o,t,(function(){return i[t]}))}(n);o["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/pageFooter/index-create-component',
    {
        'components/pageFooter/index-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("3c92"))
        })
    },
    [['components/pageFooter/index-create-component']]
]);
