(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-message-reminder-message-detail-message-detail"],{2010:function(e,t,i){var n=i("2db2");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("0e696352",n,!0,{sourceMap:!1,shadowMode:!1})},"2db2":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-9635a7be]{width:%?749?%;box-sizing:border-box;padding:%?24?%}.title[data-v-9635a7be]{line-height:30px}.time[data-v-9635a7be]{line-height:30px;font-size:14px;color:#999}.line[data-v-9635a7be]{line-height:30px;font-size:16px}.inner[data-v-9635a7be]{margin:20px 0;text-indent:2rem;word-break:break-all;overflow:hidden;line-height:1.5}.file_list .item[data-v-9635a7be]{height:30px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ecf0f1;padding:8px 0}.file_list .item .left[data-v-9635a7be]{display:flex}.file_list .item .left .info .name[data-v-9635a7be]{font-size:16px;font-family:MicrosoftYaHei;color:#2c3e50}',""]),e.exports=t},"586f":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{detail:{}}},onLoad:function(){var e=this,t=this.getOpenerEventChannel();t.on("acceptDataFromOpenerPage",(function(t){e.detail=t.data,console.log(e.detail)})),uni.setNavigationBarTitle({title:this.detail.title}),this.read(this.detail.id)},methods:{read:function(e){this.$api.message_read({id:e}).then((function(e){console.log(e)}))},open_file:function(e){uni.downloadFile({url:e,success:function(e){var t=e.tempFilePath;uni.openDocument({filePath:t,success:function(e){console.log("打开文档成功")}})}})}}};t.default=n},"7c22":function(e,t,i){"use strict";i.r(t);var n=i("586f"),a=i.n(n);for(var s in n)"default"!==s&&function(e){i.d(t,e,(function(){return n[e]}))}(s);t["default"]=a.a},a1b9:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return n}));var n={uniIcons:i("898d").default},a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"title"},[e._v(e._s(e.detail.title))]),i("v-uni-view",{staticClass:"time"},[e._v(e._s(e.detail.created_at))]),i("v-uni-view",{staticClass:"line"},[e._v("发送人:"+e._s(e.detail.send_user))]),"all"!=e.detail.scope?i("v-uni-view",{staticClass:"line"},[e._v("接收人:"+e._s(e.detail.scope))]):e._e(),"all"==e.detail.scope?i("v-uni-view",{staticClass:"line"},[e._v("接收人:所有人")]):e._e(),i("v-uni-view",{staticClass:"inner",domProps:{innerHTML:e._s(e.detail.content)}}),e.detail.files.length>0?i("v-uni-view",{staticClass:"section"},[i("v-uni-view",{staticClass:"title"},[e._v("附件:")]),i("v-uni-view",[i("v-uni-view",{staticClass:"file_list"},e._l(e.detail.files,(function(t,n){return i("v-uni-view",{key:n,staticClass:"item",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.open_file(t.path)}}},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"icon"}),i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"name"},[e._v(e._s(t.fileName))])],1)],1),i("v-uni-view",{staticClass:"right"},[i("uni-icons",{attrs:{type:"arrowright"}})],1)],1)})),1)],1)],1):e._e()],1)],1)},s=[]},d89f:function(e,t,i){"use strict";var n=i("2010"),a=i.n(n);a.a},f742:function(e,t,i){"use strict";i.r(t);var n=i("a1b9"),a=i("7c22");for(var s in a)"default"!==s&&function(e){i.d(t,e,(function(){return a[e]}))}(s);i("d89f");var l,r=i("f0c5"),o=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"9635a7be",null,!1,n["a"],l);t["default"]=o.exports}}]);