(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/mine/problem/index"],{"00c1":function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("aa6c");i(n("3240"));var a=i(n("bbec"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"0c38":function(t,e,n){"use strict";n.r(e);var i=n("b358"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"0dcd":function(t,e,n){"use strict";var i=n("7fa0"),a=n.n(i);a.a},"26b5":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=(this._self._c,this.loadEnd?this.problemList.length:null);this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]},"7fa0":function(t,e,n){},b358:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("af34")),o={data:function(){return{loadEnd:!1,page:1,limit:20,hasMore:!1,problemList:[]}},onLoad:function(){var e=this;t.showLoading({title:"加载中"}),this.getProblemList((function(){t.hideLoading(),e.loadEnd=!0}))},onPullDownRefresh:function(){this.page=1,this.getProblemList((function(){t.stopPullDownRefresh()}))},onReachBottom:function(){this.hasMore&&(this.page++,this.getProblemList())},methods:{getProblemList:function(e){var n=this;this.$util.request("mine.problem.list",{page:this.page,limit:this.limit}).then((function(i){if(e&&e(),1==i.code){var o=i.data.data;n.hasMore=n.page<i.data.total/n.limit,n.problemList=1==n.page?o:[].concat((0,a.default)(n.problemList),(0,a.default)(o))}else t.showToast({title:i.msg,icon:"none"})})).catch((function(t){console.error("获取帮助列表 ",t)}))},toDetails:function(t){this.$util.toPage({mode:1,path:"/pages/mine/problem/details?id="+t})}}};e.default=o}).call(this,n("df3c")["default"])},bbec:function(t,e,n){"use strict";n.r(e);var i=n("26b5"),a=n("0c38");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("0dcd");var c=n("828b"),s=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports}},[["00c1","common/runtime","common/vendor"]]]);