(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1fd401d2"],{"18b9":function(t,e,a){},5039:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"previewBox"},[a("el-row",[a("el-col",{staticClass:"headerBox",attrs:{span:16}},[a("svg-icon",{attrs:{"icon-class":"defaultPeople","class-name":"headerImg"}}),t._v(" "),a("span",{staticClass:"headerAuthor"},[t._v(t._s(t.info.author))])],1),t._v(" "),a("el-col",{staticClass:"time",attrs:{span:8}},[t._v(t._s(t.showTime))])],1),t._v(" "),a("p",{staticClass:"title"},[t._v(t._s(t.info.title))]),t._v(" "),a("div",{staticClass:"contents",domProps:{innerHTML:t._s(t.info.contents)}})],1)},n=[],c={props:{info:{type:Object,default:function(){return{author:"",created_at:"",title:"",contents:""}}}},computed:{showTime:function(){if(!this.info.created_at)return"之前发布";var t="",e=Date.now(),a=new Date(this.info.created_at).getTime(),s=Math.floor((e-a)/1e3/60);switch(s){case s<15:t="刚刚发布";break;case s>15&&s<30:t="15分钟前发布";break;case s>30&&s<60:t="30分钟前发布";break;case s>60&&s<180:t="1小时前发布";break;case s>180&&s<540:t="3小时前发布";break;case s>540&&s<1440:t="1天前发布";break;default:t="刚刚发布"}return t}}},i=c,r=(a("f0e5"),a("d038"),a("2877")),o=Object(r["a"])(i,s,n,!1,null,"f7631420",null);e["default"]=o.exports},cb58:function(t,e,a){},d038:function(t,e,a){"use strict";var s=a("cb58"),n=a.n(s);n.a},f0e5:function(t,e,a){"use strict";var s=a("18b9"),n=a.n(s);n.a}}]);