(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/common_tools/my_consulting/my_opinion"],{"220b":function(n,t,e){},"42b1":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(e("a34a"));function i(n){return n&&n.__esModule?n:{default:n}}function u(n,t,e,o,i,u,a){try{var r=n[u](a),c=r.value}catch(s){return void e(s)}r.done?t(c):Promise.resolve(c).then(o,i)}function a(n){return function(){var t=this,e=arguments;return new Promise((function(o,i){var a=n.apply(t,e);function r(n){u(a,o,i,r,c,"next",n)}function c(n){u(a,o,i,r,c,"throw",n)}r(void 0)}))}}var r={onLoad:function(n){this.getopinion()},data:function(){return{pageindex:1,opinion:[],show:!1}},onReachBottom:function(){this.getopinion()},methods:{getopinion:function(){var t=a(o.default.mark((function t(){var e;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$request.post("/api/v1/suggest/suggestList",{page:this.pageindex});case 2:e=t.sent,console.log(e),0==e.status&&(this.pageindex>e.data.last_page?n.showToast({title:"没有更多了",icon:"none"}):(this.opinion=this.opinion.concat(e.data.data),this.pageindex++)),0==this.opinion.length?this.show=!0:this.show=!1;case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),gotoinfo:function(t){n.navigateTo({url:"opinionInfo?id="+t.currentTarget.dataset.id})}},onShow:function(){}};t.default=r}).call(this,e("543d")["default"])},5047:function(n,t,e){"use strict";e.r(t);var o=e("ad49"),i=e("bf64");for(var u in i)"default"!==u&&function(n){e.d(t,n,(function(){return i[n]}))}(u);e("b7f1");var a,r=e("f0c5"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);t["default"]=c.exports},a4ad:function(n,t,e){"use strict";(function(n){e("02cf");o(e("66fd"));var t=o(e("5047"));function o(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])},ad49:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return o}));var o={uEmpty:function(){return e.e("uview-ui/components/u-empty/u-empty").then(e.bind(null,"5fcb"))}},i=function(){var n=this,t=n.$createElement;n._self._c},u=[]},b7f1:function(n,t,e){"use strict";var o=e("220b"),i=e.n(o);i.a},bf64:function(n,t,e){"use strict";e.r(t);var o=e("42b1"),i=e.n(o);for(var u in o)"default"!==u&&function(n){e.d(t,n,(function(){return o[n]}))}(u);t["default"]=i.a}},[["a4ad","common/runtime","common/vendor"]]]);