(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-67ee7c4e"],{"033a":function(t,e,a){},"3e74":function(t,e,a){"use strict";var s=a("033a"),i=a.n(s);i.a},"6f24":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:"container"},[a("Header",{attrs:{title:"个人消息"}}),a("div",{staticClass:"main"},[t._l(t.list,(function(e,s){return a("div",{key:s,staticClass:"item",on:{click:function(a){return t.toItem(e)}}},[a("div",{staticClass:"left"},[a("div",[a("van-tag",{staticClass:"icon",attrs:{type:"success"}},[t._v("消息")]),a("van-tag",{directives:[{name:"show",rawName:"v-show",value:e.isRead,expression:"item.isRead"}],attrs:{plain:"",type:"primary"}},[t._v("已读")]),a("van-tag",{directives:[{name:"show",rawName:"v-show",value:!e.isRead,expression:"!item.isRead"}],attrs:{plain:"",type:"danger"}},[t._v("未读")])],1),a("p",{staticClass:"time"},[t._v(t._s(e.createTime))])]),a("div",{staticClass:"right"},[a("p",[t._v(t._s(e.noticeTitle))]),a("span",[t._v(t._s(e.noticeContent))])])])})),t.type?a("p",{staticClass:"clicks",on:{click:t.getList}},[t._v("点击加载更多")]):a("p",{staticClass:"clicks"},[t._v("已经到底啦")])],2)],1)},i=[],n=a("2909"),c=a("3e85"),o={name:"VueSkInform",data:function(){return{list:[],type:!0,pageSize:10,pageNum:1}},mounted:function(){this.getList()},methods:{getList:function(){var t=this;Object(c["c"])({pageSize:this.pageSize,pageNum:this.pageNum}).then((function(e){var a,s=e.data;200===s.code&&(t.pageNum++,(a=t.list).push.apply(a,Object(n["a"])(s.rows)),t.list.length>=s.total&&(t.type=!1))}))},toItem:function(t){var e=this;t.isRead||Object(c["b"])({isRead:1,noticeId:t.noticeId}).then((function(t){var a=t.data;200===a.code&&e.$router.push("/dangerList")}))}}},r=o,l=(a("3e74"),a("2877")),u=Object(l["a"])(r,s,i,!1,null,"693061e3",null);e["default"]=u.exports}}]);