(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-match-index"],{"87d9":function(t,i,n){"use strict";n.r(i);var e=n("c731"),s=n.n(e);for(var a in e)"default"!==a&&function(t){n.d(i,t,(function(){return e[t]}))}(a);i["default"]=s.a},"909d":function(t,i,n){"use strict";n.r(i);var e=n("9de6"),s=n("87d9");for(var a in s)"default"!==a&&function(t){n.d(i,t,(function(){return s[t]}))}(a);var u,c=n("f0c5"),r=Object(c["a"])(s["default"],e["b"],e["c"],!1,null,"4aa7f8ac",null,!1,e["a"],u);i["default"]=r.exports},"9de6":function(t,i,n){"use strict";var e;n.d(i,"b",(function(){return s})),n.d(i,"c",(function(){return a})),n.d(i,"a",(function(){return e}));var s=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",[n("v-uni-view",t._l(t.groupList,(function(i,e){return n("v-uni-view",{key:e,staticClass:"flexlist-item"},[n("img",{staticClass:"flexlist-img",attrs:{src:i.imgurl}}),n("v-uni-view",{staticClass:"flex-1"},[n("v-uni-view",{staticClass:"cl1 mgb-5"},[t._v(t._s(i.title))]),n("v-uni-view",{staticClass:"cl2"},[t._v(t._s(i.description))])],1),n("v-uni-view",{staticClass:"flex-jc-center"},[n("v-uni-view",{staticClass:"btn-mini",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goChat(i.groupid)}}},[t._v("聊聊")])],1)],1)})),1),n("v-uni-view",t._l(t.userList,(function(i,e){return n("v-uni-view",{key:e,staticClass:"flexlist-item"},[n("img",{staticClass:"flexlist-img",attrs:{src:i.user_head+".100x100.jpg"}}),n("v-uni-view",{staticClass:"flex-1"},[n("v-uni-view",{staticClass:"cl1 mgb-5"},[t._v(t._s(i.nickname))]),n("v-uni-view",{staticClass:"cl2"},[t._v(t._s(i.description))])],1),n("v-uni-view",{staticClass:"flex-jc-center"},[n("v-uni-view",{staticClass:"btn-mini",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goPm(i.userid)}}},[t._v("聊聊")])],1)],1)})),1),n("mt-footer",{attrs:{tab:"match"}})],1)},a=[]},c731:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={data:function(){return{userList:{},groupList:{}}},onLoad:function(){this.getPage()},methods:{goPm:function(t){uni.navigateTo({url:"../index/pm?uuid="+t})},goChat:function(t){uni.navigateTo({url:"../index/chat?groupid="+t})},getPage:function(){var t=this;t.app.get({url:t.app.apiHost+"/module.php?m=im_bored",success:function(i){t.userList=i.data.userList}}),t.app.get({url:t.app.apiHost+"/module.php?m=im_group",success:function(i){t.groupList=i.data.list}})},addFriend:function(t){var i=this;i.app.get({url:i.app.apiHost+"/index.php?m=friend&a=add&touserid="+t,success:function(t){uni.showToast({title:t.message})}})}}};i.default=e}}]);