commonTabbar.js 2.3 KB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/commonTabbar"],{"07a2":function(t,a,e){},1102:function(t,a,e){"use strict";e.r(a);var n=e("336f"),c=e.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(r);a["default"]=c.a},"336f":function(t,a,e){"use strict";(function(t){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e={props:{currentPage:{type:Number,default:0}},data:function(){return{currentItem:0,tabbarList:[{id:0,path:"/pages/home/home",icon:"/static/tabbarIcon/home.png",selectIcon:"/static/tabbarIcon/home_active.png",text:"首页",centerItem:!1},{id:1,path:"/pages/mall/mall",icon:"/static/tabbarIcon/mall.png",selectIcon:"/static/tabbarIcon/mall_active.png",text:"商城",centerItem:!1},{id:2,path:"/pages/order/order",icon:"/static/tabbarIcon/order.png",selectIcon:"/static/tabbarIcon/order_active.png",text:"订单",centerItem:!0},{id:3,path:"/pages/data/data",icon:"/static/tabbarIcon/data.png",selectIcon:"/static/tabbarIcon/data_active.png",text:"数据",centerItem:!1},{id:4,path:"/pages/my/my",icon:"/static/tabbarIcon/my.png",selectIcon:"/static/tabbarIcon/my_active.png",text:"我的",centerItem:!1}]}},mounted:function(){this.currentItem=this.currentPage,t.hideTabBar()},methods:{changeItem:function(a){t.switchTab({url:a.path})}}};a.default=e}).call(this,e("df3c")["default"])},"491d":function(t,a,e){"use strict";var n=e("07a2"),c=e.n(n);c.a},"96fb":function(t,a,e){"use strict";e.r(a);var n=e("cdaa"),c=e("1102");for(var r in c)["default"].indexOf(r)<0&&function(t){e.d(a,t,(function(){return c[t]}))}(r);e("491d");var o=e("828b"),i=Object(o["a"])(c["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);a["default"]=i.exports},cdaa:function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return c})),e.d(a,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},c=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/commonTabbar-create-component',
    {
        'components/commonTabbar-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("96fb"))
        })
    },
    [['components/commonTabbar-create-component']]
]);