iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://www.csindex.com.cn/static/js/chunk-55f8c8b8.8e9d9bd2.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-55f8c8b8"],{"6ba5":function(t,s,e){"use strict";e.r(s);var n=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("m-breadcrumb",{attrs:{title:"正文"}}),e("div",{staticClass:"main-w mt80 pb120"},[e("h1",{staticClass:"w center"},[t._v(t._s(t.news.title))]),t.news.title?e("div",{staticClass:"sub-info mt40"},[t._v(" "+t._s(t.$t("newsroom.detail.date"))+t._s(t.news.publishDate)+" "),e("span",{staticClass:"ml30"},[t._v(t._s(t.$t("newsroom.detail.source"))+t._s(t.news.contentSource))]),e("vue-qr",{staticStyle:{display:"none"},attrs:{text:t.location.href,callback:t.setQrCode,qid:"testid",width:"108",margin:0}}),e("div",{staticClass:"co-box"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.qrcodeVisible,expression:"qrcodeVisible"}],staticClass:"qrcode-wrapper"},[e("span",{staticClass:"qrcode-arrow"}),e("img",{staticClass:"qrcode",attrs:{src:t.qrcode,alt:""}}),e("span",{staticClass:"qrcode-text"},[t._v("用微信扫描二维码")])]),e("a",{staticClass:"share weixin",on:{mouseleave:function(s){t.qrcodeVisible=!1},mouseenter:function(s){t.qrcodeVisible=!0}}},[e("span",{staticClass:"layer"}),e("i",{staticClass:"iconfont iconweixin"})]),e("a",{staticClass:"share kongjian",on:{click:function(s){return t.shareTo("qzone")}}},[e("span",{staticClass:"layer"}),e("i",{staticClass:"iconfont iconkongjian"})]),e("a",{staticClass:"share weibo",on:{click:function(s){return t.shareTo("sina")}}},[e("span",{staticClass:"layer"}),e("i",{staticClass:"iconfont iconweibo"})]),e("a",{staticClass:"share qq",on:{click:function(s){return t.shareTo("qq")}}},[e("span",{staticClass:"layer"}),e("i",{staticClass:"iconfont iconqq"})])])],1):t._e(),e("div",{staticClass:"content-wrap w center",domProps:{innerHTML:t._s(t.news.content)}})])],1)},i=[],a=e("fda6"),o=e("658f"),c=e.n(o),l=e("c36a"),r={data:function(){return{newsId:this.$route.query.id,news:{id:null,publishDate:null,title:null,content:null,contentSource:null,enclosureList:[],imgList:[]},qrcode:void 0,qrcodeVisible:!1,location:location}},components:{VueQr:c.a},methods:{getNewsDetail:function(){var t=this,s=this.newsId;Object(a["b"])({id:s}).then((function(s){console.log(s),console.log("newsDetail--",s);var e=s.data,n=e.postTitle,i=e.postPushDate,a=e.postSource,o=e.postContent,c={title:n,publishDate:i,contentSource:a,content:o};t.news=c})).catch((function(t){console.log("newsDetail err--",t)}))},setQrCode:function(t){this.qrcode=t},shareTo:function(t){var s=this.news.title,e=encodeURIComponent(location.href);"qzone"==t&&l["a"].sharetoqqzone(s,e),"qq"==t&&l["a"].sharetoqq(s,e),"sina"==t&&l["a"].sharetosina(s,e)}},created:function(){this.getNewsDetail()},mounted:function(){},watch:{$route:function(){this.newsId=this.$route.query.id},newsId:function(t,s){this.getNewsDetail()}}},u=r,d=(e("ec9f"),e("0c7c")),w=Object(d["a"])(u,n,i,!1,null,null,null);s["default"]=w.exports},c915:function(t,s,e){},ec9f:function(t,s,e){"use strict";e("c915")}}]);