{"version":3,"sources":["webpack:///./src/components/hkTasteBusiness/pc/header/InsHeaderLayout1.vue?24a2","webpack:///./src/components/hkTasteBusiness/pc/header/InsHeaderLayout1.vue?e4ea","webpack:///./src/components/business/pc/header/InsMenu.vue?dc4a","webpack:///./src/components/hkTasteBusiness/pc/header/InsHeaderLayout1.vue?31f7","webpack:///./src/components/business/pc/header/InsMenu.vue?1be7","webpack:///./src/components/business/pc/header/InsMenu.vue","webpack:///./src/components/business/pc/header/InsMenu.vue?75c1","webpack:///./src/components/business/pc/header/InsMenu.vue?d4c8","webpack:///./src/components/hkTasteBusiness/pc/header/InsHeaderLayout1.vue","webpack:///./src/components/hkTasteBusiness/pc/header/InsHeaderLayout1.vue?4f6e","webpack:///./src/components/hkTasteBusiness/pc/header/InsHeaderLayout1.vue?78d0"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","class","showHomePage","_m","directives","name","rawName","value","expression","$t","domProps","on","$event","target","composing","key","searchFun","_l","$store","state","item","index","Type","toUrl","_v","_s","Name","path","To","Childs","length","child","index2","_e","staticRenderFns","CurrentNav","tag","NavData","type","headerMenus","footerMenus","default","components","component","showMeunBar","search","showMenberCentral","count","isshow","activeIndex","NewItem","complete","fixedBar","logoHide","val","window","open","location","href","slideToggle","cindex","header","$Api","promotion","getMenu","then","result","dispatch","ReturnValue","HeaderMenus","FooterMenus","catch","error","n","IsNewWin","Url","Value","Id","catMenuType","JSON","stringify","parseInt","Vals","ParentId","$route","$Storage","get","$router","push","shopCart","params","$i18n","locale","changLange","css","lang","member","setUILanguage","localStorage","setItem","Reload","shoppingCart","getShoppingCart","addEventListener","scrollTop","document","documentElement","pageYOffset","body","slideDown","fadeOut","slideUp","ShopCart","Qty","deep","Menu","Shopcart","InsLogin","CodeSelect","LangSwitch","elMenu"],"mappings":"kHAAA,W,sFCAA,W,oCCAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,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E,WACA,IAAE,QAAQyE,IAAI,aAAc,yBA9FlC,sBAiGE,WACEpG,KAAKuD,YAAc,GACnB,KAAE,WACA,IAAE,QAAQ6C,IAAI,aAAc,uBApGlC,wBAuGU,SAAYC,GAAI,WACtBrG,KAAKoE,KAAKkC,OACPC,cAAcF,GACd9B,MAAK,SAAAC,GACJ,EAAKyB,MAAMC,OAASG,EACpBG,aAAaC,QAAQ,SAAUJ,GAC/B,EAAKK,YAEN7B,OAAM,SAAAC,SA/Gb,qBAmHE,WACE9E,KAAKwB,OAAOiD,SAAS,cAAezE,KAAKoE,KAAKuC,aAAaC,mBAC3DC,iBAAiB,UAAU,WACzB,IACIC,EAAYC,SAASC,gBAAgBF,WAAajD,OAAOoD,aAAeF,SAASG,KAAKJ,UACtFA,GAAa,IACf,IAAE,iBAAiBK,UAAU,KAE7B,IAAE,iBAAiBC,QAAQ,QAE5B,KA7HP,2BAgIE,WACEpH,KAAKoD,mBAAoB,EACzBpD,KAAKmD,QAAS,EACd,IAAE,eAAekE,YAnIrB,8BAsIE,WAAgB,WACdrH,KAAKsH,SAAS/C,MAAK,SAACC,GAClB,EAAKnB,MAAQmB,EAAO8C,SAASC,SAxInC,qBA2IE,WACEvH,KAAKsE,cA5IT,GAAuC,QAC7B,gBAAP,kB,0BA+HD,gBADC,eAAM,SAAU,CAAEkD,MAAM,K,4BAKxB,MAED,gBADC,eAAM,a,+BAKN,MA1IkB,EAAS,gBAb7B,eAAU,CACTxE,WAAY,CACVyE,KAAA,EACAC,SAAU,kBACR,iDACFC,SAAU,kBACR,sFACFC,WAAY,kBACV,iDACDC,WAAY,kBAAM,iDACnBC,OAAQ,kBAAM,qDAGG,WCzIiiB,ICSljB,G,oBAAY,eACd,EACAhI,EACA0C,GACA,EACA,KACA,WACA,OAIa,e","file":"js/chunk-540c04fa.92da4502.js","sourcesContent":["export * from \"-!../../../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--10-oneOf-1-1!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/_less-loader@4.1.0@less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/_style-resources-loader@1.4.1@style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./InsHeaderLayout1.vue?vue&type=style&index=1&id=65b53579&scoped=true&lang=less&\"","export * from \"-!../../../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--10-oneOf-1-1!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/_less-loader@4.1.0@less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/_style-resources-loader@1.4.1@style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./InsHeaderLayout1.vue?vue&type=style&index=0&lang=less&\"","export * from \"-!../../../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--10-oneOf-1-1!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/_less-loader@4.1.0@less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/_style-resources-loader@1.4.1@style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./InsMenu.vue?vue&type=style&index=0&id=213f7a7c&scoped=true&lang=less&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pcHeader\",attrs:{\"id\":\"header\"}},[_c('div',{staticClass:\"headerBg\",class:{'pageother':_vm.showHomePage!=='/'}},[_c('div',{staticClass:\"headerTop\"},[_vm._m(0),_c('div',{staticClass:\"inner\"},[_c('div',{staticClass:\"functionBox\"},[_c('div',{staticClass:\"searchBox\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.key),expression:\"key\"}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('Message.KeyWords')},domProps:{\"value\":(_vm.key)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.key=$event.target.value}}}),_c('span',{staticClass:\"search_btn\",on:{\"click\":function($event){return _vm.searchFun(_vm.key)}}},[_c('img',{attrs:{\"src\":\"/images/pc/searchBlue.png\"}})])]),_c('InsLogin',{staticClass:\"memberLogin\"}),_c('div',{staticClass:\"cartTop\"},[_c('router-link',{attrs:{\"to\":\"/account/MyFavorite\"}},[_c('i',{staticClass:\"handle-icon fav-icon\"})])],1),_c('Shopcart',{staticClass:\"memberLogin\"})],1),_c('CodeSelect'),_c('div',{staticClass:\"langBox\"},[_c('LangSwitch')],1)],1)]),_c('div',{staticClass:\"HeaderNormalBar\"},[_c('div',{staticClass:\"headerBoxMain\"},[_c('div',{staticClass:\"headerBottom\"},[_c('div',{staticClass:\"navMainbar\"},[_c('ul',_vm._l((this.$store.state.headerMenus),function(item,index){return _c('li',{key:index},[(item.Type === 0)?_c('a',{staticClass:\"topa\",attrs:{\"href\":\"javascript:;\"},on:{\"click\":function($event){return _vm.toUrl(item)}}},[_c('span',[_vm._v(_vm._s(item.Name))])]):_c('router-link',{staticClass:\"topa\",attrs:{\"to\":{path: _vm.To(item)}}},[_c('span',[_vm._v(_vm._s(item.Name))])]),(item.Childs && item.Childs.length)?_c('ul',[_c('div',{staticClass:\"innerMain\"},_vm._l((item.Childs),function(child,index2){return _c('li',{key:index2},[_c('router-link',{staticClass:\"topb\",attrs:{\"to\":{path: _vm.To(child)}}},[_c('span',[_vm._v(_vm._s(child.Name))])])],1)}),0)]):_vm._e()],1)}),0)])])])])]),_c('div',{staticClass:\"header-Fixed\"},[_c('div',{staticClass:\"headerTop\"},[_vm._m(1),_c('div',{staticClass:\"inner\"},[_c('div',{staticClass:\"functionBox\"},[_c('div',{staticClass:\"searchBox\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.key),expression:\"key\"}],attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('Message.KeyWords')},domProps:{\"value\":(_vm.key)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.key=$event.target.value}}}),_c('span',{staticClass:\"search_btn\",on:{\"click\":function($event){return _vm.searchFun(_vm.key)}}},[_c('img',{attrs:{\"src\":\"/images/pc/searchBlue.png\"}})])]),_c('InsLogin',{staticClass:\"memberLogin\"}),_c('div',{staticClass:\"cartTop\"},[_c('router-link',{attrs:{\"to\":\"/account/MyFavorite\"}},[_c('i',{staticClass:\"handle-icon fav-icon\"})])],1),_c('Shopcart',{staticClass:\"memberLogin\"})],1),_c('CodeSelect'),_c('div',{staticClass:\"langBox\"},[_c('LangSwitch')],1)],1)]),_c('div',{staticClass:\"HeaderNormalBar\"},[_c('div',{staticClass:\"headerBoxMain\"},[_c('div',{staticClass:\"headerBottom\"},[_c('div',{staticClass:\"navMainbar\"},[_c('ul',_vm._l((this.$store.state.headerMenus),function(item,index){return _c('li',{key:index},[(item.Type === 0)?_c('a',{staticClass:\"topa\",attrs:{\"href\":\"javascript:;\"},on:{\"click\":function($event){return _vm.toUrl(item)}}},[_c('span',[_vm._v(_vm._s(item.Name))])]):_c('router-link',{staticClass:\"topa\",attrs:{\"to\":{path: _vm.To(item)}}},[_c('span',[_vm._v(_vm._s(item.Name))])]),(item.Childs && item.Childs.length)?_c('ul',[_c('div',{staticClass:\"innerMain\"},_vm._l((item.Childs),function(child,index2){return _c('li',{key:index2},[_c('router-link',{staticClass:\"topb\",attrs:{\"to\":{path: _vm.To(child)}}},[_c('span',[_vm._v(_vm._s(child.Name))])])],1)}),0)]):_vm._e()],1)}),0)])])])])]),_c('div',{staticClass:\"clear\"})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"logoBox\"},[_c('a',{attrs:{\"href\":\"/\"}},[_c('img',{attrs:{\"src\":\"/images/pc/pclogo.png\"}})])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"logoBox\"},[_c('a',{attrs:{\"href\":\"/\"}},[_c('img',{attrs:{\"src\":\"/images/pc/pclogo.png\"}})])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"header_bottom\"},[_c('div',{staticClass:\"header_topinfo\"},[_c('div',{staticClass:\"header_menu\"},[_c(_vm.CurrentNav,{tag:\"component\",attrs:{\"navData\":_vm.NavData}})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n// import api from '@/sdk/api/api';\r\n@Component({\r\n components: {\r\n 'navLayout1': () => import('@/components/business/pc/header/InsNavLayout1.vue'),\r\n 'navLayout2': () => import('@/components/business/pc/header/InsNavLayout2.vue')\r\n }\r\n})\r\nexport default class InsMenu extends Vue {\r\n @Prop({ default: 'header' }) private type!: string;\r\n CurrentNav: string = 'navLayout2';\r\n\r\n get NavData () {\r\n if (this.type === 'header') {\r\n return this.$store.state.headerMenus;\r\n } else {\r\n return this.$store.state.footerMenus;\r\n }\r\n }\r\n\r\n mounted () {\r\n var _this = this;\r\n // api\r\n // .getMenuData(2)\r\n // .then((res: any) => {\r\n // this.NavData = res.data.requestDetail;\r\n // this.$store.dispatch('setMenuData', this.NavData);\r\n // console.log(res, '请求返回数据');\r\n // })\r\n // .catch((err: any) => {\r\n // // 请求失败后的处理函数\r\n // console.log(err);\r\n // });\r\n\r\n // this.NavData = [{\r\n // id: 1,\r\n // name: '關於我們',\r\n // link: '/about'\r\n // },\r\n // {\r\n // id: 2,\r\n // name: '產品',\r\n // link: '/product/search',\r\n // sub: [{\r\n // id: 3,\r\n // name: '二级目录1',\r\n // link: '/product/cat/1'\r\n // },\r\n // {\r\n // id: 4,\r\n // name: '二级目录2',\r\n // link: '/product/cat/2'\r\n // }]\r\n // },\r\n // {\r\n // id: 5,\r\n // name: '聯絡我們',\r\n // link: '/contact',\r\n // sub: [{\r\n // id: 6,\r\n // name: '二级子目录1',\r\n // link: '/product/list',\r\n // sub: [{\r\n // id: 7,\r\n // name: '三级子目录1',\r\n // link: '/product/list'\r\n // },\r\n // {\r\n // id: 8,\r\n // name: '三级子目录2',\r\n // link: '/product/list'\r\n // }\r\n // ]\r\n // },\r\n // {\r\n // id: 9,\r\n // name: '二级子目录2',\r\n // link: '/product/list',\r\n // sub: [{\r\n // id: 10,\r\n // name: '三级子目录1',\r\n // link: '/product/list',\r\n // sub: [{\r\n // id: 11,\r\n // name: '四级子目录2',\r\n // link: '/product/list'\r\n // },\r\n // {\r\n // id: 12,\r\n // name: '四级子目录3',\r\n // link: '/product/list'\r\n // }\r\n // ]\r\n // }]\r\n // }]\r\n // }, {\r\n // id: 13,\r\n // name: '服務品種',\r\n // link: '/service'\r\n // },\r\n // {\r\n // id: 14,\r\n // name: '獎項',\r\n // link: '/award'\r\n // }];\r\n // this.$store.dispatch('setMenuData', this.NavData);\r\n }\r\n}\r\n","import mod from \"-!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../../../node_modules/_ts-loader@5.4.5@ts-loader/index.js??ref--14-3!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./InsMenu.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../../../node_modules/_ts-loader@5.4.5@ts-loader/index.js??ref--14-3!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./InsMenu.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InsMenu.vue?vue&type=template&id=213f7a7c&scoped=true&\"\nimport script from \"./InsMenu.vue?vue&type=script&lang=ts&\"\nexport * from \"./InsMenu.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InsMenu.vue?vue&type=style&index=0&id=213f7a7c&scoped=true&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"213f7a7c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport api from '@/sdk/api/Api.ts';\r\nimport Menu from '@/components/business/pc/header/InsMenu.vue';\r\nimport $ from 'jquery';\r\n@Component({\r\n components: {\r\n Menu,\r\n Shopcart: () =>\r\n import('@/components/business/pc/header/InsShoppingCart.vue'),\r\n InsLogin: () =>\r\n import('@/components/business/pc/header/InsLogin.vue'),\r\n CodeSelect: () =>\r\n import('@/components/business/pc/header/InsCodeSelect.vue'),\r\n LangSwitch: () => import('@/components/business/pc/header/InsLangSwitch.vue'),\r\n elMenu: () => import('@/components/business/pc/header/InsElMenu.vue')\r\n }\r\n})\r\nexport default class InsHeader extends Vue {\r\n @Prop() private msg!: string;\r\n showMeunBar:boolean=true;\r\n private search: boolean = false;\r\n private key: string = '';\r\n private showMenberCentral:boolean = false;\r\n private count:number = 0;\r\n private isshow:boolean=false;\r\n private activeIndex:string= '';\r\n private NewItem=[];\r\n private si!:any;\r\n private complete:boolean = false;\r\n private fixedBar:boolean = false;\r\n private logoHide:boolean = true;\r\n // private hhh: any = this.$t('test');\r\n goLink (val) {\r\n // window.location.href = val;\r\n window.open(val);\r\n }\r\n gotoLink (val) {\r\n window.location.href = val;\r\n }\r\n showSearchBox () {\r\n $('.search-box').slideToggle();\r\n }\r\n sis (index) {\r\n if (this.complete) return () => {};\r\n this.complete = true;\r\n return (cindex) => {\r\n this.NewItem = this.header[index].Childs[cindex];\r\n };\r\n }\r\n getMenu () {\r\n this.$Api.promotion\r\n .getMenu()\r\n .then(result => {\r\n this.$store.dispatch('setHeaderMenus', result.ReturnValue.HeaderMenus);\r\n this.$store.dispatch('setFooterMenus', result.ReturnValue.FooterMenus);\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n });\r\n }\r\n toUrl (n) {\r\n if (!n.IsNewWin && n.Url) {\r\n window.location.href = n.Url;\r\n } else if (n.IsNewWin && n.Url) {\r\n window.open(n.Url);\r\n }\r\n }\r\n To (n) {\r\n return n.Type === 1 ? '/cms/catDetail/' + n.Value.Id : n.Type === 2 ? '/CMS/content/' + n.Value.Id : n.Type === 3 ? '/RegNPay/Form/' + n.Value.Id : n.Type === 4 && !this.$store.state.catMenuType ? '/product/cat/' + n.Value.Id : n.Type === 4 && this.$store.state.catMenuType ? '/product/search/-?catalogs=' + JSON.stringify([parseInt(n.Value.Id)]) + '&type=0' : n.Type === 5 ? '/product/search/-?attrs=' + JSON.stringify([{ Id: parseInt(n.Value.Id), Vals: [] }]) + '&type=0' : '/product/search/-?attrs=' + JSON.stringify([{ Id: parseInt(n.ParentId), Vals: [parseInt(n.Value.Id)] }]) + '&type=0';\r\n }\r\n ShowItems (value) {\r\n this.NewItem = value;\r\n }\r\n get showHomePage () {\r\n return this.$route.path;\r\n }\r\n menberCentral () {\r\n if (!this.$Storage.get('isLogin')) this.$router.push('/account/login');\r\n else this.showMenberCentral = !this.showMenberCentral;\r\n }\r\n get header () {\r\n return this.$store.state.headerMenus;\r\n }\r\n get ShopCart () {\r\n return this.$store.state.shopCart;\r\n }\r\n searchFun (key) {\r\n this.$store.dispatch('setSearchKey', key);\r\n if (key !== '') {\r\n this.$router.push({\r\n path: '/product/search',\r\n name: 'productSearch',\r\n params: {\r\n key: key\r\n }\r\n });\r\n } else {\r\n this.$router.push({\r\n path: '/product/search/-'\r\n });\r\n }\r\n }\r\n get currentlang () {\r\n return this.$i18n.locale;\r\n }\r\n set currentlang (val) {\r\n this.changLange(val);\r\n }\r\n navShow (index) {\r\n this.activeIndex = index;\r\n $(function () {\r\n $('body').css('overflow-y', 'hidden!important');\r\n });\r\n }\r\n navClose () {\r\n this.activeIndex = '';\r\n $(function () {\r\n $('body').css('overflow-y', 'auto!important');\r\n });\r\n }\r\n private changLange (lang) {\r\n this.$Api.member\r\n .setUILanguage(lang)\r\n .then(result => {\r\n this.$i18n.locale = lang;\r\n localStorage.setItem('locale', lang);\r\n this.Reload();\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n });\r\n }\r\n created () {\r\n this.$store.dispatch('setShopCart', this.$Api.shoppingCart.getShoppingCart());\r\n addEventListener('scroll', () => {\r\n var _this = this;\r\n let scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;\r\n if (scrollTop >= 294) {\r\n $('.header-Fixed').slideDown(300);\r\n } else {\r\n $('.header-Fixed').fadeOut(300);\r\n }\r\n }, false);\r\n }\r\n @Watch('$route', { deep: true })\r\n onRouteChange () {\r\n this.showMenberCentral = false;\r\n this.search = false;\r\n $('.search-box').slideUp();\r\n }\r\n @Watch('ShopCart')\r\n onShopCartChange () {\r\n this.ShopCart.then((result) => {\r\n this.count = result.ShopCart.Qty;\r\n });\r\n }\r\n mounted () {\r\n this.getMenu();\r\n }\r\n}\r\n","import mod from \"-!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../../../node_modules/_ts-loader@5.4.5@ts-loader/index.js??ref--14-3!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./InsHeaderLayout1.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../../../node_modules/_ts-loader@5.4.5@ts-loader/index.js??ref--14-3!../../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./InsHeaderLayout1.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InsHeaderLayout1.vue?vue&type=template&id=65b53579&scoped=true&\"\nimport script from \"./InsHeaderLayout1.vue?vue&type=script&lang=ts&\"\nexport * from \"./InsHeaderLayout1.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InsHeaderLayout1.vue?vue&type=style&index=0&lang=less&\"\nimport style1 from \"./InsHeaderLayout1.vue?vue&type=style&index=1&id=65b53579&scoped=true&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"65b53579\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}