mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-07 05:38:15 +00:00
11 lines
2.5 KiB
JavaScript
11 lines
2.5 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/menuIcon"],{"3c0d":function(e,n,t){"use strict";t.r(n);var o=t("7b89"),u=t("c18c");for(var c in u)"default"!==c&&function(e){t.d(n,e,(function(){return u[e]}))}(c);t("f943");var i,a=t("f0c5"),r=Object(a["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);n["default"]=r.exports},7763:function(e,n,t){},"7b89":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return u})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return o}));var u=function(){var e=this,n=e.$createElement;e._self._c},c=[]},b1ef:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={name:"menuIcon",data:function(){return{Active:!1,returnShow:!0,homeTop:20,text_opacity:0,menuButton:{},iconList:[{name:"首页",iconName:"icon-shouye8",path:"/pages/index/index",jumpType:1},{name:"购物车",iconName:"icon-gouwuche7",path:"/pages/order_addcart/order_addcart",jumpType:1},{name:"搜索",iconName:"icon-sousuo6",path:"/pages/goods_search/index",jumpType:0},{name:"收藏",iconName:"icon-shoucang3",path:"/pages/users/user_goods_collection/index",jumpType:0},{name:"我的",iconName:"icon-yonghu1",path:"/pages/user/index",jumpType:1}]}},props:{showMenuIcon:{type:Boolean,default:!1},opacity:{type:Number,default:1}},watch:{showMenuIcon:function(e){this.Active=e},opacity:function(e){this.text_opacity=e}},mounted:function(){var n=this,t=getCurrentPages();this.returnShow=1!==t.length,this.$nextTick((function(){n.menuButton=e.getMenuButtonBoundingClientRect();var t=e.createSelectorQuery().in(n);t.select("#home").boundingClientRect((function(e){n.homeTop=2*n.menuButton.top+n.menuButton.height-e.height+2})).exec()}))},methods:{open:function(){this.Active=!this.Active,this.Active&&this.$emit("open",!0)},returns:function(){e.navigateBack()},jumpUrl:function(n,t){(1===t?e.switchTab:e.navigateTo)({url:n})}}};n.default=t}).call(this,t("543d")["default"])},c18c:function(e,n,t){"use strict";t.r(n);var o=t("b1ef"),u=t.n(o);for(var c in o)"default"!==c&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=u.a},f943:function(e,n,t){"use strict";var o=t("7763"),u=t.n(o);u.a}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'components/menuIcon-create-component',
|
|
{
|
|
'components/menuIcon-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('543d')['createComponent'](__webpack_require__("3c0d"))
|
|
})
|
|
},
|
|
[['components/menuIcon-create-component']]
|
|
]);
|