Files
2025-06-11 10:21:51 +08:00

11 lines
2.7 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/tabbar/footTabbar"],{"31b4":function(t,e,a){"use strict";a.r(e);var n=a("5b78"),i=a("45b7");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("46ef");var o=a("828b"),u=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=u.exports},"3de6":function(t,e,a){},"45b7":function(t,e,a){"use strict";a.r(e);var n=a("e3f2"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"46ef":function(t,e,a){"use strict";var n=a("3de6"),i=a.n(n);i.a},"5b78":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=(t._self._c,0!=t.detail.is_auto&&t.hasTab&&""!=t.detail.list?t.__map(t.detail.list,(function(e,a){var n=t.__get_orig(e),i=t.getRoute(),r=t.getRoute(),o=2!=t.detail.type?t.getRoute():null,u=1!=t.detail.type?t.getRoute():null;return{$orig:n,m0:i,m1:r,m2:o,m3:u}})):null);t.$mp.data=Object.assign({},{$root:{l0:a}})},i=[]},e3f2:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{activeTabber:"首页",open_liveMenu:!1,detail:{},platform:"wx",hasTab:!1}},watch:{},created:function(){var e=getCurrentPages();if(e.length){var a=e[e.length-1];"pages/index/index"==a.route&&this.$store.commit("changefootTab","首页")}this.platform=this.getPlatform(),this.detail=t.getStorageSync("TabBar"),this.getData()},methods:{hasmenu:function(){var e=this.getRoute(),a=this.detail.list.some((function(t){if(t.link_url==e)return!0}));this.hasTab=a,t.getStorageSync("TabBar").is_auto&&0!=t.getStorageSync("TabBar").is_auto&&t.hideTabBar()},getRoute:function(){var t=getCurrentPages(),e="/"+t[t.length-1].route;return"/pages/diy-page/diy-page"!=e&&"/pages/article/detail/detail"!=e||t[t.length-1]["$page"]&&(e=t[t.length-1]["$page"].fullPath),e},tabBarFunc:function(t){this.footTabberData.active!=t.text&&(this.$store.commit("changefootTab",t.text),this.gotoPage(t.link_url))},getData:function(){var e=this;e._get("index/nav",{},(function(a){e.detail=a.data.vars.data,t.setStorageSync("TabBar",a.data.vars.data),e.hasmenu()}))}}};e.default=a}).call(this,a("df3c")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/tabbar/footTabbar-create-component',
{
'components/tabbar/footTabbar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("31b4"))
})
},
[['components/tabbar/footTabbar-create-component']]
]);