1 |
- {"version":3,"sources":["webpack:///./src/views/shop/news/NewsDetail.vue?47af","webpack:///src/views/shop/news/NewsDetail.vue","webpack:///./src/views/shop/news/NewsDetail.vue?bcb9","webpack:///./src/views/shop/news/NewsDetail.vue","webpack:///./src/views/shop/news/NewsDetail.vue?6035","webpack:///./src/assets/images/value.jpg"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","articleInfo","title","cart_name","add_time","visit","domProps","innerHTML","content","_m","staticRenderFns","attrs","src","__webpack_require__","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__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NewsDetail_vue_vue_type_style_index_0_id_01b43b72_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NewsDetail_vue_vue_type_style_index_0_id_01b43b72_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","module","exports","p"],"mappings":"gJAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,cAAyB,CAAAF,EAAA,OAAYE,YAA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,WACA,OACAjB,YAAA,KAGAkB,MAAA,CACAC,OADA,SACAC,GACA,eAAAA,EAAAN,MAAAtB,KAAA6B,mBAGAC,QAAA,WACA9B,KAAA6B,kBAEAE,QAAA,CACAC,YADA,WAEAC,SAAAxB,MAAAT,KAAAQ,YAAAC,OAAAT,KAAA2B,OAAAO,KAAAzB,OAEAoB,eAAA,WACA,IAAAM,EAAAnC,KACAoC,EAAApC,KAAA2B,OAAAU,OAAAD,GACAE,OAAAC,EAAA,KAAAD,CAAAF,GAAAI,KAAA,SAAAC,GACAN,EAAA3B,YAAAiC,EAAAhB,KACAU,EAAAH,mBCtIkXU,EAAA,0BCQlXC,EAAgBL,OAAAM,EAAA,KAAAN,CACdI,EACA5C,EACAmB,GACF,EACA,KACA,WACA,MAIe4B,EAAA,WAAAF,6CCnBf,IAAAG,EAAA1B,EAAA,QAAA2B,EAAA3B,EAAA4B,EAAAF,GAA0gBC,EAAG,wBCA7gBE,EAAAC,QAAiB9B,EAAA+B,EAAuB","file":"h5/js/chunk-ca86a0c6.f59446d0.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 line1\"},[_vm._v(_vm._s(_vm.articleInfo.cart_name))]),_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)}}),_vm._m(0),_c('div',{staticClass:\"bnt bg-color-red\"},[_vm._v(\"和好友一起分享\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"picTxt acea-row row-between-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":require(\"../../../assets/images/value.jpg\")}})]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"name line1\"},[_vm._v(\"严选精品瓷器珐琅搪瓷马克杯\")]),_c('div',{staticClass:\"money font-color-red\"},[_vm._v(\"\\n ¥\"),_c('span',{staticClass:\"num\"},[_vm._v(\"199.00\")])]),_c('div',{staticClass:\"y_money\"},[_vm._v(\"¥200.00\")])]),_c('div',{staticClass:\"label\"},[_c('span',{staticClass:\"span\"},[_vm._v(\"查看商品\")])])])}]\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 line1\">{{ articleInfo.cart_name }}</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 class=\"picTxt acea-row row-between-wrapper\">\r\n <div class=\"pictrue\"><img src=\"../../../assets/images/value.jpg\" /></div>\r\n <div class=\"text\">\r\n <div class=\"name line1\">严选精品瓷器珐琅搪瓷马克杯</div>\r\n <div class=\"money font-color-red\">\r\n ¥<span class=\"num\">199.00</span>\r\n </div>\r\n <div class=\"y_money\">¥200.00</div>\r\n </div>\r\n <div class=\"label\"><span class=\"span\">查看商品</span></div>\r\n </div>\r\n <div class=\"bnt bg-color-red\">和好友一起分享</div>\r\n </div>\r\n</template>\r\n<style scoped>\r\n.newsDetail .picTxt {\r\n width: 6.9rem;\r\n height: 2rem;\r\n border-radius: 0.2rem;\r\n border: 1px solid #e1e1e1;\r\n position: relative;\r\n margin: 0.3rem auto 0 auto;\r\n}\r\n.newsDetail .picTxt .pictrue {\r\n width: 2rem;\r\n height: 2rem;\r\n}\r\n.newsDetail .picTxt .pictrue img {\r\n width: 100%;\r\n height: 100%;\r\n border-radius: 0.2rem 0 0 0.2rem;\r\n display: block;\r\n}\r\n.newsDetail .picTxt .text {\r\n width: 4.6rem;\r\n}\r\n.newsDetail .picTxt .text .name {\r\n font-size: 0.3rem;\r\n color: #282828;\r\n}\r\n.newsDetail .picTxt .text .money {\r\n font-size: 0.24rem;\r\n margin-top: 0.4rem;\r\n font-weight: bold;\r\n}\r\n.newsDetail .picTxt .text .money .num {\r\n font-size: 0.36rem;\r\n}\r\n.newsDetail .picTxt .text .y_money {\r\n font-size: 0.26rem;\r\n color: #999;\r\n text-decoration: line-through;\r\n}\r\n.newsDetail .picTxt .label {\r\n position: absolute;\r\n background-color: #303131;\r\n width: 1.6rem;\r\n height: 0.5rem;\r\n right: -0.07rem;\r\n border-radius: 0.25rem 0 0.06rem 0.25rem;\r\n text-align: center;\r\n line-height: 0.5rem;\r\n bottom: 0.24rem;\r\n}\r\n.newsDetail .picTxt .label .span {\r\n background-image: linear-gradient(to right, #fff71e 0%, #f9b513 100%);\r\n background-image: -webkit-linear-gradient(to right, #fff71e 0%, #f9b513 100%);\r\n background-image: -moz-linear-gradient(to right, #fff71e 0%, #f9b513 100%);\r\n -webkit-background-clip: text;\r\n -webkit-text-fill-color: transparent;\r\n}\r\n.newsDetail .picTxt .label:after {\r\n content: \" \";\r\n position: absolute;\r\n width: 0;\r\n height: 0;\r\n border-bottom: 0.08rem solid #303131;\r\n border-right: 0.08rem solid transparent;\r\n top: -0.08rem;\r\n right: 0;\r\n}\r\n.newsDetail .bnt {\r\n color: #fff;\r\n font-size: 0.3rem;\r\n width: 6.9rem;\r\n height: 0.9rem;\r\n border-radius: 0.45rem;\r\n margin: 0.48rem auto 0 auto;\r\n text-align: center;\r\n line-height: 0.9rem;\r\n}\r\n</style>\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=01b43b72&scoped=true&\"\nimport script from \"./NewsDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./NewsDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./NewsDetail.vue?vue&type=style&index=0&id=01b43b72&scoped=true&lang=css&\"\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 \"01b43b72\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewsDetail.vue?vue&type=style&index=0&id=01b43b72&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewsDetail.vue?vue&type=style&index=0&id=01b43b72&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"h5/img/value.7469f35b.jpg\";"],"sourceRoot":""}
|