TabBar.js 1.8 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/TabBar/TabBar"],{4776:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;a("7f74");var n={name:"TabBar",props:{tabIndex:{type:Number,default:0}},data:function(){return{assetsUrl:this.$util.assetsUrl,safeArea:this.$util.hasSafeArea(),list:[{pagePath:"/pages/friends/friends",text:"交友"},{pagePath:"/pages/messages/messages",text:"消息"},{pagePath:"/pages/mine/mine",text:"我的"}]}},mounted:function(){},methods:{switchTab:function(e){console.log(e),t.switchTab({url:this.list[e].pagePath})}}};e.default=n}).call(this,a("543d")["default"])},"9c17":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return u})),a.d(e,"a",(function(){return n}));var s=function(){var t=this,e=t.$createElement;t._self._c},u=[]},a31d:function(t,e,a){"use strict";a.r(e);var n=a("9c17"),s=a("f65a");for(var u in s)"default"!==u&&function(t){a.d(e,t,(function(){return s[t]}))}(u);a("dd11");var r,c=a("f0c5"),i=Object(c["a"])(s["default"],n["b"],n["c"],!1,null,"c13bb47e",null,!1,n["a"],r);e["default"]=i.exports},a42c:function(t,e,a){},dd11:function(t,e,a){"use strict";var n=a("a42c"),s=a.n(n);s.a},f65a:function(t,e,a){"use strict";a.r(e);var n=a("4776"),s=a.n(n);for(var u in n)"default"!==u&&function(t){a.d(e,t,(function(){return n[t]}))}(u);e["default"]=s.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/TabBar/TabBar-create-component',
  4. {
  5. 'components/TabBar/TabBar-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("a31d"))
  7. })
  8. },
  9. [['components/TabBar/TabBar-create-component']]
  10. ]);