(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/message"],{"1cdb":function(t,n,e){"use strict";(function(t){e("02cf");u(e("66fd"));var n=u(e("2e1e"));function u(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},"2e1e":function(t,n,e){"use strict";e.r(n);var u=e("db9b"),o=e("88ec");for(var i in o)"default"!==i&&function(t){e.d(n,t,(function(){return o[t]}))}(i);e("d783");var a,s=e("f0c5"),r=Object(s["a"])(o["default"],u["b"],u["c"],!1,null,"523c8d23",null,!1,u["a"],a);n["default"]=r.exports},"88ec":function(t,n,e){"use strict";e.r(n);var u=e("e8b7"),o=e.n(u);for(var i in u)"default"!==i&&function(t){e.d(n,t,(function(){return u[t]}))}(i);n["default"]=o.a},"891a":function(t,n,e){},d783:function(t,n,e){"use strict";var u=e("891a"),o=e.n(u);o.a},db9b:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return u}));var u={uIcon:function(){return e.e("uview-ui/components/u-icon/u-icon").then(e.bind(null,"f728"))},uEmpty:function(){return e.e("uview-ui/components/u-empty/u-empty").then(e.bind(null,"5fcb"))},uNoNetwork:function(){return e.e("uview-ui/components/u-no-network/u-no-network").then(e.bind(null,"36dd"))}},o=function(){var t=this,n=t.$createElement;t._self._c},i=[]},e8b7:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=o(e("a34a"));function o(t){return t&&t.__esModule?t:{default:t}}function i(t,n,e,u,o,i,a){try{var s=t[i](a),r=s.value}catch(c){return void e(c)}s.done?n(r):Promise.resolve(r).then(u,o)}function a(t){return function(){var n=this,e=arguments;return new Promise((function(u,o){var a=t.apply(n,e);function s(t){i(a,u,o,s,r,"next",t)}function r(t){i(a,u,o,s,r,"throw",t)}s(void 0)}))}}var s={onLoad:function(t){},mounted:function(){this.getMessage()},data:function(){return{messageList:[],pageindex:1,show:!1}},onReachBottom:function(){this.getMessage()},methods:{getMessage:function(){var n=a(u.default.mark((function n(){var e;return u.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,this.$request.post("/api/v1/user/userMessageList",{page:this.pageindex});case 2:e=n.sent,console.log(e),0==e.status&&(this.pageindex>e.data.last_page?t.showToast({title:"没有更多了",icon:"none"}):(this.messageList=this.messageList.concat(e.data.data),this.pageindex++)),0==this.messageList.length?this.show=!0:this.show=!1;case 6:case"end":return n.stop()}}),n,this)})));function e(){return n.apply(this,arguments)}return e}(),gotoliaotian:function(n){1!=n.type&&4!=n.type||t.navigateTo({url:"../common_tools/my_consulting/consultingInfo?id="+n.relation_id})}}};n.default=s}).call(this,e("543d")["default"])}},[["1cdb","common/runtime","common/vendor"]]]);