(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-message-reminder-message-reminder"],{"47c0":function(t,e,i){"use strict";var n=i("7884"),a=i.n(n);a.a},"4d48":function(t,e,i){"use strict";i.r(e);var n=i("620f"),a=i("d034");for(var s in a)"default"!==s&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("47c0");var o,r=i("f0c5"),l=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"e06b3832",null,!1,n["a"],o);e["default"]=l.exports},"5f93":function(t,e,i){"use strict";i("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{type:"",page:1,list:[]}},onLoad:function(){this.get_message_list(this.page)},onShow:function(){this.page=1,this.type="",this.list=[],this.get_message_list(this.page),this.$forceUpdate()},onReachBottom:function(){this.page++,this.get_message_list()},methods:{get_message_list:function(){var t=this;uni.showLoading(),this.$api.message_list({type:this.type,page:this.page,page_size:10}).then((function(e){console.log(e.data.data.data),t.list=t.list.concat(e.data.data.data),uni.hideLoading()}))},read:function(t){var e=this;this.$api.message_read({id:t.id}).then((function(t){console.log(t),e.get_message_list()})),uni.navigateTo({url:"message-detail/message-detail",success:function(e){e.eventChannel.emit("acceptDataFromOpenerPage",{data:t})}})},read_all:function(){var t=this;uni.showToast({icon:"none",title:"全部已读"}),this.$api.message_read({}).then((function(e){console.log(e),t.page=1,t.type="",t.list=[],t.get_message_list()}))},get_all_list:function(){this.page=1,this.type="",this.list=[],this.get_message_list()},get_unread_list:function(){this.page=1,this.type="unread",this.list=[],this.get_message_list()}}};e.default=n},"620f":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"search"}),i("v-uni-view",{staticClass:"list"},t._l(t.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.read(e)}}},[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"name"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"time"},[t._v(t._s(e.created_at)+" "+t._s(e.send_user))])],1),i("v-uni-view",{staticClass:"right"},[0==e.read?i("v-uni-view",{staticClass:"tip"},[t._v("未读")]):t._e(),1==e.read?i("v-uni-view",{staticClass:"tip",staticStyle:{"background-color":"#4CD964"}},[t._v("已读")]):t._e()],1)],1),i("v-uni-view",{staticClass:"inner"},[i("v-uni-view",{domProps:{innerHTML:t._s(e.content)}})],1)],1)})),1),i("v-uni-view",{staticClass:"bottom"},[i("v-uni-view",{staticClass:"title",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.get_all_list()}}},[t._v("所有消息")]),i("v-uni-view",{staticClass:"title",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.get_unread_list("unread")}}},[t._v("未读消息")]),i("v-uni-view",{staticClass:"title",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.read_all()}}},[t._v("全部标已读")])],1)],1)},s=[]},7884:function(t,e,i){var n=i("d60e");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("1334b77e",n,!0,{sourceMap:!1,shadowMode:!1})},d034:function(t,e,i){"use strict";i.r(e);var n=i("5f93"),a=i.n(n);for(var s in n)"default"!==s&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},d60e:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.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/* 文章场景相关 */uni-page-body[data-v-e06b3832]{background-color:#f1f1f1}.content[data-v-e06b3832]{width:%?749?%}.list[data-v-e06b3832]{width:%?749?%;box-sizing:border-box;padding:%?24?%;margin-bottom:80px}.list .item[data-v-e06b3832]{width:%?700?%;background-color:#fff;box-sizing:border-box;padding:10px %?20?%;margin-bottom:10px}.list .item .top[data-v-e06b3832]{width:%?660?%;display:flex;justify-content:space-between}.list .item .top .left[data-v-e06b3832]{width:%?540?%}.list .item .top .left .name[data-v-e06b3832]{line-height:25px;overflow:hidden;\r\n /*超出部分隐藏*/white-space:nowrap;\r\n /*不换行*/text-overflow:ellipsis\r\n /*超出部分文字以...显示*/}.list .item .top .left .time[data-v-e06b3832]{line-height:30px;font-size:14px;color:#999}.list .item .top .right[data-v-e06b3832]{width:%?88?%}.list .item .top .right .tip[data-v-e06b3832]{text-align:center;line-height:25px;background-color:#dd524d;font-size:12px;color:#fff}.list .item .inner[data-v-e06b3832]{width:%?660?%;text-indent:2em;font-size:14px;line-height:1.5;overflow:hidden;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.bottom[data-v-e06b3832]{background-color:#fff;position:fixed;left:0;bottom:0;border-top:1px solid #eee;height:50px;display:flex;justify-content:space-between;align-items:center}.bottom .title[data-v-e06b3832]{width:%?249?%;padding:5px 0;text-align:center;border-right:1px solid #eee}.bottom .title[data-v-e06b3832]:last-child{border-right:none}body.?%PAGE?%[data-v-e06b3832]{background-color:#f1f1f1}',""]),t.exports=e}}]);