2021-12-13 18:09:02 +08:00

11 lines
2.2 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/headerSerch"],{2073:function(t,e,n){"use strict";n.r(e);var a=n("edb6"),o=n("34eb");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("260d");var r,u=n("f0c5"),s=Object(u["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=s.exports},"260d":function(t,e,n){"use strict";var a=n("aa54"),o=n.n(a);o.a},"34eb":function(t,e,n){"use strict";n.r(e);var a=n("573a"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},"573a":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("4729"),o=getApp(),i=2*t.getSystemInfoSync().statusBarHeight+"rpx",r=2*t.getSystemInfoSync().statusBarHeight+170+"rpx",u={name:"headerSerch",props:{dataConfig:{type:Object,default:function(){}}},data:function(){return{logoConfig:"",hotWords:[],sysHeight:i,headH:r,name:this.$options.name,isShow:!0,isIframe:o.globalData.isIframe}},watch:{dataConfig:{immediate:!0,handler:function(e,n){e&&(this.logoConfig=e?e.imgUrl.url:"",this.hotWords=e.hotList.list,this.isShow=e.isShow.val,t.setStorageSync("hotList",this.hotWords))}}},mounted:function(){var e=this;this.$nextTick((function(){var n=t.createSelectorQuery().in(this).select(".mp-header");n.boundingClientRect((function(t){e.marTop=t.height})).exec()}))},methods:{goPage:function(){(0,a.goPage)().then((function(e){t.navigateTo({url:"/pages/goods_search/index"})}))}}};e.default=u}).call(this,n("543d")["default"])},aa54:function(t,e,n){},edb6:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement;t._self._c},i=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/index/components/headerSerch-create-component',
{
'pages/index/components/headerSerch-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("2073"))
})
},
[['pages/index/components/headerSerch-create-component']]
]);