{"version":3,"sources":["webpack:///./src/views/cms/content.vue?9433","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?c683"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","content","Cover","addclass","Architecture","formtecture","staticClass","_v","_s","Title","class","cmsclass","waiting","_e","key","id","domProps","Body","directives","name","rawName","value","expression","staticRenderFns","CateName","$Api","cms","getContentByDevice","ContentId","IsMobile","isMobile","then","result","CMS","Name","$nextTick","document","title","getElementsByName","SeoKeyword","SeoDesc","$route","path","getContent","params","$store","state","deep","components","Location","InsHomeRnp","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,CAAEN,EAAIO,QAAQC,QAAUR,EAAIS,UAAYT,EAAIU,cAAgBV,EAAIW,aAAcP,EAAG,MAAM,CAACQ,YAAY,aAAa,CAACR,EAAG,MAAM,CAACE,MAAM,CAAC,IAAMN,EAAIO,QAAQC,MAAM,IAAM,MAAMJ,EAAG,MAAM,CAACQ,YAAY,mBAAmB,CAACR,EAAG,KAAK,CAACQ,YAAY,mBAAmB,CAACZ,EAAIa,GAAGb,EAAIc,GAAGd,EAAIO,QAAQQ,cAAcX,EAAG,MAAM,CAACQ,YAAY,mBAAmB,CAACR,EAAG,KAAK,CAACQ,YAAY,mBAAmB,CAACZ,EAAIa,GAAGb,EAAIc,GAAGd,EAAIO,QAAQQ,YAAYX,EAAG,MAAM,CAACQ,YAAY,aAAaI,MAAM,CAClkBC,SAAUjB,EAAIS,SACdC,aAAcV,EAAIU,aAClBC,YAAaX,EAAIW,cAChB,CAACP,EAAG,aAAa,CAACE,MAAM,CAAC,KAAO,UAAU,CAAGN,EAAIkB,QAA4NlB,EAAImB,KAAvNf,EAAG,MAAM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BAArB,EAAKD,OAAOC,MACS,uBAArB,EAAKD,OAAOC,MACS,uBAArB,EAAKD,OAAOC,KAEZ,EAAKvC,UAAW,EACc,uBAArB,EAAKsC,OAAOC,KACrB,EAAKtC,cAAe,EACU,uBAArB,EAAKqC,OAAOC,OACrB,EAAKrC,aAAc,QA3C7B,gCAyDIV,KAAKgD,eAzDT,sCA8DIhD,KAAKgD,eA9DT,oCAmEIhD,KAAKM,QAAU,GACfN,KAAKgD,eApET,yBAiDI,OAAOhD,KAAK8C,OAAOG,OAAO7B,KAjD9B,+BAqDI,OAAOpB,KAAKkD,OAAOC,MAAMhB,aArD7B,GAA2C,QA6DzC,QADC,eAAM,WAAY,CAAEiB,MAAM,K,4BAG1B,MAGD,QADC,eAAM,KAAM,CAAEA,MAAM,K,0BAIpB,MArEkB,EAAa,QANjC,eAAU,CACTC,WAAY,CACVC,SAAU,kBAAM,iDAChBC,WAAY,kBAAM,qDAGD,WC9Cua,I,wBCQxbC,EAAY,eACd,EACA1D,EACA8B,GACA,EACA,KACA,WACA,MAIa,aAAA4B,E,oECnBf,yBAAuoB,EAAG","file":"js/chunk-c504d8a4.7b705b3a.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.content.Cover && (_vm.addclass || _vm.Architecture || _vm.formtecture))?_c('div',{staticClass:\"cmsbanner\"},[_c('img',{attrs:{\"src\":_vm.content.Cover,\"alt\":\"\"}}),_c('div',{staticClass:\"cmsbanner_title\"},[_c('h1',{staticClass:\"CmsContentTitle\"},[_vm._v(_vm._s(_vm.content.Title))])])]):_c('div',{staticClass:\"cmsbanner_title\"},[_c('h1',{staticClass:\"CmsContentTitle\"},[_vm._v(_vm._s(_vm.content.Title))])]),_c('div',{staticClass:\"CmsContent\",class:{\n cmsclass: _vm.addclass,\n Architecture: _vm.Architecture,\n formtecture: _vm.formtecture\n }},[_c('transition',{attrs:{\"name\":\"slide\"}},[(!_vm.waiting)?_c('div',{key:\"1\"},[_c('div',{staticClass:\"rightContent\"},[_c('div',{class:{'rnpleft':_vm.id === '20307'},domProps:{\"innerHTML\":_vm._s(_vm.content.Body)}}),(_vm.id === '20307')?_c('ins-home-rnp'):_vm._e()],1)]):_vm._e()]),_c('transition',{attrs:{\"name\":\"slide\"}},[(_vm.waiting)?_c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(true),expression:\"true\"}],key:\"2\",staticClass:\"faker\"}):_vm._e()]),_c('div',{staticClass:\"clear\"})],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\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 InsHomeRnp: () => import('@/components/business/home/InsHomeRNP.vue')\r\n }\r\n})\r\nexport default class InsCmsContent extends Vue {\r\n CateName: string = '';\r\n content: object = {};\r\n addclass = false;\r\n Architecture = false;\r\n formtecture = false;\r\n private waiting: boolean = true;\r\n\r\n // 获取关于我们cms内容\r\n getContent () {\r\n this.$Api.cms\r\n .getContentByDevice({ ContentId: this.id, IsMobile: this.isMobile })\r\n .then(result => {\r\n this.content = result.CMS;\r\n this.CateName = result.CMS.Name;\r\n this.waiting = false;\r\n // this.$HiddenLayer();\r\n console.log(result, 'CMS');\r\n\r\n this.$nextTick(() => {\r\n if (result.CMS.Title) document.title = result.CMS.Title;\r\n (document.getElementsByName('keywords')[0] as any).content =\r\n result.CMS.SeoKeyword;\r\n (document.getElementsByName('description')[0] as any).content =\r\n result.CMS.SeoDesc;\r\n (document.getElementsByName(\r\n 'twitter:description'\r\n )[0] as any).content = result.CMS.SeoDesc;\r\n (document.getElementsByName('twitter:title')[0] as any).content =\r\n result.CMS.Title;\r\n });\r\n\r\n if (\r\n this.$route.path === '/cms/content/20300' ||\r\n this.$route.path === '/cms/content/20307' ||\r\n this.$route.path === '/cms/content/20310' ||\r\n this.$route.path === '/cms/content/20322' ||\r\n this.$route.path === '/cms/content/20301'\r\n ) {\r\n this.addclass = true;\r\n } else if (this.$route.path === '/cms/content/20309') {\r\n this.Architecture = true;\r\n } else if (this.$route.path === '/cms/content/20302') {\r\n this.formtecture = true;\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\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 onKeyChange () {\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=03e43e5f&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=03e43e5f&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 \"03e43e5f\",\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!./content.vue?vue&type=style&index=0&id=03e43e5f&scoped=true&lang=less&\"; 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!./content.vue?vue&type=style&index=0&id=03e43e5f&scoped=true&lang=less&\""],"sourceRoot":""}