chunk-2d21af55.212d0cf5.js.map 5.3 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/shop/news/NewsDetail.vue?16a2","webpack:///src/views/shop/news/NewsDetail.vue","webpack:///./src/views/shop/news/NewsDetail.vue?bcb9","webpack:///./src/views/shop/news/NewsDetail.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","articleInfo","title","cart_name","add_time","visit","domProps","innerHTML","content","staticRenderFns","NewsDetailvue_type_script_lang_js_","name","components","props","data","watch","$route","to","articleDetails","mounted","methods","updateTitle","document","meta","that","id","params","Object","api_public","then","res","news_NewsDetailvue_type_script_lang_js_","component","componentNormalizer","__webpack_exports__"],"mappings":"uHAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,cAAyB,CAAAF,EAAA,OAAYE,YAAA,SAAoB,CAAAN,EAAAO,GAAAP,EAAAQ,GAAAR,EAAAS,YAAAC,UAAAN,EAAA,OAAoDE,YAAA,4BAAuC,CAAAF,EAAA,OAAYE,YAAA,gCAA2C,CAAAN,EAAAO,GAAA,WAAAP,EAAAQ,GAAAR,EAAAS,YAAAE,WAAA,YAAAP,EAAA,OAA4EE,YAAA,QAAmB,CAAAF,EAAA,QAAaE,YAAA,8BAAwCN,EAAAO,GAAAP,EAAAQ,GAAAR,EAAAS,YAAAG,UAAA,YAAAR,EAAA,OAAgEE,YAAA,QAAmB,CAAAF,EAAA,QAAaE,YAAA,yBAAmCN,EAAAO,GAAAP,EAAAQ,GAAAR,EAAAS,YAAAI,OAAA,cAAAT,EAAA,OAA+DE,YAAA,SAAAQ,SAAA,CAA+BC,UAAAf,EAAAQ,GAAAR,EAAAS,YAAAO,eAC1qBC,EAAA,2BCmBAC,EAAA,CACAC,KAAA,aACAC,WAAA,GACAC,MAAA,GACAC,KAAA,WACA,OACAb,YAAA,KAGAc,MAAA,CACAC,OADA,SACAC,GACA,eAAAA,EAAAN,MAAAlB,KAAAyB,mBAGAC,QAAA,WACA1B,KAAAyB,kBAEAE,QAAA,CACAC,YADA,WAEAC,SAAApB,MAAAT,KAAAQ,YAAAC,OAAAT,KAAAuB,OAAAO,KAAArB,OAEAgB,eAAA,WACA,IAAAM,EAAA/B,KACAgC,EAAAhC,KAAAuB,OAAAU,OAAAD,GACAE,OAAAC,EAAA,KAAAD,CAAAF,GAAAI,KAAA,SAAAC,GACAN,EAAAvB,YAAA6B,EAAAhB,KACAU,EAAAH,mBC9CkXU,EAAA,cCOlXC,EAAgBL,OAAAM,EAAA,KAAAN,CACdI,EACAxC,EACAkB,GACF,EACA,KACA,KACA,MAIeyB,EAAA,WAAAF","file":"h5/js/chunk-2d21af55.212d0cf5.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"newsDetail\"},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.articleInfo.title))]),_c('div',{staticClass:\"list acea-row row-middle\"},[_c('div',{staticClass:\"label cart-color-green line1\"},[_vm._v(\"\\n \"+_vm._s(_vm.articleInfo.cart_name)+\"\\n \")]),_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"iconfont icon-shenhezhong\"}),_vm._v(_vm._s(_vm.articleInfo.add_time)+\"\\n \")]),_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"iconfont icon-liulan\"}),_vm._v(_vm._s(_vm.articleInfo.visit)+\"\\n \")])]),_c('div',{staticClass:\"conter\",domProps:{\"innerHTML\":_vm._s(_vm.articleInfo.content)}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"newsDetail\">\r\n <div class=\"title\">{{ articleInfo.title }}</div>\r\n <div class=\"list acea-row row-middle\">\r\n <div class=\"label cart-color-green line1\">\r\n {{ articleInfo.cart_name }}\r\n </div>\r\n <div class=\"item\">\r\n <span class=\"iconfont icon-shenhezhong\"></span\r\n >{{ articleInfo.add_time }}\r\n </div>\r\n <div class=\"item\">\r\n <span class=\"iconfont icon-liulan\"></span>{{ articleInfo.visit }}\r\n </div>\r\n </div>\r\n <div class=\"conter\" v-html=\"articleInfo.content\"></div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getArticleDetails } from \"@api/public\";\r\nexport default {\r\n name: \"NewsDetail\",\r\n components: {},\r\n props: {},\r\n data: function() {\r\n return {\r\n articleInfo: {}\r\n };\r\n },\r\n watch: {\r\n $route(to) {\r\n if (to.name === \"NewsDetail\") this.articleDetails();\r\n }\r\n },\r\n mounted: function() {\r\n this.articleDetails();\r\n },\r\n methods: {\r\n updateTitle() {\r\n document.title = this.articleInfo.title || this.$route.meta.title;\r\n },\r\n articleDetails: function() {\r\n let that = this,\r\n id = this.$route.params.id;\r\n getArticleDetails(id).then(res => {\r\n that.articleInfo = res.data;\r\n that.updateTitle();\r\n });\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewsDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewsDetail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NewsDetail.vue?vue&type=template&id=216ecab8&\"\nimport script from \"./NewsDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./NewsDetail.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}