{"version":3,"sources":["webpack:///./src/views/cms/content.vue?8a2c","webpack:///./src/views/cms/content.vue","webpack:///./src/views/cms/content.vue?0e95","webpack:///./src/views/cms/content.vue?20a1","webpack:///./src/views/cms/content.vue?22d6"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","id","staticClass","imagePath","style","content","Author","_v","_s","Title","_e","domProps","Body","staticRenderFns","InsCmsContent","_Vue","_inherits","_super","_createSuper","_this","_classCallCheck","CateName","Key","_createClass","key","value","_this2","$Api","cms","getContentByDevice","ContentId","IsMobile","isMobile","then","result","CMS","Name","Cover","$nextTick","document","title","setTimeout","window","scrollTo","getElementsByName","SeoKeyword","SeoDesc","get","$route","params","$store","state","getContent","Vue","__decorate","Watch","deep","Component","components","Location","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,cAAc,CAAa,UAAXN,EAAIO,GAAgBH,EAAG,MAAM,CAACI,YAAY,UAAU,CAACJ,EAAG,MAAM,CAACI,YAAY,aAAa,CAACJ,EAAG,MAAM,CAACE,MAAM,CAAC,IAAM,wBAA0BN,EAAIS,aAAcT,EAAY,SAAEI,EAAG,MAAM,CAACI,YAAY,cAAc,CAACJ,EAAG,KAAK,CAACM,MAAM,CAAG,WAAcV,EAAIW,QAAQC,SAAW,CAACZ,EAAIa,GAAGb,EAAIc,GAAGd,EAAIW,QAAQI,YAAYf,EAAIgB,OAAOZ,EAAG,MAAM,CAACI,YAAY,cAAc,CAACJ,EAAG,IAAI,CAACI,YAAY,gBAAgBS,SAAS,CAAC,UAAYjB,EAAIc,GAAGd,EAAIW,QAAQO,SAASd,EAAG,MAAM,CAACI,YAAY,cAAcJ,EAAG,MAAM,CAACI,YAAY,WAAW,CAACJ,EAAG,MAAM,CAACI,YAAY,aAAa,CAACJ,EAAG,MAAM,CAACE,MAAM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ACE,OAAOpD,KAAKuD,OAAOC,MAAMnB,WAC1B,CAAAR,IAAA,UAAAC,MAED,WACE9B,KAAKyD,eACN,CAAA5B,IAAA,WAAAuB,IACD,WACE,MAAoB,mBAAbpD,KAAK2B,KAAyC,wBAAb3B,KAAK2B,KAA8C,WAAb3B,KAAK2B,KAAiC,YAAb3B,KAAK2B,KAAkC,wBAAb3B,KAAK2B,KAA8C,gBAAb3B,KAAK2B,KAAsC,YAAb3B,KAAK2B,KAAkC,QAAb3B,KAAK2B,MACrO,CAAAE,IAAA,gBAAAC,MAED,WACE9B,KAAKyD,eACN,CAAA5B,IAAA,aAAAC,MAGD,WACE9B,KAAKU,QAAU,GACfV,KAAKyD,eACN,CAAA5B,IAAA,gBAAAC,MAED,WACE9B,KAAKU,QAAU,GACfV,KAAKyD,iBACNtC,EAnD+B,CAASuC,QAsCzCC,eAAA,CADCC,eAAM,WAAY,CAAEC,MAAM,K,kCAM3BF,eAAA,CADCC,eAAM,KAAM,CAAEC,MAAM,K,+BAMrBF,eAAA,CADCC,eAAM,SAAU,CAAEC,MAAM,K,kCA/CN1C,EAAawC,eAAA,CALjCG,eAAU,CACTC,WAAY,CACVC,SAAU,kBAAM,qDAGC7C,WC/Bua,I,wBCQxb8C,EAAY,eACd,EACAnE,EACAoB,GACA,EACA,KACA,WACA,MAIa,aAAA+C,E,6CCnBf,W","file":"js/chunk-74b96830.4fbcbbcc.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"container\"}},[(_vm.id !== '20355')?_c('div',{staticClass:\"normal\"},[_c('div',{staticClass:\"bannerImg\"},[_c('img',{attrs:{\"src\":'https://eventizer.hk/' + _vm.imagePath}}),(_vm.KeyOther)?_c('div',{staticClass:\"innerTitle\"},[_c('h1',{style:({ \"background\": _vm.content.Author })},[_vm._v(_vm._s(_vm.content.Title))])]):_vm._e()]),_c('div',{staticClass:\"CmsContent\"},[_c('p',{staticClass:\"NormalContent\",domProps:{\"innerHTML\":_vm._s(_vm.content.Body)}}),_c('div',{staticClass:\"clear\"})])]):_c('div',{staticClass:\"regnpay\"},[_c('div',{staticClass:\"rnpbanner\"},[_c('img',{attrs:{\"src\":_vm.imagePath,\"width\":\"100%\"}})]),_c('div',{staticClass:\"rnpcontent\"},[_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.content.Body)}})])])])}\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\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\n@Component({\r\n components: {\r\n Location: () => import('@/components/base/InsLocation.vue')\r\n }\r\n})\r\nexport default class InsCmsContent extends Vue {\r\n CateName: string = '';\r\n content: any = {};\r\n imagePath: string = '';\r\n Key: string = '';\r\n // 获取关于我们cms内容\r\n getContent() {\r\n this.$Api.cms.getContentByDevice({ Key: this.id, ContentId: this.id, IsMobile: this.isMobile }).then(result => {\r\n this.content = result.CMS;\r\n this.CateName = result.CMS.Name;\r\n this.imagePath = result.CMS.Cover;\r\n this.Key = result.CMS.Key;\r\n this.$nextTick(() => {\r\n if (result.CMS.Title) document.title = result.CMS.Title;\r\n setTimeout(() => { window.scrollTo(0, 0); }, 50);\r\n (document.getElementsByName('keywords')[0] as any).content = result.CMS.SeoKeyword;\r\n (document.getElementsByName('description')[0] as any).content = result.CMS.SeoDesc;\r\n (document.getElementsByName('twitter:description')[0] as any).content = result.CMS.SeoDesc;\r\n (document.getElementsByName('twitter:title')[0] as any).content = result.CMS.Title;\r\n });\r\n });\r\n }\r\n\r\n get id() {\r\n return this.$route.params.id;\r\n }\r\n\r\n get isMobile() {\r\n return this.$store.state.isMobile;\r\n }\r\n\r\n mounted() {\r\n this.getContent();\r\n }\r\n get KeyOther() {\r\n return this.Key !== 'Paymentgateway' && this.Key !== 'Associationplatform' && this.Key !== 'Nstore' && this.Key !== 'Startup' && this.Key !== 'EventizerFoundation' && this.Key !== 'ProjectEasy' && this.Key !== 'FREETRY' && this.Key !== 'ESG';\r\n }\r\n @Watch('isMobile', { deep: true })\r\n onMediaChange() {\r\n this.getContent();\r\n }\r\n\r\n @Watch('id', { deep: true })\r\n onIdChange() {\r\n this.content = {};\r\n this.getContent();\r\n }\r\n @Watch('$route', { deep: true })\r\n onRouteChange() {\r\n this.content = {};\r\n this.getContent();\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!./content.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!./content.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./content.vue?vue&type=template&id=43f7d956&scoped=true&\"\nimport script from \"./content.vue?vue&type=script&lang=ts&\"\nexport * from \"./content.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./content.vue?vue&type=style&index=0&id=43f7d956&prod&scoped=true&lang=less&\"\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 \"43f7d956\",\n null\n \n)\n\nexport default component.exports","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!./content.vue?vue&type=style&index=0&id=43f7d956&prod&scoped=true&lang=less&\""],"sourceRoot":""}