(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-apps-mail-mail"],{"1b1a":function(t,a,e){"use strict";var n=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,e("96cf");var u=n(e("1da1")),o=n(e("cb7e")),i={data:function(){return{curWord:"",mailBoxCount:"",mailComposeCount:"",mailDraftCount:"",mailTrashCount:"",noReadCount:""}},onShow:function(){var t=this;return(0,u.default)(regeneratorRuntime.mark((function a(){var e;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,o.default.queryStatus();case 2:e=a.sent,t.mailBoxCount=e.mailBoxCount,t.mailComposeCount=e.mailComposeCount,t.mailDraftCount=e.mailDraftCount,t.noReadCount=e.noReadCount,t.mailTrashCount=e.mailTrashCount;case 8:case"end":return a.stop()}}),a)})))()},methods:{inputWord:function(t){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((function(){}),300)},toAdd:function(){uni.navigateTo({url:"/pages/apps/mail/sendEmailForm"})},toInbox:function(){uni.navigateTo({url:"/pages/apps/mail/inbox"})},toDraft:function(){uni.navigateTo({url:"/pages/apps/mail/draft"})},toOutbox:function(){uni.navigateTo({url:"/pages/apps/mail/outbox"})},toTrash:function(){uni.navigateTo({url:"/pages/apps/mail/trash"})}}};a.default=i},"341e":function(t,a,e){"use strict";e.r(a);var n=e("1b1a"),u=e.n(n);for(var o in n)"default"!==o&&function(t){e.d(a,t,(function(){return n[t]}))}(o);a["default"]=u.a},"5ef6":function(t,a,e){"use strict";e.d(a,"b",(function(){return u})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){return n}));var n={uSearch:e("ce50").default,uCellGroup:e("9995").default,uCell:e("9ddd").default,uniFab:e("a9bb").default},u=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"view"},[e("u-search",{attrs:{"show-action":!1,margin:"20rpx 50rpx"},on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.inputWord.apply(void 0,arguments)}},model:{value:t.curWord,callback:function(a){t.curWord=a},expression:"curWord"}}),e("u-cell-group",{attrs:{customStyle:"padding: 20px"}},[e("u-cell",{attrs:{title:"收件箱",icon:"email",isLink:!0,iconStyle:{color:"#fbbd08"},value:t.noReadCount+"/"+t.mailBoxCount,url:"/pages/apps/mail/inbox"}}),e("u-cell",{attrs:{title:"已发送",icon:"tags",isLink:!0,iconStyle:{color:"#39b54a"},value:""+t.mailComposeCount,url:"/pages/apps/mail/outbox"}}),e("u-cell",{attrs:{title:"草稿箱",icon:"edit-pen",isLink:!0,iconStyle:{color:"#8799a3"},value:""+t.mailDraftCount,url:"/pages/apps/mail/draft"}}),e("u-cell",{attrs:{title:"已删除",icon:"trash",isLink:!0,iconStyle:{color:"#e54d42"},value:""+t.mailTrashCount,url:"/pages/apps/mail/trash"}})],1),e("uni-fab",{attrs:{horizontal:"right",vertical:"bottom"},on:{fabClick:function(a){arguments[0]=a=t.$handleEvent(a),t.toAdd.apply(void 0,arguments)}}})],1)},o=[]},cb7e:function(t,a,e){"use strict";var n=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var u=n(e("e812")),o=e("e6a5"),i={delete:function(t){return(0,u.default)({url:o.SYS_PATH+"/mail/box/delete",method:"delete",params:{ids:t}})},queryById:function(t){return(0,u.default)({url:o.SYS_PATH+"/mail/box/queryById",method:"get",params:{id:t}})},queryStatus:function(){return(0,u.default)({url:o.SYS_PATH+"/mail/box/queryStatus",method:"get"})},list:function(t){return(0,u.default)({url:o.SYS_PATH+"/mail/box/list",method:"get",params:t})}};a.default=i},f00d:function(t,a,e){"use strict";e.r(a);var n=e("5ef6"),u=e("341e");for(var o in u)"default"!==o&&function(t){e.d(a,t,(function(){return u[t]}))}(o);var i,r=e("f0c5"),l=Object(r["a"])(u["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],i);a["default"]=l.exports}}]);