(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/riderMy/kefu/liaotian"],{103:function(t,e,n){"use strict";(function(t){n(5);o(n(4));var e=o(n(104));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"])},104:function(t,e,n){"use strict";n.r(e);var o=n(105),i=n(107);for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n(109);var a,s=n(11),u=Object(s["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],a);u.options.__file="pages/riderMy/kefu/liaotian.vue",e["default"]=u.exports},105:function(t,e,n){"use strict";n.r(e);var o=n(106);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"]}))},106:function(t,e,n){"use strict";var o;n.r(e),n.d(e,"render",(function(){return i})),n.d(e,"staticRenderFns",(function(){return a})),n.d(e,"recyclableRender",(function(){return r})),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,406))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var i=function(){var t=this,e=t.$createElement;t._self._c},r=!1,a=[];i._withStripped=!0},107:function(t,e,n){"use strict";n.r(e);var o=n(108),i=n.n(o);for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=i.a},108: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(392))}.bind(null,n)).catch(n.oe)},i={components:{empty:o},data:function(){return{page:1,limit:20,chatList:[],userId:"",msgList:[],count:0,time:"",messageCount:0,scrollTop:!1}},onPullDownRefresh:function(){this.page=1,this.getChatList()},onLoad:function(){this.$queue.showLoading("加载中..."),that.userId=t.getStorageSync("userId"),that.userId?that.time=setInterval((function(){that.getChatList(),that.$nextTick((function(){that.messageCount=t.getStorageSync("messageCount")}))}),1e4):(that.chatList=[],that.msgList=[])},onShow:function(){this.page=1,this.getChatList()},onHide:function(){clearInterval(this.time)},methods:{getChatList:function(){var e=this;this.$Request.getT("/app/ordersChat/selectOrdersChatPageRider",{page:this.page,limit:this.limit}).then((function(n){0===n.code&&(e.totalCount=n.data.totalCount,1==e.page?e.chatList=n.data.list:n.data.list.forEach((function(t){e.chatList.push(t)})),e.count=n.data.totalCount),t.hideLoading(),t.stopPullDownRefresh()}))},goIM:function(e){var n=this.$queue.getData("userId");n=e.userId==n?e.byUserId:e.userId,t.navigateTo({url:"/pages/riderMy/kefu/liaotianshi?orderId="+e.ordersId})},goMsg:function(){t.navigateTo({url:"/pages/msg/message"})}},onPageScroll:function(t){this.scrollTop=t.scrollTop>200},onReachBottom:function(){this.chatList.length==this.count?t.showToast({title:"已经到底了",icon:"none"}):(this.page=this.page+1,this.getChatList())}};e.default=i}).call(this,n(1)["default"])},109:function(t,e,n){"use strict";n.r(e);var o=n(110),i=n.n(o);for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=i.a},110:function(t,e,n){}},[[103,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/riderMy/kefu/liaotian.js.map