navbar.js 2.8 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/navbar/navbar"],{"020d":function(e,n,t){"use strict";t.r(n);var o=t("4c52"),a=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=a.a},"4c52":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={props:{title:String,titleColor:{type:String,default:"#000000"},background:{type:Object,default:function(){return{background:"#ffffff"}}},borderBottom:{type:Boolean,default:!1},immersive:{type:Boolean,default:!1}},data:function(){return{isIndex:!1,navLists:[{url:"/pages/index/index",name:"首页",icon:t("7ad7"),type:"replaceAll"},{url:"/pages/goods_search/goods_search",name:"搜索",icon:t("abc6"),type:"push"},{url:"/pages/shop_cart/shop_cart",name:"购物车",icon:t("2e7f"),type:"replaceAll"},{url:"/pages/user/user",name:"个人中心",icon:t("730e"),type:"replaceAll"}],showFloat:!1}},methods:{goBack:function(){this.isIndex?this.$Router.replaceAll("/pages/index/index"):this.$Router.back()}},computed:{backIcon:function(){var e=this.isIndex?"icon_home":"icon_back";return t("bfc5")("./".concat(e,".png"))}},created:function(){var e=this;setTimeout((function(){var n=getCurrentPages();1==n.length&&(e.isIndex=!0)}))}};n.default=o},"6f66":function(e,n,t){e.exports={red_theme:"#FF2C3C",orange_theme:"#f7971e",pink_theme:"#fa444d",gold_theme:"#e0a356",blue_theme:"#2f80ed",green_theme:"#2ec840"}},"909a":function(e,n,t){"use strict";t.r(n);var o=t("bbed"),a=t("020d");for(var r in a)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(r);t("ee3d");var u=t("828b"),c=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=c.exports},bbed:function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return o}));var o={uNavbar:function(){return t.e("components/uview-ui/components/u-navbar/u-navbar").then(t.bind(null,"6331"))},uIcon:function(){return t.e("components/uview-ui/components/u-icon/u-icon").then(t.bind(null,"1340"))}},a=function(){var e=this,n=e.$createElement,o=(e._self._c,t("7d7f"));e._isMounted||(e.e0=function(n){n.stopPropagation(),e.showFloat=!1},e.e1=function(n){n.stopPropagation(),e.showFloat=!e.showFloat},e.e2=function(n){e.showFloat=!1}),e.$mp.data=Object.assign({},{$root:{m0:o}})},r=[]},ee3d:function(e,n,t){"use strict";var o=t("6f66"),a=t.n(o);a.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/navbar/navbar-create-component',
  4. {
  5. 'components/navbar/navbar-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('df3c')['createComponent'](__webpack_require__("909a"))
  7. })
  8. },
  9. [['components/navbar/navbar-create-component']]
  10. ]);