{"version":3,"sources":["webpack:///./src/components/business/pc/header/InsNavLayout2.vue","webpack:///./src/components/business/pc/header/InsNavLayout2.vue?e5ba","webpack:///./src/components/business/pc/header/InsNavLayout2.vue?563a","webpack:///./src/components/business/pc/header/InsNavLayout2.vue?ce5e","webpack:///./src/components/business/pc/header/InsNavLayout2.vue?0daa"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","_l","navData","n","index","key","Type","attrs","on","$event","toUrl","_v","_s","Name","path","To","Childs","level","staticRenderFns","InsNavLayout2","_Vue","_classCallCheck","_callSuper","arguments","_inherits","_createClass","value","IsNewWin","Url","window","location","href","open","Value","Id","JSON","stringify","parseInt","Vals","Vue","__decorate","Prop","default","Component","name","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,KAAK,CAACG,YAAY,MAAML,EAAIM,GAAIN,EAAIO,SAAS,SAASC,EAAEC,GAAO,OAAOP,EAAG,KAAK,CAACQ,IAAID,GAAO,CAAa,IAAXD,EAAEG,KAAYT,EAAG,IAAI,CAACU,MAAM,CAAC,KAAO,gBAAgBC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOd,EAAIe,MAAMP,MAAM,CAACR,EAAIgB,GAAGhB,EAAIiB,GAAGT,EAAEU,SAAShB,EAAG,cAAc,CAACG,YAAY,QAAQO,MAAM,CAAC,GAAK,CAACO,KAAMnB,EAAIoB,GAAGZ,MAAM,CAACR,EAAIgB,GAAGhB,EAAIiB,GAAGT,EAAEU,SAAShB,EAAG,YAAY,CAACU,MAAM,CAAC,QAAUJ,EAAEa,OAAO,MAAQrB,EAAIsB,MAAM,MAAM,MAAK,IAEpeC,EAAkB,G,0XCItB,IAAqBC,EAAa,SAAAC,GAAA,SAAAD,IAAA,OAAAE,eAAA,KAAAF,GAAAG,EAAA,KAAAH,EAAAI,WAAA,OAAAC,eAAAL,EAAAC,GAAAK,eAAAN,EAAA,EAAAd,IAAA,QAAAqB,MAGhC,SAAOvB,IACAA,EAAEwB,UAAYxB,EAAEyB,IAEnBC,OAAOC,SAASC,KAAO5B,EAAEyB,IAChBzB,EAAEwB,UAAYxB,EAAEyB,KACzBC,OAAOG,KAAK7B,EAAEyB,OAGjB,CAAAvB,IAAA,KAAAqB,MACD,SAAIvB,GAEF,OAAkB,IAAXA,EAAEG,KAAa,kBAAoBH,EAAE8B,MAAMC,GAAgB,IAAX/B,EAAEG,KAAa,gBAAkBH,EAAE8B,MAAMC,GAAgB,IAAX/B,EAAEG,KAAa,iBAAmBH,EAAE8B,MAAMC,GAAiB,IAAX/B,EAAEG,MAAcH,EAAE8B,MAAMC,GAAM,gBAAkB/B,EAAE8B,MAAMC,GAAgB,IAAX/B,EAAEG,KAAa,2BAA6B6B,KAAKC,UAAU,CAAC,CAAEF,GAAIG,SAASlC,EAAE8B,MAAMC,IAAKI,KAAM,MAAS,UAAY,OAdvS,CAASC,QACjCC,eAAA,CAAPC,kB,8BACqBD,eAAA,CAArBC,eAAK,CAAEC,QAAS,K,4BAFEvB,EAAaqB,eAAA,CAHjCG,eAAU,CACTC,KAAM,eAEazB,WCN8hB,I,wBCQ/iB0B,EAAY,eACd,EACAnD,EACAwB,GACA,EACA,KACA,WACA,MAIa,aAAA2B,E,6CCnBf,W","file":"js/chunk-7f228d52.53775d1a.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('ul',{staticClass:\"ul\"},_vm._l((_vm.navData),function(n,index){return _c('li',{key:index},[(n.Type === 0)?_c('a',{attrs:{\"href\":\"javascript:;\"},on:{\"click\":function($event){return _vm.toUrl(n)}}},[_vm._v(_vm._s(n.Name))]):_c('router-link',{staticClass:\"nav_a\",attrs:{\"to\":{path: _vm.To(n)}}},[_vm._v(_vm._s(n.Name))]),_c('navLayout',{attrs:{\"navData\":n.Childs,\"level\":_vm.level+1}})],1)}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component({\r\n name: 'navLayout'\r\n})\r\nexport default class InsNavLayout2 extends Vue {\r\n @Prop() private navData!: object;\r\n @Prop({ default: 1 }) private level!: number;\r\n toUrl (n) {\r\n if (!n.IsNewWin && n.Url) {\r\n // console.log(n.IsNewWin, '本地');\r\n window.location.href = n.Url;\r\n } else if (n.IsNewWin && n.Url) {\r\n window.open(n.Url);\r\n // console.log(n.IsNewWin, '打开新窗口');\r\n }\r\n }\r\n To (n) {\r\n // if (n.RedirectType !== undefined && n.RedirectType !== -1) return this.To({ Type: n.RedirectType, Value: { Id: n.RedirectValue }, Url: n.RedirectValue });\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 && n.Value.Id) ? '/product/cat/' + n.Value.Id : n.Type === 5 ? '/product/search/+?attrs=' + JSON.stringify([{ Id: parseInt(n.Value.Id), Vals: [] }]) + '&type=0' : '';\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.4.1@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.11.1@vue-loader/lib/index.js??vue-loader-options!./InsNavLayout2.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.4.1@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.11.1@vue-loader/lib/index.js??vue-loader-options!./InsNavLayout2.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InsNavLayout2.vue?vue&type=template&id=c72d2720&scoped=true\"\nimport script from \"./InsNavLayout2.vue?vue&type=script&lang=ts\"\nexport * from \"./InsNavLayout2.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InsNavLayout2.vue?vue&type=style&index=0&id=c72d2720&prod&scoped=true&lang=less\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/_vue-loader@15.11.1@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c72d2720\",\n null\n \n)\n\nexport default component.exports","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.11.1@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.5.0@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.11.1@vue-loader/lib/index.js??vue-loader-options!./InsNavLayout2.vue?vue&type=style&index=0&id=c72d2720&prod&scoped=true&lang=less\""],"sourceRoot":""}