You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13.103912f5f85f1f21b0d8.js.map 44 KiB

3 vuotta sitten
1
  1. {"version":3,"sources":["webpack:///static/js/13.103912f5f85f1f21b0d8.js","webpack:///./src/pages/news/newsContent.vue?c653","webpack:///./src/pages/news/newsContent.vue?3622","webpack:///./src/pages/news/newsContent.vue","webpack:///src/pages/news/newsContent.vue","webpack:///./src/pages/news/newsContent.vue?8da6"],"names":["webpackJsonp","Ds2x","module","exports","__webpack_require__","content","i","locals","M/KH","push","version","sources","names","mappings","file","sourcesContent","sourceRoot","ysuy","__webpack_exports__","injectStyle","ssrContext","Object","defineProperty","value","tool","httpService","TopImage","newsContent","name","components","TopImageView","data","id","class_id","create_time","class_name","prev_id","next_id","next_title","prev_title","current_title","current_content","navs","text","query","topImgUrl","mounted","_this","this","$nextTick","initData","methods","getData","param","_this2","then","res","current_news","length","$router","log","news_title","news_class","prev_news","window","scrollTo","next_news","catch","e","look_prev","look_next","Number","$route","isNaN","render","_vm","_h","$createElement","_c","_self","attrs","titleCH","titleEN","_v","staticClass","_s","domProps","innerHTML","on","click","$event","news_id","staticRenderFns","esExports","news_newsContent","normalizeComponent","__vue_styles__","Component"],"mappings":"AAAAA,cAAc,KAERC,KACA,SAAUC,EAAQC,EAASC,GCAjC,GAAAC,GAAAD,EAAA,OACA,iBAAAC,SAAAH,EAAAI,EAAAD,EAAA,MACAA,EAAAE,SAAAL,EAAAC,QAAAE,EAAAE,OAEAH,GAAA,mBAAAC,GAAA,ODSMG,OACA,SAAUN,EAAQC,EAASC,GEjBjCD,EAAAD,EAAAC,QAAAC,EAAA,YAKAD,EAAAM,MAAAP,EAAAI,EAAA,g3GAAu4G,IAAUI,QAAA,EAAAC,SAAA,wEAAAC,SAAAC,SAAA,u9CAAqkDC,KAAA,kBAAAC,gBAAA,i3GAAg6GC,WAAA,OF0Bh3QC,KACA,SAAUf,EAAQgB,EAAqBd,GAE7C,YGlCA,SAAAe,GA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AAA,QAA2CM,YAAA,YAAAJ,OAA+BW,QAAAhB,EAAAtC,WAAuBsC,EAAAQ,GAAAR,EAAAU,GAAAV,EAAArC,kBAAA,IAC3iCsD,KACAC,GAAiBnB,SAAAkB,mBACjBE,EAAA,EFAAC,EAAA3F,EAAA,QASA4F,EAAA7E,EAKA8E,EAAAF,EACApE,EACAmE,GATA,EAWAE,EAPA,KAEA,KAUA9E,GAAA,QAAA+E,EAAA","file":"static/js/13.103912f5f85f1f21b0d8.js","sourcesContent":["webpackJsonp([13],{\n\n/***/ \"Ds2x\":\n/***/ (function(module, exports, __webpack_require__) {\n\n// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(\"M/KH\");\nif(typeof content === 'string') content = [[module.i, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar update = __webpack_require__(\"rjj0\")(\"4cf3d9d4\", content, true, {});\n\n/***/ }),\n\n/***/ \"M/KH\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"FZ+f\")(true);\n// imports\n\n\n// module\nexports.push([module.i, \"\\n@charset \\\"UTF-8\\\";\\nbody, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4, h5, h6, i, b, textarea, button, input, select, figure, figcaption {\\n padding: 0;\\n margin: 0;\\n list-style: none;\\n font-style: normal;\\n text-decoration: none;\\n border: none;\\n font-weight: normal;\\n font-family: Microsoft Yahei,PingFangSC;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n -webkit-tap-highlight-color: transparent;\\n -webkit-font-smoothing: antialiased;\\n}\\nbody:hover, div:hover, span:hover, header:hover, footer:hover, nav:hover, section:hover, aside:hover, article:hover, ul:hover, dl:hover, dt:hover, dd:hover, li:hover, a:hover, p:hover, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover, i:hover, b:hover, textarea:hover, button:hover, input:hover, select:hover, figure:hover, figcaption:hover {\\n outline: none;\\n}\\n.ub {\\n display: -webkit-box;\\n display: -moz-box;\\n position: relative;\\n}\\n/*以反方向显示 div 框的子元素*/\\n.ub-rev {\\n -webkit-box-direction: reverse;\\n}\\n.ub-fh {\\n width: 100%;\\n}\\n.ub-fv {\\n height: 100%;\\n}\\n.ub-con {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n}\\n/*通过使用 box-align and box-pack 属性,居中 div 框的子元素*/\\n.ub-ac {\\n -webkit-box-align: center;\\n -moz-box-align: center;\\n}\\n/*通过使用 box-align and box-pack :end属性,右下 div 框的子元素*/\\n.ub-ae {\\n -webkit-box-align: end;\\n -moz-box-align: end;\\n}\\n.ub-pc {\\n -webkit-box-pack: center;\\n -moz-box-pack: center;\\n}\\n.ub-pe {\\n -webkit-box-pack: end;\\n -moz-box-pack: end;\\n}\\n/*不知道*/\\n.ub-pj {\\n -webkit-box-pack: justify;\\n -moz-box-pack: justify;\\n}\\n/*从上向下垂直排列子元素。*/\\n.ub-ver {\\n -webkit-box-orient: vertical;\\n}\\n/*box-flex主要让子容器针对父容器的宽度按一定规则进行划分*/\\n.ub-f1 {\\n position: relative;\\n -webkit-box-flex: 1;\\n -moz-box-flex: 1;\\n}\\n.ub-f2 {\\n position: relative;\\n -webkit-box-flex: 2;\\n -moz-box-flex: 2;\\n}\\n.ub-f3 {\\n position: relative;\\n -webkit-box-flex: 3;\\n -moz-box-flex: 3;\\n}\\n.ub-f4 {\\n position: relative;\\n -webkit-box-flex: 4;\\n -moz-box-flex: 4;\\n}\\ninput:focus, textarea:focus {\\n outline: none;\\n border-color: #00dac5;\\n}\\n.news_title {\\n width: 880px;\\n margin: 105px auto 0;\\n}\\n.title_type {\\n height: 40px;\\n font-family: PingFangSC;\\n font-size: 28px;\\n font-weight: 500;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: left;\\n}\\n.divide {\\n width: 60px;\\n height: 2px;\\n background-color: #00dac6;\\n margin-top: 14px;\\n}\\n.publish_time {\\n margin-top: 20px;\\n color: #999999;\\n}\\n.publish_time span {\\n height: 17px;\\n font-family: PingFangSC;\\n font-size: 12px;\\n font-weight: normal;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: center;\\n}\\n.news_content {\\n width: 880px;\\n margin: 64px auto 42px;\\n}\\n.prev_news, .next_news {\\n width: 880px;\\n margin: 0 auto;\\n}\\n.prev_news .next_name:hover, .prev_news .prev_name:hover, .next_news .next_name:hover, .next_news .prev_name:hover {\\n color: #00dac5;\\n}\\n.next_news {\\n margin-top: 10px;\\n margin-bottom: 85px;\\n}\\n.prev_news span, .next_news span {\\n cursor: pointer;\\n color: #666666;\\n height: 20px;\\n font-family: PingFangSC;\\n font-size: 14px;\\n font-weight: 500;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: left;\\n}\\n\", \"\", {\"version\":3,\"sources\":[\"C:/zhizhu/new_website/officialWebsite/src/pages/news/newsContent.vue\"],\"names\":[],\"mappings\":\";AACA,iBAAiB;AACjB;EACE,WAAW;EACX,UAAU;EACV,iBAAiB;EACjB,mBAAmB;EACnB,sBAAsB;EACtB,aAAa;EACb,oBAAoB;EACpB,wCAAwC;EACxC,+BAA+B;UACvB,uBAAuB;EAC/B,yCAAyC;EACzC,oCAAoC;CACrC;AACD;IACI,cAAc;CACjB;AACD;EACE,qBAAqB;EACrB,kBAAkB;EAClB,mBAAmB;CACpB;AACD,oBAAoB;AACpB;EACE,+BAA+B;CAChC;AACD;EACE,YAAY;CACb;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,aAAa;CACd;AACD,+CAA+C;AAC/C;EACE,0BAA0B;EAC1B,uBAAuB;CACxB;AACD,mDAAmD;AACnD;EACE,uBAAuB;EACvB,oBAAoB;CACrB;AACD;EACE,yBAAyB;EACzB,sBAAsB;CACvB;AACD;EACE,sBAAsB;EACtB,mBAAmB;CACpB;AACD,OAAO;AACP;EACE,0BAA0B;EAC1B,uBAAuB;CACxB;AACD,gBAAgB;AAChB;EACE,6BAA6B;CAC9B;AACD,mCAAmC;AACnC;EACE,mBAAmB;EACnB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;EACE,cAAc;EACd,sBAAsB;CACvB;AACD;EACE,aAAa;EACb,qBAAqB;CACtB;AACD;EACE,aAAa;EACb,wBAAwB;EACxB,gBAAgB;EAChB,iBAAiB;EACjB,mBAAmB;EACnB,qBAAqB;EACrB,oBAAoB;EACpB,uBAAuB;EACvB,iBAAiB;CAClB;AACD;EACE,YAAY;EACZ,YAAY;EACZ,0BAA0B;EAC1B,iBAAiB;CAClB;AACD;EACE,iBAAiB;EACjB,eAAe;CAChB;AACD;EACE,aAAa;EACb,wBAAwB;EACxB,gBAAgB;EAChB,oBAAoB;EACpB,mBAAmB;EACnB,qBAAqB;EACrB,oBAAoB;EACpB,uBAAuB;EACvB,mBAAmB;CACpB;AACD;EACE,aAAa;EACb,uBAAuB;CACxB;AACD;EACE,aAAa;EACb,eAAe;CAChB;AACD;IACI,eAAe;CAClB;AACD;EACE,iBAAiB;EACjB,oBAAoB;CACrB;AACD;EACE,gBAAgB;EAChB,eAAe;EACf,aAAa;EACb,wBAAwB;EACxB,gBAAgB;EAChB,iBAAiB;EACjB,mBAAmB;EACnB,qBAAqB;EACrB,oBAAoB;EACpB,uBAAuB;EACvB,iBAAiB;CAClB\",\"file\":\"newsContent.vue\",\"sourcesContent\":[\"\\n@charset \\\"UTF-8\\\";\\nbody, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4, h5, h6, i, b, textarea, button, input, select, figure, figcaption {\\n padding: 0;\\n margin: 0;\\n list-style: none;\\n font-style: normal;\\n text-decoration: none;\\n border: none;\\n font-weight: normal;\\n font-family: Microsoft Yahei,PingFangSC;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n -webkit-tap-highlight-color: transparent;\\n -webkit-font-smoothing: antialiased;\\n}\\nbody:hover, div:hover, span:hover, header:hover, footer:hover, nav:hover, section:hover, aside:hover, article:hover, ul:hover, dl:hover, dt:hover, dd:hover, li:hover, a:hover, p:hover, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover, i:hover, b:hover, textarea:hover, button:hover, input:hover, select:hover, figure:hover, figcaption:hover {\\n outline: none;\\n}\\n.ub {\\n display: -webkit-box;\\n display: -moz-box;\\n position: relative;\\n}\\n/*以反方向显示 div 框的子元素*/\\n.ub-rev {\\n -webkit-box-direction: reverse;\\n}\\n.ub-fh {\\n width: 100%;\\n}\\n.ub-fv {\\n height: 100%;\\n}\\n.ub-con {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n}\\n/*通过使用 box-align and box-pack 属性,居中 div 框的子元素*/\\n.ub-ac {\\n -webkit-box-align: center;\\n -moz-box-align: center;\\n}\\n/*通过使用 box-align and box-pack :end属性,右下 div 框的子元素*/\\n.ub-ae {\\n -webkit-box-align: end;\\n -moz-box-align: end;\\n}\\n.ub-pc {\\n -webkit-box-pack: center;\\n -moz-box-pack: center;\\n}\\n.ub-pe {\\n -webkit-box-pack: end;\\n -moz-box-pack: end;\\n}\\n/*不知道*/\\n.ub-pj {\\n -webkit-box-pack: justify;\\n -moz-box-pack: justify;\\n}\\n/*从上向下垂直排列子元素。*/\\n.ub-ver {\\n -webkit-box-orient: vertical;\\n}\\n/*box-flex主要让子容器针对父容器的宽度按一定规则进行划分*/\\n.ub-f1 {\\n position: relative;\\n -webkit-box-flex: 1;\\n -moz-box-flex: 1;\\n}\\n.ub-f2 {\\n position: relative;\\n -webkit-box-flex: 2;\\n -moz-box-flex: 2;\\n}\\n.ub-f3 {\\n position: relative;\\n -webkit-box-flex: 3;\\n -moz-box-flex: 3;\\n}\\n.ub-f4 {\\n position: relative;\\n -webkit-box-flex: 4;\\n -moz-box-flex: 4;\\n}\\ninput:focus, textarea:focus {\\n outline: none;\\n border-color: #00dac5;\\n}\\n.news_title {\\n width: 880px;\\n margin: 105px auto 0;\\n}\\n.title_type {\\n height: 40px;\\n font-family: PingFangSC;\\n font-size: 28px;\\n font-weight: 500;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: left;\\n}\\n.divide {\\n width: 60px;\\n height: 2px;\\n background-color: #00dac6;\\n margin-top: 14px;\\n}\\n.publish_time {\\n margin-top: 20px;\\n color: #999999;\\n}\\n.publish_time span {\\n height: 17px;\\n font-family: PingFangSC;\\n font-size: 12px;\\n font-weight: normal;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: center;\\n}\\n.news_content {\\n width: 880px;\\n margin: 64px auto 42px;\\n}\\n.prev_news, .next_news {\\n width: 880px;\\n margin: 0 auto;\\n}\\n.prev_news .next_name:hover, .prev_news .prev_name:hover, .next_news .next_name:hover, .next_news .prev_name:hover {\\n color: #00dac5;\\n}\\n.next_news {\\n margin-top: 10px;\\n margin-bottom: 85px;\\n}\\n.prev_news span, .next_news span {\\n cursor: pointer;\\n color: #666666;\\n height: 20px;\\n font-family: PingFangSC;\\n font-size: 14px;\\n font-weight: 500;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: left;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"ysuy\":\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n// EXTERNAL MODULE: ./src/config/mUtil/tool.js + 1 modules\nvar tool = __webpack_require__(\"qedb\");\n\n// EXTERNAL MODULE: ./src/service/httpService.js\nvar httpService = __webpack_require__(\"r47a\");\n\n// EXTERNAL MODULE: ./src/common/TopImage.vue + 2 modules\nvar TopImage = __webpack_require__(\"EJ8P\");\n\n// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/news/newsContent.vue\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/* harmony default export */ var newsContent = ({\n name: \"newsContent\",\n components: {\n TopImageView: TopImage[\"a\" /* default */]\n },\n data: function data() {\n return {\n id: 1,\n class_id: 1,\n create_time: '',\n class_name: '媒体报道',\n prev_id: 0,\n next_id: 0,\n next_title: \"没有了\",\n prev_title: \"没有了\",\n current_title: '',\n current_content: '',\n navs: [{\n text: \"网站首页\",\n name: \"home\",\n query: {}\n }, {\n text: \"新闻中心\",\n name: \"news\",\n query: {}\n }, {\n text: '媒体报道',\n name: \"news\",\n query: {}\n }, {\n text: '',\n name: '',\n query: {}\n }],\n topImgUrl: \"static/image/news/news_banner.jpg\"\n };\n },\n mounted: function mounted() {\n var _this = this;\n\n this.$nextTick(function () {\n _this.initData();\n });\n },\n\n methods: {\n getData: function getData(param) {\n var _this2 = this;\n\n Object(httpService[\"i\" /* newsContent */])(param).then(function (res) {\n if (res.data.current_news.length === 0) {\n _this2.$router.push({\n name: 'news'\n });\n return;\n }\n tool[\"a\" /* default */].log(res.data.current_news);\n _this2.class_id = res.data.current_news[0].class_id;\n _this2.create_time = res.data.current_news[0].create_time;\n if (_this2.class_id === 1) {\n _this2.class_name = '公司新闻';\n } else if (_this2.class_id === 2) {\n _this2.class_name = '媒体报道';\n } else if (_this2.class_id === 3) {\n _this2.class_name = '行业动态';\n }\n _this2.current_title = res.data.current_news[0].news_title;\n _this2.current_content = res.data.current_news[0].content;\n _this2.navs[2].text = _this2.class_name;\n _this2.navs[2].query = { 'news_class': _this2.class_id };\n _this2.navs[3].text = _this2.current_title;\n if (res.data.prev_news.length > 0) {\n window.scrollTo(0, 400);\n _this2.prev_id = res.data.prev_news[0].id;\n _this2.prev_title = res.data.prev_news[0].news_title;\n } else {\n _this2.prev_id = 0;\n _this2.prev_title = '没有了';\n }\n if (res.data.next_news.length > 0) {\n window.scrollTo(0, 400);\n _this2.next_id = res.data.next_news[0].id;\n _this2.next_title = res.data.next_news[0].news_title;\n } else {\n _this2.next_id = 0;\n _this2.next_title = '没有了';\n }\n }).catch(function (e) {\n tool[\"a\" /* default */].log(e);\n });\n },\n look_prev: function look_prev() {\n if (this.prev_id === 0) {\n return;\n } else {\n this.id = this.prev_id;\n tool[\"a\" /* default */].log(this.id);\n var param = { 'id': this.id };\n this.getData(param);\n }\n },\n look_next: function look_next() {\n if (this.next_id === 0) {\n return;\n } else {\n this.id = this.next_id;\n tool[\"a\" /* default */].log(this.id);\n var param = { 'id': this.id };\n this.getData(param);\n }\n },\n initData: function initData() {\n this.id = Number(this.$route.query.id);\n if (isNaN(this.id)) {\n this.$router.push({\n name: 'news'\n });\n }\n var param = { 'id': this.id };\n this.getData(param);\n }\n }\n});\n// CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-2bffb20a\",\"hasScoped\":false,\"transformToRequire\":{\"video\":\"src\",\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/news/newsContent.vue\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('top-image-view',{attrs:{\"topImgUrl\":_vm.topImgUrl,\"titleCH\":\"新闻动态\",\"titleEN\":\"Information\",\"navs\":_vm.navs}}),_vm._v(\" \"),_c('div',{staticClass:\"news_title\"},[_c('span',{staticClass:\"title_type\"},[_vm._v(_vm._s(_vm.current_title))]),_vm._v(\" \"),_c('div',{staticClass:\"divide\"}),_vm._v(\" \"),_c('div',{staticClass:\"publish_time\"},[_c('span',[_vm._v(\"发布时间:    \")]),_c('span',{staticClass:\"title_time\"},[_vm._v(_vm._s(_vm.create_time))])])]),_vm._v(\" \"),_c('div',{staticClass:\"news_content\",domProps:{\"innerHTML\":_vm._s(_vm.current_content)}}),_vm._v(\" \"),_c('div',{staticClass:\"prev_news\",on:{\"click\":function($event){_vm.look_prev()}}},[_c('span',[_vm._v(\"上一篇:  \")]),_c('span',{staticClass:\"prev_name\",attrs:{\"news_id\":_vm.prev_id}},[_vm._v(_vm._s(_vm.prev_title))])]),_vm._v(\" \"),_c('div',{staticClass:\"next_news\",on:{\"click\":function($event){_vm.look_next()}}},[_c('span',[_vm._v(\"下一篇:  \")]),_c('span',{staticClass:\"next_name\",attrs:{\"news_id\":_vm.next_id}},[_vm._v(_vm._s(_vm.next_title))])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\n/* harmony default export */ var news_newsContent = (esExports);\n// CONCATENATED MODULE: ./src/pages/news/newsContent.vue\nfunction injectStyle (ssrContext) {\n __webpack_require__(\"Ds2x\")\n}\nvar normalizeComponent = __webpack_require__(\"VU/8\")\n/* script */\n\n\n/* template */\n\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n newsContent,\n news_newsContent,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\n/* harmony default export */ var pages_news_newsContent = __webpack_exports__[\"default\"] = (Component.exports);\n\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/13.103912f5f85f1f21b0d8.js","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/index.js?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index.js?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-2bffb20a\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../node_modules/sass-loader/lib/loader.js?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./newsContent.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar update = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\")(\"4cf3d9d4\", content, true, {});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/extract-text-webpack-plugin/dist/loader.js?{\"omit\":1,\"remove\":true}!./node_modules/vue-style-loader!./node_modules/css-loader?{\"sourceMap\":true}!./node_modules/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-2bffb20a\",\"scoped\":false,\"hasInlineConfig\":false}!./node_modules/sass-loader/lib/loader.js?{\"sourceMap\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/pages/news/newsContent.vue\n// module id = Ds2x\n// module chunks = 13","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"\\n@charset \\\"UTF-8\\\";\\nbody, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4, h5, h6, i, b, textarea, button, input, select, figure, figcaption {\\n padding: 0;\\n margin: 0;\\n list-style: none;\\n font-style: normal;\\n text-decoration: none;\\n border: none;\\n font-weight: normal;\\n font-family: Microsoft Yahei,PingFangSC;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n -webkit-tap-highlight-color: transparent;\\n -webkit-font-smoothing: antialiased;\\n}\\nbody:hover, div:hover, span:hover, header:hover, footer:hover, nav:hover, section:hover, aside:hover, article:hover, ul:hover, dl:hover, dt:hover, dd:hover, li:hover, a:hover, p:hover, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover, i:hover, b:hover, textarea:hover, button:hover, input:hover, select:hover, figure:hover, figcaption:hover {\\n outline: none;\\n}\\n.ub {\\n display: -webkit-box;\\n display: -moz-box;\\n position: relative;\\n}\\n/*以反方向显示 div 框的子元素*/\\n.ub-rev {\\n -webkit-box-direction: reverse;\\n}\\n.ub-fh {\\n width: 100%;\\n}\\n.ub-fv {\\n height: 100%;\\n}\\n.ub-con {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n}\\n/*通过使用 box-align and box-pack 属性,居中 div 框的子元素*/\\n.ub-ac {\\n -webkit-box-align: center;\\n -moz-box-align: center;\\n}\\n/*通过使用 box-align and box-pack :end属性,右下 div 框的子元素*/\\n.ub-ae {\\n -webkit-box-align: end;\\n -moz-box-align: end;\\n}\\n.ub-pc {\\n -webkit-box-pack: center;\\n -moz-box-pack: center;\\n}\\n.ub-pe {\\n -webkit-box-pack: end;\\n -moz-box-pack: end;\\n}\\n/*不知道*/\\n.ub-pj {\\n -webkit-box-pack: justify;\\n -moz-box-pack: justify;\\n}\\n/*从上向下垂直排列子元素。*/\\n.ub-ver {\\n -webkit-box-orient: vertical;\\n}\\n/*box-flex主要让子容器针对父容器的宽度按一定规则进行划分*/\\n.ub-f1 {\\n position: relative;\\n -webkit-box-flex: 1;\\n -moz-box-flex: 1;\\n}\\n.ub-f2 {\\n position: relative;\\n -webkit-box-flex: 2;\\n -moz-box-flex: 2;\\n}\\n.ub-f3 {\\n position: relative;\\n -webkit-box-flex: 3;\\n -moz-box-flex: 3;\\n}\\n.ub-f4 {\\n position: relative;\\n -webkit-box-flex: 4;\\n -moz-box-flex: 4;\\n}\\ninput:focus, textarea:focus {\\n outline: none;\\n border-color: #00dac5;\\n}\\n.news_title {\\n width: 880px;\\n margin: 105px auto 0;\\n}\\n.title_type {\\n height: 40px;\\n font-family: PingFangSC;\\n font-size: 28px;\\n font-weight: 500;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: left;\\n}\\n.divide {\\n width: 60px;\\n height: 2px;\\n background-color: #00dac6;\\n margin-top: 14px;\\n}\\n.publish_time {\\n margin-top: 20px;\\n color: #999999;\\n}\\n.publish_time span {\\n height: 17px;\\n font-family: PingFangSC;\\n font-size: 12px;\\n font-weight: normal;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: center;\\n}\\n.news_content {\\n width: 880px;\\n margin: 64px auto 42px;\\n}\\n.prev_news, .next_news {\\n width: 880px;\\n margin: 0 auto;\\n}\\n.prev_news .next_name:hover, .prev_news .prev_name:hover, .next_news .next_name:hover, .next_news .prev_name:hover {\\n color: #00dac5;\\n}\\n.next_news {\\n margin-top: 10px;\\n margin-bottom: 85px;\\n}\\n.prev_news span, .next_news span {\\n cursor: pointer;\\n color: #666666;\\n height: 20px;\\n font-family: PingFangSC;\\n font-size: 14px;\\n font-weight: 500;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: left;\\n}\\n\", \"\", {\"version\":3,\"sources\":[\"C:/zhizhu/new_website/officialWebsite/src/pages/news/newsContent.vue\"],\"names\":[],\"mappings\":\";AACA,iBAAiB;AACjB;EACE,WAAW;EACX,UAAU;EACV,iBAAiB;EACjB,mBAAmB;EACnB,sBAAsB;EACtB,aAAa;EACb,oBAAoB;EACpB,wCAAwC;EACxC,+BAA+B;UACvB,uBAAuB;EAC/B,yCAAyC;EACzC,oCAAoC;CACrC;AACD;IACI,cAAc;CACjB;AACD;EACE,qBAAqB;EACrB,kBAAkB;EAClB,mBAAmB;CACpB;AACD,oBAAoB;AACpB;EACE,+BAA+B;CAChC;AACD;EACE,YAAY;CACb;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,aAAa;CACd;AACD,+CAA+C;AAC/C;EACE,0BAA0B;EAC1B,uBAAuB;CACxB;AACD,mDAAmD;AACnD;EACE,uBAAuB;EACvB,oBAAoB;CACrB;AACD;EACE,yBAAyB;EACzB,sBAAsB;CACvB;AACD;EACE,sBAAsB;EACtB,mBAAmB;CACpB;AACD,OAAO;AACP;EACE,0BAA0B;EAC1B,uBAAuB;CACxB;AACD,gBAAgB;AAChB;EACE,6BAA6B;CAC9B;AACD,mCAAmC;AACnC;EACE,mBAAmB;EACnB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;EACE,cAAc;EACd,sBAAsB;CACvB;AACD;EACE,aAAa;EACb,qBAAqB;CACtB;AACD;EACE,aAAa;EACb,wBAAwB;EACxB,gBAAgB;EAChB,iBAAiB;EACjB,mBAAmB;EACnB,qBAAqB;EACrB,oBAAoB;EACpB,uBAAuB;EACvB,iBAAiB;CAClB;AACD;EACE,YAAY;EACZ,YAAY;EACZ,0BAA0B;EAC1B,iBAAiB;CAClB;AACD;EACE,iBAAiB;EACjB,eAAe;CAChB;AACD;EACE,aAAa;EACb,wBAAwB;EACxB,gBAAgB;EAChB,oBAAoB;EACpB,mBAAmB;EACnB,qBAAqB;EACrB,oBAAoB;EACpB,uBAAuB;EACvB,mBAAmB;CACpB;AACD;EACE,aAAa;EACb,uBAAuB;CACxB;AACD;EACE,aAAa;EACb,eAAe;CAChB;AACD;IACI,eAAe;CAClB;AACD;EACE,iBAAiB;EACjB,oBAAoB;CACrB;AACD;EACE,gBAAgB;EAChB,eAAe;EACf,aAAa;EACb,wBAAwB;EACxB,gBAAgB;EAChB,iBAAiB;EACjB,mBAAmB;EACnB,qBAAqB;EACrB,oBAAoB;EACpB,uBAAuB;EACvB,iBAAiB;CAClB\",\"file\":\"newsContent.vue\",\"sourcesContent\":[\"\\n@charset \\\"UTF-8\\\";\\nbody, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4, h5, h6, i, b, textarea, button, input, select, figure, figcaption {\\n padding: 0;\\n margin: 0;\\n list-style: none;\\n font-style: normal;\\n text-decoration: none;\\n border: none;\\n font-weight: normal;\\n font-family: Microsoft Yahei,PingFangSC;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n -webkit-tap-highlight-color: transparent;\\n -webkit-font-smoothing: antialiased;\\n}\\nbody:hover, div:hover, span:hover, header:hover, footer:hover, nav:hover, section:hover, aside:hover, article:hover, ul:hover, dl:hover, dt:hover, dd:hover, li:hover, a:hover, p:hover, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover, i:hover, b:hover, textarea:hover, button:hover, input:hover, select:hover, figure:hover, figcaption:hover {\\n outline: none;\\n}\\n.ub {\\n display: -webkit-box;\\n display: -moz-box;\\n position: relative;\\n}\\n/*以反方向显示 div 框的子元素*/\\n.ub-rev {\\n -webkit-box-direction: reverse;\\n}\\n.ub-fh {\\n width: 100%;\\n}\\n.ub-fv {\\n height: 100%;\\n}\\n.ub-con {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n}\\n/*通过使用 box-align and box-pack 属性,居中 div 框的子元素*/\\n.ub-ac {\\n -webkit-box-align: center;\\n -moz-box-align: center;\\n}\\n/*通过使用 box-align and box-pack :end属性,右下 div 框的子元素*/\\n.ub-ae {\\n -webkit-box-align: end;\\n -moz-box-align: end;\\n}\\n.ub-pc {\\n -webkit-box-pack: center;\\n -moz-box-pack: center;\\n}\\n.ub-pe {\\n -webkit-box-pack: end;\\n -moz-box-pack: end;\\n}\\n/*不知道*/\\n.ub-pj {\\n -webkit-box-pack: justify;\\n -moz-box-pack: justify;\\n}\\n/*从上向下垂直排列子元素。*/\\n.ub-ver {\\n -webkit-box-orient: vertical;\\n}\\n/*box-flex主要让子容器针对父容器的宽度按一定规则进行划分*/\\n.ub-f1 {\\n position: relative;\\n -webkit-box-flex: 1;\\n -moz-box-flex: 1;\\n}\\n.ub-f2 {\\n position: relative;\\n -webkit-box-flex: 2;\\n -moz-box-flex: 2;\\n}\\n.ub-f3 {\\n position: relative;\\n -webkit-box-flex: 3;\\n -moz-box-flex: 3;\\n}\\n.ub-f4 {\\n position: relative;\\n -webkit-box-flex: 4;\\n -moz-box-flex: 4;\\n}\\ninput:focus, textarea:focus {\\n outline: none;\\n border-color: #00dac5;\\n}\\n.news_title {\\n width: 880px;\\n margin: 105px auto 0;\\n}\\n.title_type {\\n height: 40px;\\n font-family: PingFangSC;\\n font-size: 28px;\\n font-weight: 500;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: left;\\n}\\n.divide {\\n width: 60px;\\n height: 2px;\\n background-color: #00dac6;\\n margin-top: 14px;\\n}\\n.publish_time {\\n margin-top: 20px;\\n color: #999999;\\n}\\n.publish_time span {\\n height: 17px;\\n font-family: PingFangSC;\\n font-size: 12px;\\n font-weight: normal;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: center;\\n}\\n.news_content {\\n width: 880px;\\n margin: 64px auto 42px;\\n}\\n.prev_news, .next_news {\\n width: 880px;\\n margin: 0 auto;\\n}\\n.prev_news .next_name:hover, .prev_news .prev_name:hover, .next_news .next_name:hover, .next_news .prev_name:hover {\\n color: #00dac5;\\n}\\n.next_news {\\n margin-top: 10px;\\n margin-bottom: 85px;\\n}\\n.prev_news span, .next_news span {\\n cursor: pointer;\\n color: #666666;\\n height: 20px;\\n font-family: PingFangSC;\\n font-size: 14px;\\n font-weight: 500;\\n font-style: normal;\\n font-stretch: normal;\\n line-height: normal;\\n letter-spacing: normal;\\n text-align: left;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-loader?{\"sourceMap\":true}!./node_modules/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-2bffb20a\",\"scoped\":false,\"hasInlineConfig\":false}!./node_modules/sass-loader/lib/loader.js?{\"sourceMap\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/pages/news/newsContent.vue\n// module id = M/KH\n// module chunks = 13","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-2bffb20a\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./newsContent.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./newsContent.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./newsContent.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2bffb20a\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":\\\"src\\\",\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./newsContent.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/news/newsContent.vue\n// module id = null\n// module chunks = ","<template>\n <div>\n <top-image-view :topImgUrl=\"topImgUrl\" titleCH=\"新闻动态\" titleEN=\"Information\" :navs=\"navs\"></top-image-view>\n <div class=\"news_title\">\n <span class=\"title_type\">{{current_title}}</span>\n <div class=\"divide\"></div>\n <div class=\"publish_time\"><span>发布时间:&nbsp;&nbsp;&nbsp;&nbsp;</span><span\n class=\"title_time\">{{create_time}}</span></div>\n </div>\n <div class=\"news_content\" v-html=\"current_content\"></div>\n <div class=\"prev_news\" @click=\"look_prev()\">\n <span>上一篇:&nbsp;&nbsp;</span><span class=\"prev_name\" :news_id=\"prev_id\">{{prev_title}}</span>\n </div>\n <div class=\"next_news\" @click=\"look_next()\">\n <span>下一篇:&nbsp;&nbsp;</span><span class=\"next_name\" :news_id=\"next_id\">{{next_title}}</span>\n </div>\n </div>\n</template>\n\n<script>\n import tool from './../../config/mUtil/tool'\n import {newsContent} from '../../service/httpService'\n import TopImageView from '../../common/TopImage.vue'\n\n export default {\n name: \"newsContent\",\n components: {\n TopImageView\n },\n data() {\n return {\n id: 1,\n class_id: 1,\n create_time: '',\n class_name: '媒体报道',\n prev_id: 0,\n next_id: 0,\n next_title: \"没有了\",\n prev_title: \"没有了\",\n current_title: '',\n current_content: '',\n navs:[{\n text:\"网站首页\",\n name:\"home\",\n query:{}\n },{\n text:\"新闻中心\",\n name:\"news\",\n query:{}\n },{\n text:'媒体报道',\n name:\"news\",\n query:{}\n },{\n text:'',\n name:'',\n query:{}\n }\n ],\n topImgUrl:\"static/image/news/news_banner.jpg\",\n }\n },\n mounted() {\n this.$nextTick(() => {\n this.initData();\n })\n },\n methods: {\n getData(param) {\n newsContent(param).then(res => {\n if (res.data.current_news.length === 0) {\n this.$router.push({\n name: 'news',\n });\n return;\n }\n tool.log(res.data.current_news);\n this.class_id = res.data.current_news[0].class_id;\n this.create_time = res.data.current_news[0].create_time;\n if (this.class_id === 1) {\n this.class_name = '公司新闻';\n } else if (this.class_id === 2) {\n this.class_name = '媒体报道';\n } else if (this.class_id === 3) {\n this.class_name = '行业动态';\n }\n this.current_title = res.data.current_news[0].news_title;\n this.current_content = res.data.current_news[0].content;\n this.navs[2].text = this.class_name;\n this.navs[2].query = {'news_class':this.class_id};\n this.navs[3].text = this.current_title;\n if (res.data.prev_news.length > 0) {\n window.scrollTo(0,400);\n this.prev_id = res.data.prev_news[0].id;\n this.prev_title = res.data.prev_news[0].news_title;\n } else {\n this.prev_id = 0;\n this.prev_title = '没有了';\n }\n if (res.data.next_news.length > 0) {\n window.scrollTo(0,400);\n this.next_id = res.data.next_news[0].id;\n this.next_title = res.data.next_news[0].news_title;\n } else {\n this.next_id = 0;\n this.next_title = '没有了';\n }\n }).catch(e => {\n tool.log(e);\n })\n },\n look_prev() {\n if (this.prev_id === 0) {\n return;\n } else {\n this.id = this.prev_id;\n tool.log(this.id);\n let param = {'id': this.id};\n this.getData(param);\n }\n },\n look_next() {\n if (this.next_id === 0) {\n return;\n } else {\n this.id = this.next_id;\n tool.log(this.id);\n let param = {'id': this.id};\n this.getData(param);\n }\n },\n initData() {\n this.id = Number(this.$route.query.id);\n if (isNaN(this.id)) {\n this.$router.push({\n name: 'news',\n })\n }\n let param = {'id': this.id};\n this.getData(param);\n }\n }\n }\n</script>\n\n<style lang=\"scss\" type=\"text/scss\">\n @import \"../../style/mixin\";\n .news_title {\n width: 880px;\n margin: 105px auto 0;\n }\n\n .title_type {\n height: 40px;\n font-family: PingFangSC;\n font-size: 28px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n text-align: left;\n }\n\n .divide {\n width: 60px;\n height: 2px;\n background-color: #00dac6;\n margin-top: 14px;\n }\n\n .publish_time {\n margin-top: 20px;\n color: #999999;\n }\n\n .publish_time span {\n height: 17px;\n font-family: PingFangSC;\n font-size: 12px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n text-align: center;\n }\n\n .news_content {\n width: 880px;\n margin: 64px auto 42px;\n }\n\n .prev_news, .next_news {\n width: 880px;\n margin: 0 auto;\n .next_name,.prev_name{\n &:hover{\n color:$mainBlue\n }\n }\n }\n\n .next_news {\n margin-top: 10px;\n margin-bottom: 85px;\n }\n\n .prev_news span, .next_news span {\n cursor: pointer;\n color: #666666;\n height: 20px;\n font-family: PingFangSC;\n font-size: 14px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n text-align: left;\n }\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/pages/news/newsContent.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('top-image-view',{attrs:{\"topImgUrl\":_vm.topImgUrl,\"titleCH\":\"新闻动态\",\"titleEN\":\"Information\",\"navs\":_vm.navs}}),_vm._v(\" \"),_c('div',{staticClass:\"news_title\"},[_c('span',{staticClass:\"title_type\"},[_vm._v(_vm._s(_vm.current_title))]),_vm._v(\" \"),_c('div',{staticClass:\"divide\"}),_vm._v(\" \"),_c('div',{staticClass:\"publish_time\"},[_c('span',[_vm._v(\"发布时间:    \")]),_c('span',{staticClass:\"title_time\"},[_vm._v(_vm._s(_vm.create_time))])])]),_vm._v(\" \"),_c('div',{staticClass:\"news_content\",domProps:{\"innerHTML\":_vm._s(_vm.current_content)}}),_vm._v(\" \"),_c('div',{staticClass:\"prev_news\",on:{\"click\":function($event){_vm.look_prev()}}},[_c('span',[_vm._v(\"上一篇:  \")]),_c('span',{staticClass:\"prev_name\",attrs:{\"news_id\":_vm.prev_id}},[_vm._v(_vm._s(_vm.prev_title))])]),_vm._v(\" \"),_c('div',{staticClass:\"next_news\",on:{\"click\":function($event){_vm.look_next()}}},[_c('span',[_vm._v(\"下一篇:  \")]),_c('span',{staticClass:\"next_name\",attrs:{\"news_id\":_vm.next_id}},[_vm._v(_vm._s(_vm.next_title))])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-2bffb20a\",\"hasScoped\":false,\"transformToRequire\":{\"video\":\"src\",\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/news/newsContent.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}