1234567891011 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/fa-navbar/fa-navbar"],{6858:function(t,n,a){"use strict";a.r(n);var e=a("ab5d"),r=a("dc2c");for(var u in r)"default"!==u&&function(t){a.d(n,t,(function(){return r[t]}))}(u);var i,o=a("f0c5"),c=Object(o["a"])(r["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],i);n["default"]=c.exports},a6ab:function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={props:{title:{type:String,default:"标题"},borderBottom:{type:Boolean,default:!0}},computed:{navbar:function(){var t={};return this.vuex_config.navbar&&(t=this.vuex_config.navbar),t},tabbar:function(){return this.vuex_config.tabbar?this.vuex_config.tabbar:{isshow:!1,list:[]}},isBack:function(){var t=this,n=!0;return this.tabbar.list.forEach((function(a){var e=a.path.split("?").shift();e!=t.pageUrl&&e!="/"+t.pageUrl||(n=!1)})),n},iconName:function(){return"nav-back"},isShow:function(){return!0}},created:function(){var t=getCurrentPages();this.pageUrl=t[t.length-1].route,this.pageNum=t.length},data:function(){return{pageUrl:"",pageNum:0}},methods:{goBack:function(){var t=this,n=getCurrentPages();this.pageUrl=n[n.length-1].route,this.pageNum=n.length;var a=!1;this.tabbar.list.forEach((function(n){var e=n.path.split("?").shift();e!=t.pageUrl&&e!="/"+t.pageUrl||(a=!0)})),a||(1==this.pageNum?this.$Router.push("/pages/index/index"):this.$Router.back(1))}}};n.default=e},ab5d:function(t,n,a){"use strict";a.d(n,"b",(function(){return r})),a.d(n,"c",(function(){return u})),a.d(n,"a",(function(){return e}));var e={uNavbar:function(){return a.e("uview-ui/components/u-navbar/u-navbar").then(a.bind(null,"cfb5"))}},r=function(){var t=this,n=t.$createElement;t._self._c},u=[]},dc2c:function(t,n,a){"use strict";a.r(n);var e=a("a6ab"),r=a.n(e);for(var u in e)"default"!==u&&function(t){a.d(n,t,(function(){return e[t]}))}(u);n["default"]=r.a}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'components/fa-navbar/fa-navbar-create-component',
- {
- 'components/fa-navbar/fa-navbar-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('f266')['createComponent'](__webpack_require__("6858"))
- })
- },
- [['components/fa-navbar/fa-navbar-create-component']]
- ]);
|