(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/liaotian"],{100:function(t,e,n){"use strict";n.r(e);var o=n(101),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},101:function(t,e,n){},94:function(t,e,n){"use strict";(function(t){n(5);o(n(4));var e=o(n(95));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n(1)["createPage"])},95:function(t,e,n){"use strict";n.r(e);var o=n(96),r=n(98);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n(100);var s,a=n(11),u=Object(a["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],s);u.options.__file="pages/my/liaotian.vue",e["default"]=u.exports},96:function(t,e,n){"use strict";n.r(e);var o=n(97);n.d(e,"render",(function(){return o["render"]})),n.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),n.d(e,"components",(function(){return o["components"]}))},97:function(t,e,n){"use strict";var o;n.r(e),n.d(e,"render",(function(){return r})),n.d(e,"staticRenderFns",(function(){return s})),n.d(e,"recyclableRender",(function(){return i})),n.d(e,"components",(function(){return o}));try{o={uImage:function(){return n.e("uview-ui/components/u-image/u-image").then(n.bind(null,466))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var r=function(){var t=this,e=t.$createElement;t._self._c},i=!1,s=[];r._withStripped=!0},98:function(t,e,n){"use strict";n.r(e);var o=n(99),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},99:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){n.e("components/empty").then(function(){return resolve(n(451))}.bind(null,n)).catch(n.oe)},r={components:{empty:o},data:function(){return{page:1,limit:20,chatList:[],userId:"",msgList:[],time:"",count:0,messageCount:0}},onLoad:function(){this.getChatList();var e=this;e.userId=t.getStorageSync("userId"),e.userId?e.time=setInterval((function(){e.getChatList(),e.$nextTick((function(){e.messageCount=t.getStorageSync("messageCount")}))}),1e4):(e.chatList=[],e.msgList=[])},onShow:function(){var t=this;t.page=1,t.getChatList()},onHide:function(){clearInterval(this.time)},methods:{getChatList:function(){var e=this;this.$Request.get("/shop/ordersChat/selectOrdersChatPageShop",{page:this.page,limit:this.limit,shopId:t.getStorageSync("shopId")}).then((function(t){0==t.code&&(1==e.page&&(e.chatList=[]),t.data.list.forEach((function(t){e.chatList.push(t)})),e.count=t.data.totalCount)}))},goIM:function(e){var n=this.$queue.getData("userId");n=e.userId==n?e.byUserId:e.userId,t.navigateTo({url:"/pages/my/im?orderId="+e.ordersId})},goMsg:function(){t.navigateTo({url:"/pages/msg/message"})}},onReachBottom:function(){this.chatList.length==this.count?t.showToast({title:"已经到底了",icon:"none"}):(this.page=this.page+1,this.getChatList())}};e.default=r}).call(this,n(1)["default"])}},[[94,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/my/liaotian.js.map