{"version":3,"sources":["webpack:///./src/components/business/home/InsFun.vue?8b34","webpack:///./src/components/business/home/InsFun.vue","webpack:///./src/components/business/home/InsFun.vue?c5fc","webpack:///./src/components/business/home/InsFun.vue?913d","webpack:///./src/components/business/home/InsFun.vue?ba92"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","lang","on","$event","showFunImg","directives","name","rawName","value","isMobile","expression","funImg","ref","FunImgsOption","_l","item","index","key","_e","staticRenderFns","funData","Contents","showImgs","autoplay","delay","disableOnInteraction","observer","observeParents","$Api","cms","getCategoryByDevice","CatId","IsMobile","then","result","i","length","Id","Cover","forEach","element","push","id","getFunData","$store","state","$Storage","get","deep","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,MAAM,CAACE,YAAY,YAAYC,MAAM,CAAC,IAAM,kBAAoBP,EAAIQ,KAAO,oBAAoBJ,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,KAAK,CAACA,EAAG,KAAK,CAACK,GAAG,CAAC,UAAY,SAASC,GAAQ,OAAOV,EAAIW,WAAW,UAAU,CAACP,EAAG,cAAc,CAACG,MAAM,CAAC,GAAK,uBAAuB,CAACH,EAAG,MAAM,CAACG,MAAM,CAAC,IAAM,kBAAoBP,EAAIQ,KAAO,kBAAkB,GAAGJ,EAAG,KAAK,CAACK,GAAG,CAAC,UAAY,SAASC,GAAQ,OAAOV,EAAIW,WAAW,UAAU,CAACP,EAAG,cAAc,CAACG,MAAM,CAAC,GAAK,uBAAuB,CAACH,EAAG,MAAM,CAACG,MAAM,CAAC,IAAM,kBAAoBP,EAAIQ,KAAO,kBAAkB,GAAGJ,EAAG,KAAK,CAACK,GAAG,CAAC,UAAY,SAASC,GAAQ,OAAO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2B,SAASe,OAAQD,IACpCzC,KAAK2B,SAASc,GAAGE,KAAOK,IAC1BhD,KAAKiB,OAASjB,KAAK2B,SAASc,GAAGG,SAtCvC,gCA0DI5C,KAAKiD,eA1DT,sCA+DIjD,KAAKiD,eA/DT,+BAkDI,OAAOjD,KAAKkD,OAAOC,MAAMpC,WAlD7B,2BAsDI,OAAOf,KAAKoD,SAASC,IAAI,cAtD7B,GAAoC,QA8DlC,QADC,eAAM,WAAY,CAAEC,MAAM,K,4BAG1B,MAhEkB,EAAM,QAD1B,QACoB,WCrDwb,I,wBCQzcC,EAAY,eACd,EACAzD,EACA2B,GACA,EACA,KACA,WACA,MAIa,aAAA8B,E,oECnBf,yBAA8pB,EAAG","file":"js/chunk-52c458b0.435d6a43.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fun-main\"},[_c('img',{staticClass:\"fun_title\",attrs:{\"src\":'/static/Images/' + _vm.lang + '/fun_title.png'}}),_c('div',{staticClass:\"display_area\"},[_c('div',{staticClass:\"list\"},[_c('ul',[_c('li',{on:{\"mouseover\":function($event){return _vm.showFunImg(20306)}}},[_c('router-link',{attrs:{\"to\":'/cms/content/20306'}},[_c('img',{attrs:{\"src\":'/static/Images/' + _vm.lang + '/fun8.png'}})])],1),_c('li',{on:{\"mouseover\":function($event){return _vm.showFunImg(20304)}}},[_c('router-link',{attrs:{\"to\":'/cms/content/20304'}},[_c('img',{attrs:{\"src\":'/static/Images/' + _vm.lang + '/fun6.png'}})])],1),_c('li',{on:{\"mouseover\":function($event){return _vm.showFunImg(20299)}}},[_c('router-link',{attrs:{\"to\":'/cms/content/20299'}},[_c('img',{attrs:{\"src\":'/static/Images/' + _vm.lang + '/fun1.png'}})])],1),_c('li',{on:{\"mouseover\":function($event){return _vm.showFunImg(20300)}}},[_c('router-link',{attrs:{\"to\":'/cms/content/20300'}},[_c('img',{attrs:{\"src\":'/static/Images/' + _vm.lang + '/fun2.png'}})])],1),_c('li',{on:{\"mouseover\":function($event){return _vm.showFunImg(20302)}}},[_c('router-link',{attrs:{\"to\":'/cms/content/20302'}},[_c('img',{attrs:{\"src\":'/static/Images/' + _vm.lang + '/fun4.png'}})])],1),_c('li',{on:{\"mouseover\":function($event){return _vm.showFunImg(20303)}}},[_c('router-link',{attrs:{\"to\":'/cms/content/20303'}},[_c('img',{attrs:{\"src\":'/static/Images/' + _vm.lang + '/fun5.png'}})])],1),_c('li',{on:{\"mouseover\":function($event){return _vm.showFunImg(20305)}}},[_c('router-link',{attrs:{\"to\":'/cms/content/20305'}},[_c('img',{attrs:{\"src\":'/static/Images/' + _vm.lang + '/fun7.png'}})])],1),_c('li',{on:{\"mouseover\":function($event){return _vm.showFunImg(20301)}}},[_c('router-link',{attrs:{\"to\":'/cms/content/20301'}},[_c('img',{attrs:{\"src\":'/static/Images/' + _vm.lang + '/fun3.png'}})])],1)])]),_c('div',{staticClass:\"img_display\"},[_c('img',{staticClass:\"bg\",attrs:{\"src\":'/static/Images/' + _vm.lang + '/fun_bg.png'}}),_c('img',{staticClass:\"sheep\",attrs:{\"src\":\"/static/Images/fun_sheep.png\"}}),_c('div',{staticClass:\"img_show\"},[_c('img',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isMobile),expression:\"!isMobile\"}],attrs:{\"src\":_vm.funImg}}),(_vm.isMobile)?_c('swiper',{ref:\"FunSwiper\",attrs:{\"options\":_vm.FunImgsOption}},_vm._l((this.showImgs),function(item,index){return _c('swiper-slide',{key:index},[_c('img',{attrs:{\"src\":item}})])}),1):_vm._e()],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\n@Component\r\nexport default class InsFun extends Vue {\r\n funData: object = {};\r\n Contents: any[] = [];\r\n funImg: string = '';\r\n showImgs: string[] = [];\r\n\r\n FunImgsOption: object = {\r\n autoplay: {\r\n delay: 3000,\r\n disableOnInteraction: false,\r\n observer: true, // 修改swiper自己或子元素时,自动初始化swiper\r\n observeParents: true // 修改swiper的父元素时,自动初始化swiper\r\n }\r\n }\r\n\r\n getFunData () {\r\n this.$Api.cms.getCategoryByDevice({ CatId: 40115, IsMobile: this.isMobile }).then((result) => {\r\n this.funData = result;\r\n this.Contents = result.Contents;\r\n\r\n // this.funImg = this.Contents[0].Cover;\r\n\r\n for (let i = 0; i < this.Contents.length; i++) {\r\n if (this.Contents[i].Id === 20306) {\r\n this.funImg = this.Contents[i].Cover;\r\n break;\r\n }\r\n }\r\n\r\n this.Contents.forEach(element => {\r\n this.showImgs.push(element.Cover);\r\n });\r\n });\r\n }\r\n\r\n showFunImg (id) {\r\n for (let i = 0; i < this.Contents.length; i++) {\r\n if (this.Contents[i].Id === id) {\r\n this.funImg = this.Contents[i].Cover;\r\n }\r\n }\r\n\r\n // this.Contents.forEach(item => {\r\n // if (item.Id === id) {\r\n // this.funImg = item.CmsControl[0].ControlImageLis[0].BigImagePath;\r\n // }\r\n // });\r\n }\r\n\r\n get isMobile () {\r\n return this.$store.state.isMobile;\r\n }\r\n\r\n get lang () {\r\n return this.$Storage.get('locale');\r\n }\r\n\r\n mounted () {\r\n this.getFunData();\r\n }\r\n\r\n @Watch('isMobile', { deep: true })\r\n onMediaChange () {\r\n this.getFunData();\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsFun.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsFun.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InsFun.vue?vue&type=template&id=01836a67&scoped=true&\"\nimport script from \"./InsFun.vue?vue&type=script&lang=ts&\"\nexport * from \"./InsFun.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InsFun.vue?vue&type=style&index=0&id=01836a67&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"01836a67\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsFun.vue?vue&type=style&index=0&id=01836a67&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsFun.vue?vue&type=style&index=0&id=01836a67&lang=less&scoped=true&\""],"sourceRoot":""}