(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-policy-detail"],{"242a":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"p-30"},[n("v-uni-view",{staticClass:"header flex"},[n("v-uni-view",{staticClass:"cate-title"},[t._v(t._s(t.item.title))])],1),n("v-uni-view",{staticClass:"talents-item m-t-30"},[n("v-uni-view",{staticClass:"flex"},[n("v-uni-view",{},[t._v(t._s(t.item.author))]),n("v-uni-view",{staticClass:"m-l-20"},[t._v(t._s(t.timeFormat(t.item.created_at)))])],1)],1),n("v-uni-view",{staticClass:"talents-item m-t-30 m-b-30"},[n("v-uni-view",{staticClass:"m-t-16 item-info"},[n("v-uni-rich-text",{attrs:{nodes:t.item.content}})],1)],1)],1)},i=[]},"353e":function(t,e,n){var a=n("9d46");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("8e89f138",a,!0,{sourceMap:!1,shadowMode:!1})},"4be0":function(t,e,n){"use strict";n.r(e);var a=n("9e13"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"594e":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.timeFormatChat=e.timeFormat=void 0,n("a9e3"),n("d401"),n("d3b7"),n("25f0"),n("ac1f"),n("4d63"),n("c607"),n("2c3e"),n("5319"),n("4d90");var a=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";t||(t=Number(new Date)),10==t.toString().length&&(t*=1e3);var n,a=new Date(t),i={"y+":a.getFullYear().toString(),"m+":(a.getMonth()+1).toString(),"d+":a.getDate().toString(),"h+":a.getHours().toString(),"M+":a.getMinutes().toString(),"s+":a.getSeconds().toString()};for(var r in i)n=new RegExp("("+r+")").exec(e),n&&(e=e.replace(n[1],1==n[1].length?i[r]:i[r].padStart(n[1].length,"0")));return e};e.timeFormat=i;e.timeFormatChat=function(t){10==t.toString().length&&(t*=1e3);var e=new Date(t),n=i(t,"yyyy年mm月dd日 hh:MM");return u(e)?n=i(t,"hh:MM"):s(e)?n=a[e.getDay()]+i(t," hh:MM"):r(e)&&(n=i(t,"mm月dd日 hh:MM")),n};var r=function(t){var e=new Date;return t.getYear()==e.getYear()},o=function(t){var e=new Date;return r(t)&&t.getMonth()==e.getMonth()},u=function(t){var e=new Date;return o(t)&&t.getDate()==e.getDate()},s=function(t){var e=new Date;return!!o(t)&&(e.getDay()-t.getDay()>0&&e.getDate()-t.getDate()<7||void 0)}},"59cd":function(t,e,n){"use strict";var a=n("353e"),i=n.n(a);i.a},"9d46":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场（https://ext.dcloud.net.cn）上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者，建议你使用scss预处理，并在插件代码中直接使用这些变量（无需 import 这个文件），方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者（插件使用者），你可以通过修改这些变量来定制自己的插件主题，实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理，你也可以直接在你的 scss 代码中使用如下变量，同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */uni-page-body[data-v-64a1bb46]{background-color:#fff}body.?%PAGE?%[data-v-64a1bb46]{background-color:#fff}.header .cate-title[data-v-64a1bb46]{font-size:%?40?%;font-family:PingFang SC-Medium,PingFang SC;font-weight:700;color:#282c37}.talents-item[data-v-64a1bb46]{background:#fff;font-size:%?28?%}',""]),t.exports=e},"9e13":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("5530")),r=a(n("c7eb")),o=a(n("1da1")),u=n("26cb"),s=n("5bcc"),c=n("594e"),d={data:function(){return{statusBarHeight:0,id:0,item:{}}},created:function(){var t=this;uni.getSystemInfo({success:function(e){t.statusBarHeight=e.statusBarHeight}})},onLoad:function(){this.item=uni.getStorageSync("policyDetail"),uni.removeStorageSync("policyDetail"),this.item||(this.id=this.$Route.query.id,this.getCategoryFun())},onShow:function(){},methods:{makePhoneCall:function(t){t&&uni.makePhoneCall({phoneNumber:t})},getCategoryFun:function(){var t=this;return(0,o.default)((0,r.default)().mark((function e(){var n,a,i;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,s.policyDetail)({id:t.id});case 2:n=e.sent,a=n.status,i=n.data,1==a&&(t.item=i);case 6:case"end":return e.stop()}}),e)})))()},timeFormat:function(t){return(0,c.timeFormat)(t)}},computed:(0,i.default)({},(0,u.mapGetters)(["appConfig"]))};e.default=d},e95c:function(t,e,n){"use strict";n.r(e);var a=n("242a"),i=n("4be0");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("59cd");var o=n("f0c5"),u=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"64a1bb46",null,!1,a["a"],void 0);e["default"]=u.exports}}]);