tabbar.js 2.48 KB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/tabbar/tabbar"],{3255:function(t,a,e){},"42b6":function(t,a,e){"use strict";(function(t,e){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={data:function(){return{TabBarList:[{index:0,name:"首页",img:"/static/tabbar/tab_01.png",acImg:"/static/tabbar/tab_02.png"},{index:1,name:"工作台",img:"/static/tabbar/tab_03.png",acImg:"/static/tabbar/tab_04.png"},{index:2,name:"消息",img:"/static/tabbar/tab_05.png",acImg:"/static/tabbar/tab_06.png"},{index:3,name:"我的",img:"/static/tabbar/tab_07.png",acImg:"/static/tabbar/tab_08.png"}],codeheight:0,isOverall:0,phoneModel:""}},props:{tabBarShow:{type:Number,default:0}},mounted:function(){try{t.getSystemInfoSync();var a=this;t.getSystemInfo({success:function(t){console.log(t.brand),console.log(t.model),console.log(t.screenWidth),console.log(t.screenHeight),a.codeheight=Math.round(t.screenHeight),a.phoneModel=t.model,t.model.search("iPhone")?a.isOverall=0:Math.round(t.screenHeight)>740&&(a.isOverall=1),console.log(a.isOverall)}})}catch(e){}},methods:{onTabBar:function(t,a){switch(a){case 0:e.switchTab({url:"/pages/home/home"});break;case 1:e.switchTab({url:"/pages/workbench/workbench"});break;case 2:e.switchTab({url:"/pages/message/message"});break;case 3:e.switchTab({url:"/pages/my/my"});break}}}};a.default=n}).call(this,e("df3c")["default"],e("3223")["default"])},8625:function(t,a,e){"use strict";var n=e("3255"),c=e.n(n);c.a},"8df9":function(t,a,e){"use strict";e.r(a);var n=e("c5a7"),c=e("e642");for(var r in c)["default"].indexOf(r)<0&&function(t){e.d(a,t,(function(){return c[t]}))}(r);e("8625");var o=e("828b"),i=Object(o["a"])(c["default"],n["b"],n["c"],!1,null,"1843d0bb",null,!1,n["a"],void 0);a["default"]=i.exports},c5a7: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=[]},e642:function(t,a,e){"use strict";e.r(a);var n=e("42b6"),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}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/tabbar/tabbar-create-component',
    {
        'components/tabbar/tabbar-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("8df9"))
        })
    },
    [['components/tabbar/tabbar-create-component']]
]);