(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/mine/notice/index"],{"219f":function(t,i,n){},"259d":function(t,i,n){"use strict";(function(t){var e=n("47a9");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=e(n("af34")),a={data:function(){return{loadEnd:!1,page:1,limit:20,hasMore:!1,noticeList:[]}},onLoad:function(){var i=this;t.showLoading({title:"加载中"}),this.getNoticeList((function(){t.hideLoading(),i.loadEnd=!0}))},onShow:function(){this.loadEnd&&(t.pageScrollTo({scrollTop:0,duration:0}),this.page=1,this.getNoticeList())},onPullDownRefresh:function(){this.page=1,this.getNoticeList((function(){t.stopPullDownRefresh()}))},onReachBottom:function(){this.hasMore&&(this.page++,this.getNoticeList())},methods:{getNoticeList:function(i){var n=this;i&&i(),this.$util.request("mine.notice.list",{page:this.page,limit:this.limit}).then((function(e){if(i&&i(),1==e.code){var a=e.data.data;n.hasMore=n.page<e.data.total/n.limit,n.noticeList=1==n.page?a:[].concat((0,o.default)(n.noticeList),(0,o.default)(a))}else t.showToast({title:e.msg,icon:"none"})})).catch((function(t){console.error("获取帮助列表 ",t)}))},toDetails:function(t){this.$util.toPage({mode:1,path:"/pages/mine/notice/details?id="+t})}}};i.default=a}).call(this,n("df3c")["default"])},"6ad9":function(t,i,n){"use strict";var e=n("219f"),o=n.n(e);o.a},7900:function(t,i,n){"use strict";(function(t,i){var e=n("47a9");n("aa6c");e(n("3240"));var o=e(n("bbb3"));t.__webpack_require_UNI_MP_PLUGIN__=n,i(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"88ac":function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return o})),n.d(i,"a",(function(){}));var e=function(){var t=this.$createElement,i=(this._self._c,this.loadEnd?this.noticeList.length:null);this.$mp.data=Object.assign({},{$root:{g0:i}})},o=[]},"9c41":function(t,i,n){"use strict";n.r(i);var e=n("259d"),o=n.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(a);i["default"]=o.a},bbb3:function(t,i,n){"use strict";n.r(i);var e=n("88ac"),o=n("9c41");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(i,t,(function(){return o[t]}))}(a);n("6ad9");var c=n("828b"),s=Object(c["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);i["default"]=s.exports}},[["7900","common/runtime","common/vendor"]]]);